]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: fix dot11MulticastTransmittedFrameCount tested address
authorEliad Peller <eliad@wizery.com>
Sun, 21 Dec 2014 13:25:28 +0000 (15:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 23 Dec 2014 09:16:43 +0000 (10:16 +0100)
commit85b89af07d509531cbbb51adb9ec65f90f304473
tree1a450b7da2cfab6f45037f4fd612150b072325aa
parent5875755c577b00b06aba77ba471175c3e3a33c25
mac80211: fix dot11MulticastTransmittedFrameCount tested address

dot11MulticastTransmittedFrameCount should be updated according
to the DA, which might be different from A1. Checking A1 results
in the counter being 0 in case of station, as to-DS data frames
use A1 for the BSSID.

This behaviour is defined in state machines, specifically in the
sta_tx_dcf_3.1d(10) description of 802.11-2012.

Signed-off-by: Eliad Peller <eliad@wizery.com>
[rewrite commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/status.c