Home
last modified time | relevance | path

Searched refs:sta2 (Results 1 – 14 of 14) sorted by relevance

/hostap-latest/tests/hwsim/
Dtest_fst_module.py95 ap1, ap2, sta1, sta2 = fst_module_aux.start_two_ap_sta_pairs(apdev)
99 fst_module_aux.connect_two_ap_sta_pairs(ap1, ap2, sta1, sta2)
108 new_iface = sta2.ifname()
109 new_peer_addr = sta2.get_actual_peer_addr()
175 fst_module_aux.disconnect_two_ap_sta_pairs(ap1, ap2, sta1, sta2)
176 fst_module_aux.stop_two_ap_sta_pairs(ap1, ap2, sta1, sta2)
201 ap1, ap2, sta1, sta2 = fst_module_aux.start_two_ap_sta_pairs(apdev)
205 fst_module_aux.connect_two_ap_sta_pairs(ap1, ap2, sta1, sta2)
215 resp_newif = sta2.ifname()
219 …new_iface = sta2.ifname() if bad_param_type != bad_param_session_initiate_with_no_new_iface_set el…
[all …]
Dtest_ssid.py68 sta2 = hapd.get_sta(sta['addr'], next=True)
69 if sta2['addr'] not in addrs:
71 sta3 = hapd.get_sta(sta2['addr'], next=True)
Dfst_module_aux.py91 sta2 = FstSTA('wlan6',
95 sta2.start()
97 return ap1, ap2, sta1, sta2
99 def stop_two_ap_sta_pairs(ap1, ap2, sta1, sta2): argument
101 sta2.stop()
Dtest_fst_config.py337 sta2 = FstLauncherConfigSTA('wlan6', fst_group, fst_pri, fst_llt)
339 fst_launcher.add_cfg(sta2)
Dtest_wpas_ap.py78 sta2 = dev[0].get_sta(sta['addr'], next=True)
79 if sta2['addr'] not in addrs:
81 sta3 = dev[0].get_sta(sta2['addr'], next=True)
Dtest_ap_vht.py227 sta2 = hapd.get_sta(dev[2].own_addr())
229 capab2 = int(sta2['vht_caps_info'], base=16)
Dtest_he.py346 sta2 = hapd.get_sta(dev[2].own_addr())
348 capab2 = int(sta2['vht_caps_info'], base=16)
Dtest_wpas_mesh.py292 sta2 = dev[0].get_sta(peer)
293 if 'connected_time' not in sta1 or 'connected_time' not in sta2:
296 ct2 = int(sta2['connected_time'])
Dtest_sae.py314 sta2 = hapd.get_sta(dev[2].own_addr())
317 if sta2['wpa'] != '2' or sta2['AKMSuiteSelector'] != '00-0f-ac-2':
Dtest_ap_eap.py1899 sta2 = hapd.get_sta(dev[0].p2p_interface_addr())
1901 if int(sta2['dot1xAuthEapolFramesRx']) <= int(sta1['dot1xAuthEapolFramesRx']):
/hostap-latest/wlantest/
Drx_data.c409 struct wlantest_sta *sta, *sta2; in rx_data_bss_prot() local
445 sta2 = sta_find_mlo(wt, bss2, in rx_data_bss_prot()
447 if (sta2 && (!sta || sta2->ptk_set)) { in rx_data_bss_prot()
450 sta = sta2; in rx_data_bss_prot()
486 sta2 = sta_find(bss, hdr->addr1); in rx_data_bss_prot()
487 if (sta == NULL || sta2 == NULL) in rx_data_bss_prot()
492 if ((tdls->init == sta && tdls->resp == sta2) || in rx_data_bss_prot()
493 (tdls->init == sta2 && tdls->resp == sta)) { in rx_data_bss_prot()
849 struct wlantest_sta *sta1, *sta2; in get_tdls() local
858 sta2 = sta_find(bss, sta2_addr); in get_tdls()
[all …]
Dinject.c182 struct wlantest_sta *sta2; in wlantest_inject_prot() local
190 sta2 = sta_find(bss, hdr->addr1); in wlantest_inject_prot()
191 if (sta == NULL || sta2 == NULL) { in wlantest_inject_prot()
198 if ((tdls->init == sta && tdls->resp == sta2) || in wlantest_inject_prot()
199 (tdls->init == sta2 && tdls->resp == sta)) { in wlantest_inject_prot()
Dctrl.c320 struct wlantest_sta *sta2; in ctrl_clear_tdls_counters() local
325 sta2 = ctrl_get_sta2(wt, sock, cmd, clen, bss); in ctrl_clear_tdls_counters()
326 if (sta == NULL || sta2 == NULL) { in ctrl_clear_tdls_counters()
332 if ((tdls->init == sta && tdls->resp == sta2) || in ctrl_clear_tdls_counters()
333 (tdls->init == sta2 && tdls->resp == sta)) in ctrl_clear_tdls_counters()
417 struct wlantest_sta *sta2; in ctrl_get_tdls_counter() local
425 sta2 = ctrl_get_sta2(wt, sock, cmd, clen, bss); in ctrl_get_tdls_counter()
426 if (sta == NULL || sta2 == NULL) { in ctrl_get_tdls_counter()
443 if (tdls->init == sta && tdls->resp == sta2) { in ctrl_get_tdls_counter()
/hostap-latest/src/ap/
Dsta_info.c897 struct sta_info *sta2; in ap_sta_remove_in_other_bss() local
904 sta2 = ap_get_sta(bss, sta->addr); in ap_sta_remove_in_other_bss()
905 if (!sta2) in ap_sta_remove_in_other_bss()
910 hapd->conf->iface, MAC2STR(sta2->addr), in ap_sta_remove_in_other_bss()
912 ap_sta_disconnect(bss, sta2, sta2->addr, in ap_sta_remove_in_other_bss()