zephyr/drivers/ieee802154
Piotr Dymacz 22f6c87afc drivers: ieee802154: cc13xx_cc26xx{_subg}: fix reversed extended address
Based on the 'Technical Reference Manual' for CC13x2/CC26x2 SimpleLink
MCU family, the device contains factory pre-programmed 64-bit IEEE MAC
address for 802.15.4 radio inside two FCFG 32-bit registers:

  1. MAC_15_4_0: first 32-bit of the 64-bit IEEE MAC address
  2. MAC_15_4_1:  last 32-bit of the 64-bit IEEE MAC address

The way current version of the driver setups the address results in
incorrect bytes order (the address is reversed):

  uart:~$ ieee802154 get_ext_addr
  Extended address: AF:03:B7:25:00:4B:12:00

This fixes the problem in both drivers (also in the Sub-GHz version)
which results in use of proper EUI-64 address:

  uart:~$ ieee802154 get_ext_addr
  Extended address: 00:12:4B:00:25:B7:03:AF

IEEE MAC address was confirmed with UniFlash, nRF Sniffer for 802.15.4
and IEEE OUI database (00:12:4B is one of registered OUI for Texas
Instruments).

To prevent confusion in future, short notice about bytes order for
'mac' field in driver's data structures was also included.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2023-08-30 10:23:50 +02:00
..
CMakeLists.txt
Kconfig net: openthread: allow to configure CSL debugging 2023-06-17 07:48:25 -04:00
Kconfig.b91
Kconfig.cc13xx_cc26xx drivers: ieee802154: cc13/26xx_subg: improve CSMA/CA compliance 2023-06-23 09:20:55 +02:00
Kconfig.cc1200
Kconfig.cc2520
Kconfig.dw1000
Kconfig.kw41z
Kconfig.mcr20a
Kconfig.nrf5 drivers: ieee802154: nrf5: multiple CCA support 2023-07-25 09:13:41 +02:00
Kconfig.rf2xx
Kconfig.uart_pipe
ieee802154_b91.c net: l2: ieee802154: deprecate NET_L2_IEEE802154_ACK_REPLY 2023-06-17 16:20:21 -04:00
ieee802154_b91.h
ieee802154_cc13xx_cc26xx.c drivers: ieee802154: cc13xx_cc26xx{_subg}: fix reversed extended address 2023-08-30 10:23:50 +02:00
ieee802154_cc13xx_cc26xx.h drivers: ieee802154: cc13xx_cc26xx{_subg}: fix reversed extended address 2023-08-30 10:23:50 +02:00
ieee802154_cc13xx_cc26xx_subg.c drivers: ieee802154: cc13xx_cc26xx{_subg}: fix reversed extended address 2023-08-30 10:23:50 +02:00
ieee802154_cc13xx_cc26xx_subg.h drivers: ieee802154: cc13xx_cc26xx{_subg}: fix reversed extended address 2023-08-30 10:23:50 +02:00
ieee802154_cc1200.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
ieee802154_cc1200.h net: l2: ieee802154: standardize RSSI value 2023-06-17 07:16:32 -04:00
ieee802154_cc1200_regs.h
ieee802154_cc1200_rf.h
ieee802154_cc2520.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
ieee802154_cc2520.h
ieee802154_cc2520_regs.h
ieee802154_dw1000.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
ieee802154_dw1000_regs.h
ieee802154_kw41z.c net: l2: ieee802154: deprecate NET_L2_IEEE802154_ACK_REPLY 2023-06-17 16:20:21 -04:00
ieee802154_mcr20a.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
ieee802154_mcr20a.h
ieee802154_mcr20a_regs.h
ieee802154_nrf5.c drivers: ieee802154_nrf5: energy_detected api change adjust 2023-08-20 19:31:21 +02:00
ieee802154_nrf5.h drivers: ieee802154: nrf5: multiple CCA support 2023-07-25 09:13:41 +02:00
ieee802154_rf2xx.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
ieee802154_rf2xx.h
ieee802154_rf2xx_iface.c
ieee802154_rf2xx_iface.h
ieee802154_rf2xx_regs.h
ieee802154_uart_pipe.c net: l2: ieee802154: document L1/L2 sep. of concerns 2023-06-17 16:20:21 -04:00
ieee802154_uart_pipe.h