diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-04 20:00:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-04 20:00:47 +0200 |
commit | 606a66a2770eb3853c22d6b601f6d386293c66bb (patch) | |
tree | dd03f19e9aee5bf263bd9aba800ee5dd883f61f7 /src | |
parent | 26d6092b0e96075d532da19b973a63d2fb061869 (diff) | |
parent | c3b3f6fe1242b5774eccfa70e3e9c4736e4ab5d1 (diff) | |
download | vyos-1x-606a66a2770eb3853c22d6b601f6d386293c66bb.tar.gz vyos-1x-606a66a2770eb3853c22d6b601f6d386293c66bb.zip |
Merge pull request #303 from alainlamar/T2211
wireless: T2211: bugfix: vht_oper_chwidth was not set in hostapd config
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-wireless.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index 9714e40e9..3c20c3025 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -239,6 +239,10 @@ uapsd_advertisement_enabled=1 require_ht=1 {% endif %} +{%- if cap_vht_chan_set_width -%} +vht_oper_chwidth={{ cap_vht_chan_set_width }} +{%- endif -%} + # vht_capab: VHT capabilities (list of flags) # # vht_max_mpdu_len: [MAX-MPDU-7991] [MAX-MPDU-11454] @@ -369,10 +373,6 @@ vht_capab= {%- endif -%} {%- if cap_vht_chan_set_width -%} -[MAX-A-MPDU-LEN-EXP{{ cap_vht_max_mpdu_exp }}] -{%- endif -%} - -{%- if cap_vht_chan_set_width -%} {%- if '2' in cap_vht_chan_set_width -%} [VHT160] {%- elif '3' in cap_vht_chan_set_width -%} |