Lines Matching refs:sta1
86 def tdls_check_dl(sta0, sta1, bssid, addr0, addr1): argument
89 hwsim_utils.test_connectivity_sta(sta0, sta1)
100 def tdls_check_ap(sta0, sta1, bssid, addr0, addr1): argument
103 hwsim_utils.test_connectivity_sta(sta0, sta1)
114 def check_connectivity(sta0, sta1, hapd): argument
115 hwsim_utils.test_connectivity_sta(sta0, sta1)
117 hwsim_utils.test_connectivity(sta1, hapd)
119 def setup_tdls(sta0, sta1, hapd, reverse=False, expect_fail=False, sae=False): argument
121 check_connectivity(sta0, sta1, hapd)
124 addr1 = sta1.p2p_interface_addr()
132 tdls_check_ap(sta0, sta1, bssid, addr0, addr1)
136 addr0 = sta1.p2p_interface_addr()
141 tdls_check_dl(sta0, sta1, bssid, addr0, addr1)
142 check_connectivity(sta0, sta1, hapd)
144 def teardown_tdls(sta0, sta1, hapd, responder=False, wildcard=False, sae=False): argument
146 check_connectivity(sta0, sta1, hapd)
149 addr1 = sta1.p2p_interface_addr()
151 sta1.tdls_teardown(addr0)
162 tdls_check_ap(sta0, sta1, bssid, addr0, addr1)
163 check_connectivity(sta0, sta1, hapd)
165 def check_tdls_link(sta0, sta1, connected=True): argument
167 addr1 = sta1.own_addr()
169 status1 = sta1.tdls_link_status(addr0).rstrip()
171 logger.info("%s: %s" % (sta1.ifname, status1))