iwlwifi: mvm: Send non offchannel traffic via AP sta
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 24 Jul 2018 18:57:50 +0000 (21:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:51:09 +0000 (08:51 +0100)
commitd0426a344cf62993d1427035223f616fc1a6be0f
tree64c065ee2e42fa7c39ebf91ccc35e894dde85d2d
parent698d71cba6873d6bc4627e6af291aeec51edc6de
iwlwifi: mvm: Send non offchannel traffic via AP sta

[ Upstream commit dc1aca22f8f38b7e2ad7b118db87404d11e68771 ]

TDLS discovery response frame is a unicast direct frame to the peer.
Since we don't have a STA for this peer, this frame goes through
iwl_tx_skb_non_sta(). As the result aux_sta and some completely
arbitrary queue would be selected for this frame, resulting in a queue
hang.  Fix that by sending such frames through AP sta instead.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c