Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
IEEE 802.15.4 driver attribute values. More...
#include <ieee802154_radio.h>
Data Fields | ||
union { | ||
uint32_t phy_supported_channel_pages | ||
A bit field that represents the supported channel pages, see ieee802154_phy_channel_page. More... | ||
const struct ieee802154_phy_supported_channels * phy_supported_channels | ||
Pointer to a structure representing channel ranges currently available on the selected channel page. More... | ||
uint32_t phy_hrp_uwb_supported_nominal_prfs | ||
A bit field representing supported HRP UWB pulse repetition frequencies (PRF), see enum ieee802154_phy_hrp_uwb_nominal_prf. More... | ||
}; | ||
IEEE 802.15.4 driver attribute values.
This structure is reserved to scalar and structured attributes that originate in the driver implementation and can neither be implemented as boolean ieee802154_hw_caps nor be derived directly or indirectly by the MAC (L2) layer. In particular this structure MUST NOT be used to return configuration data that originate from L2.
union { ... } ieee802154_attr_value |
uint32_t ieee802154_attr_value::phy_hrp_uwb_supported_nominal_prfs |
A bit field representing supported HRP UWB pulse repetition frequencies (PRF), see enum ieee802154_phy_hrp_uwb_nominal_prf.
uint32_t ieee802154_attr_value::phy_supported_channel_pages |
A bit field that represents the supported channel pages, see ieee802154_phy_channel_page.
const struct ieee802154_phy_supported_channels* ieee802154_attr_value::phy_supported_channels |
Pointer to a structure representing channel ranges currently available on the selected channel page.
The selected channel page corresponds to the phyCurrentPage PHY PIB attribute, see the description of phy_supported_channel_pages above. Currently it can be retrieved via the IEEE802154_ATTR_PHY_SUPPORTED_CHANNEL_PAGES attribute.
Most drivers will expose a single channel page with a single, often zero-based, fixed channel range.
Some notable exceptions:
In these cases, drivers may expose custom configuration attributes (Kconfig, devicetree, runtime, ...) that allow switching between sub-ranges within the same channel page (e.g. switching between SubG and 2.4G bands on channel page zero or switching between multiple operating modes in the SUN or LECIM PHYs.