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

Krishna Chaitanya chaitanya.mgit at gmail.com
Fri Dec 2 16:27:33 EST 2016

On Wed, Nov 30, 2016 at 12:53 AM, Krishna Chaitanya
<chaitanya.mgit at gmail.com> wrote:
> 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.
Adding the original author in CC.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list