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

Ben Greear greearb
Wed Jan 15 09:18:21 PST 2014


On 01/15/2014 06:06 AM, Johannes Berg wrote:
> On Tue, 2014-01-07 at 10:12 -0800, Ben Greear wrote:
> 
>>> That code isn't really documentation though :)
>>
>> This page mentions it as well, about half way down.
>>
>> http://wireless.kernel.org/en/developers/Documentation/mac80211/queues
> 
> Which again is mac80211 documentation.
> 
>> As is, unless the NIC has firmware that inspects packets and
>> twiddles the queue selection based on that, some management packets do not go
>> out in the VO queue.
>>
>> With my patch, it (ath9k) seems to work properly.
> 
> Sure, but you're ignoring that there are drivers that aren't mac80211
> based, nor forced to interpret the priority this way. At least not
> unless you go to the trouble of defining it as such in the kernel.
> 
> Now, I'm not necessarily saying this would be a bad thing, but as it
> stands right now I'm not convinced that this can be done.

I'm not trying to force a driver to do anything, but I would definitely
like to suggest a driver give the management packets high priority,
and for drivers I can use and modify, I will try to make sure they work
properly.  Other driver writers can do as they wish.

If anyone can proclaim an API, then you can.  If you have another API in mind,
please detail it.  If no one cares, then I can just carry the hostap patch in
my own tree and move on to other things.

Thanks,
Ben


> 
> johannes
> 


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




More information about the Hostap mailing list