Skip to content

Commit db496c7

Browse files
anoblinashif
authored andcommitted
drivers: ieee802154: cc13xx_cc26xx: Don't filter beacon for OpenThread
OpenThread network discovery was not working. The radio driver is filtering the beacon packets whereas this is required for OpenThread. Allow receiving beacon packets. Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
1 parent b8f94ca commit db496c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/ieee802154/ieee802154_cc13xx_cc26xx.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,11 @@ static struct ieee802154_cc13xx_cc26xx_data ieee802154_cc13xx_cc26xx_data = {
738738
.bStrictLenFilter = 1
739739
},
740740
.frameTypes = {
741+
#if defined(CONFIG_NET_L2_OPENTHREAD)
742+
.bAcceptFt0Beacon = 1,
743+
#else
741744
.bAcceptFt0Beacon = 0,
745+
#endif
742746
.bAcceptFt1Data = 1,
743747
.bAcceptFt2Ack = 0,
744748
.bAcceptFt3MacCmd = 1,

0 commit comments

Comments
 (0)