1

Temat: DFS w BB

Czy nowe obrazy Luci/BB mają aktywną obsługę DFS? Przy próbie skonfigurowania wifi 5ghz z kanałem z zakresu 100-140 i ustawieniami PL (czyli wymagającymi DFS) interfej się nie podnosi. Logread:

Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): Configuration file: /var/run/hostapd-phy1.conf
Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): wlan1: interface state COUNTRY_UPDATE->HT_SCAN
Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): wlan1: interface state HT_SCAN->DFS
Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): wlan1: DFS-CAC-START freq=5540 chan=108 sec_chan=1, width=0, seg0=0, seg1=0, cac_time=60s
Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): DFS start_dfs_cac() failed, -1
Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): Interface initialization failed
Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): wlan1: interface state DFS->DISABLED
Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): wlan1: AP-DISABLED
Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): hostapd_free_hapd_data: Interface wlan1 wasn't started
Thu Aug  7 19:06:29 2014 daemon.notice netifd: radio1 (4081): ELOOP: remaining socket: sock=19 eloop_data=0xa35c30 user_data=(nil) handler=0x413735
OpenWrt: WAX206/NWA50AX/EA6350v3 || W szufladzie: WNDR4300/TL-WDR4300/SR3200

2

Odp: DFS w BB

Tak.

root@OpenWrt:~# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type=mac80211
wireless.radio0.channel=11
wireless.radio0.hwmode=11g
wireless.radio0.path=platform/ar934x_wmac
wireless.radio0.htmode=HT20
wireless.radio0.disabled=1
wireless.radio0.country=PL
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device=radio0
wireless.@wifi-iface[0].network=lan
wireless.@wifi-iface[0].mode=ap
wireless.@wifi-iface[0].ssid=OpenWrt
wireless.@wifi-iface[0].encryption=none
wireless.radio1=wifi-device
wireless.radio1.type=mac80211
wireless.radio1.channel=100
wireless.radio1.hwmode=11a
wireless.radio1.path=pci0000:00/0000:00:00.0
wireless.radio1.htmode=HT20
wireless.radio1.country=PL
wireless.@wifi-iface[1]=wifi-iface
wireless.@wifi-iface[1].device=radio1
wireless.@wifi-iface[1].network=lan
wireless.@wifi-iface[1].mode=ap
wireless.@wifi-iface[1].ssid=OpenWrt
wireless.@wifi-iface[1].encryption=none
root@OpenWrt:~# iw list 
Wiphy phy1
        max # scan SSIDs: 4
        max scan IEs length: 2261 bytes
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Device supports T-DLS.
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * WDS
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
        Band 2:
                Capabilities: 0x11ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-15
                Frequencies:
                        * 5180 MHz [36] (15.0 dBm)
                        * 5200 MHz [40] (19.0 dBm)
                        * 5220 MHz [44] (15.0 dBm)
                        * 5240 MHz [48] (15.0 dBm)
                        * 5260 MHz [52] (15.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5280 MHz [56] (15.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5300 MHz [60] (15.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5320 MHz [64] (15.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5500 MHz [100] (15.0 dBm) (radar detection)
                          DFS state: available (for 86 sec)
                          DFS CAC time: 60000 ms
                        * 5520 MHz [104] (19.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5540 MHz [108] (19.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5560 MHz [112] (19.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5580 MHz [116] (19.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5600 MHz [120] (15.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5620 MHz [124] (15.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5640 MHz [128] (15.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5660 MHz [132] (15.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5680 MHz [136] (15.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5700 MHz [140] (15.0 dBm) (radar detection)
                          DFS state: usable (for 186 sec)
                          DFS CAC time: 60000 ms
                        * 5745 MHz [149] (disabled)
                        * 5765 MHz [153] (disabled)
                        * 5785 MHz [157] (disabled)
                        * 5805 MHz [161] (disabled)
                        * 5825 MHz [165] (disabled)
        valid interface combinations:
                 * #{ managed, WDS } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
                   total <= 2048, #channels <= 1, STA/AP BI must match
                 * #{ IBSS, AP, mesh point } <= 1,
                   total <= 1, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz }

        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Device supports T-DLS.
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * WDS
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
        Band 1:
                Capabilities: 0x11ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-15
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm)
                        * 2472 MHz [13] (20.0 dBm)
                        * 2484 MHz [14] (disabled)
        valid interface combinations:
                 * #{ managed, WDS } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
                   total <= 2048, #channels <= 1, STA/AP BI must match
                 * #{ IBSS, AP, mesh point } <= 1,
                   total <= 1, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz }

        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: DFS w BB

PS. HT20 ustaw zamiast HT40.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

4

Odp: DFS w BB

Cezary napisał/a:

PS. HT20 ustaw zamiast HT40.

Bingo! Dziękuje za pomoc smile

OpenWrt: WAX206/NWA50AX/EA6350v3 || W szufladzie: WNDR4300/TL-WDR4300/SR3200

5

Odp: DFS w BB

I znalazłem dlaczego - po prostu implementacja dfs cac nie działa przy ht40 smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

6

Odp: DFS w BB

No tak, czyli trzeba pozostać przy niskich kanałach... Bo 20mhz jednak trochę mi pasmo tnie...

OpenWrt: WAX206/NWA50AX/EA6350v3 || W szufladzie: WNDR4300/TL-WDR4300/SR3200