[EA6400] 2.4GHz WiFi not working

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
liv
DD-WRT Novice


Joined: 09 Feb 2012
Posts: 23
Location: CZ

PostPosted: Tue Dec 13, 2022 15:13    Post subject: Reply with quote
Did. I tried even clean flash.
_________________
In DD-WRT for over 10 years.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Tue Dec 13, 2022 15:28    Post subject: Reply with quote
Some router models have the radio calibration data in the CFE, maybe this is the case for your router and maybe the new CFE has the wrong data?

Just a thought, maybe the EA6400 thread: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=172389&postdays=0&postorder=asc&start=1002 has some information?

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
exception
DD-WRT Novice


Joined: 11 Dec 2022
Posts: 11

PostPosted: Tue Dec 13, 2022 15:35    Post subject: Reply with quote
egc wrote:
Are yu sure you have reset the router first by pressing the reset button for5-7 seconds while the router is running and then, very important, with the WPS button reset as described in my earlier post?


I did. It was not helpful.
rafaelbf
DD-WRT Novice


Joined: 11 Dec 2022
Posts: 4

PostPosted: Tue Dec 13, 2022 21:35    Post subject: Reply with quote
exception wrote:
Setup -> Basic Setup -> type=Disabled, set a static IP/gateway/DNS, dhcp=Disabled
Setup -> Advanced Routing -> mode=Router


My EA6300v1 is running as Access Point too. Same settings as your EA6400:
Code:
Setup -> Basic Setup ->
         Wan connection type = Diabled
         MTU = Auto
         Shortcut Forwarding Engine = SFE
         STP = Disable
         Local IP Address = 192.168.0.4/24
         Gateway = 192.168.0.1
         Local DNS = 192.168.0.1
Setup -> Advanced Routing -> mode=Router
Other options: (Domain=Singapore,Mode=Off,TPC Mitigation=Off),(Network Mode=Mixed, ACK Timing=100), (WPA2-PSK(AES)), (Beacon=200, DTIM=2, Preamble=Long)


The only difference I see is that I am using KoolShareCFE and r50308. And all clients are 802.11n (not G or b).
Is it possible one "bad" client fallback to 802.11b and drop all network performance ?

Code:
Wright now I have two near clients, the speed is good:
Clients
MAC Address  Name  IF   Uptime  TX Rate RX Rate Info         Signal Noise SNR Signal Quality
xx:xx:xx           wl0  0:42:26 65M     65M     HT20         -50    -91   41  100%
xx:xx:xx           wl1  2:00:35 6M      200M    VHT80SGI[PS] -54    -87   33  92%


exception wrote:
TurboQAM (QAM256) support
Explicit Beamforming
Implicit Beamforming
Airtime Fairness

None of my EA's have these options. I believe this is for newer chipsets and compatible clients only.


Last edited by rafaelbf on Fri Dec 16, 2022 3:24; edited 1 time in total
exception
DD-WRT Novice


Joined: 11 Dec 2022
Posts: 11

PostPosted: Wed Dec 14, 2022 2:44    Post subject: Reply with quote
Thanks for the detail config.

I changed mine, one by one, to be same as yours. Nothing made difference except: Wireless -> Basic ->Mode. You have "Mixed", I have "N/G Mixed"

I played with it and it yielded somewhat Unpredictable effects.

