Home
last modified time | relevance | path

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

/linux/net/wireless/
H A Dpmsr.c15 const struct cfg80211_pmsr_capabilities *capa = rdev->wiphy.pmsr_capa; in pmsr_parse_ftm()
20 if (!(rdev->wiphy.pmsr_capa->ftm.bandwidths & BIT(out->chandef.width))) { in pmsr_parse_ftm()
260 if (out->report_ap_tsf && !rdev->wiphy.pmsr_capa->report_ap_tsf) { in pmsr_parse_peer()
294 if (!rdev->wiphy.pmsr_capa) in nl80211_pmsr_start()
309 if (count > rdev->wiphy.pmsr_capa->max_peers) { in nl80211_pmsr_start()
325 if (!rdev->wiphy.pmsr_capa->randomize_mac_addr) { in nl80211_pmsr_start()
H A Dcore.c845 if (WARN_ON(wiphy->pmsr_capa && !wiphy->pmsr_capa->ftm.supported)) in wiphy_register()
848 if (wiphy->pmsr_capa && wiphy->pmsr_capa->ftm.supported) { in wiphy_register()
849 if (WARN_ON(!wiphy->pmsr_capa->ftm.asap && in wiphy_register()
850 !wiphy->pmsr_capa->ftm.non_asap)) in wiphy_register()
852 if (WARN_ON(!wiphy->pmsr_capa->ftm.preambles || in wiphy_register()
853 !wiphy->pmsr_capa->ftm.bandwidths)) in wiphy_register()
855 if (WARN_ON(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
862 if (WARN_ON((wiphy->pmsr_capa->ftm.trigger_based || in wiphy_register()
863 wiphy->pmsr_capa->ftm.non_trigger_based) && in wiphy_register()
864 !(wiphy->pmsr_capa->ftm.preambles & in wiphy_register()
[all …]
H A Dnl80211.c2523 const struct cfg80211_pmsr_capabilities *cap = rdev->wiphy.pmsr_capa; in nl80211_send_pmsr_capa()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c756 struct cfg80211_pmsr_capabilities pmsr_capa; member
4411 const struct cfg80211_pmsr_capabilities *pmsr_capa; member
6052 if (param->pmsr_capa) { in mac80211_hwsim_new_radio()
6053 data->pmsr_capa = *param->pmsr_capa; in mac80211_hwsim_new_radio()
6054 hw->wiphy->pmsr_capa = &data->pmsr_capa; in mac80211_hwsim_new_radio()
6168 param.pmsr_capa = &data->pmsr_capa; in mac80211_hwsim_get_radio()
6538 static int parse_pmsr_capa(const struct nlattr *pmsr_capa, struct cfg80211_pmsr_capabilities *out, in parse_pmsr_capa() argument
6546 ret = nla_parse_nested(tb, NL80211_PMSR_ATTR_MAX, pmsr_capa, hwsim_pmsr_capa_policy, NULL); in parse_pmsr_capa()
6548 NL_SET_ERR_MSG_ATTR(info->extack, pmsr_capa, "malformed PMSR capability"); in parse_pmsr_capa()
6712 struct cfg80211_pmsr_capabilities *pmsr_capa; in hwsim_new_radio_nl() local
[all …]