]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b4498616e3a0e91350fb01844565fb481e80af9
tree1c5ed489d3113645ebb123b6e862144a636dd620
parent950aafd1c03df386541686c975d63c2e6e430c18
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