Lines Matching refs:iface

93 	struct hostapd_hw_modes *mode = hapd->iface->current_mode;  in hostapd_eid_he_capab()
105 switch (hapd->iface->conf->he_oper_chwidth) { in hostapd_eid_he_capab()
142 if (hapd->iface->conf->he_phy_capab.he_su_beamformer) in hostapd_eid_he_capab()
149 if (hapd->iface->conf->he_phy_capab.he_su_beamformee) in hostapd_eid_he_capab()
156 if (hapd->iface->conf->he_phy_capab.he_mu_beamformer) in hostapd_eid_he_capab()
179 if (!hapd->iface->current_mode) in hostapd_eid_he_operation()
192 if (hapd->iface->conf->he_op.he_default_pe_duration) in hostapd_eid_he_operation()
193 params |= (hapd->iface->conf->he_op.he_default_pe_duration << in hostapd_eid_he_operation()
196 if (hapd->iface->conf->he_op.he_twt_required) in hostapd_eid_he_operation()
199 if (hapd->iface->conf->he_op.he_rts_threshold) in hostapd_eid_he_operation()
200 params |= (hapd->iface->conf->he_op.he_rts_threshold << in hostapd_eid_he_operation()
203 if (hapd->iface->conf->he_op.he_er_su_disable) in hostapd_eid_he_operation()
206 if (hapd->iface->conf->he_op.he_bss_color_disabled || in hostapd_eid_he_operation()
209 if (hapd->iface->conf->he_op.he_bss_color_partial) in hostapd_eid_he_operation()
211 params |= hapd->iface->conf->he_op.he_bss_color << in hostapd_eid_he_operation()
216 host_to_le16(hapd->iface->conf->he_op.he_basic_mcs_nss_set); in hostapd_eid_he_operation()
297 pos = (u8 *) &hapd->iface->conf->he_mu_edca; in hostapd_eid_he_mu_edca_parameter_set()
311 os_memcpy(edca, &hapd->iface->conf->he_mu_edca, sizeof(*edca)); in hostapd_eid_he_mu_edca_parameter_set()
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()
346 spr->sr_ctrl = hapd->iface->conf->spr.sr_control; in hostapd_eid_spatial_reuse()
351 hapd->iface->conf->spr.non_srg_obss_pd_max_offset; 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()
371 struct hostapd_config *conf = hapd->iface->conf; in hostapd_eid_he_6ghz_band_cap()
372 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_6ghz_band_cap()
379 !is_6ghz_freq(hapd->iface->freq)) in hostapd_eid_he_6ghz_band_cap()
433 if (!hapd->iface->current_mode) in check_valid_he_mcs()
435 ap_mcs_set = (u16 *) hapd->iface->current_mode->he_capab[opmode].mcs; in check_valid_he_mcs()
445 switch (hapd->iface->conf->he_oper_chwidth) { in check_valid_he_mcs()
546 if (!hapd->iface->current_mode || in hostapd_get_he_twt_responder()
547 !hapd->iface->current_mode->he_capab[mode].he_supported || in hostapd_get_he_twt_responder()
551 mac_cap = hapd->iface->current_mode->he_capab[mode].mac_cap; in hostapd_get_he_twt_responder()
554 hapd->iface->conf->he_op.he_twt_responder; in hostapd_get_he_twt_responder()