dfs.c (c1d255d3ffdbe447de3ab875bf4e7d7accc5bfc5) | dfs.c (32a95656b51ebefcdf3e0b02c110825f59abd26f) |
---|---|
1/* 2 * DFS - Dynamic Frequency Selection 3 * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi> 4 * Copyright (c) 2013-2017, Qualcomm Atheros, Inc. 5 * 6 * This software may be distributed under the terms of the BSD license. 7 * See README for more details. 8 */ --- 232 unchanged lines hidden (view full) --- 241 242 if (!is_in_chanlist(iface, chan)) { 243 wpa_printf(MSG_DEBUG, 244 "DFS: channel %d (%d) not in chanlist", 245 chan->freq, chan->chan); 246 continue; 247 } 248 | 1/* 2 * DFS - Dynamic Frequency Selection 3 * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi> 4 * Copyright (c) 2013-2017, Qualcomm Atheros, Inc. 5 * 6 * This software may be distributed under the terms of the BSD license. 7 * See README for more details. 8 */ --- 232 unchanged lines hidden (view full) --- 241 242 if (!is_in_chanlist(iface, chan)) { 243 wpa_printf(MSG_DEBUG, 244 "DFS: channel %d (%d) not in chanlist", 245 chan->freq, chan->chan); 246 continue; 247 } 248 |
249 if (chan->max_tx_power < iface->conf->min_tx_power) 250 continue; 251 |
|
249 if (ret_chan && idx == channel_idx) { 250 wpa_printf(MSG_DEBUG, "Selected channel %d (%d)", 251 chan->freq, chan->chan); 252 *ret_chan = chan; 253 return idx; 254 } 255 wpa_printf(MSG_DEBUG, "Adding channel %d (%d)", 256 chan->freq, chan->chan); --- 1114 unchanged lines hidden --- | 252 if (ret_chan && idx == channel_idx) { 253 wpa_printf(MSG_DEBUG, "Selected channel %d (%d)", 254 chan->freq, chan->chan); 255 *ret_chan = chan; 256 return idx; 257 } 258 wpa_printf(MSG_DEBUG, "Adding channel %d (%d)", 259 chan->freq, chan->chan); --- 1114 unchanged lines hidden --- |