]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mld: tests: extend link pair tests
authorJohannes Berg <johannes.berg@intel.com>
Wed, 30 Apr 2025 12:23:11 +0000 (15:23 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 6 May 2025 17:22:47 +0000 (20:22 +0300)
commit8ec50790b043b55c7cfb0b54fed3ad119cc01d90
tree9ab98a765c50823c74c6c98b230e105d1103debc
parent0a7a30fce30e566a462b30994fcf69cea01934ed
wifi: iwlwifi: mld: tests: extend link pair tests

Generalize and extend the link pair tests to not just do
channel load checks, but generally check link pairs. To
enable more accurate checking, return the reasons bitmap
from iwl_mld_valid_emlsr_pair() and therefore rename it
to iwl_mld_emlsr_pair_state.

It's also necessary now to add more chandefs, and while
doing so fix the existing ones to be valid and add a
test to check they really are valid.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250430151952.1f7c4ac75c6d.I69d68359e02d99632e95daba3d126115dce167b3@changeid
drivers/net/wireless/intel/iwlwifi/mld/mlo.c
drivers/net/wireless/intel/iwlwifi/mld/mlo.h
drivers/net/wireless/intel/iwlwifi/mld/tests/link-selection.c