diff --git a/components/ieee802154/esp_ieee802154.c b/components/ieee802154/esp_ieee802154.c index 1bcd4a2ebd..a1aca7162f 100644 --- a/components/ieee802154/esp_ieee802154.c +++ b/components/ieee802154/esp_ieee802154.c @@ -17,6 +17,7 @@ #include "esp_log.h" #include "esp_coex_i154.h" #include "hal/ieee802154_ll.h" +#include "hal/ieee802154_common_ll.h" esp_err_t esp_ieee802154_enable(void) { @@ -168,13 +169,13 @@ esp_err_t esp_ieee802154_set_multipan_extended_address(esp_ieee802154_multipan_i uint8_t esp_ieee802154_get_multipan_enable(void) { - return ieee802154_pib_get_multipan_enable(); + return ieee802154_ll_get_multipan_enable_mask(); } esp_err_t esp_ieee802154_set_multipan_enable(uint8_t mask) { - assert(mask < ((1 << ESP_IEEE802154_MULTIPAN_MAX) - 1)); - ieee802154_pib_set_multipan_enable(mask); + assert(mask < (1 << ESP_IEEE802154_MULTIPAN_MAX)); + ieee802154_ll_set_multipan_enable_mask(mask); return ESP_OK; } diff --git a/components/soc/esp32c6/include/soc/ieee802154_reg.h b/components/soc/esp32c6/include/soc/ieee802154_reg.h index 2788c4badd..978ef141bc 100644 --- a/components/soc/esp32c6/include/soc/ieee802154_reg.h +++ b/components/soc/esp32c6/include/soc/ieee802154_reg.h @@ -35,7 +35,7 @@ extern "C" { #define IEEE802154_NO_RSS_TRK_ENB_S 25 #define IEEE802154_BIT_ORDER (BIT(24)) #define IEEE802154_BIT_ORDER_S 24 -#define IEEE802154_COEX_ARB_DELAY 0x0000001F +#define IEEE802154_COEX_ARB_DELAY 0x000000FF #define IEEE802154_COEX_ARB_DELAY_S 16 #define IEEE802154_FILTER_ENHANCE (BIT(14)) #define IEEE802154_FILTER_ENHANCE_S 14 diff --git a/components/soc/esp32h2/include/soc/ieee802154_reg.h b/components/soc/esp32h2/include/soc/ieee802154_reg.h index 30f3f8d906..275ee98028 100644 --- a/components/soc/esp32h2/include/soc/ieee802154_reg.h +++ b/components/soc/esp32h2/include/soc/ieee802154_reg.h @@ -36,7 +36,7 @@ extern "C" { #define IEEE802154_NO_RSS_TRK_ENB_S 25 #define IEEE802154_BIT_ORDER (BIT(24)) #define IEEE802154_BIT_ORDER_S 24 -#define IEEE802154_COEX_ARB_DELAY 0x0000001F +#define IEEE802154_COEX_ARB_DELAY 0x000000FF #define IEEE802154_COEX_ARB_DELAY_S 16 #define IEEE802154_FILTER_ENHANCE (BIT(14)) #define IEEE802154_FILTER_ENHANCE_S 14