]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: force off channel transmission for public action frames
authorMatti Gottlieb <matti.gottlieb@intel.com>
Mon, 20 Apr 2015 19:54:14 +0000 (22:54 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Apr 2015 10:27:17 +0000 (12:27 +0200)
commitd21cb6870de532abcd1223bc406d63cc2c5057eb
tree6fd4a76fb49a7bb535577cff1a0efd273b3a2aab
parentcb4ed695b08b6d504c56a9b8f35115ba01b204ba
mac80211: force off channel transmission for public action frames

Currently while associated to an AP and sending a (public) action
frame to a different AP on the same channel, the action frame will
be sent like a regular tx frame without going off channel.

When power save is enabled this can cause problems, since the device
can go into power save and miss the response to the action frame
that is sent by the other AP.

Force off-channel transmission to avoid this issue in case
- HW offchannel is used,
- the user didn't forbid transmitting frames off channel
- the frame is not sent to the AP that we are associated with
  (if it is we assume the response would be bufferable)

Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
[reword commit message a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c