Return-path: Received: from wolverine02.qualcomm.com ([199.106.114.251]:50033 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752544Ab2DIOr3 (ORCPT ); Mon, 9 Apr 2012 10:47:29 -0400 Message-ID: <4F82F66E.8000800@qca.qualcomm.com> (sfid-20120409_164733_563393_17E1514E) Date: Mon, 9 Apr 2012 17:47:10 +0300 From: Kalle Valo MIME-Version: 1.0 To: Vasanthakumar Thiagarajan CC: , , Subramania Sharma Subject: Re: [PATCH] ath6kl: Fix 4-way handshake failure in AP and P2P GO mode References: <1333644981-3721-1-git-send-email-vthiagar@qca.qualcomm.com> In-Reply-To: <1333644981-3721-1-git-send-email-vthiagar@qca.qualcomm.com> Content-Type: text/plain; charset="ISO-8859-1" Sender: linux-wireless-owner@vger.kernel.org List-ID: On 04/05/2012 07:56 PM, Vasanthakumar Thiagarajan wrote: > 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 > Signed-off-by: Vasanthakumar Thiagarajan Otherwise looks good but there's a sparse warning: drivers/net/wireless/ath/ath6kl/cfg80211.c:2539:20: warning: incorrect type in assignment (different base types) drivers/net/wireless/ath/ath6kl/cfg80211.c:2539:20: expected unsigned short [unsigned] [short] [usertype] drivers/net/wireless/ath/ath6kl/cfg80211.c:2539:20: got restricted __le16 [usertype] It's from this line: *rsn_capab = cpu_to_le16(*((u16 *) rsn_ie)); Kalle