mac80211: always send multicast on CAB queue
authorJohannes Berg <johannes.berg@intel.com>
Tue, 28 May 2013 15:24:15 +0000 (17:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 May 2013 09:04:48 +0000 (11:04 +0200)
commitf4d57941bf89997bad3294f94987caebf2771a33
tree1c5ed489d3113645ebb123b6e862144a636dd620
parentbd5e14fb77d9d1dd15f9102759e8c8b31c667488
mac80211: always send multicast on CAB queue

If the driver advertised support for a CAB queue, then we
should put all multicast frames there, otherwise sending
them can be racy with clients going to sleep while we TX
a frame. To avoid this, always TX multicast frames on the
multicast queue.

It seems like even drivers not using the queue framework
might want to do this which would mean also moving the
IEEE80211_TX_CTL_SEND_AFTER_DTIM flag assignment, but it
also seems that drivers behave differently here so that
just moving it wouldn't be a good idea. It'd be better to
modify those drivers to use the queue framework.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c
This page took 0.025625 seconds and 5 git commands to generate.