No Beacon Received in IBSS mode or adhoc mode

Michal Kazior michal.kazior at tieto.com
Tue Feb 11 03:42:13 EST 2014


On 11 February 2014 09:30, Yeoh Chun-Yeow <yeohchunyeow at gmail.com> wrote:
>>
>> If you need a quick hack I suspect starting a monitor vdev would do
>> the trick. I'm not really sure how stable that is going to be though..
>>
>
> I did a quick hack bringing up the monitor interface using
> ath10k_monitor_create and ath10k_monitor_scan but no luck the FW
> crashed.
>
> [  276.060000] ath10k: firmware crashed!
> [  276.060000] ath10k: hardware name qca988x hw2.0 version 0x4100016c
> [  276.070000] ath10k: firmware version: 999.999.0.636
> [  276.080000] ath10k: target register Dump Location: 0x0040AC14
> [  276.080000] ath10k: target Register Dump
> [  276.090000] ath10k: [00]: 0x4100016C 0x00000000 0x009C4521 0x00000000
> [  276.090000] ath10k: [04]: 0x009C4521 0x00060530 0x00000019 0x00955A00
> [  276.100000] ath10k: [08]: 0x00002898 0x00000000 0x0040CC94 0x00000020
> [  276.110000] ath10k: [12]: 0x00000000 0x00000000 0x00958360 0x0095836B
> [  276.110000] ath10k: [16]: 0x80991091 0x0040AD94 0x00430854 0x00000000
> [  276.120000] ath10k: [20]: 0x0000FFFF 0x00000000 0x00000045 0x00000000
> [  276.130000] ath10k: [24]: 0x809A0978 0x0040AD94 0x00439304 0x00A26009
> [  276.130000] ath10k: [28]: 0x809AD1A2 0x0040ADE4 0x00439304 0x0043F8BC
> [  276.140000] ath10k: [32]: 0x00000001 0x00000005 0x00000000 0x004325CC
> [  276.150000] ath10k: [36]: 0x00000000 0x00000000 0x00000000 0x00000000
> [  276.150000] ath10k: [40]: 0x00000000 0x00000000 0x0000000E 0x00000000
> [  276.160000] ath10k: [44]: 0x00439C00 0x00000000 0x00000000 0x00400000
> [  276.160000] ath10k: [48]: 0x809AE0B4 0x0040AE04 0x00400000 0x0043F8BC
> [  276.170000] ath10k: [52]: 0x00000001 0x00000000 0x004231F0 0x00400000
> [  276.180000] ath10k: [56]: 0x809AE17E 0x0040AE44 0x0040FE6C 0x0040D310
> [  276.270000] ieee80211 phy0: Hardware restart was requested

Be aware that monitor vdev is unstable in 636 and it cannot run
standalone. Monitor vdev must be run alongside other vdev.


> Also, monitor mode is not a good idea, cause what we need is beacon
> frame generated by others.

Well, theoretically it should work as monitor vdev disables rx filters.


> The only way that I can get the IBSS beacon generated by another node
> is by triggering the "iw wlan0 scan". But then, it makes no sense
> since we need to that whenever a station join the IBSS.

Hmm, then you could probably try to hack around and create a sort of a
background scan that lasts forever. Firmware is supposedly able to
handle concurrent scans. You'll probably need to tweak
ath10k_wmi_event_scan() for that. ath10k uses scan for roc so it might
actually work.


> So, is there any way to turn of the beacon filtering in IBSS mode for the FW?

Unfortunately I don't know any except the hacks I've mentioned already.


Michał



More information about the ath10k mailing list