I start an adhoc network tear it down, then try to connect to
managed 5GHz networks
starting adhoc:
iw wlan0 set type ibss
ip link set wlan0 up
iw wlan0 ibss join "adhoc" 2432
connecting to 5GHz network fails with:
mwifiex_sdio mmc0:0001:1: ASSOC_RESP: failed, status code=2 err=0xfffc
a_id=0xffff
interesting that connecting to 2.4GHz works, and so does connectinug to 5GHz
afterwards. The opposite connecting to 5GHz first, which fails, and then
trying to connect 2.4GHz fails with above error
adhoc -works-> 2.4GHz -works-> 5GHz
adhoc -fails-> 5GHZ -fails-> 2.4GHZ
unloading/reloading the driver fixes the problem, so fw is not downloaded
again, so seems to be a pure driver issue.
where might the problem might be located?
Hi Andreas,
Are you setting type back to managed after leaving ibss?
I quickly tried this in my setup and after setting type to managed before connection to 5GHz AP, association is successful.
If I dont set type, I see error from iw itself "operation not supported".
Thanks,
Avinash.
________________________________________
From: [email protected] [[email protected]] On Behalf Of Andreas Fenkart [[email protected]]
Sent: Friday, August 08, 2014 4:47 PM
To: Bing Zhao; [email protected]
Subject: mwifiex: switching from adhoc to 5GHz managed fails
I start an adhoc network tear it down, then try to connect to
managed 5GHz networks
starting adhoc:
iw wlan0 set type ibss
ip link set wlan0 up
iw wlan0 ibss join "adhoc" 2432
connecting to 5GHz network fails with:
mwifiex_sdio mmc0:0001:1: ASSOC_RESP: failed, status code=2 err=0xfffc
a_id=0xffff
interesting that connecting to 2.4GHz works, and so does connectinug to 5GHz
afterwards. The opposite connecting to 5GHz first, which fails, and then
trying to connect 2.4GHz fails with above error
adhoc -works-> 2.4GHz -works-> 5GHz
adhoc -fails-> 5GHZ -fails-> 2.4GHZ
unloading/reloading the driver fixes the problem, so fw is not downloaded
again, so seems to be a pure driver issue.
where might the problem might be located?
SGkgQW5kcmVhcywNCg0KUGF0Y2ggaGFzIGFscmVhZHkgYmVlbiBzdWJtaXR0ZWQgdG8gbGludXgt
d2lyZWxlc3MuDQoNCmh0dHA6Ly93d3cuc3Bpbmljcy5uZXQvbGlzdHMvbGludXgtd2lyZWxlc3Mv
bXNnMTI1ODE1Lmh0bWwNCg0KVGhhbmtzLA0KQXZpbmFzaC4NCg0KLS0tLS1PcmlnaW5hbCBNZXNz
YWdlLS0tLS0NCkZyb206IEFuZHJlYXMgRmVua2FydCBbbWFpbHRvOmFmZW5rYXJ0QGdtYWlsLmNv
bV0gDQpTZW50OiBGcmlkYXksIEF1Z3VzdCAyMiwgMjAxNCA4OjQzIFBNDQpUbzogQXZpbmFzaCBQ
YXRpbA0KQ2M6IGxpbnV4LXdpcmVsZXNzQHZnZXIua2VybmVsLm9yZw0KU3ViamVjdDogUmU6IG13
aWZpZXg6IHN3aXRjaGluZyBmcm9tIGFkaG9jIHRvIDVHSHogbWFuYWdlZCBmYWlscw0KDQpIaSBB
dmluYXNoLA0KDQoyMDE0LTA4LTE0IDEwOjIzIEdNVCswMjowMCBBdmluYXNoIFBhdGlsIDxwYXRp
bGFAbWFydmVsbC5jb20+Og0KPiBIaSBBbmRyZWFzLA0KPg0KPiBQbGVhc2UgY2hlY2sgaWYgdGhp
cyBkaWZmIGZpbGUgaGVscHMgdG8gcmVzb2x2ZSBpYnNzIGlzc3VlLg0KdGhhdCBmaXhlcyB0aGUg
cHJvYmxlbSwgd2lsbCB5b3UgbWFrZSB0aGlzIGEgcGF0Y2g/DQoNClRoYW5rcywNCkFuZHJlYXMN
Cg==
Hi Andreas,
Not many fixes have gone in after 701a9e6; also none of the fixes affect adhoc creation/join as such.
What is your FW revision? Also if possible, can you please collect dynamic debug logs.
Thanks,
Avinash.
________________________________________
From: Andreas Fenkart [[email protected]]
Sent: Tuesday, August 12, 2014 4:28 AM
To: Avinash Patil
Cc: [email protected]
Subject: Re: mwifiex: switching from adhoc to 5GHz managed fails
Hi Avinash,
2014-08-08 14:51 GMT+02:00 Avinash Patil <[email protected]>:
> Are you setting type back to managed after leaving ibss?
yes
> I quickly tried this in my setup and after setting type to managed before connection to 5GHz AP, association is successful.
15ba2236f3556fc01b9ca91394465152b5ea74b6 Merge
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
9a3c4145af32125c5ee39c0272662b47307a8323 Linux 3.16-rc6
and latest commit in driver/net/wireless/mwifiex:
701a9e619347ac06d59481db14bbc4df99763270 mwifiex: initialize Tx/Rx
info of a packet correctly
Am I missing some patches?
> If I dont set type, I see error from iw itself "operation not supported".
I receive "ASSOC_RESP: failed:"
iw version : 3.13
Hi Avinash,
2014-08-08 14:51 GMT+02:00 Avinash Patil <[email protected]>:
> Are you setting type back to managed after leaving ibss?
yes
> I quickly tried this in my setup and after setting type to managed before connection to 5GHz AP, association is successful.
15ba2236f3556fc01b9ca91394465152b5ea74b6 Merge
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
9a3c4145af32125c5ee39c0272662b47307a8323 Linux 3.16-rc6
and latest commit in driver/net/wireless/mwifiex:
701a9e619347ac06d59481db14bbc4df99763270 mwifiex: initialize Tx/Rx
info of a packet correctly
Am I missing some patches?
> If I dont set type, I see error from iw itself "operation not supported".
I receive "ASSOC_RESP: failed:"
iw version : 3.13
Hi Andreas,
Please check if this diff file helps to resolve ibss issue.
Thanks,
Avinash.
________________________________________
From: Andreas Fenkart [[email protected]]
Sent: Tuesday, August 12, 2014 4:28 AM
To: Avinash Patil
Cc: [email protected]
Subject: Re: mwifiex: switching from adhoc to 5GHz managed fails
Hi Avinash,
2014-08-08 14:51 GMT+02:00 Avinash Patil <[email protected]>:
> Are you setting type back to managed after leaving ibss?
yes
> I quickly tried this in my setup and after setting type to managed before connection to 5GHz AP, association is successful.
15ba2236f3556fc01b9ca91394465152b5ea74b6 Merge
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
9a3c4145af32125c5ee39c0272662b47307a8323 Linux 3.16-rc6
and latest commit in driver/net/wireless/mwifiex:
701a9e619347ac06d59481db14bbc4df99763270 mwifiex: initialize Tx/Rx
info of a packet correctly
Am I missing some patches?
> If I dont set type, I see error from iw itself "operation not supported".
I receive "ASSOC_RESP: failed:"
iw version : 3.13
Hi Avinash,
2014-08-14 10:23 GMT+02:00 Avinash Patil <[email protected]>:
> Hi Andreas,
>
> Please check if this diff file helps to resolve ibss issue.
that fixes the problem, will you make this a patch?
Thanks,
Andreas