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>
This commit is contained in:
Alexandre Bailon 2025-05-08 16:58:19 +02:00 committed by Anas Nashif
commit db496c7a76

View file

@ -738,7 +738,11 @@ static struct ieee802154_cc13xx_cc26xx_data ieee802154_cc13xx_cc26xx_data = {
.bStrictLenFilter = 1
},
.frameTypes = {
#if defined(CONFIG_NET_L2_OPENTHREAD)
.bAcceptFt0Beacon = 1,
#else
.bAcceptFt0Beacon = 0,
#endif
.bAcceptFt1Data = 1,
.bAcceptFt2Ack = 0,
.bAcceptFt3MacCmd = 1,