Fresh pull from upstream
[librecmc/librecmc.git] / package / network / services / hostapd / patches / 462-wpa_s-support-htmode-param.patch
index 993b6de0b5ae317f1a16b021b63608f6e9eb4ba6..c4b48a938ea5281f7d84df89a0eceb1e00b82d19 100644 (file)
@@ -16,7 +16,7 @@ Signed-off-by: Antonio Quartulli <ordex@autistici.org>
 
 --- a/src/drivers/driver.h
 +++ b/src/drivers/driver.h
-@@ -590,6 +590,8 @@ struct wpa_driver_associate_params {
+@@ -608,6 +608,8 @@ struct wpa_driver_associate_params {
  
        unsigned char rates[WLAN_SUPP_RATES_MAX];
        int mcast_rate;
@@ -27,7 +27,7 @@ Signed-off-by: Antonio Quartulli <ordex@autistici.org>
         * bssid_hint - BSSID of a proposed AP
 --- a/src/drivers/driver_nl80211.c
 +++ b/src/drivers/driver_nl80211.c
-@@ -4780,6 +4780,22 @@ retry:
+@@ -5020,6 +5020,22 @@ retry:
                nla_put_u32(msg, NL80211_ATTR_MCAST_RATE, params->mcast_rate);
        }
  
@@ -52,7 +52,7 @@ Signed-off-by: Antonio Quartulli <ordex@autistici.org>
                goto fail;
 --- a/wpa_supplicant/config.c
 +++ b/wpa_supplicant/config.c
-@@ -1848,6 +1848,71 @@ static char * wpa_config_write_mcast_rat
+@@ -1923,6 +1923,71 @@ static char * wpa_config_write_mcast_rat
  }
  #endif /* NO_CONFIG_WRITE */
  
@@ -124,14 +124,14 @@ Signed-off-by: Antonio Quartulli <ordex@autistici.org>
  static int wpa_config_parse_rates(const struct parse_data *data,
                                  struct wpa_ssid *ssid, int line,
                                  const char *value)
-@@ -2143,6 +2208,7 @@ static const struct parse_data ssid_fiel
+@@ -2218,6 +2283,7 @@ static const struct parse_data ssid_fiel
        { INT_RANGE(fixed_freq, 0, 1) },
        { FUNC(rates) },
        { FUNC(mcast_rate) },
 +      { FUNC(htmode) },
  #ifdef CONFIG_MACSEC
        { INT_RANGE(macsec_policy, 0, 1) },
- #endif /* CONFIG_MACSEC */
+       { INT_RANGE(macsec_integ_only, 0, 1) },
 --- a/wpa_supplicant/config_ssid.h
 +++ b/wpa_supplicant/config_ssid.h
 @@ -723,6 +723,8 @@ struct wpa_ssid {
@@ -145,7 +145,7 @@ Signed-off-by: Antonio Quartulli <ordex@autistici.org>
        /**
 --- a/wpa_supplicant/wpa_supplicant.c
 +++ b/wpa_supplicant/wpa_supplicant.c
-@@ -2534,6 +2534,8 @@ static void wpas_start_assoc_cb(struct w
+@@ -2568,6 +2568,8 @@ static void wpas_start_assoc_cb(struct w
                        i++;
                }
                params.mcast_rate = ssid->mcast_rate;