Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135307576
D48097.id148108.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
577 B
Referenced Files
None
Subscribers
None
D48097.id148108.diff
View Options
diff --git a/sys/dev/rtwn/if_rtwn.c b/sys/dev/rtwn/if_rtwn.c
--- a/sys/dev/rtwn/if_rtwn.c
+++ b/sys/dev/rtwn/if_rtwn.c
@@ -1618,6 +1618,13 @@
/* XXX workaround add_channel_list() limitations */
setbit(bands, IEEE80211_MODE_11A);
setbit(bands, IEEE80211_MODE_11NA);
+
+ if (ic->ic_flags_ext & IEEE80211_FEXT_VHT)
+ setbit(bands, IEEE80211_MODE_VHT_5GHZ);
+
+ /* Only enable VHT80 if HT40/VHT40 is available */
+ cbw_flags |= sc->sc_ht40 ? NET80211_CBW_FLAG_VHT80 : 0;
+
for (i = 0; i < nitems(sc->chan_num_5ghz); i++) {
if (sc->chan_num_5ghz[i] == 0)
continue;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 9, 2:09 PM (2 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25073817
Default Alt Text
D48097.id148108.diff (577 B)
Attached To
Mode
D48097: rtwn: enable VHT if it's configured in the device
Attached
Detach File
Event Timeline
Log In to Comment