]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Use the AP station for non_sta transmit
authorIlan Peer <ilan.peer@intel.com>
Wed, 24 Jun 2015 06:23:01 +0000 (09:23 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 07:11:48 +0000 (10:11 +0300)
commit289e18d82c2a0bc2c86b748d0fc9f29e42da07a5
treeda39d2cca10176243f65bfad048ce2cd141d21b8
parent9ab32891ab3654a60e365cbef9c1f0ac3d646b7a
iwlwifi: mvm: Use the AP station for non_sta transmit

In iwl_mvm_tx_skb_non_sta(), in case of managed interface,
use the AP station for multicast frames instead of the auxiliary
station as otherwise the frames can be sent to an absent P2P GO as
the FW does not block transmissions for the auxiliary station
since it is not associated with the station MAC context.

Note that this is not possible for unicast frames, as a TDLS
discovery response is sent without a station entry, and in this
case the P2P GO NoA should not block transmission to the peer.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/tx.c