wpa_supplicant / hostapd
2.5
|
Wi-Fi Direct - P2P Invitation procedure. More...
#include "includes.h"
#include "common.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
#include "p2p_i.h"
#include "p2p.h"
Functions | |
void | p2p_process_invitation_req (struct p2p_data *p2p, const u8 *sa, const u8 *data, size_t len, int rx_freq) |
void | p2p_process_invitation_resp (struct p2p_data *p2p, const u8 *sa, const u8 *data, size_t len) |
int | p2p_invite_send (struct p2p_data *p2p, struct p2p_device *dev, const u8 *go_dev_addr, int dev_pw_id) |
void | p2p_invitation_req_cb (struct p2p_data *p2p, int success) |
void | p2p_invitation_resp_cb (struct p2p_data *p2p, int success) |
int | p2p_invite (struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role, const u8 *bssid, const u8 *ssid, size_t ssid_len, unsigned int force_freq, const u8 *go_dev_addr, int persistent_group, unsigned int pref_freq, int dev_pw_id) |
Invite a P2P Device into a group. More... | |
Wi-Fi Direct - P2P Invitation procedure.
int p2p_invite | ( | struct p2p_data * | p2p, |
const u8 * | peer, | ||
enum p2p_invite_role | role, | ||
const u8 * | bssid, | ||
const u8 * | ssid, | ||
size_t | ssid_len, | ||
unsigned int | force_freq, | ||
const u8 * | go_dev_addr, | ||
int | persistent_group, | ||
unsigned int | pref_freq, | ||
int | dev_pw_id | ||
) |
Invite a P2P Device into a group.
p2p | P2P module context from p2p_init() |
peer | Device Address of the peer P2P Device |
role | Local role in the group |
bssid | Group BSSID or NULL if not known |
ssid | Group SSID |
ssid_len | Length of ssid in octets |
force_freq | The only allowed channel frequency in MHz or 0 |
go_dev_addr | Forced GO Device Address or NULL if none |
persistent_group | Whether this is to reinvoke a persistent group |
pref_freq | Preferred operating frequency in MHz or 0 (this is only used if force_freq == 0) |
dev_pw_id | Device Password ID from OOB Device Password (NFC) static handover case or -1 if not used |