2016-07-07 00:37:00

by Nestor Machno

[permalink] [raw]
Subject: Fwd: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC

Hi All,
Amitkumar, can you confirm if this this is a bug or today is fixed?

Vincent, I had also faced similar issue on Surface Pro 2 with
backports from 4.1... So here few question:

* I saw in 1st post that you where working to make work the
wpa_supplicant with mixed configuration for adhoc (wpa-none +
wpa-ibss), but also in recent post that you focus mostly on debugging
wpa-ibss. I suggest to focus your test on one wpa mode and I think
wpa-none better because it's easier..
* Why you are not testing the latest backport from upstream kernel? as
you can know Marvell is focus most to fix open issue on current stable
release, I saw from commit that recently they fix something about WPA
on mixflex, see
https://backports.wiki.kernel.org/index.php/Documentation/compat-drivers/hacking
* Would be good information to know if you tested also on backport
3.x, did you? I know mwifiex's WPA stack changed a lot from 3.x
kernel.
* To support you more, could you enable debug info and provide full
log of your setup? .config? patch? anything else?
* Can you share us your hacked backport?
* Lat question Vincent, are you working for AIRBUS, ACTIA or THALES ? :)

Best Regards
Nestor

On Mon, Jun 13, 2016 at 7:42 AM, Vincent CESSON <[email protected]> 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


2016-07-08 09:15:57

by Amitkumar Karwar

[permalink] [raw]
Subject: RE: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC

PiBGcm9tOiBsaW51eC13aXJlbGVzcy1vd25lckB2Z2VyLmtlcm5lbC5vcmcgW21haWx0bzpsaW51
eC13aXJlbGVzcy0NCj4gb3duZXJAdmdlci5rZXJuZWwub3JnXSBPbiBCZWhhbGYgT2YgTmVzdG9y
IE1hY2hubw0KPiBTZW50OiBUaHVyc2RheSwgSnVseSAwNywgMjAxNiA2OjA3IEFNDQo+IFRvOiBs
aW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vc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