]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix A-MSDU outer SA/DA
authorMichael Braun <michael-dev@fami-braun.de>
Sat, 15 Oct 2016 11:28:19 +0000 (13:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 17 Oct 2016 09:43:33 +0000 (11:43 +0200)
commit0ae6a305464e0118459c1a76af87f1a6ebf299d3
treee3cbc8f949893d90583a81f0a47bfd5fe848c172
parentf15dcb9486b3f48506e7fe0decf14eabee07b9f0
mac80211: fix A-MSDU outer SA/DA

According to IEEE 802.11-2012 section 8.3.2 table 8-19, the outer SA/DA
of A-MSDU frames need to be changed depending on FromDS/ToDS values.

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
[use ether_addr_copy and add alignment annotations]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/tx.c