wpa_supplicant / hostapd
2.5
|
Wi-Fi Direct - P2P Group Owner Negotiation. More...
#include "includes.h"
#include "common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
#include "wps/wps_defs.h"
#include "p2p_i.h"
#include "p2p.h"
Functions | |
int | p2p_peer_channels_check (struct p2p_data *p2p, struct p2p_channels *own, struct p2p_device *dev, const u8 *channel_list, size_t channel_list_len) |
u16 | p2p_wps_method_pw_id (enum p2p_wps_method wps_method) |
int | p2p_connect_send (struct p2p_data *p2p, struct p2p_device *dev) |
void | p2p_reselect_channel (struct p2p_data *p2p, struct p2p_channels *intersection) |
Re-select operating channel based on peer information. More... | |
int | p2p_go_select_channel (struct p2p_data *p2p, struct p2p_device *dev, u8 *status) |
void | p2p_check_pref_chan (struct p2p_data *p2p, int go, struct p2p_device *dev, struct p2p_message *msg) |
void | p2p_process_go_neg_req (struct p2p_data *p2p, const u8 *sa, const u8 *data, size_t len, int rx_freq) |
void | p2p_process_go_neg_resp (struct p2p_data *p2p, const u8 *sa, const u8 *data, size_t len, int rx_freq) |
void | p2p_process_go_neg_conf (struct p2p_data *p2p, const u8 *sa, const u8 *data, size_t len) |
Wi-Fi Direct - P2P Group Owner Negotiation.
void p2p_reselect_channel | ( | struct p2p_data * | p2p, |
struct p2p_channels * | intersection | ||
) |
Re-select operating channel based on peer information.
p2p | P2P module context from p2p_init() |
intersection | Support channel list intersection from local and peer |
This function is used to re-select the best channel after having received information from the peer to allow supported channel lists to be intersected. This can be used to improve initial channel selection done in p2p_prepare_channel() prior to the start of GO Negotiation. In addition, this can be used for Invitation case.