ci: cdrouter: enable wireless LAN testing
Enable testing of wireless stack using following essential CDRouter tests: wifi_1 Graceful wireless LAN client restart wifi_2 Restart wireless LAN client without releasing address wifi_3 Restart wireless LAN client without releasing or obtaining a new address wifi_10 Verify connectivity using all wifi modes advertised by the DUT wifi_11 Verify DUT prevents use of TKIP cipher when using HT/VHT/HE wifi_20 Verify DUT's wifi beacons contain expected mode information wifi_30 WiFi association stress test wifi_40 WiFi SSID scan test Run those 8 testcases, in a loop 2 times and repeat each test 2 times. References: PCF-883 Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit eb74a59a99925f040813d364ca19b8b91260ad6c)
This commit is contained in:
parent
54885a724e
commit
2085777ce5
@ -28,6 +28,13 @@ CDRouter-Top-100+mDNS Gl.iNet PPPoE WAN initramfs:
|
||||
.gitlab/scripts/dut-init/cdrouter-dut-configure-dyndns.sh
|
||||
.gitlab/scripts/dut-init/cdrouter-dut-enable-pppoe.sh
|
||||
|
||||
CDRouter-Wireless Gl.iNet initramfs:
|
||||
<<: *glinet_cdrouter
|
||||
variables:
|
||||
CDROUTER_TEST_CONFIG: wireless
|
||||
DUT_INIT_SCRIPTS: |
|
||||
.gitlab/scripts/dut-init/cdrouter-dut-configure-wireless.sh
|
||||
|
||||
|
||||
.glinet-cdrouter-ipv6: &glinet_cdrouter_ipv6
|
||||
<<: *glinet_cdrouter
|
||||
|
||||
@ -28,6 +28,13 @@ CDRouter-Top-100+mDNS Haze PPPoE WAN initramfs:
|
||||
.gitlab/scripts/dut-init/cdrouter-dut-configure-dyndns.sh
|
||||
.gitlab/scripts/dut-init/cdrouter-dut-enable-pppoe.sh
|
||||
|
||||
CDRouter-Wireless Haze initramfs:
|
||||
<<: *prpl_haze
|
||||
variables:
|
||||
CDROUTER_TEST_CONFIG: wireless
|
||||
DUT_INIT_SCRIPTS: |
|
||||
.gitlab/scripts/dut-init/cdrouter-dut-configure-wireless.sh
|
||||
|
||||
|
||||
.prpl-haze-ipv6: &prpl_haze_ipv6
|
||||
<<: *prpl_haze
|
||||
|
||||
@ -28,6 +28,13 @@ CDRouter-Top-100+mDNS Turris PPPoE WAN initramfs:
|
||||
.gitlab/scripts/dut-init/cdrouter-dut-configure-dyndns.sh
|
||||
.gitlab/scripts/dut-init/cdrouter-dut-enable-pppoe.sh
|
||||
|
||||
CDRouter-Wireless Turris initramfs:
|
||||
<<: *turris_cdrouter
|
||||
variables:
|
||||
CDROUTER_TEST_CONFIG: wireless
|
||||
DUT_INIT_SCRIPTS: |
|
||||
.gitlab/scripts/dut-init/cdrouter-dut-configure-wireless.sh
|
||||
|
||||
|
||||
.turris-cdrouter-ipv6: &turris_cdrouter_ipv6
|
||||
<<: *turris_cdrouter
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
ssh "root@$TARGET_LAN_IP" "ubus -t 200 wait_for WiFi.AccessPoint.1"
|
||||
ssh "root@$TARGET_LAN_IP" "ubus -S call WiFi.AccessPoint.1 _set '{\"parameters\":{\"Enable\":1}}'"
|
||||
@ -287,7 +287,7 @@ SECTION "Base Configuration" {
|
||||
|
||||
SECTION "Dynamic DNS" {
|
||||
|
||||
testvar supportsDynDns yes
|
||||
# testvar supportsDynDns no
|
||||
# testvar dynDnsServerIp 66.37.215.49
|
||||
# testvar dynDnsTransport http
|
||||
testvar dynDnsHostname cpe01.prplOS.prplfoundation.org
|
||||
@ -324,10 +324,10 @@ SECTION "Base Configuration" {
|
||||
|
||||
SECTION "LAN Interface" {
|
||||
|
||||
# testvar lanInterface eth1
|
||||
testvar lanInterface wifi0-acn
|
||||
# testvar lanMode DHCP
|
||||
# testvar lanClients 1
|
||||
# testvar lanSecurity NONE
|
||||
testvar lanSecurity WPA
|
||||
# testvar lanIp 192.168.1.1
|
||||
# testvar lanMask 255.255.255.0
|
||||
# testvar lanDomainName qacafe.com
|
||||
@ -397,7 +397,7 @@ SECTION "Base Configuration" {
|
||||
|
||||
SECTION "802.11 Wireless" {
|
||||
|
||||
# testvar lanSSID qa-net
|
||||
testvar lanSSID prplOS
|
||||
# testvar lanChannel auto
|
||||
# testvar lan80211Phy auto
|
||||
# testvar lanBSSID auto
|
||||
@ -405,8 +405,8 @@ SECTION "Base Configuration" {
|
||||
|
||||
SECTION "WPA Configuration Options" {
|
||||
|
||||
# testvar wpaMode auto
|
||||
# testvar wpaKey qacafe123
|
||||
testvar wpaMode WPA2-Personal
|
||||
testvar wpaKey password
|
||||
# testvar wpaSaePassword "sae secret"
|
||||
# testvar wpaKeyMgmt PSK
|
||||
# testvar wpaCipher auto
|
||||
@ -446,12 +446,12 @@ SECTION "Base Configuration" {
|
||||
|
||||
SECTION "Expected Beacon Information" {
|
||||
|
||||
# testvar wifiBeaconWpaMode none
|
||||
testvar wifiBeaconWpaMode RSN
|
||||
# testvar wifiBeaconWpaKeyMgmt PSK
|
||||
# testvar wifiBeaconWpaCipher CCMP-128
|
||||
# testvar wifiBeaconRsnCipher CCMP-128
|
||||
# testvar wifiBeaconWpaGroupCipher CCMP-128
|
||||
# testvar wifiBeaconPhy "n a ac"
|
||||
testvar wifiBeaconPhy "b g n"
|
||||
|
||||
}
|
||||
|
||||
@ -2292,7 +2292,7 @@ SECTION "CDRouter Storage Add-On" {
|
||||
|
||||
SECTION "CDRouter TR-069 Add-On" {
|
||||
|
||||
testvar supportsCWMP yes
|
||||
testvar supportsCWMP no
|
||||
|
||||
SECTION "Basic ACS Configuration" {
|
||||
|
||||
|
||||
BIN
.testbed/cdrouter/packages/CDRouter-Wireless.gz
Normal file
BIN
.testbed/cdrouter/packages/CDRouter-Wireless.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user