Searched refs:center_channels (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/wpa_supplicant/ |
D | op_classes.c | 45 u8 center_channels[] = { 42, 58, 106, 122, 138, 155 }; in get_center_80mhz() local 51 for (i = 0; i < ARRAY_SIZE(center_channels); i++) { in get_center_80mhz() 56 if (channel >= center_channels[i] - 6 && in get_center_80mhz() 57 channel <= center_channels[i] + 6) in get_center_80mhz() 58 return center_channels[i]; in get_center_80mhz() 102 u8 center_channels[] = { 50, 114 }; in get_center_160mhz() local 108 for (i = 0; i < ARRAY_SIZE(center_channels); i++) { in get_center_160mhz() 113 if (channel >= center_channels[i] - 14 && in get_center_160mhz() 114 channel <= center_channels[i] + 14) in get_center_160mhz() 115 return center_channels[i]; in get_center_160mhz()
|
D | p2p_supplicant.c | 3445 u8 center_channels[] = { 42, 58, 106, 122, 138, 155 }; in wpas_p2p_get_center_80mhz() local 3451 for (i = 0; i < ARRAY_SIZE(center_channels); i++) in wpas_p2p_get_center_80mhz() 3456 if (channel >= center_channels[i] - 6 && in wpas_p2p_get_center_80mhz() 3457 channel <= center_channels[i] + 6) in wpas_p2p_get_center_80mhz() 3458 return center_channels[i]; in wpas_p2p_get_center_80mhz() 3506 u8 center_channels[] = { 50, 114 }; in wpas_p2p_get_center_160mhz() local 3512 for (i = 0; i < ARRAY_SIZE(center_channels); i++) in wpas_p2p_get_center_160mhz() 3517 if (channel >= center_channels[i] - 14 && in wpas_p2p_get_center_160mhz() 3518 channel <= center_channels[i] + 14) in wpas_p2p_get_center_160mhz() 3519 return center_channels[i]; in wpas_p2p_get_center_160mhz()
|