]> git.ipfire.org Git - thirdparty/hostap.git/blame - src/ap/ieee802_11_auth.h
Move generic AP functionality implementation into src/ap
[thirdparty/hostap.git] / src / ap / ieee802_11_auth.h
CommitLineData
6fc6879b
JM
1/*
2 * hostapd / IEEE 802.11 authentication (ACL)
3 * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
11 *
12 * See README and COPYING for more details.
13 */
14
15#ifndef IEEE802_11_AUTH_H
16#define IEEE802_11_AUTH_H
17
18enum {
19 HOSTAPD_ACL_REJECT = 0,
20 HOSTAPD_ACL_ACCEPT = 1,
21 HOSTAPD_ACL_PENDING = 2,
22 HOSTAPD_ACL_ACCEPT_TIMEOUT = 3
23};
24
25int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr,
26 const u8 *msg, size_t len, u32 *session_timeout,
27 u32 *acct_interim_interval, int *vlan_id);
28int hostapd_acl_init(struct hostapd_data *hapd);
29void hostapd_acl_deinit(struct hostapd_data *hapd);
6fc6879b
JM
30
31#endif /* IEEE802_11_AUTH_H */