1. Change N/G Mixed => Mixed:
Speed increases from 10Mbps to 20Mbps. I also noticed in Wireless -> Advanced WL-0, "Frame Burst" becomes checked. (I didn't check it. This is solely due to change of mode.)

2. Uncheck Frame Burst:
Speed stays at 20Mbps

3. Change Mixed => N/G Mixed (Undo 1&2 above):
Speed stays at 20Mbps

4. Change any other option, like ACK Timing:
Speed drops to 10Mbps. Change ACK timing back, still 10Mbps. To increase speed, play with Mode again.

Again, if I hard-reset it, 2.4g wifi goes back to 40Mbps. Slow speed happens as soon as I turn it to dumb AP (Basic -> WAN Conn Type=disabled). I've repeated and tested many times.


Last edited by exception on Wed Dec 14, 2022 17:30; edited 1 time in total
liv
DD-WRT Novice


Joined: 09 Feb 2012
Posts: 23
Location: CZ

PostPosted: Wed Dec 14, 2022 15:35    Post subject: Reply with quote
I can confirm this behavior:
If I have network mode set to G/N Mixed, I got speed as low as 10 Mbps down. As I change it to Mixed, speed goes higher (to 18-20 Mbps down). It's still not ideal and it's not stable speed like in 5GHz network, but better than before.

_________________
In DD-WRT for over 10 years.
rafaelbf
DD-WRT Novice


Joined: 11 Dec 2022
Posts: 4

PostPosted: Fri Dec 16, 2022 2:42    Post subject: Reply with quote
exception wrote:
Again, if I hard-reset it, 2.4g wifi goes back to 40Mbps. Slow speed happens as soon as I turn it to dumb AP (Basic -> WAN Conn Type=disabled). I've repeated and tested many times.


Hi, can you provide the nvram dump (with sensitive information removed) after the slow down ?
So we can compare the values and try to guess where is the problem.

...or even better...
Can you dump your nvram just before the "WAN Conn Type=disabled" without the slow down, and then after, with the slow down?

you can search and mask these variables
Code:
speedchecker_uuid
uuid_key
wl0_ssid
http_username
wl1_wds0
http_passwd
wl_ssid
wl0_wpa_psk
speedchecker_uuid2
default_ssid
serial_number
openvpn_scrmblpw
wl1_wpa_psk
default_passphrase
wl1_ssid
tc_passphrase
wl0_wds0
openvpncl_scrmblpw
samba_password
tc_ssid
wl1_hwaddr
vlan2_hwaddr
et0macaddr
eth1_hwaddr
eth2_hwaddr
1:macaddr
lan_hwaddr
wan_hwaddr
et0macaddr_safe
wl0_hwaddr
vlan1_hwaddr
eth0_hwaddr
hw_mac_addr
0:macaddr



nvram_dump_ea6300v1.zip
 Description:
EA6300v1's good nvram dump with sensitive information removed.

Download
 Filename:  nvram_dump_ea6300v1.zip
 Filesize:  12.23 KB
 Downloaded:  46 Time(s)

exception
DD-WRT Novice


Joined: 11 Dec 2022
Posts: 11

PostPosted: Fri Dec 16, 2022 15:27    Post subject: Reply with quote
Please find my nvram and speed test below:

Test environment:

Primary gateway: Linksys WRT1900ACS running OpenWRT 21, WAN is Comcast modem (advertised speed is 500Mbps down, 20Mbps up) LAN is 192.168.0.0/24

Secondary device (this test): Linksys EA6400 with Xvortex CFE and DDWRT r50308 2022-10-1. Plugged EA6400's WAN port into primary router's LAN port with CAT6 cable. (I also tried EA6400's LAN port into primary's LAN port when EA6400 is in dumb AP mode ...... no speed gain)

Test 1: EA6400 in default gateway mode (LAN IP is 192.168.1.1)
1. Hard reset (hold wps button and power on, wait until LED blinks, release wps)
2. Change UI password to root/testpw.
3. Change 2.4G wifi SSID to "dd-wrt24ghz"
4. Enable SSH in order to get NVRAM
5. Run test
Result: 35Mbps

Test 2: EA6400 in dumb AP mode (LAN IP is 192.168.0.101)
1. Setup->Basic:
WAN Type: change to "disabled"
Router IP: change to 192.168.0.101
Gateway/DNS: change to 192.168.0.1
DHCP server: disabled
Use DNSMasq and DHCP authoratative: uncheck
2. Setup->Advanced:
Operating Mode: change to "Router"
3. Services->Services:
Disable everything. Only service running is SSH (in order to get NVRAM)
4. Security->Firewall
Disable SPI firewall
5. Apply, reboot
Result: 15Mbps

Due to forum upload limit, NVRAM.txt contains both default and AP mode. AP mode starts at line 1800.



ea6400_24ghz_dumb_ap_mode.PNG
 Description:
 Filesize:  32.5 KB
 Viewed:  1640 Time(s)

ea6400_24ghz_dumb_ap_mode.PNG



ea6400_24ghz_default_mode.PNG
 Description:
 Filesize:  32.19 KB
 Viewed:  1640 Time(s)

ea6400_24ghz_default_mode.PNG



nvram_ea6400.txt
 Description:
Due to forum upload limit, NVRAM.txt contains both default and AP mode. AP mode starts at line 1800.

Download
 Filename:  nvram_ea6400.txt
 Filesize:  67.01 KB
 Downloaded:  46 Time(s)

rafaelbf
DD-WRT Novice


Joined: 11 Dec 2022
Posts: 4

PostPosted: Sun Dec 18, 2022 2:49    Post subject: Reply with quote
exception wrote:
nvram_ea6400.txt


For now I couldn't reproduce on my EA's.
These are interesting variables set in your nvram after the slowdown:

Code:
ctf_disable=1
ctf_fa_mode=0
has_ctf=1
sw_cpuport=5
sw_lan1=3
sw_lan2=2
sw_lan3=1
sw_lan4=0
sw_wan=4
switch_type=BCM53011


But they are set in my EA's too, and no slowdown. Confused
You cold try unset all these variables, to be like before the slowdown:

Code:

nvram unset ctf_disable
nvram unset ctf_fa_mode
...etc
reboot


I also have some variables that are not on your router. These variables maybe because I didn't do the reset, but you can try too:
Code:

nvram set fullswitch=0
nvram set wl_btc_mode=0
nvram set wl_nmcsidx=-1
exception
DD-WRT Novice


Joined: 11 Dec 2022
Posts: 11

PostPosted: Mon Dec 19, 2022 14:52    Post subject: Reply with quote
I set my values to yours - still slow

I set my values to default gateway mode values - still slow

I went to UI and change back to default gateway mode and revert everything I changed - still slow

I even tried FreshTomato version 2022.6 in one of my EA6400: same slow 2.4Ghz in dumb AP mode.

The only way to get 40Mbps is hard-reset it.

I think some config would permanently change its behavior until next hard-reset. The problem is in lower level than nvram. There is not much we can do.
liv
DD-WRT Novice


Joined: 09 Feb 2012
Posts: 23
Location: CZ

PostPosted: Sun Dec 25, 2022 6:12    Post subject: Reply with quote
I also found that I can't set "Transmission fixed rate" to anything but auto. Goes to auto after aplying settings.
_________________
In DD-WRT for over 10 years.
exception
DD-WRT Novice


Joined: 11 Dec 2022
Posts: 11

PostPosted: Tue Jan 03, 2023 17:43    Post subject: Reply with quote
I found direct relation between Router Basic Mode and Wifi speed. As I am able to switch back and forth and observe same results repeatedly. No reset was involved. Any other settings are insignificant (and not touched).

1. Default
WAN Type=Automatic Configuration-DHCP
Operating Mode=Gateway

Result: 2.4Ghz=40Mbps 5Ghz=60Mbps

2. Dumb AP
WAN Type=Disabled (also set local/gateway/DNS ip per guide, and disable dhcp)
Operating Mode=Router

Result: 2.4Ghz=15Mbps 5Ghz=90Mbps

The interesting thing is, 5Ghz speed seems faster in AP mode where 2.4Ghz suffers.
liv
DD-WRT Novice


Joined: 09 Feb 2012
Posts: 23
Location: CZ

PostPosted: Sun Jan 15, 2023 21:43    Post subject: Reply with quote
I can confirm that it is probably routing issue - after trying some tweaking today I ended with 15 Mbps on 5 GHz WiFi even with 2.4G disabled.
_________________
In DD-WRT for over 10 years.
exception
DD-WRT Novice


Joined: 11 Dec 2022
Posts: 11

PostPosted: Wed Feb 08, 2023 13:42    Post subject: Reply with quote
Today I discovered that if in AP mode, I turn off wl0-Advanced -> WMM Support, 2.4G download speed returns to 70Mbps. But in default Gateway mode (in my case, secondary gateway behind primary gateway) it is ok and not requiring WMM=off.


I shifted focus to WMM support and immediately came to this result in all forums. There is even a DDWRT wiki for it:

[url=https://wiki.dd-wrt.com/wiki/index.php/Comcast_download_speed_fix_for_Linksys_eSeries]
​Comcast Critical DSCP Download Bug​​​[/url]


Yes I am Comcast Xfinity customer.


This explains my problem: both my EA6400s suffer terrible 2.4G download in DD/FT/Merlin, but EA6900 does not. They have different 2.4G network cards. Other users report normal speed with this router.


I tried the mitigation command from the wiki:

Code:
insmod xt_DSCP.ko

iptables -t mangle -A PREROUTING -i vlan2 -j DSCP --set-dscp 0



It's not working yet. As the problem only occurs in AP mode, there is no "wan_iface" value in nvram. I plugged upstream cable to WAN port which is part of vlan2. Br0 bridges all vlan1 vlan2 eth1 eth2. If this cannot be done in dumb switch maybe I should do something in my primary gateway? (which is Openwrt in WRT1900ACS)
exception
DD-WRT Novice


Joined: 11 Dec 2022
Posts: 11

PostPosted: Thu Feb 09, 2023 15:39    Post subject: FULLY RESOLVED Reply with quote
I have fully resolved 2.4G wifi speed issue in AP mode. Both APs are running expected wifi speed in default settings now.

Cause:
1. Comcast Xfinity delivers bad DSCP marking to customers
2. The bad DSCP cripples some wifi driver (BCM43217 in EA6400) when WMM is ON. However the BCM4360 driver in EA6900 has no problem.
3. DDWRT and FreshTomato in default mode can strip the bad DSCP before reaching wifi interface. (DD has a wiki page for this problem. DD has "Filter TOS/DSCP" in Firewall options. FT has a "Fix Comcast DSCP" in Firewall options.) They are both ok with Comcast in default gateway mode, but in dumb AP mode, this ability is gone because firewall is down.

Unfortunately, my main gateway is WRT1900ACS in OpenWRT which does nothing (and lets bad packets go further to APs). The fix must be in main gateway. So I did:

1. In OpenWRT System->Software page, install iptables-mod-ipopt (this enables DSCP target for iptables)
2. Run command (if successful, put it in Firewall->Custom Rules):
Code:
iptables -t mangle -A PREROUTING -i eth1.2 -j DSCP --set-dscp 0

In my router eth1.2 is the internet-facing interface
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum