[PATCH] Add Extended NSS BW Support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Based on IEEE P802.11-REVmdTM/D3.0, October 2019
section 9.4.2.157.2 VHT Capabilities Information field

Signed-off-by: Eliav Farber <eliav.farber@xxxxxxxxxx>
Signed-off-by: Shay Bar <shay.bar@xxxxxxxxxx>
---
 hostapd/config_file.c        | 2 ++
 src/common/ieee802_11_defs.h | 1 +
 2 files changed, 3 insertions(+)

diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index bdae3be79..72eaaa03e 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -1287,6 +1287,8 @@ static int hostapd_config_vht_capab(struct hostapd_config *conf,
 		conf->vht_capab |= VHT_CAP_RX_ANTENNA_PATTERN;
 	if (os_strstr(capab, "[TX-ANTENNA-PATTERN]"))
 		conf->vht_capab |= VHT_CAP_TX_ANTENNA_PATTERN;
+	if (os_strstr(capab, "[EXT-NSS-BW]"))
+		conf->vht_capab |= VHT_CAP_EXT_NSS_BW;
 	return 0;
 }
 #endif /* CONFIG_IEEE80211AC */
diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index 7c51574b5..63f388949 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -1280,6 +1280,7 @@ struct ieee80211_ampe_ie {
 #define VHT_CAP_VHT_LINK_ADAPTATION_VHT_MRQ_MFB     ((u32) BIT(26) | BIT(27))
 #define VHT_CAP_RX_ANTENNA_PATTERN                  ((u32) BIT(28))
 #define VHT_CAP_TX_ANTENNA_PATTERN                  ((u32) BIT(29))
+#define VHT_CAP_EXT_NSS_BW                          ((u32) BIT(30))
 
 #define VHT_OPMODE_CHANNEL_WIDTH_MASK		    ((u8) BIT(0) | BIT(1))
 #define VHT_OPMODE_CHANNEL_RxNSS_MASK		    ((u8) BIT(4) | BIT(5) | \
-- 
2.17.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux