blob: bf00326a8f135d84351632fde526cec86e75247c [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001From cc12618b6c8ba2fb49209f87feadf33f45d766c7 Mon Sep 17 00:00:00 2001
2From: "howard.hsu" <howard-yh.hsu@mediatek.com>
3Date: Wed, 16 Mar 2022 15:31:36 +0800
4Subject: [PATCH 14/18] [PATCH] HAL: Specify MTK driver
5
6Change-Id: Icdafb2cca3bbf5cbe5378f656590fc4261aebec0
7---
8 source/wifi/wifi_hal.c | 5 +++++
9 1 file changed, 5 insertions(+)
10
11diff --git a/source/wifi/wifi_hal.c b/source/wifi/wifi_hal.c
12index 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--
302.29.2
31