developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 1 | From d8375d65c9a32bef94c44f8ec4fc689aaebc70d5 Mon Sep 17 00:00:00 2001 |
| 2 | From: "howard.hsu" <howard-yh.hsu@mediatek.com> |
| 3 | Date: Fri, 8 Apr 2022 14:37:43 +0800 |
| 4 | Subject: [PATCH] HAL: add wifi_getRadioStatsEnable() |
| 5 | |
| 6 | --- |
| 7 | source/wifi/wifi_hal.c | 8 ++++++++ |
| 8 | 1 file changed, 8 insertions(+) |
| 9 | |
| 10 | diff --git a/source/wifi/wifi_hal.c b/source/wifi/wifi_hal.c |
| 11 | index 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 | -- |
| 27 | 2.18.0 |
| 28 | |