Lines Matching refs:iconf
1136 freq, ht, hapd->iconf->ch_switch_vht_config, in hostapd_event_ch_switch()
1137 hapd->iconf->ch_switch_he_config, in hostapd_event_ch_switch()
1138 hapd->iconf->ch_switch_eht_config, offset, in hostapd_event_ch_switch()
1210 hapd->iconf->channel = channel; in hostapd_event_ch_switch()
1211 hapd->iconf->ieee80211n = ht; in hostapd_event_ch_switch()
1213 hapd->iconf->ieee80211ac = 0; in hostapd_event_ch_switch()
1214 if (hapd->iconf->ch_switch_vht_config) { in hostapd_event_ch_switch()
1216 if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
1218 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
1219 else if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
1221 hapd->iconf->ieee80211ac = 0; in hostapd_event_ch_switch()
1223 if (hapd->iconf->ch_switch_he_config) { in hostapd_event_ch_switch()
1225 if (hapd->iconf->ch_switch_he_config & in hostapd_event_ch_switch()
1227 hapd->iconf->ieee80211ax = 1; in hostapd_event_ch_switch()
1230 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
1232 else if (hapd->iconf->ch_switch_he_config & in hostapd_event_ch_switch()
1234 hapd->iconf->ieee80211ax = 0; in hostapd_event_ch_switch()
1237 if (hapd->iconf->ch_switch_eht_config) { in hostapd_event_ch_switch()
1239 if (hapd->iconf->ch_switch_eht_config & in hostapd_event_ch_switch()
1241 hapd->iconf->ieee80211be = 1; in hostapd_event_ch_switch()
1242 hapd->iconf->ieee80211ax = 1; in hostapd_event_ch_switch()
1245 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
1246 } else if (hapd->iconf->ch_switch_eht_config & in hostapd_event_ch_switch()
1248 hapd->iconf->ieee80211be = 0; in hostapd_event_ch_switch()
1251 hapd->iconf->ch_switch_vht_config = 0; in hostapd_event_ch_switch()
1252 hapd->iconf->ch_switch_he_config = 0; in hostapd_event_ch_switch()
1253 hapd->iconf->ch_switch_eht_config = 0; in hostapd_event_ch_switch()
1258 hapd->iconf->ht_capab |= HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET; in hostapd_event_ch_switch()
1260 hapd->iconf->ht_capab &= ~HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET; in hostapd_event_ch_switch()
1262 hapd->iconf->secondary_channel = offset; in hostapd_event_ch_switch()
1266 hapd->iconf->op_class = op_class; in hostapd_event_ch_switch()
1267 hostapd_set_oper_chwidth(hapd->iconf, chwidth); in hostapd_event_ch_switch()
1268 hostapd_set_oper_centr_freq_seg0_idx(hapd->iconf, seg0_idx); in hostapd_event_ch_switch()
1269 hostapd_set_oper_centr_freq_seg1_idx(hapd->iconf, seg1_idx); in hostapd_event_ch_switch()
1271 hostapd_set_and_check_bw320_offset(hapd->iconf, 0); in hostapd_event_ch_switch()
1273 hapd->iconf->punct_bitmap = punct_bitmap; in hostapd_event_ch_switch()
1275 if (hapd->iconf->ieee80211ac) { in hostapd_event_ch_switch()
1276 hapd->iconf->vht_capab &= ~VHT_CAP_SUPP_CHAN_WIDTH_MASK; in hostapd_event_ch_switch()
1278 hapd->iconf->vht_capab |= in hostapd_event_ch_switch()
1281 hapd->iconf->vht_capab |= in hostapd_event_ch_switch()
1390 if (hapd->iconf->channel) { in hostapd_acs_channel_selected()
1392 hapd->iconf->channel); in hostapd_acs_channel_selected()
1442 hapd->iconf->channel = pri_chan->chan; in hostapd_acs_channel_selected()
1443 hapd->iconf->acs = 1; in hostapd_acs_channel_selected()
1446 hapd->iconf->secondary_channel = 0; in hostapd_acs_channel_selected()
1448 hapd->iconf->secondary_channel = -1; in hostapd_acs_channel_selected()
1450 hapd->iconf->secondary_channel = 1; in hostapd_acs_channel_selected()
1457 hapd->iconf->edmg_channel = acs_res->edmg_channel; in hostapd_acs_channel_selected()
1461 hostapd_set_oper_centr_freq_seg1_idx(hapd->iconf, 0); in hostapd_acs_channel_selected()
1462 hostapd_set_oper_centr_freq_seg0_idx(hapd->iconf, 0); in hostapd_acs_channel_selected()
1463 hostapd_set_oper_chwidth(hapd->iconf, CONF_OPER_CHWIDTH_USE_HT); in hostapd_acs_channel_selected()
1467 hapd->iconf, in hostapd_acs_channel_selected()
1471 hapd->iconf, acs_res->vht_seg0_center_ch); in hostapd_acs_channel_selected()
1474 hapd->iconf, CONF_OPER_CHWIDTH_80MHZ); in hostapd_acs_channel_selected()
1477 hapd->iconf, in hostapd_acs_channel_selected()
1480 hapd->iconf, in hostapd_acs_channel_selected()
1484 hostapd_set_oper_chwidth(hapd->iconf, in hostapd_acs_channel_selected()
1487 hapd->iconf, acs_res->vht_seg1_center_ch); in hostapd_acs_channel_selected()
1493 hostapd_set_oper_chwidth(hapd->iconf, CONF_OPER_CHWIDTH_320MHZ); in hostapd_acs_channel_selected()
1495 hapd->iconf, acs_res->vht_seg1_center_ch); in hostapd_acs_channel_selected()
1496 hostapd_set_oper_centr_freq_seg1_idx(hapd->iconf, 0); in hostapd_acs_channel_selected()
1500 hapd->iconf->punct_bitmap = acs_res->puncture_bitmap; in hostapd_acs_channel_selected()