34 lines
787 B
C
34 lines
787 B
C
|
/*
|
||
|
* hostapd / P2P integration
|
||
|
* Copyright (c) 2009, Atheros Communications
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License version 2 as
|
||
|
* published by the Free Software Foundation.
|
||
|
*
|
||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||
|
* license.
|
||
|
*
|
||
|
* See README and COPYING for more details.
|
||
|
*/
|
||
|
|
||
|
#ifndef P2P_HOSTAPD_H
|
||
|
#define P2P_HOSTAPD_H
|
||
|
|
||
|
#ifdef CONFIG_P2P
|
||
|
|
||
|
int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
|
||
|
char *buf, size_t buflen);
|
||
|
|
||
|
#else /* CONFIG_P2P */
|
||
|
|
||
|
int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
|
||
|
char *buf, size_t buflen)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
#endif /* CONFIG_P2P */
|
||
|
|
||
|
#endif /* P2P_HOSTAPD_H */
|