commit 46c7b5d6f2a51c355b29118814fbfbdb79c35656 upstream
commit b6653b3629e5b88202be3c9abc44713973f5c4b4 upstream
Memory limits might have been exceeded because tcp_sendmsg() only
checks limits at full skb (64KB) boundaries.
Therefore, we need to make sure tcp_fragment() wont punish applications
that might have setup very low SO_SNDBUF values.
Fixes: f070ef2ac667 ("tcp: tcp_fragment() should apply sane memory limits")
- Ported from RMerlin, thanks.
fe66c7b88f
Make sure that GPIO Pin 13 is always on --> it is connected to the WiFi IC (Power supply?);
otherwise signal will be very weak!
So far this is no change, the Asus driver for Tomato RT-N18U turns GPIO 13 on (HIGH) at startup.
But to make sure, add it. (align also to dd wrt)
Additional Reference:
https://svn.dd-wrt.com/changeset/30263/src/router/services/sysinit/sysinit-northstar.c
gpio13 is somehow connected to the wireless chipset. so we need to keep it enabled, otherwise signal will be weak on the Asus RT-N18U
tested with RT-N18U, working (like before)
New - start MAC addresses at/with et0 value (align to Netgear/Cisco "way")
et0 MAC +0 will be for LAN
et0 MAC +1 will be for WAN
et0 MAC +2 will be for Wifi 0 (leave room for VIFs)
et0 MAC +6 will be for Wifi 1
Tested with RT-N18U/R7000, working/showing correct now (Every interface does have its own MAC address now)
New - start MAC addresses at/with et0 value (align to Netgear/Cisco "way")
et0 MAC +0 will be for LAN
et0 MAC +1 will be for WAN
et0 MAC +2 will be for Wifi 0 (leave room for VIFs)
et0 MAC +6 will be for Wifi 1
Tested with RT-N18U/R7000, working/showing correct now (Every interface does have its own MAC address now)
New - start MAC addresses at/with et0 value (align to Netgear/Cisco "way")
et0 MAC +0 will be for LAN
et0 MAC +1 will be for WAN
et0 MAC +2 will be for Wifi 0 (leave room for VIFs)
et0 MAC +6 will be for Wifi 1
Tested with RT-N18U/R7000, working/showing correct now (Every interface does have its own MAC address now)
Asus does set et0 MAC and WiFi module 0 MAC to the same address at the cfe
Example for AC56U (same for N18U, AC68U, ...):
et0macaddr=F0:79:59:BB:AA:E8
0:macaddr =F0:79:59:BB:AA:E8
1:macaddr =F0:79:59:BB:AA:EC
LAN and WiFi will have the same MAC address due to this.
Change that, so that every interface does have its own MAC address
New - start MAC addresses at/with et0 value (align to Netgear/Cisco "way")
et0 MAC +0 will be for LAN
et0 MAC +1 will be for WAN
et0 MAC +2 will be for Wifi 0 (leave room for VIFs)
et0 MAC +6 will be for Wifi 1
Tested with RT-N18U/R7000, working/showing correct now (Every interface does have its own MAC address now)
New - start MAC addresses at/with et0 value (align to Netgear/Cisco "way")
et0 MAC +0 will be for LAN
et0 MAC +1 will be for WAN
et0 MAC +2 will be for Wifi 0 (leave room for VIFs)
et0 MAC +6 will be for Wifi 1
Tested with RT-N18U/R7000, working/showing correct now (Every interface does have its own MAC address now)
New - start MAC addresses at/with et0 value (align to Netgear/Cisco "way")
et0 MAC +0 will be for LAN
et0 MAC +1 will be for WAN
et0 MAC +2 will be for Wifi 0 (leave room for VIFs)
et0 MAC +6 will be for Wifi 1
Tested with RT-N18U/R7000, working/showing correct now (Every interface does have its own MAC address now)
New - start MAC addresses at/with et0 value (align to Netgear/Cisco "way")
et0 MAC +0 will be for LAN
et0 MAC +1 will be for WAN
et0 MAC +2 will be for Wifi 0 (leave room for VIFs)
et0 MAC +6 will be for Wifi 1
Tested with RT-N18U/R7000, working/showing correct now (Every interface does have its own MAC address now)
Asus does set et0 MAC and WiFi module 0 MAC to the same address at the cfe
Example for AC56U (same for N18U, AC68U, ...):
et0macaddr=F0:79:59:BB:AA:E8
0:macaddr =F0:79:59:BB:AA:E8
1:macaddr =F0:79:59:BB:AA:EC
LAN and WiFi will have the same MAC address due to this.
Change that, so that every interface does have its own MAC address
New - start MAC addresses at/with et0 value (align to Netgear/Cisco "way")
et0 MAC +0 will be for LAN
et0 MAC +1 will be for WAN
et0 MAC +2 will be for Wifi 0 (leave room for VIFs)
et0 MAC +6 will be for Wifi 1
Tested with RT-N18U/R7000, working/showing correct now (Every interface does have its own MAC address now)