Searched refs:n_chans (Results 1 – 2 of 2) sorted by relevance
24 int n_chans = 1; in dfs_get_used_n_chans() local29 n_chans = 2; in dfs_get_used_n_chans()36 n_chans = 4; in dfs_get_used_n_chans()39 n_chans = 8; in dfs_get_used_n_chans()42 n_chans = 4; in dfs_get_used_n_chans()50 return n_chans; in dfs_get_used_n_chans()77 static int dfs_is_chan_allowed(struct hostapd_channel_data *chan, int n_chans) in dfs_is_chan_allowed() argument98 switch (n_chans) { in dfs_is_chan_allowed()112 wpa_printf(MSG_DEBUG, "Unknown width for %d channels", n_chans); in dfs_is_chan_allowed()188 int i, channel_idx = 0, n_chans, n_chans1; in dfs_find_channel() local[all …]
567 int n_chans = 1; in acs_find_ideal_chan() local580 n_chans = 2; in acs_find_ideal_chan()584 n_chans = 4; in acs_find_ideal_chan()589 n_chans == 1 ? 20 : in acs_find_ideal_chan()590 n_chans == 2 ? 40 : in acs_find_ideal_chan()630 for (j = 1; j < n_chans; j++) { in acs_find_ideal_chan()641 if (j != n_chans) { in acs_find_ideal_chan()650 for (j = 0; j < n_chans; j++) { in acs_find_ideal_chan()