Thread (7 messages) flat view 7 messages, 2 authors, 2014-08-25

RE: mwifiex: switching from adhoc to 5GHz managed fails

From: Avinash Patil <hidden>
Date: 2014-08-08 12:51:55

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: linux-wireless-owner@vger.kernel.org [linux-wireless-owner@vger.kernel.org] On Behalf Of Andreas Fenkart [afenkart@gmail.com]
Sent: Friday, August 08, 2014 4:47 PM
To: Bing Zhao; linux-wireless@vger.kernel.org
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help