Linux wifi ap: Why `iw reg get` always shows “no IR”












0














I cannot setup a wifi ap. It seems cause by "no IR" flag.



[WORK ~]# uname -a
Linux gongt-linux.private.work.gongt.me 4.19.8-300.fc29.x86_64 #1 SMP Mon Dec 10 15:23:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

[WORK ~]$ iw phy phy0 reg get
global
country CN: DFS-FCC
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 59400 @ 2160), (N/A, 28), (N/A)
(59400 - 63720 @ 2160), (N/A, 44), (N/A)
(63720 - 65880 @ 2160), (N/A, 28), (N/A)

[WORK ~]# iw reg get
global
country CN: DFS-FCC
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 59400 @ 2160), (N/A, 28), (N/A)
(59400 - 63720 @ 2160), (N/A, 44), (N/A)
(63720 - 65880 @ 2160), (N/A, 28), (N/A)


Isn't this looks good? But iw phy print:



Wiphy phy0
max # scan SSIDs: 20
max scan IEs length: 425 bytes
max # sched scan SSIDs: 20
max # match sets: 11
max # scan plans: 2
max scan plan interval: 65535
max scan plan iterations: 254
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports RSN-IBSS.
Device supports AP-side u-APSD.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* P2P-client
* P2P-GO
* P2P-device
Band 1:
Capabilities: 0x11ee
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: 4 usec (0x05)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
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) (no IR)
* 2472 MHz [13] (20.0 dBm) (no IR)
Band 2:
Capabilities: 0x11ee
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: 4 usec (0x05)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15
VHT Capabilities (0x038071a0):
Max MPDU length: 3895
Supported Channel Width: neither 160 nor 80+80
short GI (80 MHz)
TX STBC
SU Beamformee
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 0 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 0 Mbps
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 5180 MHz [36] (22.0 dBm) (no IR)
* 5200 MHz [40] (22.0 dBm) (no IR)
* 5220 MHz [44] (22.0 dBm) (no IR)
* 5240 MHz [48] (22.0 dBm) (no IR)
* 5260 MHz [52] (22.0 dBm) (no IR, radar detection)
* 5280 MHz [56] (22.0 dBm) (no IR, radar detection)
* 5300 MHz [60] (22.0 dBm) (no IR, radar detection)
* 5320 MHz [64] (22.0 dBm) (no IR, radar detection)
* 5500 MHz [100] (disabled)
* 5520 MHz [104] (disabled)
* 5540 MHz [108] (disabled)
* 5560 MHz [112] (disabled)
* 5580 MHz [116] (disabled)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (disabled)
* 5680 MHz [136] (disabled)
* 5700 MHz [140] (disabled)
* 5720 MHz [144] (disabled)
* 5745 MHz [149] (22.0 dBm) (no IR)
* 5765 MHz [153] (22.0 dBm) (no IR)
* 5785 MHz [157] (22.0 dBm) (no IR)
* 5805 MHz [161] (22.0 dBm) (no IR)
* 5825 MHz [165] (22.0 dBm) (no IR)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* new_mpath
* set_mesh_config
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* remain_on_channel
* set_tx_bitrate_mask
* frame
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* start_sched_scan
* probe_client
* set_noack_map
* register_beacons
* start_p2p_device
* set_mcast_rate
* connect
* disconnect
* channel_switch
* set_qos_map
* add_tx_ts
* set_multicast_to_unicast
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0x40 0xb0 0xc0 0xd0
* managed: 0x40 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
WoWLAN support:
* wake up on disconnect
* wake up on magic packet
* wake up on pattern match, up to 20 patterns of 16-128 bytes,
maximum packet offset 0 bytes
* can do GTK rekeying
* wake up on GTK rekey failure
* wake up on EAP identity request
* wake up on 4-way handshake
* wake up on rfkill release
* wake up on network detection, up to 11 match sets
software interface modes (can always be added):
* AP/VLAN
* monitor
valid interface combinations:
* #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
total <= 3, #channels <= 2
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
Device supports TX status socket option.
Device supports HT-IBSS.
Device supports SAE with AUTHENTICATE command
Device supports low priority scan.
Device supports scan flush.
Device supports per-vif TX power setting
P2P GO supports CT window setting
P2P GO supports opportunistic powersave setting
Driver supports full state transitions for AP/GO clients
Driver supports a userspace MPM
Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
Device supports static SMPS
Device supports dynamic SMPS
Device supports WMM-AC admission (TSPECs)
Device supports configuring vdev MAC-addr on create.


