diff mbox series

[1/4] nl80211: Add 4/8/16 MHz BSS control channel width definitions

Message ID 20230301090242.1613672-2-quic_xinyling@quicinc.com (mailing list archive)
State Rejected
Delegated to: Johannes Berg
Headers show
Series wifi: nl80211: Add support to specify channel width for scan | expand

Commit Message

Xinyue Ling March 1, 2023, 9:02 a.m. UTC
Add definitions in enum nl80211_bss_scan_width to support
4/8/16 MHz BSS control channel width defined in IEEE Std
802.11ah-2016.

Signed-off-by: Xinyue Ling <quic_xinyling@quicinc.com>
---
 include/uapi/linux/nl80211.h | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 8ecb0fbee721..3f15ac05f581 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -4903,6 +4903,9 @@  enum nl80211_chan_width {
  * @NL80211_BSS_CHAN_WIDTH_5: control channel is 5 MHz wide
  * @NL80211_BSS_CHAN_WIDTH_1: control channel is 1 MHz wide
  * @NL80211_BSS_CHAN_WIDTH_2: control channel is 2 MHz wide
+ * @NL80211_BSS_CHAN_WIDTH_4: control channel is 4 MHz wide
+ * @NL80211_BSS_CHAN_WIDTH_8: control channel is 8 MHz wide
+ * @NL80211_BSS_CHAN_WIDTH_16: control channel is 16 MHz wide
  */
 enum nl80211_bss_scan_width {
 	NL80211_BSS_CHAN_WIDTH_20,
@@ -4910,6 +4913,9 @@  enum nl80211_bss_scan_width {
 	NL80211_BSS_CHAN_WIDTH_5,
 	NL80211_BSS_CHAN_WIDTH_1,
 	NL80211_BSS_CHAN_WIDTH_2,
+	NL80211_BSS_CHAN_WIDTH_4,
+	NL80211_BSS_CHAN_WIDTH_8,
+	NL80211_BSS_CHAN_WIDTH_16,
 };
 
 /**