Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/usb Enable AMPDU/AMSDU.
details: https://anonhg.NetBSD.org/src-all/rev/909a7e6ead82
branches: trunk
changeset: 375288:909a7e6ead82
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Sun Oct 30 21:30:34 2022 +1100
description:
Enable AMPDU/AMSDU.
diffstat:
sys/dev/usb/if_urtwn.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r f6ed8b2a56a9 -r 909a7e6ead82 sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c Sat Oct 29 13:49:37 2022 +1100
+++ b/sys/dev/usb/if_urtwn.c Sun Oct 30 21:30:34 2022 +1100
@@ -514,14 +514,15 @@ urtwn_attach( device_t parent, device_t
IEEE80211_C_BGSCAN | /* capable of bg scanning */
// IEEE80211_C_SWSLEEP| /* handle sleeps */
IEEE80211_C_WME | /* 802.11e */
- IEEE80211_C_WPA; /* 802.11i */
+ IEEE80211_C_WPA | /* 802.11i */
+ IEEE80211_C_SWAMSDUTX; /* Do software A-MSDU TX */
ic->ic_htcaps =
IEEE80211_HTC_HT |
IEEE80211_HTCAP_SHORTGI20 | /* short GI in 20MHz */
-#if 0
IEEE80211_HTCAP_MAXAMSDU_3839 | /* max A-MSDU length */
-#endif
+ IEEE80211_HTC_AMPDU | /* A-MPDU tx */
+ IEEE80211_HTC_AMSDU | /* A-MSDU tx */
IEEE80211_HTCAP_SMPS_OFF | /* SM PS mode disabled */
IEEE80211_HTCAP_CHWIDTH40 | /* 40 MHz channel width */
IEEE80211_HTCAP_SHORTGI40; /* short GI in 40MHz */
Home |
Main Index |
Thread Index |
Old Index