[rdkb][common][bsp][Refactor and sync kernel from openwrt]
[Description]
c244aa7e [kernel][mt7988][eth][Change LRO DMA size for reducing memory usage]
09f4883d [MAC80211][hnat][Fix patch fail issue for the mt7622]
f9ed7707 [MAC80211][hnat][Update per-flow accounting function for the mt7988]
cf5c9c95 [kernel][mt7988][eth][Fix HW path traffic stuck issue on the 4GB/8GB RFB]
e9e3fef3 [MAC80211][hnat][Fix PPE hanging issue during the reboot test]
0e022a6c [kernel][common][i2c][update kernel config to prevent build stop]
6e1f1f58 [kernel][mt7988][i2c][synchronize i2c1 nodes in the DTs]
38d9ec10 [kernel][common][i2c][add zts8032 sensor support]
f42e0a1b [openwrt][common][watchgog][fix watchdog interrupt ID]
d2247030 [kernel][mt7988][eth][Make the LRO and RSS coexistence]
e7de2468 [[kernel][mt7988][hnat][Fix the bind PPE when WAN/LAN2 -> LAN in 3 PPEs conditions]
e90611df [openwrt][common][crypto][Upgrade Strongswan to v5.9.11]
[Release-log]
Change-Id: I3d47c47154e7718ed96003d3e669a31eedcdbd70
diff --git a/recipes-devtools/smp/files/smp-mt76.sh b/recipes-devtools/smp/files/smp-mt76.sh
index f383cf6..5b8710a 100644
--- a/recipes-devtools/smp/files/smp-mt76.sh
+++ b/recipes-devtools/smp/files/smp-mt76.sh
@@ -268,10 +268,34 @@
wifi1_irq=
wifi2_irq=
wifi3_irq=
+
#AX3000
- if [[ "$WIFI_RADIO1" -eq "1" ]]; then
- wifi1_irq=245
+ if [[ "$WED_ENABLE" -eq "1" ]]; then
+ dbg2 "WED_ENABLE ON irq/iptable setting"
+ #TCP Binding
+ iptables -D FORWARD -p tcp -m conntrack --ctstate \
+ RELATED,ESTABLISHED -j FLOWOFFLOAD --hw
+ iptables -I FORWARD -p tcp -m conntrack --ctstate \
+ RELATED,ESTABLISHED -j FLOWOFFLOAD --hw
+ ip6tables -D FORWARD -p tcp -m conntrack --ctstate \
+ RELATED,ESTABLISHED -j FLOWOFFLOAD --hw
+ ip6tables -I FORWARD -p tcp -m conntrack --ctstate \
+ RELATED,ESTABLISHED -j FLOWOFFLOAD --hw
+ #UDP Binding
+ iptables -D FORWARD -p udp -j FLOWOFFLOAD --hw
+ iptables -I FORWARD -p udp -j FLOWOFFLOAD --hw
+ ip6tables -D FORWARD -p udp -j FLOWOFFLOAD --hw
+ ip6tables -I FORWARD -p udp -j FLOWOFFLOAD --hw
+
+ if [[ "$WIFI_RADIO1" -eq "1" ]]; then
+ wifi1_irq=237
+ fi
+ else
+ if [[ "$WIFI_RADIO1" -eq "1" ]]; then
+ wifi1_irq=245
+ fi
fi
+
# Please update the CPU binding in each cases.
# CPU#_AFFINITY="add binding irq number here"
# CPU#_RPS="add binding interface name here"