From 80ecb1b7aaab47edeb355c3b74a763e940d88179 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 29 Apr 2022 19:51:50 +0200 Subject: xml: T4047: use full string match in the regex validator --- interface-definitions/interfaces-wireless.xml.in | 40 ++++++++++++------------ 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'interface-definitions/interfaces-wireless.xml.in') diff --git a/interface-definitions/interfaces-wireless.xml.in b/interface-definitions/interfaces-wireless.xml.in index db01657eb..eb6107303 100644 --- a/interface-definitions/interfaces-wireless.xml.in +++ b/interface-definitions/interfaces-wireless.xml.in @@ -10,7 +10,7 @@ - ^wlan[0-9]+$ + wlan[0-9]+ Wireless interface must be named wlanN @@ -63,7 +63,7 @@ Supported channel set width both 20 MHz and 40 MHz with secondary channel below primary channel - ^(ht20|ht40\+|ht40-)$ + (ht20|ht40\+|ht40-) @@ -113,7 +113,7 @@ Set maximum A-MSDU length to 7935 octets - ^(3839|7935)$ + (3839|7935) @@ -132,7 +132,7 @@ Short GI for 40 MHz - ^(20|40)$ + (20|40) @@ -152,7 +152,7 @@ DYNAMIC Spatial Multiplexing (SM) Power Save - ^(static|dynamic)$ + (static|dynamic) @@ -169,7 +169,7 @@ Number of spacial streams that can use RX STBC - ^[1-3]+$ + [1-3]+ Invalid capability item @@ -248,7 +248,7 @@ Support for operation as multi user beamformee - ^(single-user-beamformer|single-user-beamformee|multi-user-beamformer|multi-user-beamformee)$ + (single-user-beamformer|single-user-beamformee|multi-user-beamformer|multi-user-beamformee) @@ -334,7 +334,7 @@ Station can provide VHT MFB in response to VHT MRQ and unsolicited VHT MFB - ^(unsolicited|both)$ + (unsolicited|both) Invalid capability item @@ -366,7 +366,7 @@ ncrease Maximum MPDU length to 11454 octets - ^(7991|11454)$ + (7991|11454) @@ -385,7 +385,7 @@ Short GI for 160 MHz - ^(80|160)$ + (80|160) @@ -403,7 +403,7 @@ Number of spacial streams that can use RX STBC - ^[1-4]+$ + [1-4]+ Invalid capability item @@ -464,7 +464,7 @@ ISO/IEC 3166-1 Country Code - ^[a-z][a-z]$ + [a-z][a-z] Invalid ISO/IEC 3166-1 Country Code @@ -529,7 +529,7 @@ MFP enforced - ^(disabled|optional|required)$ + (disabled|optional|required) disabled @@ -561,7 +561,7 @@ 802.11ac - 1300 Mbits/sec - ^(a|b|g|n|ac)$ + (a|b|g|n|ac) g @@ -650,7 +650,7 @@ Temporal Key Integrity Protocol [IEEE 802.11i/D7.0] - ^(GCMP-256|GCMP|CCMP-256|CCMP|TKIP)$ + (GCMP-256|GCMP|CCMP-256|CCMP|TKIP) Invalid cipher selection @@ -683,7 +683,7 @@ Temporal Key Integrity Protocol [IEEE 802.11i/D7.0] - ^(GCMP-256|GCMP|CCMP-256|CCMP|TKIP)$ + (GCMP-256|GCMP|CCMP-256|CCMP|TKIP) Invalid group cipher selection @@ -708,7 +708,7 @@ Allow both WPA and WPA2 - ^(wpa|wpa2|wpa\+wpa2|wpa3)$ + (wpa|wpa2|wpa\+wpa2|wpa3) Unknown WPA mode @@ -724,7 +724,7 @@ Passphrase of at least 8 but not more than 63 printable characters - .{8,63}$ + .{8,63} Invalid WPA pass phrase, must be 8 to 63 printable characters! @@ -752,7 +752,7 @@ Wireless access-point service set identifier (SSID) - .{1,32}$ + .{1,32} Invalid SSID @@ -776,7 +776,7 @@ Passively monitor all packets on the frequency/channel - ^(access-point|station|monitor)$ + (access-point|station|monitor) Type must be access-point, station or monitor -- cgit v1.2.3