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

Ben Greear greearb at candelatech.com
Tue Feb 25 13:39:52 EST 2014


On 02/25/2014 09:16 AM, Jouni Malinen wrote:
> 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.

Ok, that sounds fine to me.

Anyone needing that functionality on older or non stable kernels can just
apply the supplicant patch locally.

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the HostAP mailing list