[Feature][ZXW-241]merge P56U01 version

Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I7985538dde6951dd824c36149bf9a1e3ca23c734
diff --git a/ap/app/Script/scripts/wan_ipv4.sh b/ap/app/Script/scripts/wan_ipv4.sh
index 687e65a..e4463a2 100755
--- a/ap/app/Script/scripts/wan_ipv4.sh
+++ b/ap/app/Script/scripts/wan_ipv4.sh
@@ -24,8 +24,11 @@
 		wan_if=$wifiwan_if ;;		
 	esac
 	
-	mtu=`nv get mtu`
-	ifconfig $wan_if mtu $mtu
+	ra_mtu_enable=`nv get ra_mtu_enable`
+	if ["$ra_mtu_enable" != "1" -o $1 != "pswan"]; then
+		mtu=`nv get mtu`
+		ifconfig $wan_if mtu $mtu
+	fi
 }
 #ÉèÖù¤×÷״̬ ÕýÔÚÁ¬½Ó£ºconnect ÒÑÁ¬½Ó£ºworking ÒѶϿª£ºdead
 state_set()
@@ -116,11 +119,13 @@
 		pswan_secdns=`nv get $wan_if"_secdns"`
 		pswan_nm=`nv get $wan_if"_nm"`
 		
+#xf.li@20240306 modify for [Bugfix][T106BUG-469]Fix the bug of probability datacall fail start
 #		#ifconfig $wan_if down 2>>$test_log
 #		ifconfig $wan_if $pswan_ip netmask 255.255.255.0 up 2>>$test_log
 #		if [ $? -ne 0 ];then
 #	        echo "Error: ifconfig $wan_if $pswan_ip up failed." >> $test_log
 #        fi
+#xf.li@20240306 modify for [Bugfix][T106BUG-469]Fix the bug of probability datacall fail end
 		
 		pswan_pri=`nv get pswan_priority`
 		rt_num=`expr $pswan_pri \* 10 + $c_id`