aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ieee802_11_auth.h
diff options
context:
space:
mode:
authorAnton Nayshtut <qca_antonn@qca.qualcomm.com>2015-10-22 16:48:04 (GMT)
committerJouni Malinen <j@w1.fi>2015-11-17 10:38:32 (GMT)
commit0603bcb7fe8babf183362518238c142afe8e2036 (patch)
tree76c680887a003b5b96e481361d2985cb22c4a296 /src/ap/ieee802_11_auth.h
parent89a11ad38f9faace28213653eaecbad98460c9e1 (diff)
downloadhostap-0603bcb7fe8babf183362518238c142afe8e2036.zip
hostap-0603bcb7fe8babf183362518238c142afe8e2036.tar.gz
hostap-0603bcb7fe8babf183362518238c142afe8e2036.tar.bz2
hostapd: Process MAC ACLs on a station association event (SME in driver)
Now hostapd will use station MAC-based permissions according to the macaddr_acl policy also for drivers which use AP SME offload, but do not support NL80211_CMD_SET_MAC_ACL for offloading MAC ACL processing. It should be noted that in this type of case the association goes through and the station gets disconnected immediately after that. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/ieee802_11_auth.h')
-rw-r--r--src/ap/ieee802_11_auth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/ieee802_11_auth.h b/src/ap/ieee802_11_auth.h
index b66f244..da81c14 100644
--- a/src/ap/ieee802_11_auth.h
+++ b/src/ap/ieee802_11_auth.h
@@ -16,6 +16,7 @@ enum {
HOSTAPD_ACL_ACCEPT_TIMEOUT = 3
};
+int hostapd_check_acl(struct hostapd_data *hapd, const u8 *addr, int *vlan_id);
int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr,
const u8 *msg, size_t len, u32 *session_timeout,
u32 *acct_interim_interval, int *vlan_id,