iw not supporting bssid option
Username: Samuel Progin
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1649
17.01.2, r3435-65eec8bd
root@E3000-test03:~# cat /proc/cpuinfo system type : Broadcom BCM4716 machine : Linksys E3000 V1
iw - 4.9-1 iwinfo - 2016-09-21-fd9e17be-1 kernel - 4.4.71-1-3793d10ad2a0edb9d5642f8f862068f3 kmod-b43 - 4.4.71+2017-01-31-2 (open source driver, not the bcm binary)
ad-hoc wifi on 2.4GHz do not start with predefined options in LUCI
I tracked down the problem to the fixed bssid option being passed to iw by netifd.
The command generated is
iw dev wlan0 ibss join OLSR 2417 fixed-freq root beacon-interval 100
The error reported:
Usage: iw [options] dev ibss join [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [] [beacon-interval ] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate ] [key d:0:abcde]
Join the IBSS cell with the given SSID, if it doesn't exist create it on the given frequency. When fixed frequency is requested, don't join/create a cell on a different frequency. When a fixed BSSID is requested use that BSSID and do not adopt another cell's BSSID even if it has higher TSF and the same SSID. If an IBSS is created, create it with the specified basic-rates, multicast-rate and beacon-interval.
Options: --debug enable netlink debugging
The command seems to be correct with regard to the usage, but fails
If I remove the fixed bssid (root in my case) the command is accepted and the interface works properly. I think that the problem exists with the [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] option.