wpa_supplicant / hostapd
2.5
|
P2P group configuration. More...
#include <p2p.h>
Data Fields | |
int | persistent_group |
Whether the group is persistent 0 = not a persistent group 1 = persistent group without persistent reconnect 2 = persistent group with persistent reconnect. | |
u8 | interface_addr [ETH_ALEN] |
P2P Interface Address of the group. | |
unsigned int | max_clients |
Maximum number of clients in the group. | |
u8 | ssid [SSID_MAX_LEN] |
Group SSID. | |
size_t | ssid_len |
Length of SSID. | |
int | freq |
Operating channel of the group. | |
void * | cb_ctx |
Context to use with callback functions. | |
void(* | ie_update )(void *ctx, struct wpabuf *beacon_ies, struct wpabuf *proberesp_ies) |
Notification of IE update. More... | |
void(* | idle_update )(void *ctx, int idle) |
Notification of changes in group idle state. More... | |
P2P group configuration.
This configuration is provided to the P2P module during initialization of the per-group information with p2p_group_init().
void(* p2p_group_config::idle_update)(void *ctx, int idle) |
Notification of changes in group idle state.
ctx | Callback context from cb_ctx |
idle | Whether the group is idle (no associated stations) |
void(* p2p_group_config::ie_update)(void *ctx, struct wpabuf *beacon_ies, struct wpabuf *proberesp_ies) |
Notification of IE update.
ctx | Callback context from cb_ctx |
beacon_ies | P2P IE for Beacon frames or NULL if no change |
proberesp_ies | P2P Ie for Probe Response frames P2P module uses this callback function to notify whenever the P2P IE in Beacon or Probe Response frames should be updated based on group events. The callee is responsible for freeing the returned buffer(s) with wpabuf_free(). |