Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140100288
D48097.id147997.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
657 B
Referenced Files
None
Subscribers
None
D48097.id147997.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,16 @@
/* XXX workaround add_channel_list() limitations */
setbit(bands, IEEE80211_MODE_11A);
setbit(bands, IEEE80211_MODE_11NA);
+
+ if (ic->ic_flags_ext & IEEE80211_FEXT_VHT) {
+ device_printf(sc->sc_dev, "%s: enabling 5GHz VHT\n",
+ __func__);
+ 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, Dec 21, 5:42 AM (15 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27108242
Default Alt Text
D48097.id147997.diff (657 B)
Attached To
Mode
D48097: rtwn: enable VHT if it's configured in the device
Attached
Detach File
Event Timeline
Log In to Comment