Home
last modified time | relevance | path

Searched refs:pmsr_capa (Results 1 – 6 of 6) sorted by relevance

/linux/net/wireless/
H A Dcore.c894 if (WARN_ON(wiphy->pmsr_capa && !wiphy->pmsr_capa->ftm.supported)) in wiphy_register()
897 if (wiphy->pmsr_capa && wiphy->pmsr_capa->ftm.supported) { in wiphy_register()
898 if (WARN_ON(!wiphy->pmsr_capa->ftm.asap && in wiphy_register()
899 !wiphy->pmsr_capa->ftm.non_asap)) in wiphy_register()
901 if (WARN_ON(!wiphy->pmsr_capa->ftm.preambles || in wiphy_register()
902 !wiphy->pmsr_capa->ftm.bandwidths)) in wiphy_register()
904 if (WARN_ON(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
911 if (WARN_ON((wiphy->pmsr_capa->ftm.trigger_based || in wiphy_register()
912 wiphy->pmsr_capa->ftm.non_trigger_based) && in wiphy_register()
913 !(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
[all …]
H A Dpmsr.c15 const struct cfg80211_pmsr_capabilities *capa = rdev->wiphy.pmsr_capa; in pmsr_parse_ftm()
341 !rdev->wiphy.pmsr_capa->ftm.type.pd_support) { in pmsr_parse_peer()
375 if (out->report_ap_tsf && !rdev->wiphy.pmsr_capa->report_ap_tsf) { in pmsr_parse_peer()
425 capa = rdev->wiphy.pmsr_capa; in nl80211_pmsr_start()
H A Dnl80211.c2665 const struct cfg80211_pmsr_capabilities *cap = rdev->wiphy.pmsr_capa; in nl80211_send_pmsr_capa()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim_main.c4394 const struct cfg80211_pmsr_capabilities *pmsr_capa; member
6171 if (param->pmsr_capa) { in mac80211_hwsim_new_radio()
6172 data->pmsr_capa = *param->pmsr_capa; in mac80211_hwsim_new_radio()
6173 hw->wiphy->pmsr_capa = &data->pmsr_capa; in mac80211_hwsim_new_radio()
6287 param.pmsr_capa = &data->pmsr_capa; in mac80211_hwsim_get_radio()
6766 static int parse_pmsr_capa(const struct nlattr *pmsr_capa, struct cfg80211_pmsr_capabilities *out, in parse_pmsr_capa() argument
6774 ret = nla_parse_nested(tb, NL80211_PMSR_ATTR_MAX, pmsr_capa, hwsim_pmsr_capa_policy, NULL); in parse_pmsr_capa()
6776 NL_SET_ERR_MSG_ATTR(info->extack, pmsr_capa, "malformed PMSR capability"); in parse_pmsr_capa()
6943 struct cfg80211_pmsr_capabilities *pmsr_capa; in hwsim_new_radio_nl() local
6945 pmsr_capa = kzalloc_obj(*pmsr_capa); in hwsim_new_radio_nl()
[all …]
/linux/include/net/
H A Dcfg80211.h6676 const struct cfg80211_pmsr_capabilities *pmsr_capa; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac80211.c488 hw->wiphy->pmsr_capa = &iwl_mvm_pmsr_capa; in iwl_mvm_mac_setup_register()