Lines Matching defs:conf
1014 static inline u8 hostapd_get_oper_chwidth(struct hostapd_config *conf)
1017 if (conf->ieee80211ax)
1018 return conf->he_oper_chwidth;
1020 return conf->vht_oper_chwidth;
1024 hostapd_set_oper_chwidth(struct hostapd_config *conf, u8 oper_chwidth)
1027 if (conf->ieee80211ax)
1028 conf->he_oper_chwidth = oper_chwidth;
1030 conf->vht_oper_chwidth = oper_chwidth;
1034 hostapd_get_oper_centr_freq_seg0_idx(struct hostapd_config *conf)
1037 if (conf->ieee80211ax)
1038 return conf->he_oper_centr_freq_seg0_idx;
1040 return conf->vht_oper_centr_freq_seg0_idx;
1044 hostapd_set_oper_centr_freq_seg0_idx(struct hostapd_config *conf,
1048 if (conf->ieee80211ax)
1049 conf->he_oper_centr_freq_seg0_idx = oper_centr_freq_seg0_idx;
1051 conf->vht_oper_centr_freq_seg0_idx = oper_centr_freq_seg0_idx;
1055 hostapd_get_oper_centr_freq_seg1_idx(struct hostapd_config *conf)
1058 if (conf->ieee80211ax)
1059 return conf->he_oper_centr_freq_seg1_idx;
1061 return conf->vht_oper_centr_freq_seg1_idx;
1065 hostapd_set_oper_centr_freq_seg1_idx(struct hostapd_config *conf,
1069 if (conf->ieee80211ax)
1070 conf->he_oper_centr_freq_seg1_idx = oper_centr_freq_seg1_idx;
1072 conf->vht_oper_centr_freq_seg1_idx = oper_centr_freq_seg1_idx;
1083 void hostapd_config_free_bss(struct hostapd_bss_config *conf);
1084 void hostapd_config_free(struct hostapd_config *conf);
1088 const u8 * hostapd_get_psk(const struct hostapd_bss_config *conf,
1091 int hostapd_setup_wpa_psk(struct hostapd_bss_config *conf);
1099 int hostapd_config_check(struct hostapd_config *conf, int full_config);
1102 int hostapd_sae_pw_id_in_use(struct hostapd_bss_config *conf);