Projecte

General

Perfil

Actions

Característica #281

tancat

Setting hwmode to "auto" in /etc/config/wireless for 802.11(b)gn devices makes them work only at 802.11g's 54 Mb/s

Afegit per Roger Pueyo Centelles fa aproximadament 10 anys. Actualitzat fa més de 5 anys.

Estat:
Tancat
Prioritat:
Normal
Categoria:
802.11n driver
Versió prevista:
-
Inici:
03-04-2014
Data de venciment:
% realitzat:

100%

Temps previst:
1:00 h
Temps invertit:

Descripció

In /etc/config/wireless, when a 802.11(b)gn device's "hwmode" is set to "auto", it only works as a 802.11g device, reaching a maximum of 54 Mb/s:

config wifi-device 'radio0'
    option type 'mac80211'
    option macaddr '10:fe:ed:32:8a:2a'
    option channel '1'
    option country 'SP'
    option hwmode 'auto'
    option htmode 'HT20'
    option txpower '17'
    option noscan '1'
    option distance '5000'
    list ht_capab 'SHORT-GI-20'
    list ht_capab 'SHORT-GI-40'
    list ht_capab 'RX-STBC1'
    list ht_capab 'DSSS_CCK-40'

In the same device, with plain OpenWrt, the default configuration sets "hwmode" correctly to "11ng" (both in Attitude Adjustment and Barrier Breaker):

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option macaddr '10:fe:ed:32:8a:2a'
        option hwmode '11ng'
        option htmode 'HT20'
        list ht_capab 'LDPC'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'TX-STBC'
        list ht_capab 'RX-STBC1'
        list ht_capab 'DSSS_CCK-40'
config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11ng'
        option path 'platform/ar934x_wmac'
        list ht_capab 'LDPC'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'TX-STBC'
        list ht_capab 'RX-STBC1'
        list ht_capab 'DSSS_CCK-40'
        option htmode 'HT20'

enabling them to work in 802.11n mode.

Wireless configuration scripts should be fixed to set "hwmode" to "11ng" where applicable, to benefit from 802.11n enhancements.

Actions

També disponible a: Atom PDF