[OpenWrt-Devel] openwrt: iwinfo: DFS Channels when DFS is not supported/WORLDmode

Krishna Chaitanya chaitanya.mgit at gmail.com
Tue Nov 29 14:23:40 EST 2016


Hi,

since the commit
https://git.openwrt.org/?p=project/iwinfo.git;a=commitdiff;h=6e67940be59e1aee5d275dd61172b257cb34d726
DFS channels are shown in the luci for user to enable independent of
whether the wifi chipset supports DFS operation in AP/STA modes?

1) Should not we check the iface_combinations (through NL80211) and
accordingly set the restricted flag?

2) The patch is somewhat incorrect. It should be, Check for NO_IR, if
it is set, then that means that AP mode is not allowed, no point in
checking for RADAR.  (country=00, both NO_IR and RADAR are set, but we
still allow the channel, but 5GHz operation in "beaconing" mode is
disabled unless we set a country code/regulatory hint is received)

If we set country code, then NO-IR flag will be cleared, but RADAR
flag remains so in that case we can make restricted=0.

Please CC me while replying, i am not subscribed to the list.

-- 
Thanks,
Regards,
Chaitanya T K.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list