Home
last modified time | relevance | path

Searched refs:n_chans (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Ddfs.c24 int n_chans = 1; in dfs_get_used_n_chans() local
29 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() argument
98 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 …]
Dacs.c578 int n_chans = 1; in acs_find_ideal_chan() local
591 n_chans = 2; in acs_find_ideal_chan()
595 n_chans = 4; in acs_find_ideal_chan()
600 n_chans == 1 ? 20 : in acs_find_ideal_chan()
601 n_chans == 2 ? 40 : in acs_find_ideal_chan()
602 n_chans == 4 ? 80 : in acs_find_ideal_chan()
642 for (j = 1; j < n_chans; j++) { in acs_find_ideal_chan()
653 if (j != n_chans) { in acs_find_ideal_chan()
662 for (j = 0; j < n_chans; j++) { in acs_find_ideal_chan()