[rdk-b][common][bsp][Refactor and sync kernel/wifi from Openwrt]

[Description]
Refactor and sync kernel/wifi from Openwrt

[Release-log]
N/A

diff --git a/recipes-devtools/switch/files/src/switch_fun.c b/recipes-devtools/switch/files/src/switch_fun.c
index ce9d2bb..8ee9675 100644
--- a/recipes-devtools/switch/files/src/switch_fun.c
+++ b/recipes-devtools/switch/files/src/switch_fun.c
@@ -3702,6 +3702,14 @@
 	int i = 0;
 
 	for (i = 0; i < 7; i++) {
+		if (chip_name == 0x7988) {
+			if ((base == 0x402C) && (i == 6))
+				base = 0x408C;
+			else if ((base == 0x408C) && (i == 6))
+				base = 0x402C;
+			else
+				;
+		}
 		reg_read((base) + (i * 0x100), &pkt_cnt);
 		printf("%8u ", pkt_cnt);
 	}