diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-05 15:58:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-05 15:58:01 +0000 |
commit | 5758b210e3ae37fe949a528281746cdab33b3138 (patch) | |
tree | 56a61d3a8976bc10a8af73ae3d8e8e26485744ab /package/network/services/hostapd/patches/500-wpa_supplicant-add-new-config-params-to-be-used-with.patch | |
parent | 22fcfab3533ca3f974c768efffd3524a9698b49f (diff) | |
download | mtk-20170518-5758b210e3ae37fe949a528281746cdab33b3138.zip mtk-20170518-5758b210e3ae37fe949a528281746cdab33b3138.tar.gz mtk-20170518-5758b210e3ae37fe949a528281746cdab33b3138.tar.bz2 |
hostapd: update to 2014-06-03
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41022
Diffstat (limited to 'package/network/services/hostapd/patches/500-wpa_supplicant-add-new-config-params-to-be-used-with.patch')
-rw-r--r-- | package/network/services/hostapd/patches/500-wpa_supplicant-add-new-config-params-to-be-used-with.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/package/network/services/hostapd/patches/500-wpa_supplicant-add-new-config-params-to-be-used-with.patch b/package/network/services/hostapd/patches/500-wpa_supplicant-add-new-config-params-to-be-used-with.patch index 5656970..74793ef 100644 --- a/package/network/services/hostapd/patches/500-wpa_supplicant-add-new-config-params-to-be-used-with.patch +++ b/package/network/services/hostapd/patches/500-wpa_supplicant-add-new-config-params-to-be-used-with.patch @@ -149,9 +149,9 @@ Signed-hostap: Antonio Quartulli <ordex@autistici.org> + { INT_RANGE(fixed_freq, 0, 1) }, + { FUNC(rates) }, + { FUNC(mcast_rate) }, - }; - - #undef OFFSET + #ifdef CONFIG_MACSEC + { INT_RANGE(macsec_policy, 0, 1) }, + #endif /* CONFIG_MACSEC */ --- a/wpa_supplicant/config_ssid.h +++ b/wpa_supplicant/config_ssid.h @@ -12,6 +12,7 @@ @@ -162,20 +162,20 @@ Signed-hostap: Antonio Quartulli <ordex@autistici.org> #define MAX_SSID_LEN 32 -@@ -636,6 +637,10 @@ struct wpa_ssid { - * dereferences since it may not be updated in all cases. +@@ -637,6 +638,10 @@ struct wpa_ssid { */ void *parent_cred; -+ + + int fixed_freq; + unsigned char rates[NL80211_MAX_SUPP_RATES]; + double mcast_rate; - }; - - #endif /* CONFIG_SSID_H */ ++ + #ifdef CONFIG_MACSEC + /** + * macsec_policy - Determines the policy for MACsec secure session --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c -@@ -1791,6 +1791,13 @@ static void wpas_start_assoc_cb(struct w +@@ -1805,6 +1805,13 @@ static void wpas_start_assoc_cb(struct w params.beacon_int = ssid->beacon_int; else params.beacon_int = wpa_s->conf->beacon_int; |