Home
last modified time | relevance | path

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

/wlan-driver/qcacld-3.0/core/wma/src/
Dwma_data.c254 int32_t upper, lower, mid; in wma_bin_search_rate() local
260 upper = 0; /* index 0 */ in wma_bin_search_rate()
263 if (*mbpsx10_rate >= tbl[upper].rate) { in wma_bin_search_rate()
265 *mbpsx10_rate = tbl[upper].rate; in wma_bin_search_rate()
266 *ret_flag = tbl[upper].flag; in wma_bin_search_rate()
275 while (lower - upper > 1) { in wma_bin_search_rate()
276 mid = (upper + lower) >> 1; in wma_bin_search_rate()
290 upper = mid; in wma_bin_search_rate()
293 *mbpsx10_rate = tbl[upper].rate; in wma_bin_search_rate()
294 *ret_flag = tbl[upper].flag; in wma_bin_search_rate()
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_cfg80211.c1736 static qdf_freq_t wlan_hdd_get_adjacent_chan_freq(qdf_freq_t freq, bool upper) in wlan_hdd_get_adjacent_chan_freq() argument
1743 if (upper && (ch_idx < (NUM_CHANNELS - 1))) in wlan_hdd_get_adjacent_chan_freq()
1745 else if (!upper && (ch_idx > CHAN_ENUM_2412)) in wlan_hdd_get_adjacent_chan_freq()