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