Open sanitariu opened 5 years ago
Also tested version 6.1 and 6.2. Results are the same. Stable but no range.
root@telnet-router:~# cat /sys/kernel/debug/ieee80211/phy0/mt76/rate_txpower CCK: 0 0 0 0 OFDM: 0 0 0 0 0 0 0 0 STBC: 0 0 0 0 0 0 0 0 0 0 HT: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VHT: 0 0 0 0 0 0 0 0 0 0
This seems wrong to me too. Like wrong eeprom reading ? According to TL-WR840NV6.dts these are my partitions:
memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "boot";
reg = <0x0 0x10000>;
read-only;
};
partition@10000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x10000 0x3d0000>;
};
factory: partition@3f0000 {
label = "factory";
reg = <0x3f0000 0x10000>;
read-only;
};
};
tp-link 840 version 6 eeprom dump:
Somewhere here must be default txpower values ?
seeing the same all-zero values for rate_txpower on xiaomi mir3p (mt7621 with dual mt7615)... it's odd that nobody commented on this issue yet
I extraced factory bin file from same mediatek chip 7628 and from tp-link 840 (mediatek 7628) version 6.0. First router TX power perfect also openwrt works like a charm Second router tp-link 840 version 6.0 very LOW tx-power also works like a charm but 2 meters near router. Attaching both bin files If someone knows how to decode the file ? You can view via hexdump or other but i need to know which value is which.
mediatekhigh-tx.txt mediateklow-tx.txt
Anyone knows where in which line is country code or tx-power ?
Anyone knows where in which line is country code or tx-power ?
mt7628_eeprom_guideline_v2_00.pdf should contain the relevant information.
Still no fixes for tp-link 840 version 6,6.1,6.2 and 14 ? The only problem is missing correct txpower.
partition@10000 { compatible = "tplink,firmware"; label = "firmware"; reg = <0x10000 0x3e0000>; };
define Device/tplink_tl-wr840n-v6 $(Device/tplink) SOC := mt7628an IMAGE_SIZE := 3968k DEVICE_VENDOR := TP-Link DEVICE_MODEL := TL-WR840N DEVICE_VARIANT := v6 TPLINK_FLASHLAYOUT := 4Mmtk TPLINK_HWID := 0x08400006 TPLINK_HWREV := 0x1 TPLINK_HWREVADD := 0x6 TPLINK_HVERSION := 3 SUPPORTED_DEVICES += tl-wr840n-v6 IMAGE/tftp-recovery.bin := pad-extra 64k | $$(IMAGE/factory.bin) endef TARGET_DEVICES += tplink_tl-wr840n-v6
Now txpower and everything is okay. Router is usable.
It seems like txpower is totally incorrect on mediatek 7628 models. I see -55dB when my laptop is 30 cm away from the router. Same test with openwrt Tp-link 740 version 4 signal strenght in luci is -27dB. Version 740 power is limited to 18dB (63 mw) so seems like Mediatek (-55dB) are something like 14dB (30mw) which is wrong. Also any changes like country or txpower does not change signal strength in Luci (still -55dB). Testing mediatek 7628 in 5 meters away make signal -80dB. May be your driver does not set power at all or at least does not respect country regulatory ? I am using latest OpenWrt SNAPSHOT, r9945-bc85640cdc. Driver is stable and working good at 1 meter away but next room is not so good.