diff options
author | Raphaël Mélotte <raphael.melotte@mind.be> | 2021-02-09 07:54:10 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-02-13 13:44:22 +0000 |
commit | 68073e2d46d618d4452b653c06d14a9d361623d3 (patch) | |
tree | b718d3ca97d06ee2df587564e237bac3ee9a9972 /package/network/services/hostapd/patches/120-reconfigure-wps-credentials.patch | |
parent | 048131ba3a80135fd8d7772d1a0cf0c6bb19d523 (diff) | |
download | upstream-68073e2d46d618d4452b653c06d14a9d361623d3.tar.gz upstream-68073e2d46d618d4452b653c06d14a9d361623d3.tar.bz2 upstream-68073e2d46d618d4452b653c06d14a9d361623d3.zip |
hostapd: add patch for setting 4addr mode in multi_ap
This patch is required to be able to roam from one backhaul AP to
another one in the same ESS.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(daniel@makrotopia.org: PKG_REVISION bump and refreshed patches)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
Diffstat (limited to 'package/network/services/hostapd/patches/120-reconfigure-wps-credentials.patch')
-rw-r--r-- | package/network/services/hostapd/patches/120-reconfigure-wps-credentials.patch | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/package/network/services/hostapd/patches/120-reconfigure-wps-credentials.patch b/package/network/services/hostapd/patches/120-reconfigure-wps-credentials.patch index d9489aab36..1826b6685b 100644 --- a/package/network/services/hostapd/patches/120-reconfigure-wps-credentials.patch +++ b/package/network/services/hostapd/patches/120-reconfigure-wps-credentials.patch @@ -19,11 +19,9 @@ Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be> src/wps/wps_registrar.c | 29 ++++++++++++++ 3 files changed, 118 insertions(+), 3 deletions(-) -diff --git a/src/ap/wps_hostapd.c b/src/ap/wps_hostapd.c -index dc8aa8f65..ff942a67b 100644 --- a/src/ap/wps_hostapd.c +++ b/src/ap/wps_hostapd.c -@@ -1375,6 +1375,43 @@ static void hostapd_wps_nfc_clear(struct wps_context *wps) +@@ -1375,6 +1375,43 @@ static void hostapd_wps_nfc_clear(struct #endif /* CONFIG_WPS_NFC */ } @@ -67,7 +65,7 @@ index dc8aa8f65..ff942a67b 100644 void hostapd_deinit_wps(struct hostapd_data *hapd) { -@@ -1409,11 +1446,54 @@ void hostapd_update_wps(struct hostapd_data *hapd) +@@ -1409,11 +1446,54 @@ void hostapd_update_wps(struct hostapd_d hapd->wps->upc = hapd->conf->upc; #endif /* CONFIG_WPS_UPNP */ @@ -125,11 +123,9 @@ index dc8aa8f65..ff942a67b 100644 else hostapd_deinit_wps(hapd); } -diff --git a/src/wps/wps.h b/src/wps/wps.h -index 93888b011..110e3ea52 100644 --- a/src/wps/wps.h +++ b/src/wps/wps.h -@@ -938,6 +938,12 @@ struct wpabuf * wps_build_nfc_handover_sel_p2p(struct wps_context *ctx, +@@ -938,6 +938,12 @@ struct wpabuf * wps_build_nfc_handover_s struct wpabuf *nfc_dh_pubkey, struct wpabuf *nfc_dev_pw); @@ -142,11 +138,9 @@ index 93888b011..110e3ea52 100644 /* ndef.c */ struct wpabuf * ndef_parse_wifi(const struct wpabuf *buf); struct wpabuf * ndef_build_wifi(const struct wpabuf *buf); -diff --git a/src/wps/wps_registrar.c b/src/wps/wps_registrar.c -index 9e1ee36da..d6b27be28 100644 --- a/src/wps/wps_registrar.c +++ b/src/wps/wps_registrar.c -@@ -3669,6 +3669,35 @@ int wps_registrar_config_ap(struct wps_registrar *reg, +@@ -3669,6 +3669,35 @@ int wps_registrar_config_ap(struct wps_r } @@ -182,6 +176,3 @@ index 9e1ee36da..d6b27be28 100644 #ifdef CONFIG_WPS_NFC int wps_registrar_add_nfc_pw_token(struct wps_registrar *reg, --- -2.29.2 - |