developer | 35a52d1 | 2024-10-26 04:59:28 +0800 | [diff] [blame^] | 1 | #!/bin/sh |
| 2 | |
| 3 | # Copyright (C) 2024 MediaTek Inc. All rights reserved. |
| 4 | # Author: Evelyn Tsai <evelyn.tsai@mediatek.com> |
| 5 | # Top rules |
| 6 | |
| 7 | list_add_after $(hooks autobuild_prepare) prepare_wifi_driver change_hostapd_conf |
| 8 | |
| 9 | change_hostapd_conf() { |
| 10 | # hack hostapd config |
| 11 | echo "CONFIG_MBO=y" >> ./package/network/services/hostapd/files/hostapd-full.config |
| 12 | echo "CONFIG_SAE_PK=y" >> ./package/network/services/hostapd/files/hostapd-full.config |
| 13 | echo "CONFIG_TESTING_OPTIONS=y" >> ./package/network/services/hostapd/files/hostapd-full.config |
| 14 | echo "CONFIG_HS20=y" >> ./package/network/services/hostapd/files/hostapd-full.config |
| 15 | echo "CONFIG_P2P_MANAGER=y" >> ./package/network/services/hostapd/files/hostapd-full.config |
| 16 | echo "CONFIG_WPS_UPNP=y" >> ./package/network/services/hostapd/files/hostapd-full.config |
| 17 | echo "CONFIG_DPP=y" >> ./package/network/services/hostapd/files/hostapd-full.config |
| 18 | echo "CONFIG_DPP2=y" >> ./package/network/services/hostapd/files/hostapd-full.config |
| 19 | echo "CONFIG_DPP3=y" >> ./package/network/services/hostapd/files/hostapd-full.config |
| 20 | echo "CONFIG_DPP=y" >> ./package/network/services/hostapd/files/wpa_supplicant-full.config |
| 21 | echo "CONFIG_DPP2=y" >> ./package/network/services/hostapd/files/wpa_supplicant-full.config |
| 22 | echo "CONFIG_DPP3=y" >> ./package/network/services/hostapd/files/wpa_supplicant-full.config |
| 23 | # add configuration for STA wireless mode setting |
| 24 | echo "CONFIG_HE_OVERRIDES=y" >> ./package/network/services/hostapd/files/wpa_supplicant-full.config |
| 25 | echo "CONFIG_EHT_OVERRIDES=y" >> ./package/network/services/hostapd/files/wpa_supplicant-full.config |
| 26 | |
| 27 | } |