Lines Matching refs:ftm
3396 struct nlattr *ftm; in mac80211_hwsim_send_pmsr_ftm_request_peer() local
3401 ftm = nla_nest_start(msg, NL80211_PMSR_TYPE_FTM); in mac80211_hwsim_send_pmsr_ftm_request_peer()
3402 if (!ftm) in mac80211_hwsim_send_pmsr_ftm_request_peer()
3449 nla_nest_end(msg, ftm); in mac80211_hwsim_send_pmsr_ftm_request_peer()
3489 err = mac80211_hwsim_send_pmsr_ftm_request_peer(msg, &request->ftm); in mac80211_hwsim_send_pmsr_request_peer()
3708 static int mac80211_hwsim_parse_ftm_result(struct nlattr *ftm, in mac80211_hwsim_parse_ftm_result() argument
3716 ftm, hwsim_ftm_result_policy, info->extack); in mac80211_hwsim_parse_ftm_result()
3855 ret = mac80211_hwsim_parse_ftm_result(pmsr, &result->ftm, info); in mac80211_hwsim_parse_pmsr_resp()
6054 out->ftm.supported = 1; in parse_ftm_capa()
6056 out->ftm.preambles = nla_get_u32(tb[NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES]); in parse_ftm_capa()
6058 out->ftm.bandwidths = nla_get_u32(tb[NL80211_PMSR_FTM_CAPA_ATTR_BANDWIDTHS]); in parse_ftm_capa()
6060 out->ftm.max_bursts_exponent = in parse_ftm_capa()
6063 out->ftm.max_ftms_per_burst = in parse_ftm_capa()
6065 out->ftm.asap = !!tb[NL80211_PMSR_FTM_CAPA_ATTR_ASAP]; in parse_ftm_capa()
6066 out->ftm.non_asap = !!tb[NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP]; in parse_ftm_capa()
6067 out->ftm.request_lci = !!tb[NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI]; in parse_ftm_capa()
6068 out->ftm.request_civicloc = !!tb[NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC]; in parse_ftm_capa()
6069 out->ftm.trigger_based = !!tb[NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED]; in parse_ftm_capa()
6070 out->ftm.non_trigger_based = !!tb[NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED]; in parse_ftm_capa()