Bluetooth: Add support for appearance in scan rsp
authorMichał Narajowski <michal.narajowski@codecoup.pl>
Sun, 18 Sep 2016 10:50:03 +0000 (12:50 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
commitc4960ecf2b09210930964ef2c05ce2590802ccf4
tree9e9b497d8ddcf7f2aed5b1ada5735d40837429ef
parent7c295c4801b2de24fc25687eb0cb73cf0c99d114
Bluetooth: Add support for appearance in scan rsp

This patch enables prepending appearance value to scan response data.
It also adds support for setting appearance value through mgmt command.
If currently advertised instance has apperance flag set it is expired
immediately.

Signed-off-by: Michał Narajowski <michal.narajowski@codecoup.pl>
Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_request.c
net/bluetooth/mgmt.c