summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-wireless.xml.in
diff options
context:
space:
mode:
authoralainlamar <alainlamar@users.noreply.github.com>2020-04-05 18:19:23 +0200
committerGitHub <noreply@github.com>2020-04-05 18:19:23 +0200
commit7b56a45fe866f62e47c04e1dabb32b1240297ed6 (patch)
tree06d9edcbf814f7eea13360c2cf74872472c0fe1c /interface-definitions/interfaces-wireless.xml.in
parent9b98256339f35ff5de346b08fb1573429a0801f8 (diff)
downloadvyos-1x-7b56a45fe866f62e47c04e1dabb32b1240297ed6.tar.gz
vyos-1x-7b56a45fe866f62e47c04e1dabb32b1240297ed6.zip
wireless: T2212: bugfix for BF-ANTENNA and SOUNDING-DIMENSION flags
VHT flags deal with many variables which depend on antenna count and supported features. BF-ANTENNA-(2|3|4) and SOUNDING-DIMENSION-(2|3|4) were not dealt with correctly. IEEE 802.11ac (VHT) supports at least 1 antenna and up to 8 antennas at most. The hsotapd VHT flags may support as many but most do not. Therefore, we need to be picky here...
Diffstat (limited to 'interface-definitions/interfaces-wireless.xml.in')
-rw-r--r--interface-definitions/interfaces-wireless.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/interfaces-wireless.xml.in b/interface-definitions/interfaces-wireless.xml.in
index 490e63a42..194669f77 100644
--- a/interface-definitions/interfaces-wireless.xml.in
+++ b/interface-definitions/interfaces-wireless.xml.in
@@ -208,11 +208,11 @@
<properties>
<help>Number of antennas on this card</help>
<valueHelp>
- <format>1-9</format>
+ <format>1-8</format>
<description>Number of antennas for this card</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 1-9"/>
+ <validator name="numeric" argument="--range 1-8"/>
</constraint>
</properties>
</leafNode>