net: pkt: add IEEE 802.15.4 TX power field

This commit extends the `struct net_pkt` structure with
`ieee802154_txpwr` field that contains signed value of the desired
transmission power of a IEEE 802.15.4 frame in dBm.

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
This commit is contained in:
Jedrzej Ciupis 2022-03-25 10:38:53 +01:00 committed by Carles Cufí
commit 644da741f4
3 changed files with 36 additions and 7 deletions

View file

@ -142,6 +142,11 @@ config IEEE802154_CSL_ENDPOINT
help
Enable support for CSL Endpoint with delayed reception handling and CSL IE injection.
config IEEE802154_SELECTIVE_TXPOWER
bool "Support selective TX power setting"
help
Enable support for selectively setting TX power for every transmission request.
module = IEEE802154_DRIVER
module-str = IEEE 802.15.4 driver
module-help = Sets log level for IEEE 802.15.4 Device Drivers.