Skip to content

Commit 4d3f869

Browse files
cvinayakaescolar
authored andcommitted
Bluetooth: Controller: Make PDU octet3 vendor specific
Make Data, ISO, BIS and CIS PDU structure's octet 3 vendor specific. This will allow vendors not supporting the octet 3 or CTEInfo (8 bits) to save 1 octet in their PDU structures. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 117bdbb commit 4d3f869

File tree

112 files changed

+462
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+462
-163
lines changed

subsys/bluetooth/controller/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ zephyr_library_sources_ifdef(
171171
zephyr_library_include_directories(
172172
.
173173
include
174-
ll_sw
175174
)
176175

177176
zephyr_library_compile_options_ifdef(

subsys/bluetooth/controller/crypto/crypto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "util/memq.h"
1010

1111
#include "hal/ecb.h"
12-
#include "lll.h"
12+
#include "ll_sw/lll.h"
1313

1414
#define LOG_LEVEL CONFIG_BT_HCI_DRIVER_LOG_LEVEL
1515
#include <zephyr/logging/log.h>

subsys/bluetooth/controller/hci/hci.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535

3636
#include "ticker/ticker.h"
3737

38+
#include "ll_sw/pdu_df.h"
39+
#include "lll/pdu_vendor.h"
3840
#include "ll_sw/pdu.h"
3941

4042
#include "ll_sw/lll.h"
@@ -52,7 +54,7 @@
5254
#include "ll_sw/isoal.h"
5355

5456
#if !defined(CONFIG_BT_LL_SW_LLCP_LEGACY)
55-
#include "ull_tx_queue.h"
57+
#include "ll_sw/ull_tx_queue.h"
5658
#endif
5759

5860
#include "ll_sw/ull_adv_types.h"

subsys/bluetooth/controller/hci/hci_driver.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
#include "hal/radio.h"
4141
#endif /* CONFIG_SOC_FAMILY_NRF */
4242

43+
#include "ll_sw/pdu_df.h"
44+
#include "lll/pdu_vendor.h"
4345
#include "ll_sw/pdu.h"
46+
4447
#include "ll_sw/lll.h"
4548
#include "lll/lll_df_types.h"
4649
#include "ll_sw/lll_sync_iso.h"

subsys/bluetooth/controller/ll_sw/isoal.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020

2121
#include "hal/ticker.h"
2222

23+
#include "pdu_df.h"
24+
#include "lll/pdu_vendor.h"
2325
#include "pdu.h"
2426

25-
2627
#include "ll.h"
2728
#include "lll.h"
2829
#include "lll_conn_iso.h"

subsys/bluetooth/controller/ll_sw/ll_addr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#include "util/memq.h"
1717
#include "util/mem.h"
1818

19+
#include "pdu_df.h"
20+
#include "lll/pdu_vendor.h"
1921
#include "pdu.h"
2022

2123
#include "lll.h"

subsys/bluetooth/controller/ll_sw/ll_feat.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
#include "hal/ccm.h"
1515

16+
#include "pdu_df.h"
17+
#include "lll/pdu_vendor.h"
1618
#include "pdu.h"
1719

1820
#include "lll.h"

subsys/bluetooth/controller/ll_sw/ll_tx_pwr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#include "util/mem.h"
2020
#include "util/dbuf.h"
2121

22+
#include "pdu_df.h"
23+
#include "lll/pdu_vendor.h"
2224
#include "pdu.h"
2325

2426
#include "lll.h"

subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#include "hal/radio.h"
2222
#include "hal/ticker.h"
2323

24+
#include "ll_sw/pdu_df.h"
25+
#include "lll/pdu_vendor.h"
2426
#include "ll_sw/pdu.h"
2527

2628
#include "radio_internal.h"

subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_df.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
#include <hal/nrf_gpio.h>
1414
#include <hal/ccm.h>
1515

16-
#include "ll_sw/pdu.h"
16+
#include "pdu_df.h"
17+
#include "lll/pdu_vendor.h"
18+
#include "pdu.h"
1719

1820
#include "radio_nrf5.h"
1921
#include "radio.h"

0 commit comments

Comments
 (0)