wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
p2p_hostapd.h
Go to the documentation of this file.
1 
5 #ifndef P2P_HOSTAPD_H
6 #define P2P_HOSTAPD_H
7 
8 #ifdef CONFIG_P2P
9 
10 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
11  char *buf, size_t buflen);
12 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start,
13  int duration);
14 void hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd);
15 void hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd);
16 
17 
18 #else /* CONFIG_P2P */
19 
20 static inline int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd,
21  struct sta_info *sta,
22  char *buf, size_t buflen)
23 {
24  return 0;
25 }
26 
27 #endif /* CONFIG_P2P */
28 
29 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid);
30 
31 #endif /* P2P_HOSTAPD_H */
Definition: sta_info.h:44
hostapd per-BSS data structure
Definition: hostapd.h:103