Search Linux Wireless

Re: mac80211: changing number of queues in ops->start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-04-07 at 20:24 +0200, Michael Buesch wrote:
> I'm wondering how to implement QoS capability runtime detection
> in a mac80211 driver.
> 
> In b43 we don't know at ieee80211_register time whether the firmware does
> support QoS or not, because it's not loaded yet. (Reasons for not loading
> it that early are issues with builtin-b43, etc...).
> So we don't know whether we are going to load opensource fw (no QoS) or
> proprietary fw (QoS capable).
> But it seems that mac80211 requires to set hw->queues before ieee80211_register.
> 
> So what I'd need is a way to change the number of possible queues from within
> the ops->start handler.

Well, I suppose you could register with the max and later reduce and
stop the remaining queues you're not using... Or not stop them and drop
packets on them. That's somewhat fragile, gives people who look at tc a
wrong idea, and I can't imagine supporting it, but it should work.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux