Home
last modified time | relevance | path

Searched refs:b_band (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_android_ext.c3070 int b_band[CH_MAX_2G_CHANNEL]={0}, a_band1[4]={0}, a_band4[5]={0}; in wl_ext_get_best_channel() local
3082 memset(b_band, -1, sizeof(b_band)); in wl_ext_get_best_channel()
3105 b_band[channel-1] = 0; in wl_ext_get_best_channel()
3161 for (j=0; j<ARRAYSIZE(b_band); j++) { in wl_ext_get_best_channel()
3162 if (b_band[j] >= 0 && abs(cen_ch-(1+j)) <= distance) in wl_ext_get_best_channel()
3163 b_band[j] += 1; in wl_ext_get_best_channel()
3218 if(b_band[i] < min_ap && b_band[i] >= 0) { in wl_ext_get_best_channel()
3219 min_ap = b_band[i]; in wl_ext_get_best_channel()
3276 for (j=0; j<ARRAYSIZE(b_band); j++) in wl_ext_get_best_channel()
3277 bcm_bprintf(&strbuf, "%d/%d, ", b_band[j], 1+j); in wl_ext_get_best_channel()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_android_ext.c3062 int b_band[CH_MAX_2G_CHANNEL]={0}, a_band1[4]={0}, a_band4[5]={0}; in wl_ext_get_best_channel() local
3073 memset(b_band, -1, sizeof(b_band)); in wl_ext_get_best_channel()
3105 b_band[channel-1] = 0; in wl_ext_get_best_channel()
3161 for (j=0; j<ARRAYSIZE(b_band); j++) { in wl_ext_get_best_channel()
3162 if (b_band[j] >= 0 && abs(cen_ch-(1+j)) <= distance) in wl_ext_get_best_channel()
3163 b_band[j] += 1; in wl_ext_get_best_channel()
3218 if(b_band[i] < min_ap && b_band[i] >= 0) { in wl_ext_get_best_channel()
3219 min_ap = b_band[i]; in wl_ext_get_best_channel()
3276 for (j=0; j<ARRAYSIZE(b_band); j++) in wl_ext_get_best_channel()
3277 bcm_bprintf(&strbuf, "%d/%d, ", b_band[j], 1+j); in wl_ext_get_best_channel()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_android_ext.c6732 int b_band[CH_MAX_2G_CHANNEL]={0}, a_band1[4]={0}, a_band4[5]={0}; in wl_ext_get_best_channel() local
6740 memset(b_band, -1, sizeof(b_band)); in wl_ext_get_best_channel()
6758 b_band[ch-1] = 0; in wl_ext_get_best_channel()
6795 for (j=0; j<ARRAYSIZE(b_band); j++) { in wl_ext_get_best_channel()
6796 if (b_band[j] >= 0 && abs(cen_ch-(1+j)) <= distance) in wl_ext_get_best_channel()
6797 b_band[j] += 1; in wl_ext_get_best_channel()
6821 if(b_band[i] < min_ap && b_band[i] >= 0) { in wl_ext_get_best_channel()
6822 min_ap = b_band[i]; in wl_ext_get_best_channel()
6850 for (j=0; j<ARRAYSIZE(b_band); j++) in wl_ext_get_best_channel()
6851 bcm_bprintf(&strbuf, "%d/%d, ", b_band[j], 1+j); in wl_ext_get_best_channel()