-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hci_uart uses wrong BT_BUF_ACL_SIZE on dual chip solutions + multicore #30441
Labels
Comments
jostn
added a commit
to jostn/zephyr
that referenced
this issue
Mar 8, 2021
Add the option CONFIG_BT_HCI_ACL_DATA_SIZE which allows the user to configure the max HCI ACL data payload. This is needed for platorms where the BLE LL, HCI uart and host run on three different cores. Fixes: zephyrproject-rtos#30441 Signed-off-by: Johan Stridkvist <[email protected]>
jostn
added a commit
to jostn/zephyr
that referenced
this issue
Mar 11, 2021
Add the option CONFIG_BT_HCI_ACL_DATA_SIZE which allows the user to configure the max HCI ACL data payload. This is needed for platorms where the BLE LL, HCI uart and host run on three different cores. Fixes: zephyrproject-rtos#30441 Signed-off-by: Johan Stridkvist <[email protected]>
omSquare-bot
pushed a commit
to omSquare/zephyr
that referenced
this issue
Mar 12, 2021
Add the option CONFIG_BT_HCI_ACL_DATA_SIZE which allows the user to configure the max HCI ACL data payload. This is needed for platorms where the BLE LL, HCI uart and host run on three different cores. Fixes: zephyrproject-rtos#30441 Signed-off-by: Johan Stridkvist <[email protected]>
ryanjh
pushed a commit
to ryanjh/zephyr
that referenced
this issue
Mar 23, 2021
Add the option CONFIG_BT_HCI_ACL_DATA_SIZE which allows the user to configure the max HCI ACL data payload. This is needed for platorms where the BLE LL, HCI uart and host run on three different cores. Fixes: zephyrproject-rtos#30441 Signed-off-by: Johan Stridkvist <[email protected]> (cherry picked from commit a81765b) Signed-off-by: Andrzej Głąbek <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
hci_raw.h has a dependency on CONFIG_BT_CTLR_TX_BUFFER_SIZE
This option can not be set for dual chip solutions for multicores platorms like nrf5340pdk_nrf5340_cpuapp, leading to a max hci data payload of 69 bytes.
To Reproduce
Steps to reproduce the behavior:
west build -p auto -b nrf5340pdk_nrf5340_cpuapp -dapp samples/bluetooth/hci_uart
west build -p auto -b nrf5340pdk_nrf5340_cpunet -dnet samples/bluetooth/hci_rpmsg
Use HCI_LE_Set_Data_Length to establish a connection and update the data length (251 octets, 2120us)
HCI data packets with data length > 69 bytes are now dropped because they do not fit in the buffer between the application core and the network core.
Expected behavior
It should be possible to send the maximum LL payload between the cores (251 bytes)
Impact
Many bluetooth conformance tests are failing due to this.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: