projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hostapd: fix MAC filter related log spam
[openwrt/openwrt.git]
/
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 cb2c54d57c215c9886811cdda5f553d63656ffa2..b1e7c78c2244025b47cba1d1b7e9c7a41fc27aa0 100644
(file)
--- a/
package/network/services/hostapd/patches/600-ubus_support.patch
+++ b/
package/network/services/hostapd/patches/600-ubus_support.patch
@@
-92,7
+92,7
@@
__func__, driver, drv_priv);
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
__func__, driver, drv_priv);
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
-@@ -171
2,12 +1712
,13 @@ ieee802_11_set_radius_info(struct hostap
+@@ -171
4,12 +1714
,13 @@ ieee802_11_set_radius_info(struct hostap
static void handle_auth(struct hostapd_data *hapd,
static void handle_auth(struct hostapd_data *hapd,
@@
-108,7
+108,7
@@
u16 fc;
const u8 *challenge = NULL;
u32 session_timeout, acct_interim_interval;
u16 fc;
const u8 *challenge = NULL;
u32 session_timeout, acct_interim_interval;
-@@ -17
28,6 +1729
,11 @@ static void handle_auth(struct hostapd_d
+@@ -17
30,6 +1731
,11 @@ static void handle_auth(struct hostapd_d
char *identity = NULL;
char *radius_cui = NULL;
u16 seq_ctrl;
char *identity = NULL;
char *radius_cui = NULL;
u16 seq_ctrl;
@@
-120,7
+120,7
@@
if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) {
wpa_printf(MSG_INFO, "handle_auth - too short payload (len=%lu)",
if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) {
wpa_printf(MSG_INFO, "handle_auth - too short payload (len=%lu)",
-@@ -18
88,6 +1894
,13 @@ static void handle_auth(struct hostapd_d
+@@ -18
90,6 +1896
,13 @@ static void handle_auth(struct hostapd_d
resp = WLAN_STATUS_UNSPECIFIED_FAILURE;
goto fail;
}
resp = WLAN_STATUS_UNSPECIFIED_FAILURE;
goto fail;
}
@@
-134,7
+134,7
@@
if (res == HOSTAPD_ACL_PENDING)
return;
if (res == HOSTAPD_ACL_PENDING)
return;
-@@ -316
7,12 +3180
,12 @@ void fils_hlp_timeout(void *eloop_ctx, v
+@@ -316
9,12 +3182
,12 @@ void fils_hlp_timeout(void *eloop_ctx, v
static void handle_assoc(struct hostapd_data *hapd,
const struct ieee80211_mgmt *mgmt, size_t len,
static void handle_assoc(struct hostapd_data *hapd,
const struct ieee80211_mgmt *mgmt, size_t len,
@@
-149,7
+149,7
@@
struct sta_info *sta;
u8 *tmp = NULL;
struct hostapd_sta_wpa_psk_short *psk = NULL;
struct sta_info *sta;
u8 *tmp = NULL;
struct hostapd_sta_wpa_psk_short *psk = NULL;
-@@ -318
1,6 +3194
,11 @@ static void handle_assoc(struct hostapd_
+@@ -318
3,6 +3196
,11 @@ static void handle_assoc(struct hostapd_
#ifdef CONFIG_FILS
int delay_assoc = 0;
#endif /* CONFIG_FILS */
#ifdef CONFIG_FILS
int delay_assoc = 0;
#endif /* CONFIG_FILS */
@@
-161,7
+161,7
@@
if (len < IEEE80211_HDRLEN + (reassoc ? sizeof(mgmt->u.reassoc_req) :
sizeof(mgmt->u.assoc_req))) {
if (len < IEEE80211_HDRLEN + (reassoc ? sizeof(mgmt->u.reassoc_req) :
sizeof(mgmt->u.assoc_req))) {
-@@ -335
2,6 +3370
,14 @@ static void handle_assoc(struct hostapd_
+@@ -335
4,6 +3372
,14 @@ static void handle_assoc(struct hostapd_
}
#endif /* CONFIG_MBO */
}
#endif /* CONFIG_MBO */
@@
-176,7
+176,7
@@
/*
* sta->capability is used in check_assoc_ies() for RRM enabled
* capability element.
/*
* sta->capability is used in check_assoc_ies() for RRM enabled
* capability element.
-@@ -356
5,6 +3591
,7 @@ static void handle_disassoc(struct hosta
+@@ -356
7,6 +3593
,7 @@ static void handle_disassoc(struct hosta
wpa_printf(MSG_DEBUG, "disassocation: STA=" MACSTR " reason_code=%d",
MAC2STR(mgmt->sa),
le_to_host16(mgmt->u.disassoc.reason_code));
wpa_printf(MSG_DEBUG, "disassocation: STA=" MACSTR " reason_code=%d",
MAC2STR(mgmt->sa),
le_to_host16(mgmt->u.disassoc.reason_code));
@@
-184,7
+184,7
@@
sta = ap_get_sta(hapd, mgmt->sa);
if (sta == NULL) {
sta = ap_get_sta(hapd, mgmt->sa);
if (sta == NULL) {
-@@ -363
0,6 +3657
,8 @@ static void handle_deauth(struct hostapd
+@@ -363
2,6 +3659
,8 @@ static void handle_deauth(struct hostapd
" reason_code=%d",
MAC2STR(mgmt->sa), le_to_host16(mgmt->u.deauth.reason_code));
" reason_code=%d",
MAC2STR(mgmt->sa), le_to_host16(mgmt->u.deauth.reason_code));
@@
-193,7
+193,7
@@
sta = ap_get_sta(hapd, mgmt->sa);
if (sta == NULL) {
wpa_msg(hapd->msg_ctx, MSG_DEBUG, "Station " MACSTR " trying "
sta = ap_get_sta(hapd, mgmt->sa);
if (sta == NULL) {
wpa_msg(hapd->msg_ctx, MSG_DEBUG, "Station " MACSTR " trying "
-@@ -39
49,7 +3978
,7 @@ int ieee802_11_mgmt(struct hostapd_data
+@@ -39
51,7 +3980
,7 @@ int ieee802_11_mgmt(struct hostapd_data
if (stype == WLAN_FC_STYPE_PROBE_REQ) {
if (stype == WLAN_FC_STYPE_PROBE_REQ) {
@@
-202,7
+202,7
@@
return 1;
}
return 1;
}
-@@ -39
69,17 +3998
,17 @@ int ieee802_11_mgmt(struct hostapd_data
+@@ -39
71,17 +4000
,17 @@ int ieee802_11_mgmt(struct hostapd_data
switch (stype) {
case WLAN_FC_STYPE_AUTH:
wpa_printf(MSG_DEBUG, "mgmt::auth");
switch (stype) {
case WLAN_FC_STYPE_AUTH:
wpa_printf(MSG_DEBUG, "mgmt::auth");