Lines Matching refs:sar_capa
2314 struct nlattr *sar_capa, *specs, *sub_freq_range; in nl80211_put_sar_specs() local
2318 if (!rdev->wiphy.sar_capa) in nl80211_put_sar_specs()
2321 num_freq_ranges = rdev->wiphy.sar_capa->num_freq_ranges; in nl80211_put_sar_specs()
2323 sar_capa = nla_nest_start(msg, NL80211_ATTR_SAR_SPEC); in nl80211_put_sar_specs()
2324 if (!sar_capa) in nl80211_put_sar_specs()
2327 if (nla_put_u32(msg, NL80211_SAR_ATTR_TYPE, rdev->wiphy.sar_capa->type)) in nl80211_put_sar_specs()
2341 rdev->wiphy.sar_capa->freq_ranges[i].start_freq)) in nl80211_put_sar_specs()
2345 rdev->wiphy.sar_capa->freq_ranges[i].end_freq)) in nl80211_put_sar_specs()
2352 nla_nest_end(msg, sar_capa); in nl80211_put_sar_specs()
2356 nla_nest_cancel(msg, sar_capa); in nl80211_put_sar_specs()
2641 if (rdev->wiphy.sar_capa) in nl80211_send_wiphy()
16653 if (range_index >= rdev->wiphy.sar_capa->num_freq_ranges) in nl80211_set_sar_sub_specs()
16681 if (!rdev->wiphy.sar_capa || !rdev->ops->set_sar_specs) in nl80211_set_sar_specs()
16695 if (type != rdev->wiphy.sar_capa->type) in nl80211_set_sar_specs()
16702 if (specs > rdev->wiphy.sar_capa->num_freq_ranges) in nl80211_set_sar_specs()