Skip to content

Commit 1e2133f

Browse files
fg-cfhnashif
authored andcommitted
net: l2: ieee802154: document non-standard channel page selection
The IEEE 802.15.4 standard does not specify a "Sub-GHz" option. Therefore this option will be deprecated in the foreseeable future. Rationale: Selecting PHYs and frequency bands is abstracted by the concept of channel pages (see IEEE 802.15.4-2020, 10.1.3). Radio drivers may expose additional configuration options that specify the low level frequency band, operating mode and other PHY-specific parameters. Such parameters should be exposed on a driver instance level, e.g. via devicetree or as runtime options of the driver. PHY-specific attributes derived from driver settings (e.g. available channels) can then be announced to L2 w/o the user having to be aware of any implementation details of the specific PHY. Future changes will introduce the necessary infrastructure to define channel pages and other PHY-specific configuration options to replace this option. New drivers should therefore not rely on this option. Signed-off-by: Florian Grandel <[email protected]>
1 parent 0a6c072 commit 1e2133f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

subsys/net/l2/ieee802154/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ config NET_L2_IEEE802154_MGMT
1414
select NET_MGMT
1515
select NET_MGMT_EVENT
1616

17+
# TODO: Selecting PHYs and frequency bands is abstracted by the concept
18+
# of channel pages in recent versions of the standard (see
19+
# IEEE 802.15.4-2020, 10.1.3).
20+
# This option will be replaced by configuration options on driver
21+
# instance level that allow selection of a channel page as well
22+
# as other PHY-specific configuration options (frequency bands,
23+
# operating modes, etc.).
24+
# New and existing drivers should not introduce additional
25+
# references to this option.
1726
config NET_L2_IEEE802154_SUB_GHZ
1827
bool
1928
help

0 commit comments

Comments
 (0)