Skip to content

Commit 52fa705

Browse files
committed
Revert "drivers: ieee802154: configure IE header injection for nRF5"
This reverts commit bde592e. This is causing build failures. Original PR zephyrproject-rtos#36008. Signed-off-by: Anas Nashif <[email protected]>
1 parent c1cff75 commit 52fa705

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

drivers/ieee802154/ieee802154_nrf5.c

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -855,27 +855,6 @@ static int nrf5_configure(const struct device *dev,
855855
break;
856856
#endif /* CONFIG_IEEE802154_CSL_ENDPOINT */
857857

858-
case IEEE802154_CONFIG_ENH_ACK_HEADER_IE: {
859-
uint8_t short_addr_le[SHORT_ADDRESS_SIZE];
860-
uint8_t ext_addr_le[EXTENDED_ADDRESS_SIZE];
861-
862-
/* We expect that addresses are in big endian format, but radio driver requires
863-
* to have them in little endian. Convert addresses to little endian.
864-
*/
865-
sys_put_le16(config->ack_ie.short_addr, short_addr_le);
866-
sys_memcpy_swap(ext_addr_le, config->ack_ie.ext_addr, EXTENDED_ADDRESS_SIZE);
867-
868-
if (config->ack_ie.data_len > 0) {
869-
nrf_802154_ack_data_set(short_addr_le, false, config->ack_ie.data,
870-
config->ack_ie.data_len, NRF_802154_ACK_DATA_IE);
871-
nrf_802154_ack_data_set(ext_addr_le, true, config->ack_ie.data,
872-
config->ack_ie.data_len, NRF_802154_ACK_DATA_IE);
873-
} else {
874-
nrf_802154_ack_data_clear(short_addr_le, false, NRF_802154_ACK_DATA_IE);
875-
nrf_802154_ack_data_clear(ext_addr_le, true, NRF_802154_ACK_DATA_IE);
876-
}
877-
} break;
878-
879858
default:
880859
return -EINVAL;
881860
}

0 commit comments

Comments
 (0)