All Frequencies has no IR.



How does this happens?










share|improve this question



























    0














    I cannot setup a wifi ap. It seems cause by "no IR" flag.



    [WORK ~]# uname -a
    Linux gongt-linux.private.work.gongt.me 4.19.8-300.fc29.x86_64 #1 SMP Mon Dec 10 15:23:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

    [WORK ~]$ iw phy phy0 reg get
    global
    country CN: DFS-FCC
    (2402 - 2482 @ 40), (N/A, 20), (N/A)
    (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
    (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
    (5735 - 5835 @ 80), (N/A, 30), (N/A)
    (57240 - 59400 @ 2160), (N/A, 28), (N/A)
    (59400 - 63720 @ 2160), (N/A, 44), (N/A)
    (63720 - 65880 @ 2160), (N/A, 28), (N/A)

    [WORK ~]# iw reg get
    global
    country CN: DFS-FCC
    (2402 - 2482 @ 40), (N/A, 20), (N/A)
    (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
    (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
    (5735 - 5835 @ 80), (N/A, 30), (N/A)
    (57240 - 59400 @ 2160), (N/A, 28), (N/A)
    (59400 - 63720 @ 2160), (N/A, 44), (N/A)
    (63720 - 65880 @ 2160), (N/A, 28), (N/A)


    Isn't this looks good? But iw phy print:



    Wiphy phy0
    max # scan SSIDs: 20
    max scan IEs length: 425 bytes
    max # sched scan SSIDs: 20
    max # match sets: 11
    max # scan plans: 2
    max scan plan interval: 65535
    max scan plan iterations: 254
    Retry short limit: 7
    Retry long limit: 4
    Coverage class: 0 (up to 0m)
    Device supports RSN-IBSS.
    Device supports AP-side u-APSD.
    Supported Ciphers:
    * WEP40 (00-0f-ac:1)
    * WEP104 (00-0f-ac:5)
    * TKIP (00-0f-ac:2)
    * CCMP-128 (00-0f-ac:4)
    * CMAC (00-0f-ac:6)
    Available Antennas: TX 0 RX 0
    Supported interface modes:
    * IBSS
    * managed
    * AP
    * AP/VLAN
    * monitor
    * P2P-client
    * P2P-GO
    * P2P-device
    Band 1:
    Capabilities: 0x11ee
    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: 4 usec (0x05)
    HT Max RX data rate: 300 Mbps
    HT TX/RX MCS rate indexes supported: 0-15
    Bitrates (non-HT):
    * 1.0 Mbps
    * 2.0 Mbps (short preamble supported)
    * 5.5 Mbps (short preamble supported)
    * 11.0 Mbps (short preamble supported)
    * 6.0 Mbps
    * 9.0 Mbps
    * 12.0 Mbps
    * 18.0 Mbps
    * 24.0 Mbps
    * 36.0 Mbps
    * 48.0 Mbps
    * 54.0 Mbps
    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) (no IR)
    * 2472 MHz [13] (20.0 dBm) (no IR)
    Band 2:
    Capabilities: 0x11ee
    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: 4 usec (0x05)
    HT Max RX data rate: 300 Mbps
    HT TX/RX MCS rate indexes supported: 0-15
    VHT Capabilities (0x038071a0):
    Max MPDU length: 3895
    Supported Channel Width: neither 160 nor 80+80
    short GI (80 MHz)
    TX STBC
    SU Beamformee
    VHT RX MCS set:
    1 streams: MCS 0-9
    2 streams: MCS 0-9
    3 streams: not supported
    4 streams: not supported
    5 streams: not supported
    6 streams: not supported
    7 streams: not supported
    8 streams: not supported
    VHT RX highest supported: 0 Mbps
    VHT TX MCS set:
    1 streams: MCS 0-9
    2 streams: MCS 0-9
    3 streams: not supported
    4 streams: not supported
    5 streams: not supported
    6 streams: not supported
    7 streams: not supported
    8 streams: not supported
    VHT TX highest supported: 0 Mbps
    Bitrates (non-HT):
    * 6.0 Mbps
    * 9.0 Mbps
    * 12.0 Mbps
    * 18.0 Mbps
    * 24.0 Mbps
    * 36.0 Mbps
    * 48.0 Mbps
    * 54.0 Mbps
    Frequencies:
    * 5180 MHz [36] (22.0 dBm) (no IR)
    * 5200 MHz [40] (22.0 dBm) (no IR)
    * 5220 MHz [44] (22.0 dBm) (no IR)
    * 5240 MHz [48] (22.0 dBm) (no IR)
    * 5260 MHz [52] (22.0 dBm) (no IR, radar detection)
    * 5280 MHz [56] (22.0 dBm) (no IR, radar detection)
    * 5300 MHz [60] (22.0 dBm) (no IR, radar detection)
    * 5320 MHz [64] (22.0 dBm) (no IR, radar detection)
    * 5500 MHz [100] (disabled)
    * 5520 MHz [104] (disabled)
    * 5540 MHz [108] (disabled)
    * 5560 MHz [112] (disabled)
    * 5580 MHz [116] (disabled)
    * 5600 MHz [120] (disabled)
    * 5620 MHz [124] (disabled)
    * 5640 MHz [128] (disabled)
    * 5660 MHz [132] (disabled)
    * 5680 MHz [136] (disabled)
    * 5700 MHz [140] (disabled)
    * 5720 MHz [144] (disabled)
    * 5745 MHz [149] (22.0 dBm) (no IR)
    * 5765 MHz [153] (22.0 dBm) (no IR)
    * 5785 MHz [157] (22.0 dBm) (no IR)
    * 5805 MHz [161] (22.0 dBm) (no IR)
    * 5825 MHz [165] (22.0 dBm) (no IR)
    Supported commands:
    * new_interface
    * set_interface
    * new_key
    * start_ap
    * new_station
    * new_mpath
    * set_mesh_config
    * set_bss
    * authenticate
    * associate
    * deauthenticate
    * disassociate
    * join_ibss
    * join_mesh
    * remain_on_channel
    * set_tx_bitrate_mask
    * frame
    * frame_wait_cancel
    * set_wiphy_netns
    * set_channel
    * set_wds_peer
    * start_sched_scan
    * probe_client
    * set_noack_map
    * register_beacons
    * start_p2p_device
    * set_mcast_rate
    * connect
    * disconnect
    * channel_switch
    * set_qos_map
    * add_tx_ts
    * set_multicast_to_unicast
    Supported TX frame types:
    * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    Supported RX frame types:
    * IBSS: 0x40 0xb0 0xc0 0xd0
    * managed: 0x40 0xd0
    * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
    * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
    * mesh point: 0xb0 0xc0 0xd0
    * P2P-client: 0x40 0xd0
    * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
    * P2P-device: 0x40 0xd0
    WoWLAN support:
    * wake up on disconnect
    * wake up on magic packet
    * wake up on pattern match, up to 20 patterns of 16-128 bytes,
    maximum packet offset 0 bytes
    * can do GTK rekeying
    * wake up on GTK rekey failure
    * wake up on EAP identity request
    * wake up on 4-way handshake
    * wake up on rfkill release
    * wake up on network detection, up to 11 match sets
    software interface modes (can always be added):
    * AP/VLAN
    * monitor
    valid interface combinations:
    * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
    total <= 3, #channels <= 2
    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
    Device supports TX status socket option.
    Device supports HT-IBSS.
    Device supports SAE with AUTHENTICATE command
    Device supports low priority scan.
    Device supports scan flush.
    Device supports per-vif TX power setting
    P2P GO supports CT window setting
    P2P GO supports opportunistic powersave setting
    Driver supports full state transitions for AP/GO clients
    Driver supports a userspace MPM
    Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
    Device supports static SMPS
    Device supports dynamic SMPS
    Device supports WMM-AC admission (TSPECs)
    Device supports configuring vdev MAC-addr on create.


    All Frequencies has no IR.



    How does this happens?










    share|improve this question

























      0












      0








      0







      I cannot setup a wifi ap. It seems cause by "no IR" flag.



      [WORK ~]# uname -a
      Linux gongt-linux.private.work.gongt.me 4.19.8-300.fc29.x86_64 #1 SMP Mon Dec 10 15:23:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      [WORK ~]$ iw phy phy0 reg get
      global
      country CN: DFS-FCC
      (2402 - 2482 @ 40), (N/A, 20), (N/A)
      (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
      (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
      (5735 - 5835 @ 80), (N/A, 30), (N/A)
      (57240 - 59400 @ 2160), (N/A, 28), (N/A)
      (59400 - 63720 @ 2160), (N/A, 44), (N/A)
      (63720 - 65880 @ 2160), (N/A, 28), (N/A)

      [WORK ~]# iw reg get
      global
      country CN: DFS-FCC
      (2402 - 2482 @ 40), (N/A, 20), (N/A)
      (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
      (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
      (5735 - 5835 @ 80), (N/A, 30), (N/A)
      (57240 - 59400 @ 2160), (N/A, 28), (N/A)
      (59400 - 63720 @ 2160), (N/A, 44), (N/A)
      (63720 - 65880 @ 2160), (N/A, 28), (N/A)


      Isn't this looks good? But iw phy print:



      Wiphy phy0
      max # scan SSIDs: 20
      max scan IEs length: 425 bytes
      max # sched scan SSIDs: 20
      max # match sets: 11
      max # scan plans: 2
      max scan plan interval: 65535
      max scan plan iterations: 254
      Retry short limit: 7
      Retry long limit: 4
      Coverage class: 0 (up to 0m)
      Device supports RSN-IBSS.
      Device supports AP-side u-APSD.
      Supported Ciphers:
      * WEP40 (00-0f-ac:1)
      * WEP104 (00-0f-ac:5)
      * TKIP (00-0f-ac:2)
      * CCMP-128 (00-0f-ac:4)
      * CMAC (00-0f-ac:6)
      Available Antennas: TX 0 RX 0
      Supported interface modes:
      * IBSS
      * managed
      * AP
      * AP/VLAN
      * monitor
      * P2P-client
      * P2P-GO
      * P2P-device
      Band 1:
      Capabilities: 0x11ee
      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: 4 usec (0x05)
      HT Max RX data rate: 300 Mbps
      HT TX/RX MCS rate indexes supported: 0-15
      Bitrates (non-HT):
      * 1.0 Mbps
      * 2.0 Mbps (short preamble supported)
      * 5.5 Mbps (short preamble supported)
      * 11.0 Mbps (short preamble supported)
      * 6.0 Mbps
      * 9.0 Mbps
      * 12.0 Mbps
      * 18.0 Mbps
      * 24.0 Mbps
      * 36.0 Mbps
      * 48.0 Mbps
      * 54.0 Mbps
      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) (no IR)
      * 2472 MHz [13] (20.0 dBm) (no IR)
      Band 2:
      Capabilities: 0x11ee
      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: 4 usec (0x05)
      HT Max RX data rate: 300 Mbps
      HT TX/RX MCS rate indexes supported: 0-15
      VHT Capabilities (0x038071a0):
      Max MPDU length: 3895
      Supported Channel Width: neither 160 nor 80+80
      short GI (80 MHz)
      TX STBC
      SU Beamformee
      VHT RX MCS set:
      1 streams: MCS 0-9
      2 streams: MCS 0-9
      3 streams: not supported
      4 streams: not supported
      5 streams: not supported
      6 streams: not supported
      7 streams: not supported
      8 streams: not supported
      VHT RX highest supported: 0 Mbps
      VHT TX MCS set:
      1 streams: MCS 0-9
      2 streams: MCS 0-9
      3 streams: not supported
      4 streams: not supported
      5 streams: not supported
      6 streams: not supported
      7 streams: not supported
      8 streams: not supported
      VHT TX highest supported: 0 Mbps
      Bitrates (non-HT):
      * 6.0 Mbps
      * 9.0 Mbps
      * 12.0 Mbps
      * 18.0 Mbps
      * 24.0 Mbps
      * 36.0 Mbps
      * 48.0 Mbps
      * 54.0 Mbps
      Frequencies:
      * 5180 MHz [36] (22.0 dBm) (no IR)
      * 5200 MHz [40] (22.0 dBm) (no IR)
      * 5220 MHz [44] (22.0 dBm) (no IR)
      * 5240 MHz [48] (22.0 dBm) (no IR)
      * 5260 MHz [52] (22.0 dBm) (no IR, radar detection)
      * 5280 MHz [56] (22.0 dBm) (no IR, radar detection)
      * 5300 MHz [60] (22.0 dBm) (no IR, radar detection)
      * 5320 MHz [64] (22.0 dBm) (no IR, radar detection)
      * 5500 MHz [100] (disabled)
      * 5520 MHz [104] (disabled)
      * 5540 MHz [108] (disabled)
      * 5560 MHz [112] (disabled)
      * 5580 MHz [116] (disabled)
      * 5600 MHz [120] (disabled)
      * 5620 MHz [124] (disabled)
      * 5640 MHz [128] (disabled)
      * 5660 MHz [132] (disabled)
      * 5680 MHz [136] (disabled)
      * 5700 MHz [140] (disabled)
      * 5720 MHz [144] (disabled)
      * 5745 MHz [149] (22.0 dBm) (no IR)
      * 5765 MHz [153] (22.0 dBm) (no IR)
      * 5785 MHz [157] (22.0 dBm) (no IR)
      * 5805 MHz [161] (22.0 dBm) (no IR)
      * 5825 MHz [165] (22.0 dBm) (no IR)
      Supported commands:
      * new_interface
      * set_interface
      * new_key
      * start_ap
      * new_station
      * new_mpath
      * set_mesh_config
      * set_bss
      * authenticate
      * associate
      * deauthenticate
      * disassociate
      * join_ibss
      * join_mesh
      * remain_on_channel
      * set_tx_bitrate_mask
      * frame
      * frame_wait_cancel
      * set_wiphy_netns
      * set_channel
      * set_wds_peer
      * start_sched_scan
      * probe_client
      * set_noack_map
      * register_beacons
      * start_p2p_device
      * set_mcast_rate
      * connect
      * disconnect
      * channel_switch
      * set_qos_map
      * add_tx_ts
      * set_multicast_to_unicast
      Supported TX frame types:
      * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      Supported RX frame types:
      * IBSS: 0x40 0xb0 0xc0 0xd0
      * managed: 0x40 0xd0
      * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
      * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
      * mesh point: 0xb0 0xc0 0xd0
      * P2P-client: 0x40 0xd0
      * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
      * P2P-device: 0x40 0xd0
      WoWLAN support:
      * wake up on disconnect
      * wake up on magic packet
      * wake up on pattern match, up to 20 patterns of 16-128 bytes,
      maximum packet offset 0 bytes
      * can do GTK rekeying
      * wake up on GTK rekey failure
      * wake up on EAP identity request
      * wake up on 4-way handshake
      * wake up on rfkill release
      * wake up on network detection, up to 11 match sets
      software interface modes (can always be added):
      * AP/VLAN
      * monitor
      valid interface combinations:
      * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
      total <= 3, #channels <= 2
      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
      Device supports TX status socket option.
      Device supports HT-IBSS.
      Device supports SAE with AUTHENTICATE command
      Device supports low priority scan.
      Device supports scan flush.
      Device supports per-vif TX power setting
      P2P GO supports CT window setting
      P2P GO supports opportunistic powersave setting
      Driver supports full state transitions for AP/GO clients
      Driver supports a userspace MPM
      Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
      Device supports static SMPS
      Device supports dynamic SMPS
      Device supports WMM-AC admission (TSPECs)
      Device supports configuring vdev MAC-addr on create.


      All Frequencies has no IR.



      How does this happens?










      share|improve this question













      I cannot setup a wifi ap. It seems cause by "no IR" flag.



      [WORK ~]# uname -a
      Linux gongt-linux.private.work.gongt.me 4.19.8-300.fc29.x86_64 #1 SMP Mon Dec 10 15:23:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      [WORK ~]$ iw phy phy0 reg get
      global
      country CN: DFS-FCC
      (2402 - 2482 @ 40), (N/A, 20), (N/A)
      (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
      (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
      (5735 - 5835 @ 80), (N/A, 30), (N/A)
      (57240 - 59400 @ 2160), (N/A, 28), (N/A)
      (59400 - 63720 @ 2160), (N/A, 44), (N/A)
      (63720 - 65880 @ 2160), (N/A, 28), (N/A)

      [WORK ~]# iw reg get
      global
      country CN: DFS-FCC
      (2402 - 2482 @ 40), (N/A, 20), (N/A)
      (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
      (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
      (5735 - 5835 @ 80), (N/A, 30), (N/A)
      (57240 - 59400 @ 2160), (N/A, 28), (N/A)
      (59400 - 63720 @ 2160), (N/A, 44), (N/A)
      (63720 - 65880 @ 2160), (N/A, 28), (N/A)


      Isn't this looks good? But iw phy print:



      Wiphy phy0
      max # scan SSIDs: 20
      max scan IEs length: 425 bytes
      max # sched scan SSIDs: 20
      max # match sets: 11
      max # scan plans: 2
      max scan plan interval: 65535
      max scan plan iterations: 254
      Retry short limit: 7
      Retry long limit: 4
      Coverage class: 0 (up to 0m)
      Device supports RSN-IBSS.
      Device supports AP-side u-APSD.
      Supported Ciphers:
      * WEP40 (00-0f-ac:1)
      * WEP104 (00-0f-ac:5)
      * TKIP (00-0f-ac:2)
      * CCMP-128 (00-0f-ac:4)
      * CMAC (00-0f-ac:6)
      Available Antennas: TX 0 RX 0
      Supported interface modes:
      * IBSS
      * managed
      * AP
      * AP/VLAN
      * monitor
      * P2P-client
      * P2P-GO
      * P2P-device
      Band 1:
      Capabilities: 0x11ee
      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: 4 usec (0x05)
      HT Max RX data rate: 300 Mbps
      HT TX/RX MCS rate indexes supported: 0-15
      Bitrates (non-HT):
      * 1.0 Mbps
      * 2.0 Mbps (short preamble supported)
      * 5.5 Mbps (short preamble supported)
      * 11.0 Mbps (short preamble supported)
      * 6.0 Mbps
      * 9.0 Mbps
      * 12.0 Mbps
      * 18.0 Mbps
      * 24.0 Mbps
      * 36.0 Mbps
      * 48.0 Mbps
      * 54.0 Mbps
      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) (no IR)
      * 2472 MHz [13] (20.0 dBm) (no IR)
      Band 2:
      Capabilities: 0x11ee
      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: 4 usec (0x05)
      HT Max RX data rate: 300 Mbps
      HT TX/RX MCS rate indexes supported: 0-15
      VHT Capabilities (0x038071a0):
      Max MPDU length: 3895
      Supported Channel Width: neither 160 nor 80+80
      short GI (80 MHz)
      TX STBC
      SU Beamformee
      VHT RX MCS set:
      1 streams: MCS 0-9
      2 streams: MCS 0-9
      3 streams: not supported
      4 streams: not supported
      5 streams: not supported
      6 streams: not supported
      7 streams: not supported
      8 streams: not supported
      VHT RX highest supported: 0 Mbps
      VHT TX MCS set:
      1 streams: MCS 0-9
      2 streams: MCS 0-9
      3 streams: not supported
      4 streams: not supported
      5 streams: not supported
      6 streams: not supported
      7 streams: not supported
      8 streams: not supported
      VHT TX highest supported: 0 Mbps
      Bitrates (non-HT):
      * 6.0 Mbps
      * 9.0 Mbps
      * 12.0 Mbps
      * 18.0 Mbps
      * 24.0 Mbps
      * 36.0 Mbps
      * 48.0 Mbps
      * 54.0 Mbps
      Frequencies:
      * 5180 MHz [36] (22.0 dBm) (no IR)
      * 5200 MHz [40] (22.0 dBm) (no IR)
      * 5220 MHz [44] (22.0 dBm) (no IR)
      * 5240 MHz [48] (22.0 dBm) (no IR)
      * 5260 MHz [52] (22.0 dBm) (no IR, radar detection)
      * 5280 MHz [56] (22.0 dBm) (no IR, radar detection)
      * 5300 MHz [60] (22.0 dBm) (no IR, radar detection)
      * 5320 MHz [64] (22.0 dBm) (no IR, radar detection)
      * 5500 MHz [100] (disabled)
      * 5520 MHz [104] (disabled)
      * 5540 MHz [108] (disabled)
      * 5560 MHz [112] (disabled)
      * 5580 MHz [116] (disabled)
      * 5600 MHz [120] (disabled)
      * 5620 MHz [124] (disabled)
      * 5640 MHz [128] (disabled)
      * 5660 MHz [132] (disabled)
      * 5680 MHz [136] (disabled)
      * 5700 MHz [140] (disabled)
      * 5720 MHz [144] (disabled)
      * 5745 MHz [149] (22.0 dBm) (no IR)
      * 5765 MHz [153] (22.0 dBm) (no IR)
      * 5785 MHz [157] (22.0 dBm) (no IR)
      * 5805 MHz [161] (22.0 dBm) (no IR)
      * 5825 MHz [165] (22.0 dBm) (no IR)
      Supported commands:
      * new_interface
      * set_interface
      * new_key
      * start_ap
      * new_station
      * new_mpath
      * set_mesh_config
      * set_bss
      * authenticate
      * associate
      * deauthenticate
      * disassociate
      * join_ibss
      * join_mesh
      * remain_on_channel
      * set_tx_bitrate_mask
      * frame
      * frame_wait_cancel
      * set_wiphy_netns
      * set_channel
      * set_wds_peer
      * start_sched_scan
      * probe_client
      * set_noack_map
      * register_beacons
      * start_p2p_device
      * set_mcast_rate
      * connect
      * disconnect
      * channel_switch
      * set_qos_map
      * add_tx_ts
      * set_multicast_to_unicast
      Supported TX frame types:
      * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
      Supported RX frame types:
      * IBSS: 0x40 0xb0 0xc0 0xd0
      * managed: 0x40 0xd0
      * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
      * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
      * mesh point: 0xb0 0xc0 0xd0
      * P2P-client: 0x40 0xd0
      * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
      * P2P-device: 0x40 0xd0
      WoWLAN support:
      * wake up on disconnect
      * wake up on magic packet
      * wake up on pattern match, up to 20 patterns of 16-128 bytes,
      maximum packet offset 0 bytes
      * can do GTK rekeying
      * wake up on GTK rekey failure
      * wake up on EAP identity request
      * wake up on 4-way handshake
      * wake up on rfkill release
      * wake up on network detection, up to 11 match sets
      software interface modes (can always be added):
      * AP/VLAN
      * monitor
      valid interface combinations:
      * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
      total <= 3, #channels <= 2
      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
      Device supports TX status socket option.
      Device supports HT-IBSS.
      Device supports SAE with AUTHENTICATE command
      Device supports low priority scan.
      Device supports scan flush.
      Device supports per-vif TX power setting
      P2P GO supports CT window setting
      P2P GO supports opportunistic powersave setting
      Driver supports full state transitions for AP/GO clients
      Driver supports a userspace MPM
      Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
      Device supports static SMPS
      Device supports dynamic SMPS
      Device supports WMM-AC admission (TSPECs)
      Device supports configuring vdev MAC-addr on create.


      All Frequencies has no IR.



      How does this happens?







      linux wireless-networking wireless-access-point






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 21 '18 at 16:22









      GongT

      6115




      6115






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386713%2flinux-wifi-ap-why-iw-reg-get-always-shows-no-ir%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386713%2flinux-wifi-ap-why-iw-reg-get-always-shows-no-ir%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Mouse cursor on multiple screens with different PPI

          Agildo Ribeiro

          Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”