0bad09c7fa
When CONFIG_IEEE802154_RAW_MODE is set there is no network interface that could provide pointer to the device the interface is running on top of. The current implementation of nRF5 ieee802154 driver implicitly assumes that such an interface is always present, which leads to crashes when raw mode is enabled. This commit adds support for IEEE802154_RAW_MODE in nRF5 ieee802154 driver by latching pointer to the ieee802154 device on initialization if needed so that it doesn't have to be retrieved using the network interface in run-time. Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.b91 | ||
Kconfig.cc13xx_cc26xx | ||
Kconfig.cc1200 | ||
Kconfig.cc2520 | ||
Kconfig.dw1000 | ||
Kconfig.kw41z | ||
Kconfig.mcr20a | ||
Kconfig.nrf5 | ||
Kconfig.rf2xx | ||
Kconfig.uart_pipe | ||
ieee802154_b91.c | ||
ieee802154_b91.h | ||
ieee802154_cc13xx_cc26xx.c | ||
ieee802154_cc13xx_cc26xx.h | ||
ieee802154_cc13xx_cc26xx_subg.c | ||
ieee802154_cc13xx_cc26xx_subg.h | ||
ieee802154_cc1200.c | ||
ieee802154_cc1200.h | ||
ieee802154_cc1200_regs.h | ||
ieee802154_cc1200_rf.h | ||
ieee802154_cc2520.c | ||
ieee802154_cc2520.h | ||
ieee802154_cc2520_regs.h | ||
ieee802154_dw1000.c | ||
ieee802154_dw1000_regs.h | ||
ieee802154_kw41z.c | ||
ieee802154_mcr20a.c | ||
ieee802154_mcr20a.h | ||
ieee802154_mcr20a_regs.h | ||
ieee802154_nrf5.c | ||
ieee802154_nrf5.h | ||
ieee802154_rf2xx.c | ||
ieee802154_rf2xx.h | ||
ieee802154_rf2xx_iface.c | ||
ieee802154_rf2xx_iface.h | ||
ieee802154_rf2xx_regs.h | ||
ieee802154_uart_pipe.c | ||
ieee802154_uart_pipe.h |