From nobody Fri May 2 19:09:38 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Zq0pq2RhMz5ttgT; Fri, 02 May 2025 19:09:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zq0pp6f19z3HZl; Fri, 02 May 2025 19:09:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746212978; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/UQ3X1ArlUkUt6JBuQwqlsBzf/wNmAn2tGbM1qw8t60=; b=s5pN34x8fJ0MCFs/MTrsV9d6lhCyuczESwqyXNxiWtx4dNX1UuZE3XpvkTGs1NyEUMWhLT 296M9lLLoCqAlEuGIsEeDFW/58hgklbgDbcbp5NYSUv9u9wVvB5rC6xKc0bnprf/MERQJY 0fnJ6kEfTKrf68qDjOHZO7V2HCQSjQgavnV8Px9QNOIrjLa/4hhK2Ep5IDpJcWjdk7dlGr ySB0rvn54/OvlGVnu1IF0fhD/4ZSa/Lx9wSvoGIKDOW4OdpfwWyI1guRwmkQuObuXOz/OX WauwIGxFqC5ShGtsfP76CQEr+fb9BKCQciIQ7X7d+7JX1TxmyKTsZuXY4cPEmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746212978; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/UQ3X1ArlUkUt6JBuQwqlsBzf/wNmAn2tGbM1qw8t60=; b=xSV/j4vslQWT8zMlFKFKItejO7JavTmlNvvFZPGc4NXlpT2S167NUkTmX/8IMBdn9fGxkF +66w+kUBG5Ov3lsffhafdDkwNXwqWN+0l7ZIHuO/qp6t/aPcSYiIGTB6CkjhYHtokF7mCJ dtFItnAPsnyEuIeMw96scWvJbVisyPza/Ptio2oyRW5lnnwgtu/n20AQulgX8uV91AAWym ptDyH/7N6C2pyxYQp1XY+7zo7EjjqSJaO7uWXGJlTuFzsQhcPj35sPUz7nssM/PKSr+ft9 TS0o1h7fTLW0tayLT6eYNWnzLnYDohafU8bOysfX26JbjNwUPK4qsj9NNIIJqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746212978; a=rsa-sha256; cv=none; b=pRfwylDXb58hF7UgPfZTaZ6o7gyKJJpMgRJSvFO/PrZ27MJmxGRS+GwtUPbRHEzT2bbfhh 66LLj6JLSSaYN57UGXNSe9IAffSc0r1yg+S5sXX1dG5DMcN0jY8psQNvzUv6OLJxuQDVa7 jTbwmacvM88P5MSVCrA9NK9PreY0r2NmaxKlFZbzxqUXQl00rLE9buE/yVRfJAtwd4xspV 07KWqiA2SvMMKJBR1S5myNrjUg2VIoUMnCMXdSPFbuda00PuPQfP+oNChQNk7uoh5VGI8Q vT1hF2nzTEfUNap5Wn7Z2DESMqKGfQVbZZGK6oFzLRSnhdGJyiJ8dJdUMtnXMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Zq0pp6Fc4z1Nrm; Fri, 02 May 2025 19:09:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 542J9cBO075029; Fri, 2 May 2025 19:09:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 542J9c5j075026; Fri, 2 May 2025 19:09:38 GMT (envelope-from git) Date: Fri, 2 May 2025 19:09:38 GMT Message-Id: <202505021909.542J9c5j075026@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: 27c41b28b1d7 - main - iwx.4: Initial manual page List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 27c41b28b1d7749c4dde266a12cd9ff93f168767 Auto-Submitted: auto-generated The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=27c41b28b1d7749c4dde266a12cd9ff93f168767 commit 27c41b28b1d7749c4dde266a12cd9ff93f168767 Author: Alexander Ziaee AuthorDate: 2025-04-06 18:12:52 +0000 Commit: Alexander Ziaee CommitDate: 2025-05-02 19:09:12 +0000 iwx.4: Initial manual page Import manual from OpenBSD, tweaked for our system. Obtained from: OpenBSD (initially) Fixes: 1ad0f7e91582dd (Import iwx) Reviewed by: adrian, bz, emaste, mhorne, thj, Pat Maddox Approved by: mhorne (mentor) Differential Revision: https://reviews.freebsd.org/D49687 --- share/man/man4/Makefile | 3 + share/man/man4/iwx.4 | 157 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 160 insertions(+) diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 5f950b7275da..71d32dd12f05 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -265,6 +265,7 @@ MAN= aac.4 \ iwnfw.4 \ iwlwifi.4 \ iwlwififw.4 \ + ${_iwx.4} \ ix.4 \ ixl.4 \ jedec_dimm.4 \ @@ -895,6 +896,7 @@ _xnb.4= xnb.4 .if ${MACHINE_CPUARCH} == "amd64" _ioat.4= ioat.4 +_iwx.4= iwx.4 _nvdimm.4= nvdimm.4 _qlxge.4= qlxge.4 _qlxgb.4= qlxgb.4 @@ -904,6 +906,7 @@ _sfxge.4= sfxge.4 _smartpqi.4= smartpqi.4 _sume.4= sume.4 +MLINKS+=iwx.4 if_iwx.4 MLINKS+=qlxge.4 if_qlxge.4 MLINKS+=qlxgb.4 if_qlxgb.4 MLINKS+=qlxgbe.4 if_qlxgbe.4 diff --git a/share/man/man4/iwx.4 b/share/man/man4/iwx.4 new file mode 100644 index 000000000000..7cd54d61b920 --- /dev/null +++ b/share/man/man4/iwx.4 @@ -0,0 +1,157 @@ +.\" +.\" SPDX-License-Identifier: ISC +.\" +.\" $OpenBSD: iwx.4,v 1.21 2025/03/27 15:12:14 jmc Exp $ +.\" +.\" Copyright (c) 2020 Stefan Sperling +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd May 2, 2025 +.Dt IWX 4 +.Os +.Sh NAME +.Nm iwx +.Nd Intel WiFi 6 IEEE 802.11ax wireless network driver +.Sh SYNOPSIS +.Cd device iwx +.Cd device wlan +.Pp +In +.Xr rc.conf 5 : +.Cd devmatch_blocklist="if_iwlwifi" +.Cd kld_list="if_iwx" +.Pp +In +.Xr sysctl.conf 5 : +.Cd dev.iwx.?.debug=0xffffffff +.Sh DESCRIPTION +The +.Nm +driver supports the Intel Wi-Fi 6 series of M.2 +wireless network adapters. +If the appropriate hardware is detected, and +.Xr iwlwifi 4 +is blacklisted in +.Xr rc.conf 5 , +the driver will be automatically loaded with +.Xr devmatch 8 . +The +.Nm +driver can be configured at runtime with +.Xr ifconfig 8 +or at boot with +.Xr rc.conf 5 . +.Pp +These are the modes the +.Nm +driver can operate in: +.Bl -tag -width "monitor mode" +.It station mode +This is used when associating with an access point, +through which all traffic passes. +Background scanning is supported in this mode, see +.Xr ifconfig 8 . +Station mode is the default. +.It monitor mode +In this mode the driver is able to receive packets without +associating with an access point. +This disables the internal receive filter and enables the card to +capture packets from networks which it wouldn't normally have access to, +or to scan for access points. +.El +.Sh HARDWARE +The +.Nm +driver supports the following M.2 wireless network adapters: +.Pp +.Bl -bullet -offset indent -compact +.It +Intel Wi-Fi 6 AX200 +.It +Intel Wi-Fi 6 AX201 CNVi +.It +Intel Wi-Fi 6 AX210 +.It +Intel Wi-Fi 6 AX211 CNVi +.El +.Sh SYSCTL VARIABLES +The +.Nm +driver supports the following +.Xr sysctl 8 +variables: +.Bl -tag -width "hw.usb.mtw.debug" +.It Va dev.iwx.?.debug +Specify debug level as a bitmask. +Default +.Ql 0 . +.El +.Sh FILES +The +.Nm +driver requires firmware from +.Pa ports/net/wifi-firmware-iwlwifi-kmod . +This firmware package will be installed automatically with +.Xr fwget 8 +if the appropriate hardware is detected at installation or runtime. +.Sh DIAGNOSTICS +.Bl -diag +.It "iwx0: device timeout" +A frame dispatched to the hardware for transmission did not complete +in time. +The driver will reset the hardware. +This should not happen. +.It "iwx0: fatal firmware error" +For some reason, the firmware crashed. +The driver will reset the hardware. +This should not happen. +.It "iwx0: radio is disabled by hardware switch" +The radio transmitter is off and thus no packet can go out. +The driver will reset the hardware. +Make sure the laptop radio switch is on. +.It "iwx0: could not read firmware ... (error N)" +For some reason, the driver was unable to read the firmware image from +the filesystem. +The file might be missing or corrupted. +.It "iwx0: firmware too short: N bytes" +The firmware image is corrupted and can't be loaded into the adapter. +.It "iwx0: could not load firmware" +An attempt to load the firmware into the adapter failed. +The driver will reset the hardware. +.El +.Sh SEE ALSO +.Xr intro 4 , +.Xr iwlwifi 4 , +.Xr iwlwififw 4 , +.Xr wlan 4 , +.Xr networking 7 , +.Xr fwget 8 , +.Xr ifconfig 8 , +.Xr wpa_supplicant 8 +.Sh HISTORY +The +.Nm +driver appeared in +.Fx 15.0 . +.Sh CAVEATS +The +.Nm +driver does not support hardware encryption offload. +.Pp +The +.Nm +driver does not support 802.11ax. +Additional work is required in +.Xr ieee80211 9 +before those features can be supported.