[Remove patches in WiFi HAL]
[Description]
Remove the patches which are upstreamed to the open source repository.
[Release-log]
N/A
diff --git a/recipes-ccsp/hal/hal-wifi-patches/0022-HAL-add-wifi_getApAssociatedDevice.patch b/recipes-ccsp/hal/hal-wifi-patches/0022-HAL-add-wifi_getApAssociatedDevice.patch
deleted file mode 100644
index 7121f9a..0000000
--- a/recipes-ccsp/hal/hal-wifi-patches/0022-HAL-add-wifi_getApAssociatedDevice.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 59559e1a49a9d7df861f31a15831a639b9cc38d4 Mon Sep 17 00:00:00 2001
-From: Allen Ye <allen.ye@mediatek.com>
-Date: Fri, 6 May 2022 18:10:44 +0800
-Subject: [PATCH] HAL: add wifi_getApAssociatedDevice()
-
----
- source/wifi/wifi_hal.c | 15 ++++++++++++++-
- 1 file changed, 14 insertions(+), 1 deletion(-)
-
-diff --git a/source/wifi/wifi_hal.c b/source/wifi/wifi_hal.c
-index 0060769..7fa978a 100644
---- a/source/wifi/wifi_hal.c
-+++ b/source/wifi/wifi_hal.c
-@@ -9645,7 +9645,20 @@ INT wifi_getApAssociatedDevice(INT ap_index, mac_address_t *output_deviceMacAddr
- #else
- INT wifi_getApAssociatedDevice(INT ap_index, CHAR *output_buf, INT output_buf_size)
- {
-- return RETURN_OK;
-+ char cmd[128];
-+ BOOL status = false;
-+
-+ if(ap_index > MAX_APS)
-+ return RETURN_ERR;
-+
-+ wifi_getApEnable(ap_index,&status);
-+ if (!status)
-+ return RETURN_OK;
-+
-+ sprintf(cmd, "hostapd_cli -i %s%d list_sta | tr -d \"\\n\"", AP_PREFIX, ap_index);
-+ _syscmd(cmd, output_buf, output_buf_size);
-+
-+ return RETURN_OK;
- }
- #endif
-
---
-2.18.0
-
diff --git a/recipes-ccsp/hal/hal-wifi-patches/0025-HAL-refactor-wifi_setRadioOperatingChannelBandwidth.patch b/recipes-ccsp/hal/hal-wifi-patches/0025-HAL-refactor-wifi_setRadioOperatingChannelBandwidth.patch
deleted file mode 100644
index 25f2df0..0000000
--- a/recipes-ccsp/hal/hal-wifi-patches/0025-HAL-refactor-wifi_setRadioOperatingChannelBandwidth.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 9e205da9b7599135071b5690c5c96f380f7aec38 Mon Sep 17 00:00:00 2001
-From: Allen Ye <allen.ye@mediatek.com>
-Date: Thu, 28 Apr 2022 17:39:33 +0800
-Subject: [PATCH] HAL: refactor wifi_setRadioOperatingChannelBandwidth()
-
----
- source/wifi/wifi_hal.c | 14 ++++++++------
- 1 file changed, 8 insertions(+), 6 deletions(-)
-
-diff --git a/source/wifi/wifi_hal.c b/source/wifi/wifi_hal.c
-index 48e6021..84e2c22 100644
---- a/source/wifi/wifi_hal.c
-+++ b/source/wifi/wifi_hal.c
-@@ -2060,15 +2060,17 @@ INT wifi_setRadioOperatingChannelBandwidth(INT radioIndex, CHAR *output_string)
- pptr->value="1";
- else if(strcmp(output_string,"80MHz") == 0)
- pptr->value="1";
-+ else
-+ pptr->value="0";
-
- pptr++; // added ieee80211n
-
-- if(strcmp(output_string,"80MHz") == 0)
-- {
-- pptr->name="ieee80211ac";
-- pptr->value="1";
-- pptr++; // added ieee80211ac
-- }
-+ pptr->name="ieee80211ac";
-+ if(strcmp(output_string,"80MHz") == 0)
-+ pptr->value="1";
-+ else
-+ pptr->value="0";
-+ pptr++;
- }
-
- for(int i=0; i<=MAX_APS/NUMBER_OF_RADIOS; i++)
---
-2.18.0
-