From 50317c7c4d5d7272ef834ead64fa50166b228312 Mon Sep 17 00:00:00 2001 From: Igor Plesser Date: Mon, 26 Jan 2026 08:36:16 +0200 Subject: [PATCH] tests: cram: adopt cram tests for BH VAPs with MLO enabled With MLO enabled on BH VAPs, their behavior has changed slightly, so the cram tests need to be adjusted accordingly. Closes: PPM-3789 Signed-off-by: Igor Plesser --- .gitlab/tests/cram/wnc-freedom/100-pwhm.t | 10 ++++++---- .gitlab/tests/cram/wnc-freedom/101-mlo.t | 7 +++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitlab/tests/cram/wnc-freedom/100-pwhm.t b/.gitlab/tests/cram/wnc-freedom/100-pwhm.t index 2da29e97b9..eb1f924261 100644 --- a/.gitlab/tests/cram/wnc-freedom/100-pwhm.t +++ b/.gitlab/tests/cram/wnc-freedom/100-pwhm.t @@ -282,8 +282,6 @@ Check that hostapd is operating as expected: hostapd $ R "ubus list | grep hostapd. | sort" - hostapd.wlan0.3 - hostapd.wlan1.3 hostapd.wlan2.1 hostapd.wlan2.2 hostapd.wlan2.3 @@ -304,8 +302,6 @@ Check iw interfaces and beaconing: Interface wlan2.2 Interface wlan2.3 ssid backhaul_(AC:91:9B|58:E4:03):[0-9A-F]{2}:[0-9A-F]{2}:[0-9A-F]{2} (re) - ssid backhaul_(AC:91:9B|58:E4:03):[0-9A-F]{2}:[0-9A-F]{2}:[0-9A-F]{2} (re) - ssid backhaul_(AC:91:9B|58:E4:03):[0-9A-F]{2}:[0-9A-F]{2}:[0-9A-F]{2} (re) ssid prplOS ssid prplOS-guest @@ -324,6 +320,12 @@ Check that the tree interfaces are present in the main link interface: channel.* (re) link 2: channel.* (re) + link 0: + channel.* (re) + link 1: + channel.* (re) + link 2: + channel.* (re) Test deactivation of access point 9: diff --git a/.gitlab/tests/cram/wnc-freedom/101-mlo.t b/.gitlab/tests/cram/wnc-freedom/101-mlo.t index 523a021e4c..dcaf5abd9b 100644 --- a/.gitlab/tests/cram/wnc-freedom/101-mlo.t +++ b/.gitlab/tests/cram/wnc-freedom/101-mlo.t @@ -64,16 +64,15 @@ Check default MLDUnit configuration: -1 -1 -1 - -1 - -1 - -1 0 0 0 1 1 1 - + 2 + 2 + 2 Disable MLO on private and guest vaps: $ R logger -t cram "Disable MLO for all interfaces"