Update hostapd sources to current git snapshot to get rid of local
patches and pave the road towards using WPA3 features.
For SAE key management in mesh mode, use the newly introduce
sae_password parameter instead of the psk parameter to also support
SAE keys which would fail the checks applied on the psk field (ie.
length and such).
The following patches were merged upstream:
000-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch
replaced by commit 0e3bd7ac6
001-Prevent-reinstallation-of-an-already-in-use-group-ke.patch
replaced by commit cb5132bb3
002-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch
replaced by commit 87e2db16b
003-Prevent-installation-of-an-all-zero-TK.patch
replaced by commit 53bb18cc8
004-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch
replaced by commit 0adc9b28b
005-TDLS-Reject-TPK-TK-reconfiguration.patch
replaced by commit ff89af96e
006-WNM-Ignore-WNM-Sleep-Mode-Response-without-pending-r.patch
replaced by commit adae51f8b
007-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch
replaced by commit 2a9c5217b
008-WPA-Extra-defense-against-PTK-reinstalls-in-4-way-ha.patch
replaced by commit a00e946c1
009-Clear-PMK-length-and-check-for-this-when-deriving-PT.patch
replaced by commit b488a1294
010-Optional-AP-side-workaround-for-key-reinstallation-a.patch
replaced by commit 6f234c1e2
011-Additional-consistentcy-checks-for-PTK-component-len.patch
replaced by commit a6ea66530
012-Clear-BSSID-information-in-supplicant-state-machine-.patch
replaced by commit c0fe5f125
013-WNM-Ignore-WNM-Sleep-Mode-Request-in-wnm_sleep_mode-.patch
replaced by commit 114f2830d
Some patches had to be modified to work with changed upstream source:
380-disable_ctrl_iface_mib.patch
add more ifdef'ery
plus some minor knits needed for other patches to apply which are not
worth being explicitely listed here.
Signed-off-by: Daniel Golle
---
Compile tested: ar71xx/generic, ramips/mt7621
Run tested: ramips/mt7621 (MT7603E+MT7612E)
package/network/services/hostapd/Makefile | 8 +-
package/network/services/hostapd/files/hostapd.sh | 6 +-
...-Avoid-key-reinstallation-in-FT-handshake.patch | 154 -
...nstallation-of-an-already-in-use-group-ke.patch | 244 -
...ection-of-GTK-IGTK-reinstallation-of-WNM-.patch | 182 ---
...03-Prevent-installation-of-an-all-zero-TK.patch | 73 --
...Fix-PTK-rekeying-to-generate-a-new-ANonce.patch | 56 -
.../005-TDLS-Reject-TPK-TK-reconfiguration.patch | 124 ---
...WNM-Sleep-Mode-Response-without-pending-r.patch | 35 ---
...llow-multiple-Reassociation-Response-fram.patch | 68 --
...efense-against-PTK-reinstalls-in-4-way-ha.patch | 34 ---
...ength-and-check-for-this-when-deriving-PT.patch | 53 -
...-side-workaround-for-key-reinstallation-a.patch | 221 ---
...consistentcy-checks-for-PTK-component-len.patch | 100 -
...-information-in-supplicant-state-machine-.patch | 25 ---
...WNM-Sleep-Mode-Request-in-wnm_sleep_mode-.patch | 35 ---
.../hostapd/patches/110-no_eapol_fix.patch | 2 +-
.../services/hostapd/patches/200-multicall.patch | 48 ++--
.../services/hostapd/patches/300-noscan.patch | 4 +-
.../hostapd/patches/310-rescan_immediately.patch | 2 +-
.../hostapd/patches/330-nl80211_fix_set_freq.patch | 2 +-
.../patches/350-nl80211_del_beacon_bss.patch | 10 +-
.../hostapd/patches/360-ctrl_iface_reload.patch| 10 +-
.../hostapd/patches/370-ap_sta_support.patch | 18 +-
.../patches/380-disable_ctrl_iface_mib.patch | 53 +++--
.../patches/390-wpa_ie_cap_workaround.patch| 4 +-
.../patches/400-wps_single_auth_enc_type.patch | 4 +-
.../hostapd/patches/420-indicate-features.patch| 4 +-
.../hostapd/patches/430-hostapd_cli_ifdef.patch| 4 +-
.../services/hostapd/patches/450-scan_wait.patch | 12 +-
...ant-add-new-config-params-to-be-used-with.patch | 12 +-
...80211-use-new-parameters-during-ibss-join.patch | 4 +-
.../patches/463-add-mcast_rate-to-11s.patch| 6 +-
.../hostapd/patches/464-fix-mesh-obss-check.patch | 2 +-
.../hostapd/patches/600-ubus_support.patch | 52 +++--
35 files changed, 147 insertions(+), 1524 deletions(-)
delete mode 100644
package/network/services/hostapd/patches/000-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch
delete mode 100644
package/network/services/hostapd/patches/001-Prevent-reinstallation-of-an-already-in-use-group-ke.patch
delete mode 100644
package/network/services/hostapd/patches/002-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch
delete mode 100644
package/network/services/hostapd/patches/003-Prevent-installation-of-an-all-zero-TK.patch
delete mode 100644
package/network/services/hostapd/patches/004-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch
delete mode 100644