diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-05 09:00:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-05 09:00:13 +0200 |
commit | 262dd9a972260dfab340367cbb40ba064bb2a1aa (patch) | |
tree | b9f834937d27b15617177c7058011de31206c37c /interface-definitions | |
parent | 0e70cea1daf2abf9c9074bb5da4f3de5c1aca833 (diff) | |
parent | 0c9499c5b3f7cc053c1f29ecf28d679c1a3156e2 (diff) | |
download | vyos-1x-262dd9a972260dfab340367cbb40ba064bb2a1aa.tar.gz vyos-1x-262dd9a972260dfab340367cbb40ba064bb2a1aa.zip |
Merge pull request #3711 from part1cleth1ef/current
T6496: Added support for WPA-Enterprise client-mode
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/interfaces_wireless.xml.in | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/interface-definitions/interfaces_wireless.xml.in b/interface-definitions/interfaces_wireless.xml.in index 0a62b3255..fdcb79b19 100644 --- a/interface-definitions/interfaces_wireless.xml.in +++ b/interface-definitions/interfaces_wireless.xml.in @@ -899,15 +899,16 @@ </properties> <defaultValue>wpa+wpa2</defaultValue> </leafNode> + #include <include/generic-username.xml.i> <leafNode name="passphrase"> <properties> - <help>WPA personal shared pass phrase. If you are using special characters in the WPA passphrase then single quotes are required.</help> + <help>WPA passphrase. If you are using special characters in the WPA passphrase then single quotes are required.</help> <valueHelp> <format>txt</format> - <description>Passphrase of at least 8 but not more than 63 printable characters</description> + <description>Passphrase of at least 8 but not more than 63 printable characters for WPA-Personal and any passphrase for WPA-Enterprise</description> </valueHelp> <constraint> - <regex>.{8,63}</regex> + <regex>[[:ascii:]]{1,256}</regex> </constraint> <constraintErrorMessage>Invalid WPA pass phrase, must be 8 to 63 printable characters!</constraintErrorMessage> </properties> @@ -940,6 +941,19 @@ <constraintErrorMessage>Invalid SSID</constraintErrorMessage> </properties> </leafNode> + <leafNode name="bssid"> + <properties> + <help>Basic Service Set Identifier (BSSID) - currently station mode only</help> + <valueHelp> + <format>macaddr</format> + <description>BSSID (MAC) address</description> + </valueHelp> + <constraint> + <validator name="mac-address"/> + </constraint> + <constraintErrorMessage>Invalid BSSID</constraintErrorMessage> + </properties> + </leafNode> <leafNode name="type"> <properties> <help>Wireless device type for this interface</help> |