zephyr/subsys/bluetooth
Saleh Mehdikhani 36f934113f Bluetooth: Host: direction: Fixing the bug to support 1us slot
There was an issue with receiving CTE packets when the time
slot has changed from 2us to 1us. After receiving the packets
when it tries to enable receiving of CTE, the validator
returns EINVAL error.

Source of the problem is "validate_cte_rx_params" function,
it calls DF_AOA_RX_1US_SUPPORT(df_ant_info.switch_sample_rates)
which is expanded to:
((df_ant_info.switch_sample_rates) & BIT((BT_HCI_LE_1US_AOA_RX)))

And due to definition of BT_HCI_LE_1US_AOA_RX in hci.h it will be:
((df_ant_info.switch_sample_rates) & BIT(BIT(2)))

So the BIT operation has executed two times.

Signed-off-by: Saleh Mehdikhani <saleh.mehdikhani@unikie.com>
2021-07-30 19:54:42 -04:00
..
audio Bluetooth: Fix Wrong format when debug 2021-07-29 10:59:20 -04:00
common Bluetooth: Mesh: Align capitalization for BT mesh 2021-07-13 11:23:54 -04:00
controller Bluetooth: Controller: Flush pending Tx PDUs before PHY update 2021-07-28 11:38:42 +02:00
host Bluetooth: Host: direction: Fixing the bug to support 1us slot 2021-07-30 19:54:42 -04:00
mesh Bluetooth: Mesh: Add pointer conversion for prov->uri 2021-07-29 10:59:20 -04:00
services Bluetooth: Modify kconfig to use related path 2021-07-20 20:02:34 -04:00
shell Bluetooth: Add identifiers for Bluetooth 5.3 2021-07-15 13:56:03 +02:00
CMakeLists.txt Bluetooth: Audio: Volume Offset Control Service and Client 2021-03-22 13:05:56 -04:00
Kconfig Bluetooth: host: introduce timeout in limited advertising 2021-07-29 15:20:54 +02:00