Lines Matching refs:conf
27 if (iface->conf->ieee80211n && iface->conf->secondary_channel)
30 if (iface->conf->ieee80211ac) {
31 switch (iface->conf->vht_oper_chwidth) {
155 if (!iface->conf->chanlist)
158 for (entry = iface->conf->chanlist; *entry != -1; entry++) {
189 if (iface->conf->ieee80211n &&
190 iface->conf->secondary_channel &&
219 if (!iface->conf->ieee80211ac)
227 switch (iface->conf->vht_oper_chwidth) {
259 int channel_no = iface->conf->channel;
266 if (iface->conf->ieee80211n && iface->conf->secondary_channel == -1)
270 if (iface->conf->ieee80211ac) {
271 switch (iface->conf->vht_oper_chwidth) {
276 iface->conf->vht_oper_centr_freq_seg0_idx - 6;
280 iface->conf->vht_oper_centr_freq_seg0_idx - 14;
284 iface->conf->vht_oper_centr_freq_seg0_idx - 6;
286 iface->conf->vht_oper_centr_freq_seg1_idx - 6;
325 "DFS chan_idx seems wrong; num-ch: %d ch-no: %d conf-ch-no: %d 11n: %d sec-ch: %d vht-oper-width: %d",
326 mode->num_channels, channel_no, iface->conf->channel,
327 iface->conf->ieee80211n,
328 iface->conf->secondary_channel,
329 iface->conf->vht_oper_chwidth);
448 if (iface->conf->secondary_channel)
691 iface->conf->channel = channel->chan;
692 iface->conf
693 iface->conf->vht_oper_centr_freq_seg0_idx = cf1;
694 iface->conf->vht_oper_centr_freq_seg1_idx = cf2;
704 iface->conf->channel, iface->conf->secondary_channel,
705 iface->conf->vht_oper_chwidth,
706 iface->conf->vht_oper_centr_freq_seg0_idx,
707 iface->conf->vht_oper_centr_freq_seg1_idx,
710 res = hostapd_start_dfs_cac(iface, iface->conf->hw_mode,
712 iface->conf->channel,
713 iface->conf->ieee80211n,
714 iface->conf->ieee80211ac,
715 iface->conf->secondary_channel,
716 iface->conf->vht_oper_chwidth,
717 iface->conf->vht_oper_centr_freq_seg0_idx,
718 iface->conf->vht_oper_centr_freq_seg1_idx);
779 iface->conf->channel = channel->chan;
780 iface->conf->secondary_channel = secondary_channel;
781 iface->conf->vht_oper_centr_freq_seg0_idx =
783 iface->conf->vht_oper_centr_freq_seg1_idx =
849 iface->conf->channel = channel->chan;
850 iface->conf->secondary_channel = secondary_channel;
851 iface->conf->vht_oper_centr_freq_seg0_idx =
853 iface->conf->vht_oper_centr_freq_seg1_idx =
872 iface->conf->hw_mode,
875 iface->conf->ieee80211n,
876 iface->conf->ieee80211ac,
878 iface->conf->vht_oper_chwidth,
899 iface->conf->channel = channel->chan;
900 iface->conf->secondary_channel = secondary_channel;
901 iface->conf->vht_oper_centr_freq_seg0_idx =
903 iface->conf->vht_oper_centr_freq_seg1_idx =
925 if (!iface->conf->ieee80211h)
966 if (!iface->conf->ieee80211h || !iface->current_mode ||