]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7e2fe8caf402f5fe65f489eec83eb61e69c4229
tree9e9b497d8ddcf7f2aed5b1ada5735d40837429ef
parentf1801fb8ea1ceb386e2390e5a4bc58c2166c2593
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