Hello,
For v4.9 this command works correctly:
./iw wlp1s0 set freq 5220 20 5220 0
./iw wlp1s0 set freq 5180 40 5190 0
With latest master this fail with err msg:
Usage: ./iw [options] dev <devname> set freq <freq>
[NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz]
dev <devname> set freq <control freq> [5|10|20|40|80|80+80|160]
[<center1_freq> [<center2_freq>]]
Options:
--debug enable netlink debugging
After bisection and revert this one, works as before:
4871fcf iw: parse_freqs: check how many center frequencies to expect
I know we don't need to set this all arguments and finally I can
change my script (don't set cf1/cf2).
Anyway report this.
BR
Janusz