Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152460583
D47874.id.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
D47874.id.diff
View Options
diff --git a/sys/dev/rtwn/rtl8812a/usb/r12au_attach.c b/sys/dev/rtwn/rtl8812a/usb/r12au_attach.c
--- a/sys/dev/rtwn/rtl8812a/usb/r12au_attach.c
+++ b/sys/dev/rtwn/rtl8812a/usb/r12au_attach.c
@@ -173,6 +173,11 @@
IEEE80211_HTC_TXLDPC;
}
+ ic->ic_htcaps |=
+ IEEE80211_HTCAP_CHWIDTH40 /* 40 MHz channel width */
+ | IEEE80211_HTCAP_SHORTGI40 /* short GI in 40MHz */
+ ;
+
/* TODO: STBC, VHT etc */
}
@@ -291,5 +296,7 @@
sc->ntxchains = 2;
sc->nrxchains = 2;
+ sc->sc_ht40 = 1;
+
r12a_attach_private(sc);
}
diff --git a/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c b/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c
--- a/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c
+++ b/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c
@@ -158,6 +158,11 @@
if (rs->rs_radar != 0)
ic->ic_caps |= IEEE80211_C_DFS;
+ ic->ic_htcaps |=
+ IEEE80211_HTCAP_CHWIDTH40 /* 40 MHz channel width */
+ | IEEE80211_HTCAP_SHORTGI40 /* short GI in 40MHz */
+ ;
+
/* TODO: VHT */
}
@@ -277,5 +282,7 @@
sc->ntxchains = 1;
sc->nrxchains = 1;
+ sc->sc_ht40 = 1;
+
r21a_attach_private(sc);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 16, 2:41 AM (1 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31572521
Default Alt Text
D47874.id.diff (1 KB)
Attached To
Mode
D47874: rtwn: enable HT40 for RTL8821/RTL8812 series NICs
Attached
Detach File
Event Timeline
Log In to Comment