Lines Matching full:spr
324 struct ieee80211_spatial_reuse *spr; in hostapd_eid_spatial_reuse() local
328 if (!hapd->iface->conf->spr.sr_control) in hostapd_eid_spatial_reuse()
331 if (hapd->iface->conf->spr.sr_control & in hostapd_eid_spatial_reuse()
335 if (hapd->iface->conf->spr.sr_control & in hostapd_eid_spatial_reuse()
343 spr = (struct ieee80211_spatial_reuse *) pos; in hostapd_eid_spatial_reuse()
344 os_memset(spr, 0, sizeof(*spr)); in hostapd_eid_spatial_reuse()
346 spr->sr_ctrl = hapd->iface->conf->spr.sr_control; in hostapd_eid_spatial_reuse()
348 spr_param = spr->params; in hostapd_eid_spatial_reuse()
349 if (spr->sr_ctrl & SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT) { in hostapd_eid_spatial_reuse()
351 hapd->iface->conf->spr.non_srg_obss_pd_max_offset; in hostapd_eid_spatial_reuse()
354 if (spr->sr_ctrl & SPATIAL_REUSE_SRG_INFORMATION_PRESENT) { in hostapd_eid_spatial_reuse()
355 *spr_param++ = hapd->iface->conf->spr.srg_obss_pd_min_offset; in hostapd_eid_spatial_reuse()
356 *spr_param++ = hapd->iface->conf->spr.srg_obss_pd_max_offset; in hostapd_eid_spatial_reuse()
358 hapd->iface->conf->spr.srg_bss_color_bitmap, 8); in hostapd_eid_spatial_reuse()
361 hapd->iface->conf->spr.srg_partial_bssid_bitmap, 8); in hostapd_eid_spatial_reuse()