1252190Srpaulo/* 2252190Srpaulo * hostapd / P2P integration 3252190Srpaulo * Copyright (c) 2009-2010, Atheros Communications 4252190Srpaulo * 5252190Srpaulo * This software may be distributed under the terms of the BSD license. 6252190Srpaulo * See README for more details. 7252190Srpaulo */ 8252190Srpaulo 9252190Srpaulo#ifndef P2P_HOSTAPD_H 10252190Srpaulo#define P2P_HOSTAPD_H 11252190Srpaulo 12252190Srpaulo#ifdef CONFIG_P2P 13252190Srpaulo 14252190Srpauloint hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 15252190Srpaulo char *buf, size_t buflen); 16252190Srpauloint hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start, 17252190Srpaulo int duration); 18252190Srpaulovoid hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd); 19252190Srpaulovoid hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd); 20252190Srpaulo 21252190Srpaulo 22252190Srpaulo#else /* CONFIG_P2P */ 23252190Srpaulo 24252190Srpaulostatic inline int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, 25252190Srpaulo struct sta_info *sta, 26252190Srpaulo char *buf, size_t buflen) 27252190Srpaulo{ 28252190Srpaulo return 0; 29252190Srpaulo} 30252190Srpaulo 31252190Srpaulo#endif /* CONFIG_P2P */ 32252190Srpaulo 33252190Srpaulou8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid); 34252190Srpaulo 35252190Srpaulo#endif /* P2P_HOSTAPD_H */ 36