In order to use recent WiFi networking, these prerequisites for 5GHz channel use need to be enabled:
# Enable Kernel Device Drivers for 802.11ac and 802.11n capable cards (like Compex WLE600VX which uses ath10k)
# Enable Kernel support for DFS frequency scanning by enabling:
- "Configure standard kernel features (expert users)" under "General Setup"
- "cfg80211 certification onus" and maybe "Ministrel 802.11ac support" under "Networking support" -> "Wireless"
- "Atheros DFS support for certified platforms" under "Device Drivers" -> "Network device support" -> "Wireless LAN" -> "Atheros Wireless Cards"
# Include firmware packages for 802.11ac and 802.11n capable cards:
- echo 'firmware-atheros' >> $vyos-build-dir/data/live-build-config/package-lists/vyos-utils.list.chroot
# Include a recent hostapd (>2.4.x)
# Add configuration fields and options to the "vyatta-wireless" package
A sample config for hostapd might look like this (Reference: [[ https://wireless.wiki.kernel.org/en/users/drivers/ath10k/configuration | ath10k configuration ]]):
```
interface=wlp4s0
driver=nl80211
hw_mode=a
channel=0
auth_algs=1
ssid=Test-5ghz
macaddr_acl=0
ignore_broadcast_ssid=0
ieee80211d=1
ieee80211h=1
ieee80211n=1
wme_enabled=1
ieee80211ac=1
ht_capab=[HT40+][SMPS-STATIC][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]
vht_capab=[MAX-MPDU-11454][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP7][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][BF-ANTENNA-2][SOUNDING-DIMENSION-2]
vht_oper_chwidth=1
country_code=DE
wpa=2
wpa_passphrase=my-secret-passphrase
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_group_rekey=300
wpa_gmk_rekey=640
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
beacon_int=100
dtim_period=2
max_num_sta=128
rts_threshold=2347
tx_queue_data3_aifs=7
tx_queue_data3_cwmin=15
tx_queue_data3_cwmax=1023
tx_queue_data3_burst=0
tx_queue_data2_aifs=3
tx_queue_data2_cwmin=15
tx_queue_data2_cwmax=63
tx_queue_data2_burst=0
tx_queue_data1_aifs=1
tx_queue_data1_cwmin=7
tx_queue_data1_cwmax=15
tx_queue_data1_burst=3.0
tx_queue_data0_aifs=1
tx_queue_data0_cwmin=3
tx_queue_data0_cwmax=7
tx_queue_data0_burst=1.5
wmm_enabled=1
uapsd_advertisement_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
disassoc_low_ack=1
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
```