[PATCH 1/2] supplicant: Use high-priority queue for management packets.

Jouni Malinen j
Tue Feb 25 09:16:58 PST 2014


On Fri, Jan 31, 2014 at 02:55:17PM +0100, Johannes Berg wrote:
> The obvious other alternative would be to just do this in the kernel,
> assigning high priority to any packets that have
> tx->sdata->control_port_protocol == tx->skb->protocol (speaking in
> mac80211 language) - a number of drivers already do some special things
> via IEEE80211_TX_CTRL_PORT_CTRL_PROTO.
> 
> I'm not entirely sure that's a better solution overall, but in terms of
> driver compatibility it would certainly be less risky.

With commit 1bf4bbb4024dcdab5e57634dd8ae1072d42a53ac ('mac80211: send
control port protocol frames to the VO queue') now in
wireless-testing.git and tagged for stable, I'm planning on dropping
these wpa_supplicant/hostapd changes that use setsockopt() with the
special SO_PRIORITY values.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list