aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-04-11 17:08:00 (GMT)
committerJouni Malinen <j@w1.fi>2010-04-11 17:08:00 (GMT)
commitf90ceeaabf8a00a84152195f6c1cacbfcaa2ca57 (patch)
treef994baa2a2b78d74b8f50fb864e165cd935a90e0 /wpa_supplicant/ap.h
parent48b357a989dcf7123f84461e164e66e37132f7bc (diff)
downloadhostap-f90ceeaabf8a00a84152195f6c1cacbfcaa2ca57.zip
hostap-f90ceeaabf8a00a84152195f6c1cacbfcaa2ca57.tar.gz
hostap-f90ceeaabf8a00a84152195f6c1cacbfcaa2ca57.tar.bz2
wpa_supplicant AP mode: Add function for enabling MAC address filtering
This can be used to allow only a specific station to associate.
Diffstat (limited to 'wpa_supplicant/ap.h')
-rw-r--r--wpa_supplicant/ap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index f398db7..381a432 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -37,5 +37,7 @@ void ap_tx_status(void *ctx, const u8 *addr,
void ap_rx_from_unknown_sta(void *ctx, const u8 *frame, size_t len);
void ap_mgmt_rx(void *ctx, struct rx_mgmt *rx_mgmt);
void ap_mgmt_tx_cb(void *ctx, const u8 *buf, size_t len, u16 stype, int ok);
+int wpa_supplicant_ap_mac_addr_filter(struct wpa_supplicant *wpa_s,
+ const u8 *addr);
#endif /* AP_H */