/hostap-latest/src/p2p/ |
D | p2p_dev_disc.c | 18 struct p2p_device *go, in p2p_build_dev_disc_req() argument 28 go->dialog_token++; in p2p_build_dev_disc_req() 29 if (go->dialog_token == 0) in p2p_build_dev_disc_req() 30 go->dialog_token = 1; in p2p_build_dev_disc_req() 31 p2p_buf_add_public_action_hdr(buf, P2P_DEV_DISC_REQ, go->dialog_token); in p2p_build_dev_disc_req() 35 p2p_buf_add_group_id(buf, go->info.p2p_device_addr, go->oper_ssid, in p2p_build_dev_disc_req() 36 go->oper_ssid_len); in p2p_build_dev_disc_req() 69 struct p2p_device *go; in p2p_send_dev_disc_req() local 73 go = p2p_get_device(p2p, dev->member_in_go_dev); in p2p_send_dev_disc_req() 74 if (go == NULL || dev->oper_freq <= 0) { in p2p_send_dev_disc_req() [all …]
|
D | p2p_go_neg.c | 187 bool go = p2p->go_intent == 15; in p2p_build_go_neg_req() local 191 p2p->num_pref_freq, &pref_chanlist, go); in p2p_build_go_neg_req() 351 bool go = (peer && peer->go_state == LOCAL_GO) || in p2p_build_go_neg_resp() local 355 p2p->num_pref_freq, &pref_chanlist, go); in p2p_build_go_neg_resp() 599 static void p2p_check_pref_chan_no_recv(struct p2p_data *p2p, int go, in p2p_check_pref_chan_no_recv() argument 621 !p2p_pref_freq_allowed(&freq_list[i], go)) in p2p_check_pref_chan_no_recv() 648 static void p2p_check_pref_chan_recv(struct p2p_data *p2p, int go, in p2p_check_pref_chan_recv() argument 673 if (!p2p_pref_freq_allowed(&freq_list[i], go)) in p2p_check_pref_chan_recv() 694 void p2p_check_pref_chan(struct p2p_data *p2p, int go, in p2p_check_pref_chan() argument 715 if (p2p->cfg->get_pref_freq_list(p2p->cfg->cb_ctx, go, in p2p_check_pref_chan() [all …]
|
D | p2p_utils.c | 547 bool p2p_pref_freq_allowed(const struct weighted_pcl *freq_list, bool go) in p2p_pref_freq_allowed() argument 551 if (!(freq_list->flag & WEIGHTED_PCL_CLI) && !go) in p2p_pref_freq_allowed() 553 if (!(freq_list->flag & WEIGHTED_PCL_GO) && go) in p2p_pref_freq_allowed() 561 unsigned int num_channels, bool go) in p2p_check_pref_channel() argument 572 if (!p2p_pref_freq_allowed(&freq_list[i], go)) in p2p_check_pref_channel() 584 struct p2p_channels *res, bool go) in p2p_pref_channel_filter() argument 600 go) < 0) in p2p_pref_channel_filter()
|
D | p2p_invitation.c | 192 int go = 0; in p2p_process_invitation_req() local 270 &go, group_bssid, &op_freq, persistent, &intersection, in p2p_process_invitation_req() 274 if (go) { in p2p_process_invitation_req() 336 if (go && in p2p_process_invitation_req() 352 } else if (go && !(dev->flags & P2P_DEV_FORCE_FREQ) && in p2p_process_invitation_req() 363 p2p_check_pref_chan(p2p, go, dev, &msg); in p2p_process_invitation_req() 384 if (go && status == P2P_SC_SUCCESS && !is_zero_ether_addr(group_bssid)) in p2p_process_invitation_req()
|
D | p2p.h | 948 size_t ssid_len, int *go, u8 *group_bssid, 1078 int (*remove_stale_groups)(void *ctx, const u8 *peer, const u8 *go, 1136 int (*get_pref_freq_list)(void *ctx, int go, 2344 bool p2p_pref_freq_allowed(const struct weighted_pcl *freq_list, bool go);
|
D | p2p_i.h | 825 void p2p_check_pref_chan(struct p2p_data *p2p, int go, 894 int go); 901 struct p2p_channels *res, bool go);
|
D | p2p_pd.c | 193 struct p2p_device *go = join ? dev : NULL; in p2p_build_prov_disc_req() local 231 } else if (go) { in p2p_build_prov_disc_req() 232 p2p_buf_add_group_id(buf, go->info.p2p_device_addr, in p2p_build_prov_disc_req() 233 go->oper_ssid, go->oper_ssid_len); in p2p_build_prov_disc_req()
|
D | p2p.c | 1401 unsigned int pref_freq, int go) in p2p_prepare_channel_pref() argument 1407 force_freq, pref_freq, go); in p2p_prepare_channel_pref() 1414 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class, in p2p_prepare_channel_pref() 1545 unsigned int force_freq, unsigned int pref_freq, int go) in p2p_prepare_channel() argument 1548 force_freq, pref_freq, go); in p2p_prepare_channel() 1550 if (p2p_prepare_channel_pref(p2p, force_freq, pref_freq, go) < in p2p_prepare_channel() 1557 if (go) in p2p_prepare_channel() 1837 int go = peer->go_state == LOCAL_GO; in p2p_go_complete() local 1841 MAC2STR(peer->info.p2p_device_addr), go ? "local end" : "peer"); in p2p_go_complete() 1844 res.role_go = go; in p2p_go_complete() [all …]
|
/hostap-latest/tests/hwsim/ |
D | p2p_utils.py | 112 def terminate_group(go, cli): argument 115 go.remove_group() 137 def check_result(go, cli): argument 138 ev = go.wait_global_event(["P2P-GROUP-STARTED", 146 go_res = go.group_form_result(ev) 163 def form(go, cli, test_data=True, reverse_init=False, r_listen=True): argument 167 r_dev=go, r_intent=15, 171 [i_res, r_res] = go_neg_pin_authorized_persistent(i_dev=go, i_intent=15, 177 terminate_group(go, cli) 183 def invite_from_cli(go, cli, terminate=True): argument [all …]
|
D | test_cfg80211.py | 73 go = WpaSupplicant(dev[0].group_ifname) 74 addr = go.own_addr() 76 ifindex = int(go.get_driver_status_field("ifindex")) 77 res = nl80211_frame(go, ifindex, frame, freq=2422, duration=500, 85 nl80211_frame(go, ifindex, frame, freq=2412) 90 del go
|
D | test_p2p_autogo.py | 259 go = dev[0] 260 logger.info("Start autonomous GO with fixed parameters " + go.ifname) 261 id = go.add_network() 262 go.set_network_quoted(id, "ssid", "DIRECT-tdls") 263 go.set_network_quoted(id, "psk", "12345678") 264 go.set_network(id, "mode", "3") 265 go.set_network(id, "disabled", "2") 266 res = go.p2p_start_go(persistent=id, freq="2462") 268 Wlantest.setup(go, True) 272 connect_cli(go, dev[1], social=True, freq=2462) [all …]
|
D | test_p2p_discovery.py | 312 go = dev[2].p2p_dev_addr() 318 if go not in ev: 327 if not dev[0].peer_known(go): 329 if dev[1].peer_known(go):
|
D | test_dbus.py | 3747 go = self.g_if_obj.Get(WPAS_DBUS_IFACE_P2PDEVICE, "PeerGO", 3749 if go != '/': 3751 raise Exception("Unexpected PeerGO value: " + str(go)) 4123 self.go = None 4149 self.go = path 4150 if self.peer and self.go: 4153 args = {'peer': self.go, 4173 go = g_if_obj.Get(WPAS_DBUS_IFACE_P2PDEVICE, "PeerGO", 4175 if go != self.go: 4176 raise Exception("Unexpected PeerGO value: " + str(go)) [all …]
|
/hostap-latest/wpa_supplicant/ |
D | p2p_supplicant.c | 124 int go); 128 int *force_freq, int *pref_freq, int go, 563 size_t ssid_len, int *go) in wpas_get_p2p_group() argument 576 if (go) in wpas_get_p2p_group() 577 *go = s->mode == WPAS_MODE_P2P_GO; in wpas_get_p2p_group() 1348 int go, struct wpa_ssid *ssid, int freq, in wpas_p2p_group_started() argument 1377 wpa_s->ifname, go ? "GO" : "client", ssid_txt, freq, in wpas_p2p_group_started() 1386 wpa_s->ifname, go ? "GO" : "client", ssid_txt, freq, in wpas_p2p_group_started() 2319 wpas_p2p_init_group_interface(struct wpa_supplicant *wpa_s, int go) in wpas_p2p_init_group_interface() argument 2333 if (wpas_p2p_add_group_interface(wpa_s, go ? WPA_IF_P2P_GO : in wpas_p2p_init_group_interface() [all …]
|
D | README-Windows.txt | 117 # go to the root directory of wpa_supplicant source code 283 go to the Driver tab, and change the Demand setting to System instead.
|
D | eap_testing.txt | 240 1328 bytes of EAP-Message and this may go beyond the fragmentation
|
D | README-P2P | 816 …conncap=1 session=1234567 session_mac=00:11:22:33:44:55 [dev_passwd_id=8 | go=p2p-wlan0-0 | join=1… 833 go only - if conncap value == 4 (GO Only). Interface name must be set with a
|
D | README-WPS | 190 there are WPS enabled APs in scan results without having to go through
|
D | README-HS20 | 94 # 0 = do not automatically go through Interworking network selection
|
D | ChangeLog | 1905 * fixed OpenSSL error reporting to go through all pending errors to 2051 wpa_supplicant will go through the networks one by one until the
|
/hostap-latest/tests/ |
D | README | 114 cp go*.dat inv*.dat p2ps*.dat p2p-action-examples
|
D | cipher-and-key-mgmt-testing.txt | 85 ping is used to test whether unicast frames go through on the data
|