P2P: Add P2P configuration and callbacks in hostapd code

This commit is contained in:
Jouni Malinen 2010-07-18 14:30:25 -07:00 committed by Jouni Malinen
parent b22128efdc
commit e44f8bf20a
6 changed files with 164 additions and 0 deletions

View file

@ -313,6 +313,11 @@ struct hostapd_bss_config {
char *model_url;
char *upc;
#endif /* CONFIG_WPS */
#define P2P_ENABLED BIT(0)
#define P2P_GROUP_OWNER BIT(1)
#define P2P_GROUP_FORMATION BIT(2)
int p2p;
};