wifi: iwlwifi: mld: consider channel load when grading a link
In link selection, we assign a grade to each link. This grade should be
multiplied by the channel load factor (the percentage of the unutilized
channel).
This factor is calculated by subtracting the channel_load_by_us (as
received from the FW statistics) from the overall channel load, as
published by the AP in the channel utilization element.
If the channel utilization element is not available, we use default
values.
type=feature
ticket=jira:WIFI-371607
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Change-Id: I180bdcd70509b7831f051f94291d4c49c6652b5c
Reviewed-on: https://gerritwcs.ir.intel.com/c/iwlwifi-stack-dev/+/169281
tested: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
x-iwlwifi-stack-dev: 2319e6a662dea7a572e5fca79c80449b452e2483
2 files changed