Return-path: Received: from idris.smile.fr ([91.216.209.19]:59507 "EHLO idris.smile.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752120AbcFOHLY (ORCPT ); Wed, 15 Jun 2016 03:11:24 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Wed, 15 Jun 2016 09:11:21 +0200 From: Vincent CESSON To: Raymond Hayes Cc: Amitkumar Karwar , , Shengzhen Li Subject: Re: =?UTF-8?Q?mwifiex+wpa=5Fsupplicant=20cannot=20set=20up=20WPA/?= =?UTF-8?Q?WPA=32=20ADHOC?= In-Reply-To: References: <4eed6159efdc3f86e4f549bb31ce6a74@smile.fr> <053ed5ba9d69bc5e6f36ed7e95526663@smile.fr> <4fdb1514a02744ad9b8ac11b96e57130@SC-EXCH04.marvell.com> <404feff5a5bca118ba53b69301700e2f@smile.fr> <2259a8e8239c9497571d30fa86e7f84c@smile.fr> Message-ID: (sfid-20160615_091127_635130_97E7D07E) Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Raymond, Who is trying to mark the peer authorized? Should I look into mwifiex driver? cfg80211.ko? libnl? wpa_supplicant? I am a bit lost among all these elements. Vincent Le 2016-06-14 02:30, Raymond Hayes a écrit : > From the RSN log, the dual 4-way handshakes succeeded, but the GTK was > not installed: > > nl80211: set_key failed; err=-22 Invalid argument) > > and it looks like there was a problem marking the peer authorized: > > AUTH: 48:45:20:3b:31:75 authorizing port > Could not set station 48:45:20:3b:31:75 flags for kernel driver > (errno=11) > > Ray > > On Mon, Jun 13, 2016 at 7:42 AM, Vincent CESSON > wrote: >> Hi Amitkumar, >> >> Here are the wpa_supplicant logs (with CONFIG_IBSS_RSN=y enabled) >> from the >> two devices. Beside wpa_supplicant, I manually set IPs 192.168.1.xy >> with >> command "ifconfig mlan0 192.168.1.xy" and then I try to ping each >> other, >> without success. >> >> Vincent >> >> >> >> Le 2016-06-13 15:40, Amitkumar Karwar a écrit : >>> >>> Hi Vincent, >>> >>>> From: Vincent CESSON [mailto:vincent.cesson@smile.fr] >>>> Sent: Monday, June 13, 2016 7:09 PM >>>> To: Amitkumar Karwar >>>> Cc: Raymond Hayes; linux-wireless@vger.kernel.org >>>> Subject: RE: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC >>>> >>>> About the strange behaviour with the two devices connecting despite >>>> the >>>> bad passwords, I made a little mistake: on the device 2, >>>> wpa_supplicant >>>> was not built with option CONFIG_IBSS_RSN=y. But still, device 1 >>>> should >>>> not accept device 2... >>>> >>>> Note that with option CONFIG_IBSS_RSN=y enabled on both devices, >>>> WPA-PSK >>>> connection does not work, even with the right password... >>>> >>> >>> I see. Please share the wpa_supplicant logs with CONFIG_IBSS_RSN=y >>> enabled for analysis. >>> >>> Regards, >>> Amitkumar