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

[Description]
Refactor and sync wifi from Openwrt

[Release-log]
N/A

diff --git a/recipes-wifi/linux-mac80211/files/patches/subsys/324-v5.18-mac80211-MBSSID-beacon-handling-in-AP-mode.patch b/recipes-wifi/linux-mac80211/files/patches/subsys/324-v5.18-mac80211-MBSSID-beacon-handling-in-AP-mode.patch
index e2b0571..a8fc02f 100644
--- a/recipes-wifi/linux-mac80211/files/patches/subsys/324-v5.18-mac80211-MBSSID-beacon-handling-in-AP-mode.patch
+++ b/recipes-wifi/linux-mac80211/files/patches/subsys/324-v5.18-mac80211-MBSSID-beacon-handling-in-AP-mode.patch
@@ -195,7 +195,7 @@
  			return err;
  		}
  		*changed |= err;
-@@ -3463,8 +3528,11 @@ static int ieee80211_set_csa_beacon(stru
+@@ -3460,8 +3525,11 @@ static int ieee80211_set_csa_beacon(stru
  static void ieee80211_color_change_abort(struct ieee80211_sub_if_data  *sdata)
  {
  	sdata->vif.color_change_active = false;
@@ -209,7 +209,7 @@
  
  	cfg80211_color_change_aborted_notify(sdata->dev);
  }
-@@ -4202,8 +4270,11 @@ ieee80211_set_after_color_change_beacon(
+@@ -4199,8 +4267,11 @@ ieee80211_set_after_color_change_beacon(
  
  		ret = ieee80211_assign_beacon(sdata, sdata->u.ap.next_beacon,
  					      NULL, NULL);
@@ -223,7 +223,7 @@
  
  		if (ret < 0)
  			return ret;
-@@ -4246,7 +4317,11 @@ ieee80211_set_color_change_beacon(struct
+@@ -4243,7 +4314,11 @@ ieee80211_set_color_change_beacon(struct
  		err = ieee80211_assign_beacon(sdata, &params->beacon_color_change,
  					      NULL, &color_change);
  		if (err < 0) {