• Home
  • Raw
  • Download

Lines Matching refs:res

333 				     struct cfg80211_pmsr_result *res)  in nl80211_pmsr_send_ftm_res()  argument
335 if (res->status == NL80211_PMSR_STATUS_FAILURE) { in nl80211_pmsr_send_ftm_res()
337 res->ftm.failure_reason)) in nl80211_pmsr_send_ftm_res()
340 if (res->ftm.failure_reason == in nl80211_pmsr_send_ftm_res()
342 res->ftm.busy_retry_time && in nl80211_pmsr_send_ftm_res()
344 res->ftm.busy_retry_time)) in nl80211_pmsr_send_ftm_res()
354 res->ftm.val)) \ in nl80211_pmsr_send_ftm_res()
360 if (res->ftm.val##_valid) \ in nl80211_pmsr_send_ftm_res()
368 res->ftm.val, \ in nl80211_pmsr_send_ftm_res()
375 if (res->ftm.val##_valid) \ in nl80211_pmsr_send_ftm_res()
379 if (res->ftm.burst_index >= 0) in nl80211_pmsr_send_ftm_res()
388 if (res->ftm.tx_rate_valid && in nl80211_pmsr_send_ftm_res()
389 !nl80211_put_sta_rate(msg, &res->ftm.tx_rate, in nl80211_pmsr_send_ftm_res()
392 if (res->ftm.rx_rate_valid && in nl80211_pmsr_send_ftm_res()
393 !nl80211_put_sta_rate(msg, &res->ftm.rx_rate, in nl80211_pmsr_send_ftm_res()
402 if (res->ftm.lci && res->ftm.lci_len && in nl80211_pmsr_send_ftm_res()
404 res->ftm.lci_len, res->ftm.lci)) in nl80211_pmsr_send_ftm_res()
406 if (res->ftm.civicloc && res->ftm.civicloc_len && in nl80211_pmsr_send_ftm_res()
408 res->ftm.civicloc_len, res->ftm.civicloc)) in nl80211_pmsr_send_ftm_res()
421 struct cfg80211_pmsr_result *res) in nl80211_pmsr_send_result() argument
437 if (nla_put(msg, NL80211_PMSR_PEER_ATTR_ADDR, ETH_ALEN, res->addr)) in nl80211_pmsr_send_result()
444 if (nla_put_u32(msg, NL80211_PMSR_RESP_ATTR_STATUS, res->status) || in nl80211_pmsr_send_result()
446 res->host_time, NL80211_PMSR_RESP_ATTR_PAD)) in nl80211_pmsr_send_result()
449 if (res->ap_tsf_valid && in nl80211_pmsr_send_result()
451 res->ap_tsf, NL80211_PMSR_RESP_ATTR_PAD)) in nl80211_pmsr_send_result()
454 if (res->final && nla_put_flag(msg, NL80211_PMSR_RESP_ATTR_FINAL)) in nl80211_pmsr_send_result()
461 typedata = nla_nest_start_noflag(msg, res->type); in nl80211_pmsr_send_result()
465 switch (res->type) { in nl80211_pmsr_send_result()
467 if (nl80211_pmsr_send_ftm_res(msg, res)) in nl80211_pmsr_send_result()