Home
last modified time | relevance | path

Searched refs:a_band1 (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
3083 memset(a_band1, -1, sizeof(a_band1)); in wl_ext_get_best_channel()
3122 a_band1[(channel-36)/4] = 0; in wl_ext_get_best_channel()
3170 for (j=0; j<ARRAYSIZE(a_band1); j++) { in wl_ext_get_best_channel()
3198 for (j=0; j<ARRAYSIZE(a_band1); j++) { in wl_ext_get_best_channel()
3199 if (a_band1[j] >= 0 && abs(cen_ch-(36+j*4)) <= distance) in wl_ext_get_best_channel()
3200 a_band1[j] += 1; in wl_ext_get_best_channel()
3225 for (i=0; i<ARRAYSIZE(a_band1); i++) { in wl_ext_get_best_channel()
3226 if(a_band1[i] < min_ap && a_band1[i] >= 0) { in wl_ext_get_best_channel()
3227 min_ap = a_band1[i]; in wl_ext_get_best_channel()
[all …]
/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
3074 memset(a_band1, -1, sizeof(a_band1)); in wl_ext_get_best_channel()
3122 a_band1[(channel-36)/4] = 0; in wl_ext_get_best_channel()
3198 for (j=0; j<ARRAYSIZE(a_band1); j++) { in wl_ext_get_best_channel()
3199 if (a_band1[j] >= 0 && abs(cen_ch-(36+j*4)) <= distance) in wl_ext_get_best_channel()
3200 a_band1[j] += 1; in wl_ext_get_best_channel()
3225 for (i=0; i<ARRAYSIZE(a_band1); i++) { in wl_ext_get_best_channel()
3226 if(a_band1[i] < min_ap && a_band1[i] >= 0) { in wl_ext_get_best_channel()
3227 min_ap = a_band1[i]; in wl_ext_get_best_channel()
3280 for (j=0; j<ARRAYSIZE(a_band1); j++) in wl_ext_get_best_channel()
[all …]
/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
6741 memset(a_band1, -1, sizeof(a_band1)); in wl_ext_get_best_channel()
6760 a_band1[(ch-36)/4] = 0; in wl_ext_get_best_channel()
6802 for (j=0; j<ARRAYSIZE(a_band1); j++) { in wl_ext_get_best_channel()
6803 if (a_band1[j] >= 0 && abs(cen_ch-(36+j*4)) <= distance) in wl_ext_get_best_channel()
6804 a_band1[j] += 1; in wl_ext_get_best_channel()
6828 for (i=0; i<ARRAYSIZE(a_band1); i++) { in wl_ext_get_best_channel()
6829 if(a_band1[i] < min_ap && a_band1[i] >= 0) { in wl_ext_get_best_channel()
6830 min_ap = a_band1[i]; in wl_ext_get_best_channel()
6853 for (j=0; j<ARRAYSIZE(a_band1); j++) in wl_ext_get_best_channel()
[all …]