Lines Matching refs:iconf

1138 		       freq, ht, hapd->iconf->ch_switch_vht_config,  in hostapd_event_ch_switch()
1139 hapd->iconf->ch_switch_he_config, in hostapd_event_ch_switch()
1140 hapd->iconf->ch_switch_eht_config, offset, in hostapd_event_ch_switch()
1212 hapd->iconf->channel = channel; in hostapd_event_ch_switch()
1213 hapd->iconf->ieee80211n = ht; in hostapd_event_ch_switch()
1215 hapd->iconf->ieee80211ac = 0; in hostapd_event_ch_switch()
1216 if (hapd->iconf->ch_switch_vht_config) { in hostapd_event_ch_switch()
1218 if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
1220 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
1221 else if (hapd->iconf->ch_switch_vht_config & in hostapd_event_ch_switch()
1223 hapd->iconf->ieee80211ac = 0; in hostapd_event_ch_switch()
1225 if (hapd->iconf->ch_switch_he_config) { in hostapd_event_ch_switch()
1227 if (hapd->iconf->ch_switch_he_config & in hostapd_event_ch_switch()
1229 hapd->iconf->ieee80211ax = 1; in hostapd_event_ch_switch()
1232 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
1234 else if (hapd->iconf->ch_switch_he_config & in hostapd_event_ch_switch()
1236 hapd->iconf->ieee80211ax = 0; in hostapd_event_ch_switch()
1239 if (hapd->iconf->ch_switch_eht_config) { in hostapd_event_ch_switch()
1241 if (hapd->iconf->ch_switch_eht_config & in hostapd_event_ch_switch()
1243 hapd->iconf->ieee80211be = 1; in hostapd_event_ch_switch()
1244 hapd->iconf->ieee80211ax = 1; in hostapd_event_ch_switch()
1247 hapd->iconf->ieee80211ac = 1; in hostapd_event_ch_switch()
1248 } else if (hapd->iconf->ch_switch_eht_config & in hostapd_event_ch_switch()
1250 hapd->iconf->ieee80211be = 0; in hostapd_event_ch_switch()
1253 hapd->iconf->ch_switch_vht_config = 0; in hostapd_event_ch_switch()
1254 hapd->iconf->ch_switch_he_config = 0; in hostapd_event_ch_switch()
1255 hapd->iconf->ch_switch_eht_config = 0; 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->ht_capab &= ~HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET; in hostapd_event_ch_switch()
1264 hapd->iconf->secondary_channel = offset; in hostapd_event_ch_switch()
1268 hapd->iconf->op_class = op_class; in hostapd_event_ch_switch()
1269 hostapd_set_oper_chwidth(hapd->iconf, chwidth); in hostapd_event_ch_switch()
1270 hostapd_set_oper_centr_freq_seg0_idx(hapd->iconf, seg0_idx); in hostapd_event_ch_switch()
1271 hostapd_set_oper_centr_freq_seg1_idx(hapd->iconf, seg1_idx); in hostapd_event_ch_switch()
1273 hostapd_set_and_check_bw320_offset(hapd->iconf, 0); in hostapd_event_ch_switch()
1275 hapd->iconf->punct_bitmap = punct_bitmap; in hostapd_event_ch_switch()
1277 if (hapd->iconf->ieee80211ac) { in hostapd_event_ch_switch()
1278 hapd->iconf->vht_capab &= ~VHT_CAP_SUPP_CHAN_WIDTH_MASK; in hostapd_event_ch_switch()
1280 hapd->iconf->vht_capab |= in hostapd_event_ch_switch()
1283 hapd->iconf->vht_capab |= in hostapd_event_ch_switch()
1392 if (hapd->iconf->channel) { in hostapd_acs_channel_selected()
1394 hapd->iconf->channel); in hostapd_acs_channel_selected()
1444 hapd->iconf->channel = pri_chan->chan; in hostapd_acs_channel_selected()
1445 hapd->iconf->acs = 1; in hostapd_acs_channel_selected()
1448 hapd->iconf->secondary_channel = 0; in hostapd_acs_channel_selected()
1450 hapd->iconf->secondary_channel = -1; in hostapd_acs_channel_selected()
1452 hapd->iconf->secondary_channel = 1; in hostapd_acs_channel_selected()
1459 hapd->iconf->edmg_channel = acs_res->edmg_channel; in hostapd_acs_channel_selected()
1463 hostapd_set_oper_centr_freq_seg1_idx(hapd->iconf, 0); in hostapd_acs_channel_selected()
1464 hostapd_set_oper_centr_freq_seg0_idx(hapd->iconf, 0); in hostapd_acs_channel_selected()
1465 hostapd_set_oper_chwidth(hapd->iconf, CONF_OPER_CHWIDTH_USE_HT); in hostapd_acs_channel_selected()
1469 hapd->iconf, in hostapd_acs_channel_selected()
1473 hapd->iconf, acs_res->vht_seg0_center_ch); in hostapd_acs_channel_selected()
1476 hapd->iconf, CONF_OPER_CHWIDTH_80MHZ); in hostapd_acs_channel_selected()
1479 hapd->iconf, in hostapd_acs_channel_selected()
1482 hapd->iconf, in hostapd_acs_channel_selected()
1486 hostapd_set_oper_chwidth(hapd->iconf, in hostapd_acs_channel_selected()
1489 hapd->iconf, acs_res->vht_seg1_center_ch); in hostapd_acs_channel_selected()
1495 hostapd_set_oper_chwidth(hapd->iconf, CONF_OPER_CHWIDTH_320MHZ); in hostapd_acs_channel_selected()
1497 hapd->iconf, acs_res->vht_seg1_center_ch); in hostapd_acs_channel_selected()
1498 hostapd_set_oper_centr_freq_seg1_idx(hapd->iconf, 0); in hostapd_acs_channel_selected()
1502 hapd->iconf->punct_bitmap = acs_res->puncture_bitmap; in hostapd_acs_channel_selected()