Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142974749
D50096.id154746.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D50096.id154746.diff
View Options
diff --git a/sys/net80211/ieee80211_vht.c b/sys/net80211/ieee80211_vht.c
--- a/sys/net80211/ieee80211_vht.c
+++ b/sys/net80211/ieee80211_vht.c
@@ -992,9 +992,15 @@
vap = ni->ni_vap;
bss_chan = vap->iv_bss->ni_chan;
+ /*
+ * ni_chw represents 20MHz or 40MHz from the HT
+ * TX width action frame / HT channel negotiation.
+ * If a HT TX width action frame sets it to 20MHz
+ * then reject doing 80MHz.
+ */
return (IEEE80211_IS_CHAN_VHT80(bss_chan) &&
IEEE80211_IS_CHAN_VHT80(ni->ni_chan) &&
- (ni->ni_chw == IEEE80211_STA_RX_BW_80));
+ (ni->ni_chw != IEEE80211_STA_RX_BW_20));
}
/*
@@ -1015,7 +1021,13 @@
vap = ni->ni_vap;
bss_chan = vap->iv_bss->ni_chan;
- if (ni->ni_chw != IEEE80211_STA_RX_BW_160)
+ /*
+ * ni_chw represents 20MHz or 40MHz from the HT
+ * TX width action frame / HT channel negotiation.
+ * If a HT TX width action frame sets it to 20MHz
+ * then reject doing 160MHz.
+ */
+ if (ni->ni_chw == IEEE80211_STA_RX_BW_20)
return (false);
if (IEEE80211_IS_CHAN_VHT160(bss_chan) &&
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 26, 1:10 AM (58 m, 37 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27958390
Default Alt Text
D50096.id154746.diff (1 KB)
Attached To
Mode
D50096: net80211: fix VHT80/VHT160 transmit width checks
Attached
Detach File
Event Timeline
Log In to Comment