Skip to content

Commit

Permalink
Bluetooth: Controller: Initialize BIG info RFU field
Browse files Browse the repository at this point in the history
The BIG info new Framing Mode field was not initialiazed, so
random garbage was being sent to the air in this field.
For the controller this field is still RFU.
The spec specifies RFU fields must be initialiazed to
0. So let's do so to avoid sending invalid data,
and avoid having random data in the air which can cause
random differences in testcases.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
  • Loading branch information
aescolar authored and nashif committed Aug 30, 2024
1 parent f889c4e commit 5c17f51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subsys/bluetooth/controller/ll_sw/ull_adv_iso.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ static uint8_t big_create(uint8_t big_handle, uint8_t adv_handle, uint8_t num_bi
PDU_BIG_INFO_IRC_SET(big_info, lll_adv_iso->irc);

big_info->max_pdu = lll_adv_iso->max_pdu;
big_info->rfu = 0U;

(void)memcpy(&big_info->seed_access_addr, lll_adv_iso->seed_access_addr,
sizeof(big_info->seed_access_addr));
Expand Down

0 comments on commit 5c17f51

Please sign in to comment.