]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: iwlwifi: mld: Add KUnit tests for channel-load thresholds
authorAvinash Bhatt <avinash.bhatt@intel.com>
Tue, 12 May 2026 19:34:41 +0000 (22:34 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 26 May 2026 12:17:11 +0000 (15:17 +0300)
commitace3199321869dc2c69cf6a36478aecc097effd6
tree86cf6004f5ba10ecd53526763ba32008e0ef0ab1
parent59a26553f1a03242332092c2c5af95e66df8c556
wifi: iwlwifi: mld: Add KUnit tests for channel-load thresholds

Add a KUnit test suite for iwl_mld_chan_load_requires_scan,
covering level-up, level-down, and no-change transitions.
The test directly sets channel-load values, validating
scan-trigger decisions and updated load levels

Signed-off-by: Avinash Bhatt <avinash.bhatt@intel.com>
Link: https://patch.msgid.link/20260512222731.4dd3ccaffc46.I9c1f210e5ef25248097a226f4b3a2af5fbcf3c87@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/mld/link.c
drivers/net/wireless/intel/iwlwifi/mld/tests/Makefile
drivers/net/wireless/intel/iwlwifi/mld/tests/chan_load_thresh.c [new file with mode: 0644]