Defining the VHT channel width requires to set multiple values in the hostapd config file as detailed here:
https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf
# 0 = 20 or 40 MHz operating Channel width # 1 = 80 MHz channel width # 2 = 160 MHz channel width # 3 = 80+80 MHz channel width #vht_oper_chwidth=1 # vht_capab: VHT capabilities (list of flags) # [...] # supported_chan_width: [VHT160] [VHT160-80PLUS80] # Indicates supported Channel widths # 0 = 160 MHz & 80+80 channel widths are not supported (default) # 1 = 160 MHz channel width is supported # 2 = 160 MHz & 80+80 channel widths are supported # 3 = reserved
This command needs to set all of them accordingly.
set interfaces wireless wlanX capabilities vht channel-set-width <TAB> Possible completions: 0 20 or 40 MHz channel width (default) 1 80 MHz channel width 2 160 MHz channel width 3 80+80 MHz channel width
This worked in VyOS 1.2 (self-built at 201808072059).