diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-11-02 17:09:12 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-11 17:09:03 -0500 |
commit | f52de03bf9843673cadff8016a609e1628c139e2 (patch) | |
tree | e750810d10c44dee9303af41425cc383ff58d16c /arch/mips/sni/setup.c | |
parent | 5008f3727b05b5eb970ce703721aa5897a088e30 (diff) |
ath9k: handle low buffer space for virtual wiphys
ath9k virtual wiphys all share the same internal buffer space
for TX but they do not share the mac80211 skb queues. When
ath9k detects it is running low on buffer space to TX it tells
mac80211 to stop sending it skbs its way but it always does
this only for the primary wiphy. This means mac80211 won't know
its best to avoid sending ath9k more skbs on a separate virtual
wiphy. The same issue is present for reliving the skb queue.
Since ath9k does not keep track of which virtual wiphy is hammering
on TX silence all wiphy's TX when we're low on buffer space. When
we're free on buffer space only bother informing the virtual wiphy
which is active that we have free buffers.
Cc: Jouni.Malinen <Jouni.Malinen@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/mips/sni/setup.c')
0 files changed, 0 insertions, 0 deletions