1 do not hide DFS channels in luci web-interface
3 see https://dev.openwrt.org/ticket/14919
5 Channels with the "restricted" flag are not shown by luci.
6 Any channel with one of the following attributes is marked as "restricted" by
8 * NL80211_FREQUENCY_ATTR_PASSIVE_SCAN
9 * NL80211_FREQUENCY_ATTR_NO_IBSS
10 * NL80211_FREQUENCY_ATTR_RADAR
12 The patch removes NL80211_FREQUENCY_ATTR_RADAR from the above list. Thus DFS
13 channels are displayed.
15 Sadly no visual indication is given if the current wireless driver supports DFS.
16 Thus hostapd may refuse to select the configured channel without any further
18 --- a/openwrt/package/network/utils/iwinfo/src/iwinfo_nl80211.c
19 +++ b/openwrt/package/network/utils/iwinfo/src/iwinfo_nl80211.c
20 @@ -2160,8 +2160,7 @@ static int nl80211_get_freqlist_cb(struc
23 freqs[NL80211_FREQUENCY_ATTR_PASSIVE_SCAN] ||
24 - freqs[NL80211_FREQUENCY_ATTR_NO_IBSS] ||
25 - freqs[NL80211_FREQUENCY_ATTR_RADAR]
26 + freqs[NL80211_FREQUENCY_ATTR_NO_IBSS]