提交 8461baf7 编写于 作者: M Michal Kazior 提交者: Kalle Valo

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: NMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 ce90b271
...@@ -4650,10 +4650,14 @@ static void ath10k_set_key_h_def_keyidx(struct ath10k *ar, ...@@ -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 * frames with multi-vif APs. This is not required for main firmware
* branch (e.g. 636). * branch (e.g. 636).
* *
* FIXME: This has been tested only in AP. It remains unknown if this * This is also needed for 636 fw for IBSS-RSN to work more reliably.
* is required for multi-vif STA interfaces on 10.1 */ *
* 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; return;
if (key->cipher == WLAN_CIPHER_SUITE_WEP40) if (key->cipher == WLAN_CIPHER_SUITE_WEP40)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册