Xiaomi WiFi Router 3G

So it sounds like latest snapshot is OK?

I just updated to the latest snapshot last night. No problem so far.

Finally, why are some of you compiling new images - to add fastpath?

I'm compiling from the image builder, not from source. Just needed some packages and settings to be included in the system just in case someone manages to find my router and hard reset it...

I just got this and installed today's snapshot (r5391-bd1ee90, Sun Nov 19 06:17:11 2017). I have only installed Luci in addition. It seems stable and has been up for 3.5 hours but the wifi upload speed is very slow. I'm only getting 1.5 Mbps even though the internet connection is 10 Mbps. I get full speed using wired connection, and also full speed when downloading using wifi (50 Mbps). It's the same on both 2.4 GHz and 5 GHz, and I've tested using a laptop and a mobile phone. While uploading RX rate on the router says 150.0 Mbit/s, 40MHz, MCS 7, Short GI.

Anyone have any suggestions on how to increase the upload speed?

I'm having the same issue on current HEAD, apart from that rx is not higher than 90 mbits. Seems like smth got broken. Seems this issue was introduced cpl of days ago

About speed/stability.
I'm on r3590 with latest mac80211 commits reverted getting ~100 Mbps download and ~60 MBps upload from the internet on 5GHz WiFi (maxing out my connection). Speeds on 2.4Ghz is lower but still 40 MBps+ download and upload.
I did some experiments as my router was unstable (and I found a way to consistently trigger the reboots...). First I tried reverting the MT76 driver https://git.lede-project.org/?p=source.git;a=patch;h=fa6fd45613d05da96b6733b15f91e51482378bb0 but that did not make any difference. Then I tried reverting the latest mac80211 commits (but not reverting MT76 driver) and it seems my router has stabilized (current uptime 21h) and speeds are good.

Howto:

wget -O mac80211_1.patch "https://git.lede-project.org/?p=source.git;a=patch;h=f9fa266faf9a2fdea48cc2fb72fa5a7e52a527c0"
wget -O mac80211_2.patch "https://git.lede-project.org/?p=source.git;a=patch;h=2dc485250d516f1535eeaf53f0f2f5742e5f9e0c"
wget -O mac80211_3.patch "https://git.lede-project.org/?p=source.git;a=patch;h=1c139d664b2673350c14d4b45e701c894bd39880"
patch -R -p1 <mac80211_3.patch
patch -R -p1 <mac80211_2.patch
patch -R -p1 <mac80211_1.patch

And this reverts the changes easily:
git reset --hard

I have unfortunately not saved a backup of the original firmware (it would be helpful if it was added as a step in the instructions). Considering the stability issues that several people have seen, can anyone tell me if it is possible and safer to upgrade using the bin images to overwrite kernel1 and rootfs0 again instead of the tar file? If so, how do I do it exactly?

@dissent1 @per
I always have the maximum speed, your problem is WAN to LAN?

No, uploading from a device to the internet. However I am now suspecting that it's my testing method that is flawed. It seems to increase the upload speed to maximum if I run the test quickly several times in a row.

Ah OK, for me wifi speed between clients is very fast so the problem is not mt76 driver

I have wrong wifi TX-Power in the status page.
I have setup 20dbm for 2.4Ghz but status states "Channel: 11 (2.462 GHz) | Tx-Power: 0 dBm"
and for 5Ghz I have setup 26dbm but "Channel: 136 (5.680 GHz) | Tx-Power: 19 dBm"
Does it function for you correctly?

using latest SNAPSHOT, r5392-bc50a97dfc self compiled

root@LEDE-Xiaomi:~# iw reg get
global
country DE: DFS-ETSI
        (2400 - 2483 @ 40), (N/A, 20), (N/A)
        (5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW
        (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
        (5725 - 5875 @ 80), (N/A, 13), (N/A)
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)
iw list:
                        * 5660 MHz [132] (26.0 dBm) (radar detection)
                        * 5680 MHz [136] (26.0 dBm) (radar detection)
                        * 5700 MHz [140] (26.0 dBm) (radar detection)
                        * 5745 MHz [149] (13.0 dBm)

Hi, it's a old visual bug :frowning:

hardware is not capable of 26dBm output

I took the plunge and attempted the flash the router - successfully. I had a heck of a time getting through the Chinese menus of the original firmware. I flashed with last nights snapshot. All is running Ok. Wireless is not real good for me. I have 250mbps connection and I am getting anywhere from 40 - 60 mbps down on successive tests on 5ghz and and around 40 mbps consistently on 2.4ghz about 25 feet away from the router. On my Tenda AC15, I can speed test around on 5ghz at 190 - 200 mbps.

Does the txpower setting make a difference for anyone? If so, what setting makes sense?

Thanks.

Got stable connection if I choose manual channels on 2,4 & 5 GHz :confused:
CH_Settings

2d_stats

mir3G_youtube_stream

Yes transmit power does make a difference for stability and speed and higher is in many scenarios not for the better. I run both my radios at 15 dBm.
Here are two interesting articles about power matching. Maybe you allready know about this but a year ago I newer though that matching the clients power was important.


Yes also for me, I use always manual channels

My connection is stable but I am really slow with wireless now (last night's snapshot build). Getting 15mbps down on both 5ghz and 2.4ghz. Very strange. Have rebooted several times. I am using manual channels.

Hi! Sorry if is the wrong place...
I tried to put Padavan firmware in my Xiaomi Router 3G but i have a power issue and stoped the process.
I need help to get back the original firmware.
When i turn on router the back lights of lan ports flashes and stay off, the front light dont turn on and wifi do not show up.
I tried to put the original firmware .bin in to the pen drive and turned on the router holding the reset button, but it didn't work.
When I put a lan cable, the lights in the lan port turn on and i see in ipconfig with 169.254.x.x, but i can't access the router.
Anyone have any idea to unbrick it?
Tks

Could you please test the latest version to see if it's stable again?
If not, please open up a bug report.

2 Likes

I just upgraded and reset to start fresh. I am stable but still have poor wireless performance on both 2.4ghz and 5mhz. Getting 40mbps on 5ghz and 15mbps on 2.4mhz and I have 250mbps for an internet. This was tested across multiple devices.

Edit - Well, now I am not stable - both 5mhz and 2.4mhz very unstable. I am running under a VPN connection and it now cycling on and off.

1 Like

@nbd I can confirm that smth is wrong in current HEAD
Everything up to https://git.lede-project.org/?p=source.git;a=commit;h=fa6fd45613d05da96b6733b15f91e51482378bb0 is fine. The problem is somewhere further. I've manually applied further mac80211 commits on top of that commit and I'm fine with it ATM. Don't have time to bisect the commit that breaks performance.
It's somewhere between
https://git.lede-project.org/?p=source.git;a=commit;h=fa6fd45613d05da96b6733b15f91e51482378bb0
and
https://git.lede-project.org/?p=source.git;a=commit;h=bd1ee909d081adc56931977248f413c670b74388
although I don't see anything relating there... maybe it's a floating issue that triggers when some config is applied, although I didn't change settings between flashes.