This is because the vendor driver makes ensures operation in HT20 before
triggering RF calibration.
On 05/13/2013 08:29 PM, Сергей Василюгин wrote:
> Hi, All
>
> Anybody knows why ht40 mode explicitly switch off for some ralink wifi?
> rt2800lib.c in function rt2800_config_channel():
>
> if (rt2x00_rf(rt2x00dev, RF3290) ||
> rt2x00_rf(rt2x00dev, RF3322) ||
> rt2x00_rf(rt2x00dev, RF5350) ||
> rt2x00_rf(rt2x00dev, RF5360) ||
> rt2x00_rf(rt2x00dev, RF5370) ||
> rt2x00_rf(rt2x00dev, RF5372) ||
> rt2x00_rf(rt2x00dev, RF5390) ||
> rt2x00_rf(rt2x00dev, RF5392)) {
> rt2800_rfcsr_read(rt2x00dev, 30, &rfcsr);
> rt2x00_set_field8(&rfcsr, RFCSR30_TX_H20M, 0);<------------
> rt2x00_set_field8(&rfcsr, RFCSR30_RX_H20M, 0);<------------
> rt2800_rfcsr_write(rt2x00dev, 30, rfcsr);
>
> rt2800_rfcsr_read(rt2x00dev, 3, &rfcsr);
> rt2x00_set_field8(&rfcsr, RFCSR30_RF_CALIBRATION, 1);
> rt2800_rfcsr_write(rt2x00dev, 3, rfcsr);
> }
> I've done correct{?) configs and ht40 works for my rt3290, rt3352 & rt5350.
> Or it's simple mistake and instead of 0 it must be conf_is_ht40(conf).
>
> ---
> serge
--
ALLNET GmbH ; Maistr. 2 ; D-82110 Germering ; Germany
Tel. +49-89-89422217 - Fax +49-89-89422233
http://www.allnet.de
email: Daniel Golle <[email protected]>
Schulungs-/Veranstaltungsprogramm: http://www.802lab.de<http://www.802lab.de/>
Geschäftsführer: Wolfgang Marcus Bauer
Handelsregister München B 95922 ; UST-ID-Nr. DE 128214294 ;
St.-Nr.117/115/00164
WEEE-Reg.-NR. DE 13101093
Bankverbindung:
Sparkasse Fürstenfeldbruck KTO: 2774594 ; BLZ: 70053070
Swift-Code: BYLADEM1FFB ; IBAN: DE61700530700002774594
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel