ath6kl: Fix 4-way handshake failure in AP and P2P GO mode
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Mon, 9 Apr 2012 15:21:20 +0000 (20:51 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 9 Apr 2012 15:33:07 +0000 (18:33 +0300)
commitd97c121bb23d32ef631c553d2656f8ccf8349507
tree5ed670bed75b13c29a41fca6eeef255e46f6d569
parentdf90b36940019a879d08bc5e8a20daa0c9fe0122
ath6kl: Fix 4-way handshake failure in AP and P2P GO mode

RSN capability field of RSN IE which is generated (which is what really
advertised in beacon/probe response) differs from the one generated in
wpa_supplicant. This inconsistency in rsn IE results in 4-way handshake
failure. To fix this, configure rsn capability used in wpa_supplicant
in firmware using a new wmi command, WMI_SET_IE_CMDID. There is a bit
(ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE) in fw_capabilities to advertise
this support to driver.

Signed-off-by: Subramania Sharma <sharmat@qca.qualcomm.com>
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/wmi.c
drivers/net/wireless/ath/ath6kl/wmi.h