Re: WARNING !ht_cap.ht_supported failed at...

From: Chris <bsd-lists_at_bsdforge.com>
Date: Tue, 22 Apr 2025 04:40:54 UTC
On 2025-04-21 20:43, Chris wrote:
> Just an update to let you know that after some 5 days
> of struggling to build/install a new world/kernel
> (long boring story) that worked. I succeeded. Which gave
> me the opportunity to test all your hard work...
> 
> kernel:
> 15.0-CURRENT #1 main-n276516-65d8491719bb: Mon Apr 21 12:39:46 PDT 2025
> root@fbsd15:/usr/obj/usr/src/amd64.amd64/sys/LENOIP15ND amd64
> 
> ports revision:
> commit 79c842114f11e2151d873f1f069b542271f20e1a (HEAD -> main, freebsd/main, 
> freebsd/HEAD)
> Author: Christos Chatzaras <chris@cretaforce.gr>
> Date:   Wed Apr 16 00:16:39 2025 +0200
> 
> ifconfig wlan0 (rc.conf):
> wlans_iwlwifi0="wlan0"
> ifconfig_wlan0="WPA SYNCDHCP up"
> ifconfig_wlan0_ipv6="inet6 accept_rtadv"
> 
> ifconfig wlan0:
> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	options=0
> 	ether 3c:e9:f7:ec:63:d7
> 	inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255
> 	inet6 fe80::3ee9:f7ff:feec:63d7%wlan0 prefixlen 64 scopeid 0x2
> 	groups: wlan
> 	ssid HighwayToHell channel 157 (5785 MHz 11a vht/80+) bssid 
> 10:0c:6b:4d:44:27
> 	regdomain FCC country US authmode WPA2/802.11i privacy ON
> 	deftxkey UNDEF AES-CCM 2:128-bit txpower 17 bmiss 7 mcastrate 6
> 	mgmtrate 6 scanvalid 60 -ampdutx ampdurx ampdulimit 64k ampdudensity 4
> 	-amsdutx amsdurx shortgi -ldpctx ldpcrx -uapsd vht vht40 vht80 vht160
> 	-vht80p80 wme roaming MANUAL
> 	parent interface: iwlwifi0
> 	media: IEEE 802.11 Wireless Ethernet VHT mode 11ac
> 	status: associated
> 	nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
> 
> For reference, this is on an AX201.
> From my perspective. It works extremely well Thank you! :)
> 
> I do see this (from dmesg.boot):
> iwlwifi0: lkpi_sta_a_to_a:2437: lvif 0xfffffe01200a4000 vap 
> 0xfffffe01200a4010
> iv_bss 0xfffffe01203ae000 lvif_bss 0xfffff8000483c800 lvif_bss->ni
> 0xfffffe00f5be9000 synched 0
> iwlwifi0: lkpi_iv_newstate: error 95 during state transition 2 (AUTH) -> 2 
> (AUTH)
> iwlwifi0: lkpi_sta_auth_to_assoc:2348: lvif 0xfffffe01200a4000 vap
> 0xfffffe01200a4010 iv_bss 0xfffffe01203ae000 lvif_bss 0xfffff8000483c800
> lvif_bss->ni 0xfffffe00f5be9000 synched 0
> iwlwifi0: lkpi_iv_newstate: error 95 during state transition 2 (AUTH) -> 3 
> (ASSOC)
> iwlwifi0: Not associated and the session protection is over already...
> iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe01200a4ec0 vap
> 0xfffffe01200a4010 state AUTH
> 
> Anything I need concern myself with?

Oh, and for good measure (sorry too many irons in the fire):
ifconfig -v wlan0:
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=0
	ether 3c:e9:f7:ec:63:d7
	inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255
	inet6 fe80::3ee9:f7ff:feec:63d7%wlan0 prefixlen 64 scopeid 0x2
	groups: wlan
	ssid HighwayToHell channel 157 (5785 MHz 11a vht/80+) bssid 
