Lines Matching defs:res
282 int res = -1, i;
323 res = i;
328 if (res != -1 && chan_seg1 > -1) {
342 res = -1;
345 if (res == -1) {
359 return res;
369 int i, res = 0;
376 res++;
379 return res;
418 int i, res = 0;
425 res++;
428 res++;
431 return res;
574 int res = 0;
621 res++;
625 wpa_printf(MSG_DEBUG, "overlapped: %d", res);
627 return res;
662 int res, n_chans, n_chans1, start_chan_idx, start_chan_idx1;
692 res = dfs_check_chans_radar(iface, start_chan_idx, n_chans);
695 res);
696 if (!res)
700 res = dfs_check_chans_available(iface, start_chan_idx, n_chans);
703 res ? "yes" : "no");
704 if (res)
708 res = dfs_check_chans_unavailable(iface, start_chan_idx,
711 res, res ? "yes": "no");
712 if (res) {
730 } while (res);
744 res = hostapd_start_dfs_cac(
753 if (res) {
754 wpa_printf(MSG_ERROR, "DFS start_dfs_cac() failed, %d", res);
1013 int res;
1031 res = dfs_are_channels_overlapped(iface, freq, chan_width, cf1, cf2);
1032 if (!res)
1036 res = hostapd_dfs_start_channel_switch(iface);
1038 return res;
1068 int n_chans, n_chans1, start_chan_idx, start_chan_idx1, res;
1083 res = dfs_check_chans_radar(iface, start_chan_idx, n_chans);
1084 if (res)
1085 return res;
1087 res = dfs_check_chans_radar(iface, start_chan_idx1, n_chans1);
1088 return res;