From abefb4fda30936abff58736ed81572a127695e65 Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Thu, 17 May 2018 12:35:23 +0200 Subject: hostapd: add ht and vht support in handle event function Add ht and vht capabilities. If a device sends a probe request, the capabilities are added. Signed-off-by: Nick Hainke --- package/network/services/hostapd/patches/600-ubus_support.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'package/network/services/hostapd/patches/600-ubus_support.patch') diff --git a/package/network/services/hostapd/patches/600-ubus_support.patch b/package/network/services/hostapd/patches/600-ubus_support.patch index a4c4a67fc3..cb2c54d57c 100644 --- a/package/network/services/hostapd/patches/600-ubus_support.patch +++ b/package/network/services/hostapd/patches/600-ubus_support.patch @@ -242,7 +242,7 @@ int ret; u16 csa_offs[2]; size_t csa_offs_len; -@@ -737,6 +738,11 @@ void handle_probe_req(struct hostapd_dat +@@ -737,6 +738,12 @@ void handle_probe_req(struct hostapd_dat struct hostapd_sta_wpa_psk_short *psk = NULL; char *identity = NULL; char *radius_cui = NULL; @@ -250,11 +250,12 @@ + .type = HOSTAPD_UBUS_PROBE_REQ, + .mgmt_frame = mgmt, + .frame_info = fi, ++ .elems = &elems, + }; if (len < IEEE80211_HDRLEN) return; -@@ -914,6 +920,12 @@ void handle_probe_req(struct hostapd_dat +@@ -914,6 +921,12 @@ void handle_probe_req(struct hostapd_dat } #endif /* CONFIG_P2P */ -- cgit v1.2.3