|
Posted at 7/31/2015 19:54:48
Only Author
6#
Hi,
after some testing I've managed to make it work. No need to rewrite the firmware, just need to change the "op_mode" and restart wifi. At the moment, the only way I've found to restart the wifi is to use rfkill or nmcli:
- sudo nmcli radio wifi off
- sudo su -c "echo 2 > /sys/module/bcmdhd/parameters/op_mode"
- sudo nmcli radio wifi on
Copy the code
Now I'm facing the problem that while in AP mode, network manager can't scan the network anymore (nmcli dev wifi rescan). When it tries, I see this error in dmesg:
- CFG80211-ERROR) __wl_cfg80211_scan : Invalid Scan Command at SoftAP mode
- CFG80211-ERROR) wl_cfg80211_scan : scan error (-22)
Copy the code
The error seems to imply that scan can't be done, but using iwlist it seems to work instead (iwlist wlan0 scan), even if the kernel complains:
- bcmsdh_sdmmc mmc2:0001:2 wlan0: (WE) : Wireless Event (cmd=0x8B19) too big (65303)
- CFG80211-ERROR) wl_notify_scan_status : scan is not ready
Copy the code
Any idea or suggestion? Thanks!
|
|