Skip to contentSkip to conversation

mac80211: send control port protocol frames to the VO queue

PATCH Applied Felix Fietkau 2 participants 2 messages Feb 11, 2014 – Feb 12, 2014 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mac80211: send control port protocol frames to the VO queue

Improves reliability of wifi connections with WPA, since authentication frames are prioritized over normal traffic and also typically exempt from aggregation.

---
 net/mac80211/wme.c | 5 +++++
 1 file changed, 5 insertions(+)
net/mac80211/wme.c +5 -0
index 21211c6..d51422c 100644
@@ -154,6 +154,11 @@ u16 ieee80211_select_queue(struct ieee80211_sub_if_data *sdata,
 		return IEEE80211_AC_BE;
 	}
 
+	if (skb->protocol == sdata->control_port_protocol) {
+		skb->priority = 7;
+		return ieee80211_downgrade_queue(sdata, skb);
+	}
+
 	/* use the data classifier to determine what 802.1d tag the
 	 * data frame has */
 	rcu_read_lock();
Signature · 1 line
1.8.3.4 (Apple Git-47)
maintainer Applied
#1 lore raw
Quoted 3 lines · Felix Fietkau

Improves reliability of wifi connections with WPA, since authentication frames are prioritized over normal traffic and also typically exempt from aggregation.

Applied.

johannes