Home
last modified time | relevance | path

Searched refs:a_band4 (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
3084 memset(a_band4, -1, sizeof(a_band4)); in wl_ext_get_best_channel()
3124 a_band4[(channel-149)/4] = 0; in wl_ext_get_best_channel()
3176 for (j=0; j<ARRAYSIZE(a_band4); j++) { in wl_ext_get_best_channel()
3182 for (j=0; j<ARRAYSIZE(a_band4); j++) { in wl_ext_get_best_channel()
3188 for (j=0; j<ARRAYSIZE(a_band4); j++) { in wl_ext_get_best_channel()
3204 for (j=0; j<ARRAYSIZE(a_band4); j++) { in wl_ext_get_best_channel()
3205 if (a_band4[j] >= 0 && abs(cen_ch-(149+j*4)) <= distance) in wl_ext_get_best_channel()
3206 a_band4[j] += 1; in wl_ext_get_best_channel()
3231 for (i=0; i<ARRAYSIZE(a_band4); 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
3075 memset(a_band4, -1, sizeof(a_band4)); in wl_ext_get_best_channel()
3124 a_band4[(channel-149)/4] = 0; in wl_ext_get_best_channel()
3204 for (j=0; j<ARRAYSIZE(a_band4); j++) { in wl_ext_get_best_channel()
3205 if (a_band4[j] >= 0 && abs(cen_ch-(149+j*4)) <= distance) in wl_ext_get_best_channel()
3206 a_band4[j] += 1; in wl_ext_get_best_channel()
3231 for (i=0; i<ARRAYSIZE(a_band4); i++) { in wl_ext_get_best_channel()
3232 if(a_band4[i] < min_ap && a_band4[i] >= 0) { in wl_ext_get_best_channel()
3233 min_ap = a_band4[i]; in wl_ext_get_best_channel()
3284 for (j=0; j<ARRAYSIZE(a_band4); 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
6742 memset(a_band4, -1, sizeof(a_band4)); in wl_ext_get_best_channel()
6762 a_band4[(ch-149)/4] = 0; in wl_ext_get_best_channel()
6807 for (j=0; j<ARRAYSIZE(a_band4); j++) { in wl_ext_get_best_channel()
6808 if (a_band4[j] >= 0 && abs(cen_ch-(149+j*4)) <= distance) in wl_ext_get_best_channel()
6809 a_band4[j] += 1; in wl_ext_get_best_channel()
6834 for (i=0; i<ARRAYSIZE(a_band4); i++) { in wl_ext_get_best_channel()
6835 if(a_band4[i] < min_ap && a_band4[i] >= 0) { in wl_ext_get_best_channel()
6836 min_ap = a_band4[i]; in wl_ext_get_best_channel()
6856 for (j=0; j<ARRAYSIZE(a_band4); j++) in wl_ext_get_best_channel()
[all …]