Lines Matching refs:ftm_initiator
94 list_add_tail(&pasn->list, &mvm->ftm_initiator.pasn_list); in iwl_mvm_ftm_add_pasn_sta()
107 list_for_each_entry_safe(entry, prev, &mvm->ftm_initiator.pasn_list, in iwl_mvm_ftm_remove_pasn_sta()
122 mvm->ftm_initiator.req = NULL; in iwl_mvm_ftm_reset()
123 mvm->ftm_initiator.req_wdev = NULL; in iwl_mvm_ftm_reset()
124 memset(mvm->ftm_initiator.responses, 0, in iwl_mvm_ftm_reset()
125 sizeof(mvm->ftm_initiator.responses)); in iwl_mvm_ftm_reset()
127 list_for_each_entry_safe(e, t, &mvm->ftm_initiator.loc_list, list) { in iwl_mvm_ftm_reset()
145 if (!mvm->ftm_initiator.req) in iwl_mvm_ftm_restart()
148 for (i = 0; i < mvm->ftm_initiator.req->n_peers; i++) { in iwl_mvm_ftm_restart()
149 memcpy(result.addr, mvm->ftm_initiator.req->peers[i].addr, in iwl_mvm_ftm_restart()
151 result.ftm.burst_index = mvm->ftm_initiator.responses[i]; in iwl_mvm_ftm_restart()
153 cfg80211_pmsr_report(mvm->ftm_initiator.req_wdev, in iwl_mvm_ftm_restart()
154 mvm->ftm_initiator.req, in iwl_mvm_ftm_restart()
158 cfg80211_pmsr_complete(mvm->ftm_initiator.req_wdev, in iwl_mvm_ftm_restart()
159 mvm->ftm_initiator.req, GFP_KERNEL); in iwl_mvm_ftm_restart()
165 INIT_LIST_HEAD(&mvm->ftm_initiator.smooth.resp); in iwl_mvm_ftm_initiator_smooth_config()
180 list_for_each_entry_safe(se, st, &mvm->ftm_initiator.smooth.resp, in iwl_mvm_ftm_initiator_smooth_stop()
689 list_for_each_entry(entry, &mvm->ftm_initiator.pasn_list, list) { in iwl_mvm_ftm_set_secured_ranging()
876 if (mvm->ftm_initiator.req) in iwl_mvm_ftm_start()
910 mvm->ftm_initiator.req = req; in iwl_mvm_ftm_start()
911 mvm->ftm_initiator.req_wdev = ieee80211_vif_to_wdev(vif); in iwl_mvm_ftm_start()
925 if (req != mvm->ftm_initiator.req) in iwl_mvm_ftm_abort()
972 list_for_each_entry(entry, &mvm->ftm_initiator.loc_list, list) { in iwl_mvm_ftm_get_lci_civic()
996 if (request_id != (u8)mvm->ftm_initiator.req->cookie) { in iwl_mvm_ftm_range_resp_valid()
998 request_id, (u8)mvm->ftm_initiator.req->cookie); in iwl_mvm_ftm_range_resp_valid()
1002 if (num_of_aps > mvm->ftm_initiator.req->n_peers) { in iwl_mvm_ftm_range_resp_valid()
1032 list_for_each_entry(resp, &mvm->ftm_initiator.smooth.resp, list) { in iwl_mvm_ftm_rtt_smoothing()
1045 list_add_tail(&resp->list, &mvm->ftm_initiator.smooth.resp); in iwl_mvm_ftm_rtt_smoothing()
1126 list_for_each_entry(entry, &mvm->ftm_initiator.pasn_list, list) { in iwl_mvm_ftm_pasn_update_pn()
1187 if (!mvm->ftm_initiator.req) { in iwl_mvm_ftm_range_resp()
1212 mvm->ftm_initiator.req->cookie, num_of_aps); in iwl_mvm_ftm_range_resp()
1243 peer_idx = iwl_mvm_ftm_find_peer(mvm->ftm_initiator.req, in iwl_mvm_ftm_range_resp()
1280 result.ftm.burst_index = mvm->ftm_initiator.responses[peer_idx]; in iwl_mvm_ftm_range_resp()
1281 mvm->ftm_initiator.responses[peer_idx]++; in iwl_mvm_ftm_range_resp()
1297 cfg80211_pmsr_report(mvm->ftm_initiator.req_wdev, in iwl_mvm_ftm_range_resp()
1298 mvm->ftm_initiator.req, in iwl_mvm_ftm_range_resp()
1310 cfg80211_pmsr_complete(mvm->ftm_initiator.req_wdev, in iwl_mvm_ftm_range_resp()
1311 mvm->ftm_initiator.req, in iwl_mvm_ftm_range_resp()
1366 list_add_tail(&entry->list, &mvm->ftm_initiator.loc_list); in iwl_mvm_ftm_lc_notif()