Commit: 657abc0ebe6ba049ae783d13f06e0eff6abd9ab2
Parent: 838cafe4f04192f24eac97cbf9c93ffe60c7d6ad
Author: Daniel Winkler <danielwinkler@google.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-10-30 02:42:46
Tree: 2c6163ab6ae8f2db41d9b5f262c2ae00d08d8cd3

advertising: Detect if extended advertising mgmt commands are supported We need to know if kernel supports the new MGMT interface. To do so, we check the return from adapter's MGMT_OP_READ_COMMANDS call for the new commands. This will later be used to route our requests for new advertisements. The change is tested by manually verifying that the correct MGMT commands are used when the feature is and is not available in kernel.

Diffstat

M lib/mgmt.h | 4 ++++
M src/adapter.c | 4 ++++
M src/adapter.h | 1 +
M src/advertising.c | 3 +++

4 files changed, 12 insertions(+), 0 deletions(-)

View Full Diff | Patch