Parent: 3d9ff9d52edf0b2ad4f7c878b6197dc369240d04
Author: Daniel Winkler <danielwinkler@google.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-03-22 22:16:50
Tree: 4ce774f26b7b273bb1722098dcfcc812bcf27151
advertising: Create and use scannable adv param flag In order for the advertising parameters hci request to indicate that an advertising set uses a scannable PDU, we pass a scannable flag along with the initial parameters MGMT request. This flag is populated based on the existence of any scan response data requested by the client. Without this patch, a broadcast advertisement with a scan response will either be rejected by the controller, or will ignore the requested scan response. The patch is tested by performing the above and confirming that the scan response is retrievable from a peer as expected. Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org> Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Diffstat
| M | lib/mgmt.h | | | 1 | + |
| M | src/advertising.c | | | 24 | +++++++++++++++++++++++- |
| M | src/shared/ad.c | | | 17 | +++++++++++++++++ |
| M | src/shared/ad.h | | | 2 | ++ |
4 files changed, 43 insertions(+), 1 deletions(-)