10:0c:6b:4d:44:27
	regdomain FCC country US anywhere -ecm authmode WPA2/802.11i -wps
	-tsn privacy ON deftxkey UNDEF
	AES-CCM 2:128-bit
	powersavemode OFF powersavesleep 100 txpower 17 txpowmax 50.0 -dotd
	rtsthreshold 2346 fragthreshold 2346 bmiss 7
	11a     ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
	11b     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
	11g     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
	11na    ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
	11ng    ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
	11ac    ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
	scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
	roam:11a     rssi    7dBm rate 12 Mb/s
	roam:11b     rssi    7dBm rate  1 Mb/s
	roam:11g     rssi    7dBm rate  5 Mb/s
	roam:11na    rssi    7dBm  MCS  1
	roam:11ng    rssi    7dBm  MCS  1
	roam:11ac    rssi    7dBm  MCS  1
	-pureg protmode CTS ht htcompat -ampdutx ampdurx ampdulimit 64k
	ampdudensity 4 -amsdutx amsdurx shortgi htprotmode RTSCTS -puren -smps
	-rifs stbc -ldpctx ldpcrx -uapsd vht vht40 vht80 vht160 -vht80p80 wme
	-burst -dwds roaming MANUAL bintval 100
	AC_BE cwmin  4 cwmax 10 aifs  3 txopLimit   0 -acm ack
	      cwmin  0 cwmax  0 aifs  0 txopLimit   0 -acm
	AC_BK cwmin  4 cwmax 10 aifs  7 txopLimit   0 -acm ack
	      cwmin  4 cwmax 10 aifs  7 txopLimit   0 -acm
	AC_VI cwmin  3 cwmax  4 aifs  2 txopLimit  94 -acm ack
	      cwmin  0 cwmax  0 aifs  0 txopLimit   0 -acm
	AC_VO cwmin  2 cwmax  3 aifs  2 txopLimit  47 -acm ack
	      cwmin  0 cwmax  0 aifs  0 txopLimit   0 -acm
	parent interface: iwlwifi0
	media: IEEE 802.11 Wireless Ethernet VHT mode 11ac
	status: associated
	nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
	drivername: wlan0

sysctl compat.linuxkpi:
compat.linuxkpi.iwlwifi_mvm_power_scheme: 1
compat.linuxkpi.iwlwifi_disable_11be: 1
compat.linuxkpi.iwlwifi_disable_11ax: 1
compat.linuxkpi.iwlwifi_remove_when_gone: 0
compat.linuxkpi.iwlwifi_disable_11ac: 0
compat.linuxkpi.iwlwifi_power_level: 0
compat.linuxkpi.iwlwifi_power_save: 0
compat.linuxkpi.iwlwifi_led_mode: 0
compat.linuxkpi.iwlwifi_bt_coex_active: 1
compat.linuxkpi.iwlwifi_enable_ini: 16
compat.linuxkpi.iwlwifi_uapsd_disable: 3
compat.linuxkpi.iwlwifi_nvm_file:
compat.linuxkpi.iwlwifi_fw_restart: 1
compat.linuxkpi.iwlwifi_amsdu_size: 0
compat.linuxkpi.iwlwifi_11n_disable: 0
compat.linuxkpi.iwlwifi_swcrypto: 0
compat.linuxkpi.iwlwifi_debug: 0
compat.linuxkpi.skb.mem_limit: 0
compat.linuxkpi.skb.debug: 0
compat.linuxkpi.lkpi_pci_nseg1_fail: 0
compat.linuxkpi.task_struct_reserve: 3072
compat.linuxkpi.net_ratelimit: 99
compat.linuxkpi.warn_dump_stack: 0
compat.linuxkpi.rcu_debug: 0
compat.linuxkpi.debug: 0
compat.linuxkpi.80211.debug: 0
compat.linuxkpi.80211.hw_crypto: 1

sysctl compat.linuxkpi.80211.wlan0:
compat.linuxkpi.80211.wlan0.dump_stas:
lsta 0xfffff8000488a000 sta 0xfffff8000488a1c0 added_to_drv 1
  nl80211_sta_info (valid fields) 
0x00004503<BEACON_RX,BEACON_SIGNAL_AVG,SIGNAL_AVG,RX_BITRATE,TX_BITRATE>
  connected_time 0 inactive_time 0
  rx_bytes 0 rx_packets 0 rx_dropped_misc 0
  rx_duration 0 rx_beacon 47526 rx_beacon_signal_avg -37
  tx_bytes 0 tx_packets 0 tx_failed 0
  tx_duration 0 tx_retries 0
  signal 0 signal_avg -36 ack_signal 0 avg_ack_signal 0
  generation 0 assoc_req_ies_len 0 chains 0
  rxrate: flags 6<VHT_MCS,SGI> bw 4(80) legacy 0 kbit/s mcs 9 nss 2
          he_dcm 0 he_gi 0 he_ru_alloc 0 eht_gi 0
  txrate: flags 6<VHT_MCS,SGI> bw 4(80) legacy 0 kbit/s mcs 9 nss 2
          he_dcm 0 he_gi 0 he_ru_alloc 0 eht_gi 0

Thanks!

--Chris

> 
> All the best to you, Bjoren!
> 
> --Chris

-- 
sent from hardware written from and running on FreeBSD