commit | 85839fea83b2d5323704c6034a1e730d23cc35e8 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Thu Feb 23 10:32:51 2023 +0800 |
committer | developer <developer@mediatek.com> | Thu Feb 23 13:41:30 2023 +0800 |
tree | 4d84fdf6eede56a629611715a0d1796f15215b90 | |
parent | c67a50d368a2df0cbb419158cc2438385f0cdc4e [diff] |
[][MAC80211][wpa_supplicant][Add sae_pwe config to wpa_supplicant] [Description] Add sae_pwe config to wpa_supplicant. [Release-log] N/A Change-Id: I02d5eb1e31e4517c23ff7648d7438b6a83633be9 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7171601
diff --git a/autobuild_mac80211_release/0001-master-mac80211-generate-hostapd-setting-from-ap-cap.patch b/autobuild_mac80211_release/0001-master-mac80211-generate-hostapd-setting-from-ap-cap.patch index 9f946f3..ec6480b 100644 --- a/autobuild_mac80211_release/0001-master-mac80211-generate-hostapd-setting-from-ap-cap.patch +++ b/autobuild_mac80211_release/0001-master-mac80211-generate-hostapd-setting-from-ap-cap.patch
@@ -112,6 +112,22 @@ uci -q commit wireless done } +diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh +index 8c233a4..f2d4ad3 100644 +--- a/package/network/services/hostapd/files/hostapd.sh ++++ b/package/network/services/hostapd/files/hostapd.sh +@@ -1573,6 +1573,11 @@ wpa_supplicant_add_network() { + append network_data "mcast_rate=$mc_rate" "$N$T" + } + ++ if [ "$auth_type" = "sae" ]; then ++ json_get_vars sae_pwe sae_pwe ++ [ -n "$sae_pwe" ] && echo "sae_pwe=$sae_pwe" >> "$_config" ++ fi ++ + if [ "$key_mgmt" = "WPS" ]; then + echo "wps_cred_processing=1" >> "$_config" + else -- 2.36.1