3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 18:59:22 +01:00

scan: increase rate factor range

The rate factor range was quite small. This increases the range a bit,
which should make higher throughput AP's preferred more.
This commit is contained in:
James Prestwood 2019-02-26 10:32:00 -08:00 committed by Denis Kenzior
parent ba9990a94a
commit df923cd962

View File

@ -1026,8 +1026,8 @@ static void scan_bss_compute_rank(struct scan_bss *bss)
static const double RANK_NO_PRIVACY_FACTOR = 0.5; static const double RANK_NO_PRIVACY_FACTOR = 0.5;
static const double RANK_HIGH_UTILIZATION_FACTOR = 0.8; static const double RANK_HIGH_UTILIZATION_FACTOR = 0.8;
static const double RANK_LOW_UTILIZATION_FACTOR = 1.2; static const double RANK_LOW_UTILIZATION_FACTOR = 1.2;
static const double RANK_MIN_SUPPORTED_RATE_FACTOR = 0.8; static const double RANK_MIN_SUPPORTED_RATE_FACTOR = 0.6;
static const double RANK_MAX_SUPPORTED_RATE_FACTOR = 1.1; static const double RANK_MAX_SUPPORTED_RATE_FACTOR = 1.3;
double rank; double rank;
uint32_t irank; uint32_t irank;