blob: 4f70998c0067dd3060906d39d582a9ed93b2d89a [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001From d8375d65c9a32bef94c44f8ec4fc689aaebc70d5 Mon Sep 17 00:00:00 2001
2From: "howard.hsu" <howard-yh.hsu@mediatek.com>
3Date: Fri, 8 Apr 2022 14:37:43 +0800
4Subject: [PATCH] HAL: add wifi_getRadioStatsEnable()
5
6---
7 source/wifi/wifi_hal.c | 8 ++++++++
8 1 file changed, 8 insertions(+)
9
10diff --git a/source/wifi/wifi_hal.c b/source/wifi/wifi_hal.c
11index 2e60367..a70ff15 100644
12--- a/source/wifi/wifi_hal.c
13+++ b/source/wifi/wifi_hal.c
14@@ -9652,3 +9652,11 @@ INT wifi_getProxyArp(INT apIndex, BOOL *enable)
15 wifi_dbg_printf("\n[%s]: proxy_arp is : %s", __func__, output);
16 return RETURN_OK;
17 }
18+
19+INT wifi_getRadioStatsEnable(INT radioIndex, BOOL *output_enable)
20+{
21+ if (NULL == output_enable || !(radioIndex==0 || radioIndex==1))
22+ return RETURN_ERR;
23+ *output_enable=TRUE;
24+ return RETURN_OK;
25+}
26--
272.18.0
28