WRT1900ACS v2 how to update mwlwifi driver

@hnyman I have performed the sysupgrade to rc2, check the mwlwifi driver to be update with the latest version of kaloz but I still have performance issues especially the with 5g band in terms of transmission power (weak signal). When I set the transmit power above the 20dBm (100mW) 80MHz there will be no signal.

The 2.4g band has a good signal and a max speed of 450mbps instead of 600mbps.

Is there a way I can correct the transmit power to take full advantage of the WRT1900ACS v2?

No idea. I do not have that router, so no practical advice from on me. I just answered your questions regarding package versions.

@hnyman thanks just the same as your input was highly valued as I have managed to improve over the past install :wink:

The usual caus of being limited in transmit power is that the country code is
not set correctly.

I would point out that unless you live out on a farm or something like that,
getting 450M or 600M out of 2.4GHz means that you are configured to clobber
everyone else nearby, and conversely, anyone else nearby is going to interfere
with your signal

David Lang

@dlang The country code is properly set to MT (for Malta). I am not wanting to overwhelm my neighborhood but at least I get a decent signal strength as both bands are weak. See the screenshot attached SSIDs are Lumen WiFi 2.4g and Lumen WiFi 5g.

try this reghack2
https://drive.google.com/file/d/0B_DhbbnwjyXHRm93aDdkaU4wbkE/view?usp=sharing

upload the file to /sbin
chmod 755 reghack2
back up original cfg80211.ko

/sbin/reghack2 /lib/modules/*/cfg80211.ko
reboot

max dbm should be 30dbm now

@harrylwc there is a problem with the link

uploaded to google drive ,please try again

@harrylwc thanks for the update, would be so kind to give me direct link for the file so that I could download it with wget please

wget http://harry-home.duckdns.org:2799/reghack2/reghack2

@harrylwc I am new to this so please can I ask you to check the code and see if its ok:

cd /sbin
wget http://harry-home.duckdns.org:2799/reghack2/reghack2
chmod 755 reghack2
cp /lib/modules/*/cfg80211.ko /lib/modules/*/cfg80211.ko.bak
/sbin/reghack2 /lib/modules/*/cfg80211.ko
reboot

ok,please try,command 'iw reg get' to check different .Source code can be found in http://luci.subsignal.org/~jow/reghack/

I found it work on both openwrt CC (remove DFS restriction and enable channel 12-13) and LEDE (max dbm 30) on my wrt1200ac.

@harrylwc ok will do as I get home as currently I am out.

@harrylwc sorry i did not understand the edit, where shall I issue the command 'iw reg get'

run the command 'iw reg get' before and after execute command "/sbin/reghack2 /lib/modules/*/cfg80211.ko" ,you will see the different.

http://luci.subsignal.org/~jow/reghack/README.txt

Ok will do and post the result as I get home :wink:

@harrylwc I have done but I got no difference in iw reg get. Here is a dump of what I did:

root@LEDE:~# cd /sbin
root@LEDE:/sbin# iw reg get
global
country 98: DFS-ETSI
        (2402 - 2482 @ 40), (N/A, 20), (N/A)
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
        (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

phy#1
country FR: DFS-ETSI
        (2402 - 2482 @ 40), (N/A, 20), (N/A)
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
        (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

phy#0
country FR: DFS-ETSI
        (2402 - 2482 @ 40), (N/A, 20), (N/A)
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
        (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)
root@LEDE:/sbin# wget http://harry-home.duckdns.org:2799/reghack2/reghack2
Downloading 'http://harry-home.duckdns.org:2799/reghack2/reghack2'
Connecting to 123.202.82.60:2799
Writing to 'reghack2'
reghack2             100% |*******************************| 26867   0:00:00 ETA
Download completed (26867 bytes)
root@LEDE:/sbin# /sbin/reghack2 /lib/modules/*/cfg80211.ko
Patching @ 0x000291e8: core world8(?) regdomain in cfg80211/reg.o (new rule)
Patching @ 0x0002aaec: embedded US regdomain in cfg80211/regdb.o (new rule)
Patching @ 0x00030568: embedded 00 regdomain in cfg80211/regdb.o
root@LEDE:/sbin# iw reg get
global
country 98: DFS-ETSI
        (2402 - 2482 @ 40), (N/A, 20), (N/A)
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
        (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

phy#1
country FR: DFS-ETSI
        (2402 - 2482 @ 40), (N/A, 20), (N/A)
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
        (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

phy#0
country FR: DFS-ETSI
        (2402 - 2482 @ 40), (N/A, 20), (N/A)
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
        (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)
root@LEDE:/sbin# cd
root@LEDE:~# reboot

How can I check if reghack2 is working please as the signals are still weak, SSIDs in this analyzer screenshot are Lumen WiFi 2.4g and Lumen WiFi 5g

At least u can set max. dbm to 30 right?

@harrylwc no only 27dbm is maximum same as before. See screenshot

@harrylwc and 20dBM on the 2.4g