Lines Matching refs:ftm
2110 struct nlattr *ftm; in nl80211_send_pmsr_ftm_capa() local
2112 if (!cap->ftm.supported) in nl80211_send_pmsr_ftm_capa()
2115 ftm = nla_nest_start_noflag(msg, NL80211_PMSR_TYPE_FTM); in nl80211_send_pmsr_ftm_capa()
2116 if (!ftm) in nl80211_send_pmsr_ftm_capa()
2119 if (cap->ftm.asap && nla_put_flag(msg, NL80211_PMSR_FTM_CAPA_ATTR_ASAP)) in nl80211_send_pmsr_ftm_capa()
2121 if (cap->ftm.non_asap && in nl80211_send_pmsr_ftm_capa()
2124 if (cap->ftm.request_lci && in nl80211_send_pmsr_ftm_capa()
2127 if (cap->ftm.request_civicloc && in nl80211_send_pmsr_ftm_capa()
2131 cap->ftm.preambles)) in nl80211_send_pmsr_ftm_capa()
2134 cap->ftm.bandwidths)) in nl80211_send_pmsr_ftm_capa()
2136 if (cap->ftm.max_bursts_exponent >= 0 && in nl80211_send_pmsr_ftm_capa()
2138 cap->ftm.max_bursts_exponent)) in nl80211_send_pmsr_ftm_capa()
2140 if (cap->ftm.max_ftms_per_burst && in nl80211_send_pmsr_ftm_capa()
2142 cap->ftm.max_ftms_per_burst)) in nl80211_send_pmsr_ftm_capa()
2144 if (cap->ftm.trigger_based && in nl80211_send_pmsr_ftm_capa()
2147 if (cap->ftm.non_trigger_based && in nl80211_send_pmsr_ftm_capa()
2151 nla_nest_end(msg, ftm); in nl80211_send_pmsr_ftm_capa()