Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1649 - iw not supporting bssid option #6996

Closed
openwrt-bot opened this issue Jul 12, 2018 · 0 comments
Closed

FS#1649 - iw not supporting bssid option #6996

openwrt-bot opened this issue Jul 12, 2018 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

Arduous:

17.01.2, r3435-65eec8bd5f

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 ] [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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant