diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2015-04-10 13:23:22 +0000 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2015-04-17 09:37:13 +0300 |
commit | 8461baf77122637bbe56d647d19aa7dabfe6b352 (patch) | |
tree | 719e1c50b21838da6181cc429f6e63ed86582b3b /drivers/net/wireless/ath/ath10k/mac.c | |
parent | ce90b27128c283df8f14e4604f711f3249d95918 (diff) | |
download | blackbird-op-linux-8461baf77122637bbe56d647d19aa7dabfe6b352.tar.gz blackbird-op-linux-8461baf77122637bbe56d647d19aa7dabfe6b352.zip |
ath10k: set def key idx for ibss
Some time ago there was a weird issue with AP
using wrong multicast keys and generating
corrupted traffic on 10.1 firmware.
Apparently a very similar problem applies for
IBSS-RSN on 999.999.0.636.
ath10k doesn't have IBSS-RSN enabled yet. This
patch is a prerequisite to support it.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/mac.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/mac.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 1907b9f4611a..52cf3e189291 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -4650,10 +4650,14 @@ static void ath10k_set_key_h_def_keyidx(struct ath10k *ar, * frames with multi-vif APs. This is not required for main firmware * branch (e.g. 636). * - * FIXME: This has been tested only in AP. It remains unknown if this - * is required for multi-vif STA interfaces on 10.1 */ + * This is also needed for 636 fw for IBSS-RSN to work more reliably. + * + * FIXME: It remains unknown if this is required for multi-vif STA + * interfaces on 10.1. + */ - if (arvif->vdev_type != WMI_VDEV_TYPE_AP) + if (arvif->vdev_type != WMI_VDEV_TYPE_AP && + arvif->vdev_type != WMI_VDEV_TYPE_IBSS) return; if (key->cipher == WLAN_CIPHER_SUITE_WEP40) |