My wrt1900v2 is running with custom builds - trunk with these two patches:
Chadster fixes - Quilt: package/kernel/mwlwifi/patches/120-chadster_fix.patch - Patch: http://pastebin.com/Vp19wxR4
Kernel Proposed NAND Patch - Quilt: target/linux/mvebu/patches-4.4/300-pxa3xx_nand.patch - Patch: http://pastebin.com/ex9Fka7g
I need to restart the router every night - I have a lot of devices around - that may be why I see the performance degradation more often than I would like, especially on the 5GHZ band.
Looking into disabling IPV6 - to see if some of the issues may be coming out of the reported issues.
So far - when things don't screech to an halt - the performance is excellent. I am also moving the wifi IRQs on the secondary core - just to get a bit more balanced use of the cores.
This is my startup commands:
# Offload mwlwifi IRQs to CPU1
# 2 -> MASK 10 -> enable CPU1
# 1 -> MASK 01 -> enable CPU0
echo 2 > /proc/irq/103/smp_affinity
echo 2 > /proc/irq/104/smp_affinity
And this shows it's actually doing it's job:
CPU0 CPU1
.....
.....
103: 0 2396786 GIC 61 Level mwlwifi
104: 0 2312648 GIC 65 Level mwlwifi
.....
.....
The wireless configuration was hand changed to the following:
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11a'
option path 'platform/soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0'
option htmode 'VHT80'
list ht_capab 'LDPC'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option distance '0'
option frag '500'
option rts '2346'
option country 'US'
option channel '149'
option txpower '30'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/soc:pcie-controller/pci0000:00/0000:00:02.0/0000:02:00.0'
option country 'US'
option txpower '30'
option bursting '1'
option ff '1'
option compression '1'
option noscan '1'
option hwmode '11g'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option htmode 'HT40'
option distance '0'
option frag '500'
option rts '2436'
option channel '4'
These give me very good performance on the 2.4G band and fast performance on 5.0G.
What kind of tuning and patching are you people running? How do they perform?
I'm posting this to try and work collectively on a fine tuned configuration of our routers - patches, wifi configurations, system tune ups.