-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep phy2 and radio2 with Linksys WRT 3200ACM European version on 160Mhz and DTS #280
Comments
Ok, my bad, I guess @BrainSlayer is in Europe and once I selected the 160 Mhz channel 100, it all started working, and the increase on Android from 280 Mbit went to 400 MBit, awesome!!! But besides, so do you think I can keep Is that correct? Reference: #226 (comment) |
@p3x-robot yes i'm in europe. and 160 mhz works only with channel 100 upwards. for the region setting. it works gobally in cfg80211/mac80211. so you cannot use independend regions per radio as far as i know. but you can maybe mod the driver to hardcode a own region setting (except for mwlwifi, this one is fixed by the chipset) |
@BrainSlayer Yesh, it works, you already helped me in a reference in this issue. My only question now if I can configure to keep the Will test though after the full build is done. Thanks so much! Though, it would be cool, if @yuhhaurlin could understand my poor English what I am trying to achive (with this mixed up regions from Europe but still |
This will be done later. |
Ok, the readme says either i keep the country (code 00 - unset) or remove mwifiex-sdio-firmware kmod-mwifiex-sdio, but the truth is it only works if I remove phy2 and remove mwifiex-sdio-firmware kmod-mwifiex-sdio and then set the country by hand for Europe France. Than it works. So it either a problem with the chiip (fixed phy2 US, cannot override now way, I set it, luci, /etc/config/wireless), but it always US when i check Besides need to remove the radio2 as well. Only solutions is opkg remove mwifiex-sdio-firmware kmod-mwifiex-sdio
# remove radio2 from /etc/config/network
# set the wifi wireless in LUCI to France and the it is cool With the European version cannot set |
The limitation will be removed later. The code will be modified as follows:
This job will be done later. |
Hey @yuhhaurlin ! How are you? So one more question, the |
I have no idea about phy2. I only take care of mwlwifi. |
Aha, so I still have to remove |
Phy2 is mwifiex which is another open source driver from Marvell. Mwlwifi is used for 88W8964 of WRT3200ACM (phy0 and phy1). You can use phy2, but I can't support it. |
|
Mwlwifi can do everything. Phy2 is used for some purposes, but I have no idea of that. |
@p3x-robot phy2 can be used as additional wifi interface. it has no influence to mwlwifi (phy0 / phy1) |
@BrainSlayer you mean remove the mwifiex-sdio-firmware kmod-mwifiex-sdio, but keep the 3rd wifi radio? |
@BrainSlayer I am currently using phy2 as an "auxiliary channel"; I have both |
@eduperez, you are not in the EU, right? In USA, that's why it works? |
@eduperez or using on the 5Ghz 80Mhz? |
@eduperez yes, i confirmed, that 80 Mhz works, while 160Mhz is not :) |
@p3x-robot In EU, 80MHz only. |
yes, so it is only non DTS frequencies. Got it. |
i guess until it is completed, 160 Mhz and DTS is not worth dealing with... |
@yuhhaurlin if what I manage to understand in your explanation about what are you going to do with the country setting being locked by mwlwifi to a permissive one, that will solve a dispute we had time ago about what should be done. |
Hi @yuhhaurlin do you have an estimated date to make this change? |
@BrainSlayer @yuhhaurlin @eduperez i bought a Intel® Wireless-AC 9260 for my laptop. what is weird, on if i set up 160Mhz on Windows it works, but on Linux i can get like 1-2 Mbit, but once I set it to 80 Mhz, I get the speed cool like 700Mbit. My question, is MU-MIMO is only 160Mhz or that is independent from MU-MIMU? PS: I think maybe the Windows driver is already using not 160Mhz but 80Mhz otherwise it would be weird. How can with 160Mhz in Windows works and in Linux not, but once I am 80Mhz 5Ghz, it flies... |
You are far from the truth. |
hi httpstorm, no I don't break any regulation, I asked just to understand,my country code and txpower are not again regulations. the only think that I'm trying to resolve on this machine is the very very low coverage on 2.4 ghz band. I never had any kind of problem on 5 ghz radio.that's all. |
Hi @bricco1981 ! There are two reasons I looked through the entire source code of the driver: 1. to make sure the radio works without any region conflicts and startup delays due to DFS scanning; 2. because I also felt that the TX power is way less than the allowed. For example my old 1043ND v4 covers my entire three story building + ceiling. While with WRT3200ACM some devices might switch from 5 GHz to 2.4 in the next room. While in the same room I'm getting 900 Mbit's with my laptop and 500 with my phone. Sadly I could not find any interface or code that affects TX power, but at lease I could disable the code which reports the region, so we can resolve point 1. |
Hi @httpstorm
i flashed this version then rest the router, now i dont know the root password & even the wifi "ivan" password, please help 😟 |
Hi @abuzaruzair
You can install the new FW. I compiled and tested it on my router to make sure there are no passwords or left over config. You may use the same link: The default Wi-Fi network is called httpstorm, and operates on channel 100, using 160 MHz. As a bonus, the new FW image is configured to mount USB storage automatically under /mnt. Pressing the reset button for less than a second, ejects all removable media. You can also access it under http://192.168.1.1:83/ - this can be disabled under System, Startup, g_httpstorm. If you wish to run network benchmark, run the Let me know if you still have any issues or requests, and I will help you get back to a happy router as soon as possible to compensate for my mistake! Good luck! |
Hi @httpstorm Thanks for fast reply and helpful solution, one more thing, the kernel version in you package is 5.4.75-1XXX and i want to install many package requires the version 5.4.87-1XXX any solution? :( |
Hi @abuzaruzair You have two options:
You may need to revert the commit labeled "Added software from gvalkov": |
Dear friend @httpstorm I dont have enough experience into building my package, but i really thank you, and feeling happy with 160mhz 5GHz wifi i only need VPN policy based routing package with its dependencies, i think it will be like "luci-i18n-vpn-policy-routing-en" and its all sub packages like "luci-app-vpn-policy-routing" and one more package "dnsmasq-full" Thanks ❤️ |
Hi @abuzaruzair |
Hi @abuzaruzair I hope that fits your needs! I also tried building from the latest GIT snapshot, unfortunately there are some packages which fail to build on macOS and that might take a long time for me to fix. Alas, unlike building on Ubuntu Linux, which is quite easy, since everyone is using it, building on macOS is often very hard, since many packages get updated and not tested to build on that platform. Good luck! And please let me know if everything works well! I had no time to install and test the image. |
Hello everyone, |
@BeNeE25 |
@httpstorm ok thx I understand. Just by curiosity it's mean that it is always 23db as it appear in openwrt 19.07.6 and so that in every case this router will be limited in power for 5Ghz? |
@BeNeE25 |
Same for me. I just edit mwifiex-sdio according to eduperez's advice and it work fine. But normally, 160 Mhz is only working for channel 100 to 140 and channel selected is 36 (auto). I do not understand why... Somebody has an idea? Not really important because only my pc supports 160 Mhz... |
@dr-ni - Something is still not correct with your setup. Your "iw reg get" is the same as mine but your "iw dev" is missing the "phy#2" radio. BTW - In mine the "txpower" has always been at "0.00 dbm" but it does work fine except the third radio "phy#2" will rarely stop and it needs a re-boot to get going again. My "iw dev": OpenWrt 19.07.6, r11278-8055e38794root@xxxxxxxxxxxxxx:~# iw dev |
Same here...but lower channels are more used around here, so want to use higher channels anyway. |
I am not sure if regulations permit 160 MHz on the low channels. Technically it is possible to enable this, however db.txt does not list 160 MHz modes on lower channels. |
I am getting 920 Mbit/s down, 820 Mbit/s up using my modifications. |
@dr-ni |
It's around 3 meters away in the same room. |
Surely you could move this to a more private chat now that it is drifting away from the core topic? I am subscribed to this topic for significant movement (as hopeless as that may be). |
@dr-ni @lantis1008 |
A fools endeavour to get anything from the stock firmware in my opinion. You're swapping an open driver/closed firmware for a closed driver/closed firmware. Discussions on the patches and how to make radio2 work and country codes play nice is on topic. Anyway, carry on. |
Analysing the OpenWRT driver took me a few days. I figured that TX power cannot be changed and the easiest way to fix the country restrictions is to return an error when asked about the hard-coded region. Here is how it works:
About the Linksys source code: I have not checked the implementation, but there are three possible options (pure guess):
With the original firmware, there is a 5 minute delay before starting radio on a DFS channel for the first time. Then if I remember correctly, the router remembers the scan result and starts without a delay. I hope this shines some light as to why WRT3200ACM does not work as users would expect, and why people remove radio 2 to get things working. You can thank Linksys for mixing radios designed for different regions in the same device. One could argue that having a US region radio operating in EU would be illegal. To my knowledge, the only way users can set their valid region is by hacking the driver. @dr-ni @lantis1008 |
|
I've removed now everything from this issue so that everybody can be happy here waiting for improvements without any noise. However, don't forget that github is an open source development platform. Issues should be used for reporting problems and discussions - not for silent version tracking :-( |
Nice work ! Your patch is amazing and by all right should be included in the official build. However I lack the experience for building image. Could you please provide a short instruction on how to include your patch when building from official repo ? |
Hello @AcThPaU ! You can build my fork:
Or you can export the patch and then import it on top of the official sources
|
Indeed my patch httpstorm/openwrt@677fef0 is necessary for the radios on WRT3200 to work properly on 5 GHz. So you are more than welcome to bring it to the attention of @kaloz @nbd @hauke or the rest of the OpenWRT maintainers. If they accept it, we can integrate my changes to master. |
Hello @yuhhaurlin !
How are you today?
This is something, I found and this is what is weird for me, given it is the latest
LEDE 17.01.4
and your latest driver:Mar 6 19:37:11 192.168.78.1 digi.router hostapd: ACS: Only VHT20/40/80 is supported now
Ok, I found, I had to change the channel instead
auto
to100 or 120
as sad in #226 (comment) by @BrainSlayer for Europe...But, I still have a question. 🔢
My wifi
/etc/config/wireless
:More info
For the next build I will wish to keep the
phy2
(and theradio2
and becausephy2
is fixed, I just fix it with the Europan router with this option in theradio2
and remove theoption country
from theradio0
andradio1
:Like this
mwlwifi
shouldlet mwlwifi set it for you
...I found in the
README.md
that I can keepkmod-mwifiex-sdio
andmwifiex-sdio-firmware
, given I do not change theradio0
,radio1
and because thephy2
is alwaysUS
I could change to my routerFR
and it would work.Do you have and idea what it could be or once
phy2
is configured right, is it will work?In one of your
issue comment
#185 (comment) you said, it might work with disable theoption country
forradio0
andradio1
and givenradio2
is alwaysUS
, I try to fix it with thisoption country 'FR'
like:What do you think master?
Thanks so much!
Patrik
The text was updated successfully, but these errors were encountered: