| From cc12618b6c8ba2fb49209f87feadf33f45d766c7 Mon Sep 17 00:00:00 2001 |
| From: "howard.hsu" <howard-yh.hsu@mediatek.com> |
| Date: Wed, 16 Mar 2022 15:31:36 +0800 |
| Subject: [PATCH 14/18] [PATCH] HAL: Specify MTK driver |
| |
| Change-Id: Icdafb2cca3bbf5cbe5378f656590fc4261aebec0 |
| --- |
| source/wifi/wifi_hal.c | 5 +++++ |
| 1 file changed, 5 insertions(+) |
| |
| diff --git a/source/wifi/wifi_hal.c b/source/wifi/wifi_hal.c |
| index f10e16ab..533226b5 100644 |
| --- a/source/wifi/wifi_hal.c |
| +++ b/source/wifi/wifi_hal.c |
| @@ -65,8 +65,13 @@ Licensed under the ISC license |
| //#define ACL_PREFIX "/tmp/wifi_acl_list" //RDKB convention |
| #define SOCK_PREFIX "/var/run/hostapd/wifi" |
| #define VAP_STATUS_FILE "/tmp/vap-status" |
| +#ifdef MTK_IMPL |
| +#define DRIVER_2GHZ "mt7915e" |
| +#define DRIVER_5GHZ "mt7915e" |
| +#else |
| #define DRIVER_2GHZ "ath9k" |
| #define DRIVER_5GHZ "ath10k_pci" |
| +#endif |
| |
| /* |
| MAX_APS - Number of all AP available in system |
| -- |
| 2.29.2 |
| |