Parent: a12c96c2b9fe05a2b514311bc2c4b5f4883fd070
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-07-14 21:37:20
Tree: 5446d7b20bffeb118642eac562a28a46a0442a7b
btdev: Add proper checks for own_addr_type for extended advertising own_addr_type 0x01 and 0x03 shall check that a random address has properly been set and in case of 0x03 the resolving list actually contains the irk of the identity address: BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 4, Part E page 2596 'If the advertising set's Own_Address_Type parameter is set to 0x01 and the random address for the advertising set has not been initialized, the Controller shall return the error code Invalid HCI Command Parameters (0x12).' BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 4, Part E page 2597 'If the advertising set's Own_Address_Type parameter is set to 0x03, the controller's resolving list did not contain a matching entry, and the random address for the advertising set has not been initialized, the Controller shall return the error code Invalid HCI Command Parameters (0x12).'
Diffstat
| M | emulator/btdev.c | | | 44 | ++++++++++++++++++++++++++++++++++++++++ |
1 files changed, 44 insertions(+), 0 deletions(-)