Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107009259
D43944.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
D43944.diff
View Options
diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -1311,6 +1311,7 @@
lkpi_lsta_dump(lsta, ni, __func__, __LINE__);
+#if 0
/*
* Wakeup all queues now that sta is there so we have as much time to
* possibly prepare the queue in the driver to be ready for the 1st
@@ -1320,6 +1321,7 @@
* for all queues.
*/
lkpi_wake_tx_queues(hw, LSTA_TO_STA(lsta), false, false);
+#endif
/* Start mgd_prepare_tx. */
memset(&prep_tx_info, 0, sizeof(prep_tx_info));
@@ -3669,8 +3671,16 @@
hdr = (void *)skb->data;
tid = linuxkpi_ieee80211_get_tid(hdr, true);
if (tid == IEEE80211_NONQOS_TID) { /* == IEEE80211_NUM_TIDS */
- skb->priority = 0;
- ac = IEEE80211_AC_BE;
+ if (!ieee80211_is_data(hdr->frame_control)) {
+ /* MGMT and CTRL frames go on TID 7/VO. */
+ skb->priority = 7;
+ ac = IEEE80211_AC_VO;
+ } else {
+ /* Other non-QOS traffic goes to BE. */
+ /* Contrary to net80211 we MUST NOT promote M_EAPOL. */
+ skb->priority = 0;
+ ac = IEEE80211_AC_BE;
+ }
} else {
skb->priority = tid & IEEE80211_QOS_CTL_TID_MASK;
ac = ieee80211e_up_to_ac[tid & 7];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 10:03 PM (6 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15733936
Default Alt Text
D43944.diff (1 KB)
Attached To
Mode
D43944: LinuxKPI: 802.11: try to fix iwlwifi("Invalid TXQ id")
Attached
Detach File
Event Timeline
Log In to Comment