Lines Matching refs:out
14 struct cfg80211_pmsr_request_peer *out, in pmsr_parse_ftm() argument
22 if (!(rdev->wiphy.pmsr_capa->ftm.bandwidths & BIT(out->chandef.width))) { in pmsr_parse_ftm()
35 out->ftm.requested = true; in pmsr_parse_ftm()
37 switch (out->chandef.chan->band) { in pmsr_parse_ftm()
56 out->ftm.preamble = preamble; in pmsr_parse_ftm()
58 out->ftm.burst_period = 0; in pmsr_parse_ftm()
60 out->ftm.burst_period = in pmsr_parse_ftm()
63 out->ftm.asap = !!tb[NL80211_PMSR_FTM_REQ_ATTR_ASAP]; in pmsr_parse_ftm()
64 if (out->ftm.asap && !capa->ftm.asap) { in pmsr_parse_ftm()
71 if (!out->ftm.asap && !capa->ftm.non_asap) { in pmsr_parse_ftm()
77 out->ftm.num_bursts_exp = 0; in pmsr_parse_ftm()
79 out->ftm.num_bursts_exp = in pmsr_parse_ftm()
83 out->ftm.num_bursts_exp > capa->ftm.max_bursts_exponent) { in pmsr_parse_ftm()
90 out->ftm.burst_duration = 15; in pmsr_parse_ftm()
92 out->ftm.burst_duration = in pmsr_parse_ftm()
95 out->ftm.ftms_per_burst = 0; in pmsr_parse_ftm()
97 out->ftm.ftms_per_burst = in pmsr_parse_ftm()
101 (out->ftm.ftms_per_burst > capa->ftm.max_ftms_per_burst || in pmsr_parse_ftm()
102 out->ftm.ftms_per_burst == 0)) { in pmsr_parse_ftm()
109 out->ftm.ftmr_retries = 3; in pmsr_parse_ftm()
111 out->ftm.ftmr_retries = in pmsr_parse_ftm()
114 out->ftm.request_lci = !!tb[NL80211_PMSR_FTM_REQ_ATTR_REQUEST_LCI]; in pmsr_parse_ftm()
115 if (out->ftm.request_lci && !capa->ftm.request_lci) { in pmsr_parse_ftm()
121 out->ftm.request_civicloc = in pmsr_parse_ftm()
123 if (out->ftm.request_civicloc && !capa->ftm.request_civicloc) { in pmsr_parse_ftm()
129 out->ftm.trigger_based = in pmsr_parse_ftm()
131 if (out->ftm.trigger_based && !capa->ftm.trigger_based) { in pmsr_parse_ftm()
138 out->ftm.non_trigger_based = in pmsr_parse_ftm()
140 if (out->ftm.non_trigger_based && !capa->ftm.non_trigger_based) { in pmsr_parse_ftm()
147 if (out->ftm.trigger_based && out->ftm.non_trigger_based) { in pmsr_parse_ftm()
153 if ((out->ftm.trigger_based || out->ftm.non_trigger_based) && in pmsr_parse_ftm()
154 out->ftm.preamble != NL80211_PREAMBLE_HE) { in pmsr_parse_ftm()
161 out->ftm.lmr_feedback = in pmsr_parse_ftm()
163 if (!out->ftm.trigger_based && !out->ftm.non_trigger_based && in pmsr_parse_ftm()
164 out->ftm.lmr_feedback) { in pmsr_parse_ftm()
172 if (!out->ftm.non_trigger_based && !out->ftm.trigger_based) { in pmsr_parse_ftm()
179 out->ftm.bss_color = in pmsr_parse_ftm()
188 struct cfg80211_pmsr_request_peer *out, in pmsr_parse_peer() argument
208 memcpy(out->addr, nla_data(tb[NL80211_PMSR_PEER_ATTR_ADDR]), ETH_ALEN); in pmsr_parse_peer()
218 err = nl80211_parse_chandef(rdev, info, &out->chandef); in pmsr_parse_peer()
235 out->report_ap_tsf = true; in pmsr_parse_peer()
237 if (out->report_ap_tsf && !rdev->wiphy.pmsr_capa->report_ap_tsf) { in pmsr_parse_peer()
247 err = pmsr_parse_ftm(rdev, treq, out, info); in pmsr_parse_peer()