ath(4) does not support QCA9377.
You can build
if_ath10k.ko by make in
/usr/src/sys/modules/ath10k.
And there is firmware in
net/wifi-firmware-ath10k-kmod, but I don't think it works yet.
Edit:There is
net/wifibox-alpine's flavor wifibox-alpine-ath10k but I don't know about this.
I followed the steps and loaded the modules if_ath10k and athk_common. At startup, I receive the message:
ath10k0: <ath10k_pci> mem 0xb1000000-0xb11fffff at device 0.0 on pci1
ath10k0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
Trying to mount root from zfs:zroot/ROOT/default []...
ath10k0: successfully loaded firmware image 'ath10k/QCA9377/hw1.0/firmware-6.bin'
ath10k0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 11ad:0836
ath10k0: kconfig debug 1 debugfs 0 tracing 0 dfs 0 testmode 0
ath10k0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
ath10k0: failed to download calibration data from nvmem-cell 'pre-calibration': -6
ath10k0: successfully loaded firmware image 'ath10k/QCA9377/hw1.0/board.bin'
ath10k0: board_file api 1 bmi_id N/A crc32 544289f7
ath10k0: htt-ver 3.56 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
I think, its not working