[iwlwifi] Comet Lake PCH CNVi WiFi testing

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Thu, 23 Sep 2021 09:46:04 UTC
Hello,

I'm testing Comet Lake PCH CNVi WiFi with iwlwifi drivers in a Lenovo
Legion 5, FreeBSD 14-CURRENT.

1. /etc/rc.conf:
---
wlans_iwlwifi0="wlan0"
create_args_wlan0="wlanmode sta regdomain ETSI country PT"
wlandebug_wlan0="+state +crypto +node +auth +assoc +dot1xsm +wpa"
ifconfig_wlan0="WPA SYNCDHCP"
---
Using my country PT (Portugal) instead of default US improved my download
connection from 7Mbps to ~19Mbps

2. ifconfig wlan0:
---
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 6c:6a:77:df:09:21
inet 192.168.1.74 netmask 0xffffff00 broadcast 192.168.1.255
groups: wlan
ssid MEO-3637C0 channel 100 (5500 MHz 11a) bssid 00:06:91:36:37:c1
regdomain ETSI country PT authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6
mgmtrate 6 scanvalid 60 wme roaming MANUAL
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11a
status: associated
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
---

3. I've added driver to rc.conf so it auto-loads at OS start:
---
kld_list="if_iwlwifi ..."
---

I'm using it for about 3 days without any problems. Daily use with
torrents, facebook, youtube, git, fetch, ssh, sftp, etc.

I can live happy with downloads at ~2,5 MB/s.

It will be nice having iwlwifi drivers merged into CURRENT :)

Thanks bz and all people involved in this work.
Thanks FreeBSD

Cheers,

Nuno Teixeira

PS: How do I check my wifi signal strenght?