#22090: rt2800usb device will not operate in 11a/5Ghz mode
----------------------+---------------------------------------
 Reporter:  jmomo     |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:  Designated Driver (Trunk)
Component:  packages  |    Version:  Trunk
 Keywords:  rt2800    |
----------------------+---------------------------------------
 I have an Alfa USB 802.11 adapter using the rt2800usb driver which I am
 trying to use.

 The only reason I wanted to use it was for 5Ghz operation, but that
 doesn't seem to work. Setting "option hwmode '11a'" in my wireless config
 causes loading/starting to fail.

 I have the proper firmware/drivers installed and it seems to work fine in
 2.4Ghz/11g mode.

 Notably, I get this error in logread:


 {{{
 daemon.notice netifd: radio2 (30357): command failed: Not supported (-122)
 }}}


 lsusb says:


 {{{
 Bus 001 Device 004: ID 148f:2770 Ralink Technology, Corp. RT2770 Wireless
 Adapter
 }}}



 {{{
 root@openwrt:/etc/config# iw phy phy2 info
 Wiphy phy2
         max # scan SSIDs: 4
         max scan IEs length: 2257 bytes
         max # sched scan SSIDs: 0
         max # match sets: 0
         Retry short limit: 7
         Retry long limit: 4
         Coverage class: 0 (up to 0m)
         Available Antennas: TX 0 RX 0
         Supported interface modes:
                  * IBSS
                  * managed
                  * AP
                  * AP/VLAN
                  * WDS
                  * monitor
                  * mesh point
         Band 1:
                 Capabilities: 0x272
                         HT20/HT40
                         Static SM Power Save
                         RX Greenfield
                         RX HT20 SGI
                         RX HT40 SGI
                         RX STBC 2-streams
                         Max AMSDU length: 3839 bytes
                         No DSSS/CCK HT40
                 Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                 Minimum RX AMPDU time spacing: 2 usec (0x04)
                 HT RX MCS rate indexes supported: 0-15, 32
                 TX unequal modulation not supported
                 HT TX Max spatial streams: 1
                 HT TX MCS rate indexes supported may differ
                 Frequencies:
                         * 2412 MHz [1] (30.0 dBm)
                         * 2417 MHz [2] (30.0 dBm)
                         * 2422 MHz [3] (30.0 dBm)
                         * 2427 MHz [4] (30.0 dBm)
                         * 2432 MHz [5] (30.0 dBm)
                         * 2437 MHz [6] (30.0 dBm)
                         * 2442 MHz [7] (30.0 dBm)
                         * 2447 MHz [8] (30.0 dBm)
                         * 2452 MHz [9] (30.0 dBm)
                         * 2457 MHz [10] (30.0 dBm)
                         * 2462 MHz [11] (30.0 dBm)
                         * 2467 MHz [12] (disabled)
                         * 2472 MHz [13] (disabled)
                         * 2484 MHz [14] (disabled)
         Band 2:
                 Capabilities: 0x272
                         HT20/HT40
                         Static SM Power Save
                         RX Greenfield
                         RX HT20 SGI
                         RX HT40 SGI
                         RX STBC 2-streams
                         Max AMSDU length: 3839 bytes
                         No DSSS/CCK HT40
                 Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                 Minimum RX AMPDU time spacing: 2 usec (0x04)
                 HT RX MCS rate indexes supported: 0-15, 32
                 TX unequal modulation not supported
                 HT TX Max spatial streams: 1
                 HT TX MCS rate indexes supported may differ
                 Frequencies:
                         * 5180 MHz [36] (23.0 dBm)
                         * 5190 MHz [38] (23.0 dBm)
                         * 5200 MHz [40] (23.0 dBm)
                         * 5220 MHz [44] (23.0 dBm)
                         * 5230 MHz [46] (23.0 dBm)
                         * 5240 MHz [48] (23.0 dBm)
                         * 5260 MHz [52] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5270 MHz [54] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5280 MHz [56] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5300 MHz [60] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5310 MHz [62] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5320 MHz [64] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5500 MHz [100] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5510 MHz [102] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5520 MHz [104] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5540 MHz [108] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5550 MHz [110] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5560 MHz [112] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5580 MHz [116] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5590 MHz [118] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5600 MHz [120] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5620 MHz [124] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5630 MHz [126] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5640 MHz [128] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5660 MHz [132] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5670 MHz [134] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5680 MHz [136] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5700 MHz [140] (23.0 dBm) (radar detection)
                           DFS state: usable (for 102020 sec)
                           DFS CAC time: 60000 ms
                         * 5745 MHz [149] (30.0 dBm)
                         * 5755 MHz [151] (30.0 dBm)
                         * 5765 MHz [153] (30.0 dBm)
                         * 5785 MHz [157] (30.0 dBm)
                         * 5795 MHz [159] (30.0 dBm)
                         * 5805 MHz [161] (30.0 dBm)
                         * 5825 MHz [165] (30.0 dBm)
                         * 5835 MHz [167] (disabled)
                         * 5845 MHz [169] (disabled)
                         * 5855 MHz [171] (disabled)
                         * 5865 MHz [173] (disabled)
                         * 4920 MHz [184] (disabled)
                         * 4940 MHz [188] (disabled)
                         * 4960 MHz [192] (disabled)
                         * 4980 MHz [196] (disabled)
                         * 6040 MHz [208] (disabled)
                         * 6060 MHz [212] (disabled)
                         * 6080 MHz [216] (disabled)
         valid interface combinations:
                  * #{ managed, AP, mesh point } <= 8,
                    total <= 8, #channels <= 1
         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

 }}}

 Config is as follows:


 {{{
 # USB Alfa adapter
 config wifi-device 'radio2'
         option type 'mac80211'
         option path 'platform/ehci-platform/usb1/1-1/1-1.2/1-1.2:1.0'
         option macaddr '00:c0:ca:aa:bb:cc'
         option hwmode '11a'
         option htmode 'HT40'
         list ht_capab 'GF'
         list ht_capab 'SHORT-GI-20'
         list ht_capab 'SHORT-GI-40'
         list ht_capab 'RX-STBC12'
         option channel 'auto'
         option country 'US'
         option txpower 'auto'
         option log_level 1 # Default 2

 config wifi-iface
         option device 'radio2'
         option network 'lan'
         option mode 'ap'
         option encryption 'psk2+ccmp'
         option ssid 'adsfdasfdsaf'
         option key 'asdfdsafsdf'
         option wds 1

 }}}

 Take it upstream or is this an OpenWRT issue?

 Tested on r49034

--
Ticket URL: <https://dev.openwrt.org/ticket/22090>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to