/src/hostap/src/ap/p2p_hostapd.h
Line | Count | Source |
1 | | /* |
2 | | * hostapd / P2P integration |
3 | | * Copyright (c) 2009-2010, Atheros Communications |
4 | | * |
5 | | * This software may be distributed under the terms of the BSD license. |
6 | | * See README for more details. |
7 | | */ |
8 | | |
9 | | #ifndef P2P_HOSTAPD_H |
10 | | #define P2P_HOSTAPD_H |
11 | | |
12 | | #ifdef CONFIG_P2P |
13 | | |
14 | | int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, |
15 | | char *buf, size_t buflen); |
16 | | int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start, |
17 | | int duration); |
18 | | void hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd); |
19 | | void hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd); |
20 | | |
21 | | |
22 | | #else /* CONFIG_P2P */ |
23 | | |
24 | | static inline int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, |
25 | | struct sta_info *sta, |
26 | | char *buf, size_t buflen) |
27 | 0 | { |
28 | 0 | return 0; |
29 | 0 | } Unexecuted instantiation: beacon.c:hostapd_p2p_get_mib_sta Unexecuted instantiation: hostapd.c:hostapd_p2p_get_mib_sta Unexecuted instantiation: ieee802_11.c:hostapd_p2p_get_mib_sta Unexecuted instantiation: sta_info.c:hostapd_p2p_get_mib_sta Unexecuted instantiation: ap_drv_ops.c:hostapd_p2p_get_mib_sta |
30 | | |
31 | | #endif /* CONFIG_P2P */ |
32 | | |
33 | | u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid); |
34 | | |
35 | | #endif /* P2P_HOSTAPD_H */ |