Bluetooth: Implement the Add Advertising command
authorArman Uguray <armansito@chromium.org>
Mon, 23 Mar 2015 22:57:12 +0000 (15:57 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 24 Mar 2015 00:53:46 +0000 (01:53 +0100)
commit24b4f38fc9ebf93af223c67169a946d6baf9db61
treea8ca6f13c81224b2a9059e53eb386958770bb185
parent203fea0178d7e165dbe834d1bdd9d243018fd5bf
Bluetooth: Implement the Add Advertising command

This patch adds the most basic implementation for the
"Add Advertisement" command. All state updates between the
various HCI settings (POWERED, ADVERTISING, ADVERTISING_INSTANCE,
and LE_ENABLED) has been implemented. The command currently
supports only setting the advertising data fields, with no flags
and no scan response data.

Signed-off-by: Arman Uguray <armansito@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c