hostapd
Public Attributes | List of all members
p2p_group_config Struct Reference

struct p2p_group_config - P2P group configuration More...

#include <p2p.h>

Public Attributes

int persistent_group
 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]
 interface_addr - P2P Interface Address of the group
 
unsigned int max_clients
 max_clients - Maximum number of clients in the group
 
u8 ssid [SSID_MAX_LEN]
 ssid - Group SSID
 
size_t ssid_len
 ssid_len - Length of SSID
 
int freq
 freq - Operating channel of the group
 
int ip_addr_alloc
 ip_addr_alloc - Whether IP address allocation within 4-way handshake is supported
 
void * cb_ctx
 cb_ctx - Context to use with callback functions
 
void(* ie_update )(void *ctx, struct wpabuf *beacon_ies, struct wpabuf *proberesp_ies)
 ie_update - Notification of IE update : Callback context from cb_ctx : P2P IE for Beacon frames or NULL if no change : P2P Ie for Probe Response frames More...
 
void(* idle_update )(void *ctx, int idle)
 idle_update - Notification of changes in group idle state : Callback context from cb_ctx : Whether the group is idle (no associated stations)
 

Detailed Description

struct p2p_group_config - P2P group configuration

This configuration is provided to the P2P module during initialization of the per-group information with p2p_group_init().

Member Data Documentation

§ ie_update

void(* p2p_group_config::ie_update) (void *ctx, struct wpabuf *beacon_ies, struct wpabuf *proberesp_ies)

ie_update - Notification of IE update : Callback context from cb_ctx : P2P IE for Beacon frames or NULL if no change : 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().


The documentation for this struct was generated from the following file: