Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102936493
D47504.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
840 B
Referenced Files
None
Subscribers
None
D47504.diff
View Options
diff --git a/sys/dev/rtwn/pci/rtwn_pci_rx.c b/sys/dev/rtwn/pci/rtwn_pci_rx.c
--- a/sys/dev/rtwn/pci/rtwn_pci_rx.c
+++ b/sys/dev/rtwn/pci/rtwn_pci_rx.c
@@ -162,6 +162,8 @@
/* Send the frame to the 802.11 layer. */
RTWN_UNLOCK(sc);
if (ni != NULL) {
+ if (ni->ni_flags & IEEE80211_NODE_HT)
+ m->m_flags |= M_AMPDU;
(void)ieee80211_input_mimo(ni, m);
/* Node is no longer needed. */
ieee80211_free_node(ni);
diff --git a/sys/dev/rtwn/usb/rtwn_usb_rx.c b/sys/dev/rtwn/usb/rtwn_usb_rx.c
--- a/sys/dev/rtwn/usb/rtwn_usb_rx.c
+++ b/sys/dev/rtwn/usb/rtwn_usb_rx.c
@@ -412,6 +412,8 @@
ni = m->m_pkthdr.PH_loc.ptr;
m->m_pkthdr.PH_loc.ptr = NULL;
if (ni != NULL) {
+ if (ni->ni_flags & IEEE80211_NODE_HT)
+ m->m_flags |= M_AMPDU;
(void)ieee80211_input_mimo(ni, m);
ieee80211_free_node(ni);
} else {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 11:35 PM (22 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14725357
Default Alt Text
D47504.diff (840 B)
Attached To
Mode
D47504: rtwn: set M_AMPDU on received frames on 11n and later stations
Attached
Detach File
Event Timeline
Log In to Comment