Lines Matching refs:ftm_initiator

126 	list_add_tail(&pasn->list, &mvm->ftm_initiator.pasn_list);  in iwl_mvm_ftm_add_pasn_sta()
139 list_for_each_entry_safe(entry, prev, &mvm->ftm_initiator.pasn_list, in iwl_mvm_ftm_remove_pasn_sta()
154 mvm->ftm_initiator.req = NULL; in iwl_mvm_ftm_reset()
155 mvm->ftm_initiator.req_wdev = NULL; in iwl_mvm_ftm_reset()
156 memset(mvm->ftm_initiator.responses, 0, in iwl_mvm_ftm_reset()
157 sizeof(mvm->ftm_initiator.responses)); in iwl_mvm_ftm_reset()
159 list_for_each_entry_safe(e, t, &mvm->ftm_initiator.loc_list, list) { in iwl_mvm_ftm_reset()
177 if (!mvm->ftm_initiator.req) in iwl_mvm_ftm_restart()
180 for (i = 0; i < mvm->ftm_initiator.req->n_peers; i++) { in iwl_mvm_ftm_restart()
181 memcpy(result.addr, mvm->ftm_initiator.req->peers[i].addr, in iwl_mvm_ftm_restart()
183 result.ftm.burst_index = mvm->ftm_initiator.responses[i]; in iwl_mvm_ftm_restart()
185 cfg80211_pmsr_report(mvm->ftm_initiator.req_wdev, in iwl_mvm_ftm_restart()
186 mvm->ftm_initiator.req, in iwl_mvm_ftm_restart()
190 cfg80211_pmsr_complete(mvm->ftm_initiator.req_wdev, in iwl_mvm_ftm_restart()
191 mvm->ftm_initiator.req, GFP_KERNEL); in iwl_mvm_ftm_restart()
197 INIT_LIST_HEAD(&mvm->ftm_initiator.smooth.resp); in iwl_mvm_ftm_initiator_smooth_config()
212 list_for_each_entry_safe(se, st, &mvm->ftm_initiator.smooth.resp, in iwl_mvm_ftm_initiator_smooth_stop()
759 list_for_each_entry(entry, &mvm->ftm_initiator.pasn_list, list) { in iwl_mvm_ftm_set_secured_ranging()
1057 if (mvm->ftm_initiator.req) in iwl_mvm_ftm_start()
1094 mvm->ftm_initiator.req = req; in iwl_mvm_ftm_start()
1095 mvm->ftm_initiator.req_wdev = ieee80211_vif_to_wdev(vif); in iwl_mvm_ftm_start()
1109 if (req != mvm->ftm_initiator.req) in iwl_mvm_ftm_abort()
1156 list_for_each_entry(entry, &mvm->ftm_initiator.loc_list, list) { in iwl_mvm_ftm_get_lci_civic()
1180 if (request_id != (u8)mvm->ftm_initiator.req->cookie) { in iwl_mvm_ftm_range_resp_valid()
1182 request_id, (u8)mvm->ftm_initiator.req->cookie); in iwl_mvm_ftm_range_resp_valid()
1186 if (num_of_aps > mvm->ftm_initiator.req->n_peers) { in iwl_mvm_ftm_range_resp_valid()
1214 list_for_each_entry(iter, &mvm->ftm_initiator.smooth.resp, list) { in iwl_mvm_ftm_rtt_smoothing()
1227 list_add_tail(&resp->list, &mvm->ftm_initiator.smooth.resp); in iwl_mvm_ftm_rtt_smoothing()
1308 list_for_each_entry(entry, &mvm->ftm_initiator.pasn_list, list) { in iwl_mvm_ftm_pasn_update_pn()
1369 if (!mvm->ftm_initiator.req) { in iwl_mvm_ftm_range_resp()
1394 mvm->ftm_initiator.req->cookie, num_of_aps); in iwl_mvm_ftm_range_resp()
1425 peer_idx = iwl_mvm_ftm_find_peer(mvm->ftm_initiator.req, in iwl_mvm_ftm_range_resp()
1462 result.ftm.burst_index = mvm->ftm_initiator.responses[peer_idx]; in iwl_mvm_ftm_range_resp()
1463 mvm->ftm_initiator.responses[peer_idx]++; in iwl_mvm_ftm_range_resp()
1479 cfg80211_pmsr_report(mvm->ftm_initiator.req_wdev, in iwl_mvm_ftm_range_resp()
1480 mvm->ftm_initiator.req, in iwl_mvm_ftm_range_resp()
1492 cfg80211_pmsr_complete(mvm->ftm_initiator.req_wdev, in iwl_mvm_ftm_range_resp()
1493 mvm->ftm_initiator.req, in iwl_mvm_ftm_range_resp()
1548 list_add_tail(&entry->list, &mvm->ftm_initiator.loc_list); in iwl_mvm_ftm_lc_notif()