wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
p2p_build.c File Reference

P2P - IE builder. More...

#include "includes.h"
#include "common.h"
#include "common/ieee802_11_defs.h"
#include "common/qca-vendor.h"
#include "wps/wps_i.h"
#include "p2p_i.h"

Functions

void p2p_buf_add_action_hdr (struct wpabuf *buf, u8 subtype, u8 dialog_token)
 
void p2p_buf_add_public_action_hdr (struct wpabuf *buf, u8 subtype, u8 dialog_token)
 
u8 * p2p_buf_add_ie_hdr (struct wpabuf *buf)
 
void p2p_buf_update_ie_hdr (struct wpabuf *buf, u8 *len)
 
void p2p_buf_add_capability (struct wpabuf *buf, u8 dev_capab, u8 group_capab)
 
void p2p_buf_add_go_intent (struct wpabuf *buf, u8 go_intent)
 
void p2p_buf_add_listen_channel (struct wpabuf *buf, const char *country, u8 reg_class, u8 channel)
 
void p2p_buf_add_operating_channel (struct wpabuf *buf, const char *country, u8 reg_class, u8 channel)
 
void p2p_buf_add_pref_channel_list (struct wpabuf *buf, const u32 *preferred_freq_list, unsigned int size)
 
void p2p_buf_add_channel_list (struct wpabuf *buf, const char *country, struct p2p_channels *chan)
 
void p2p_buf_add_status (struct wpabuf *buf, u8 status)
 
void p2p_buf_add_device_info (struct wpabuf *buf, struct p2p_data *p2p, struct p2p_device *peer)
 
void p2p_buf_add_device_id (struct wpabuf *buf, const u8 *dev_addr)
 
void p2p_buf_add_config_timeout (struct wpabuf *buf, u8 go_timeout, u8 client_timeout)
 
void p2p_buf_add_intended_addr (struct wpabuf *buf, const u8 *interface_addr)
 
void p2p_buf_add_group_bssid (struct wpabuf *buf, const u8 *bssid)
 
void p2p_buf_add_group_id (struct wpabuf *buf, const u8 *dev_addr, const u8 *ssid, size_t ssid_len)
 
void p2p_buf_add_invitation_flags (struct wpabuf *buf, u8 flags)
 
void p2p_buf_add_noa (struct wpabuf *buf, u8 noa_index, u8 opp_ps, u8 ctwindow, struct p2p_noa_desc *desc1, struct p2p_noa_desc *desc2)
 
void p2p_buf_add_ext_listen_timing (struct wpabuf *buf, u16 period, u16 interval)
 
void p2p_buf_add_p2p_interface (struct wpabuf *buf, struct p2p_data *p2p)
 
void p2p_buf_add_oob_go_neg_channel (struct wpabuf *buf, const char *country, u8 oper_class, u8 channel, enum p2p_role_indication role)
 
void p2p_buf_add_service_hash (struct wpabuf *buf, struct p2p_data *p2p)
 
void p2p_buf_add_session_info (struct wpabuf *buf, const char *info)
 
void p2p_buf_add_connection_capability (struct wpabuf *buf, u8 connection_cap)
 
void p2p_buf_add_advertisement_id (struct wpabuf *buf, u32 id, const u8 *mac)
 
void p2p_buf_add_service_instance (struct wpabuf *buf, struct p2p_data *p2p, u8 hash_count, const u8 *hash, struct p2ps_advertisement *adv_list)
 
void p2p_buf_add_session_id (struct wpabuf *buf, u32 id, const u8 *mac)
 
void p2p_buf_add_feature_capability (struct wpabuf *buf, u16 len, const u8 *mask)
 
void p2p_buf_add_persistent_group_info (struct wpabuf *buf, const u8 *dev_addr, const u8 *ssid, size_t ssid_len)
 
int p2p_build_wps_ie (struct p2p_data *p2p, struct wpabuf *buf, int pw_id, int all_attr)
 

Detailed Description

P2P - IE builder.