From: Jeff Chen <jeff.chen_1@nxp.com>
To: linux-wireless@vger.kernel.org, johannes@sipsolutions.net
Cc: linux-kernel@vger.kernel.org, briannorris@chromium.org,
francesco@dolcini.it, s.hauer@pengutronix.de,
tsung-hsien.hsieh@nxp.com, jeff.chen_1@nxp.com,
brian.hsu@nxp.com
Subject: [PATCH v4 00/22] wifi: nxpwifi: create nxpwifi to support iw61x
Date: Mon, 21 Jul 2025 14:26:19 +0800 [thread overview]
Message-ID: <20250721062641.2001796-1-jeff.chen_1@nxp.com> (raw)
This series adds a new full-MAC Wi-Fi driver `nxpwifi` to support NXP IW61x
chip family. These chips are tri-radio single-chip solutions with Wi-Fi 6
(1x1, 2.4/5 GHz), Bluetooth 5.4, and IEEE 802.15.4. Communication with the
external host is via SDIO interface. The driver is tested on i.MX8M Mini
EVK in both STA and AP mode.
This driver is not based on mac80211. It derives from mwifiex, but due to
significant differences in firmware architecture, host command interface,
and supported features, it was not feasible to extend mwifiex without risk
of regressions. Thus, a new driver is introduced. Future NXP Wi-Fi chipsets
will also be supported under `nxpwifi`.
The driver passes checkpatch. WPA2/WPA3 personal/enterprise is currently
handled in host via wpa_supplicant/hostapd.
v4 adds support for TWT, monitor mode, WPA3 Enterprise Suite-B, and various
fixes and improvements. See below for full changelog.
Data sheet is available at:
https://www.nxp.com/docs/en/data-sheet/IW612.pdf
Change history:
v4:
- Added support for TWT (STA mode)
- Added support for Monitor mode
- Added support for WPA3 Enterprise Suite-B
- Bug fix: In BGN/AN HT40 mode, throughput was 50% lower than expected
- Bug fix: In STA 2.4G HE40 mode, throughput was 80% lower than expected
- Use wiphy work instead of general workqueue for cfg80211 ops
- Introduced RCU protection for ba, rx_reorder, and sta_lists
- Used per-TID spinlock for tx_ba / rx_reorder lists to improve
concurrency
- Replaced mutex_lock with wiphy_lock
- Reverted "use tasklet for Rx" (back to workqueue)
- Refactored HE capability handling for better clarity and
maintainability
- Used standard kernel helpers for MAC address handling
- Replaced proprietary nxpwifi_ieee80211 with standard ieee80211_mgmt
structure
- Used u32_get_bits() for VHT capability field access
- Replaced LOW_PRIO_TID with TC_PRIO_BESTEFFORT for skb priority
- Removed static WPA/RSN OUI table; now derived from cipher suite ID
- Removed redundant helper functions: has_vendor_hdr() and has_ieee_hdr(
v3:
- Enable 802.11ax (Wi-Fi 6) for both AP and STA mode.
- Extend driver verion string with hotfix number.
- Remove Rx mlme work.
- Remove all useless check of netif_carrier_ok().
- Merge decl.h to cfg.h.
- Remove unnecessary check for wiphy parameters setting.
- Synchronize following commits from Mwifiex:
wifi: mwifiex: replace open-coded module_sdio_driver()
wifi: mwifiex: Fix interface type change
wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()
wifi: mwifiex: increase max_num_akm_suites
wifi: mwifiex: duplicate static structs used in driver instances
wifi: mwifiex: keep mwifiex_cfg80211_ops constant
wifi: mwifiex: Fix uninitialized variable in
mwifiex_cfg80211_authenticate()
wifi: mwifiex: remove unnecessary checks for valid priv
wifi: mwifiex: Fix memcpy() field-spanning write warning in
mwifiex_cmd_802_11_scan_ext()
wifi: mwifiex: Use IRQF_NO_AUTOEN flag in request_irq()
v2:
- Rename ioctl.h and sta_ioctl.c to cfg.h and sta_cfg.c.
- Remove useless header file semaphore.h.
- Use static variable for cookie.
- Modify nxpwifi_register to use ERR_PTR, IS_ERR and PTR_ERR.
- Use error number for error code.
- Remove unnecessary private ie definitions.
- Remove mutex async_mutex and related code.
- Remove unnecessary work queue.
- Add the support for PSK SHA256.
- Use tasklet for Rx.
- Remove unused functions.
- Remove compile warning.
Jeff Chen (22):
wifi: nxpwifi: add 802.11n files
wifi: nxpwifi: add 802.11ac files
wifi: nxpwifi: add 802.11ax files
wifi: nxpwifi: add 802.11h file
wifi: nxpwifi: add WMM files
wifi: nxpwifi: add scan.c
wifi: nxpwifi: add join.c
wifi: nxpwifi: add cfp.c
wifi: nxpwifi: add configuration files
wifi: nxpwifi: implement cfg80211 ops
wifi: nxpwifi: add host command file
wifi: nxpwifi: add command and event files
wifi: nxpwifi: add data path files
wifi: nxpwifi: add debugfs file
wifi: nxpwifi: add ethtool.c
wifi: nxpwifi: add utility files
wifi: nxpwifi: add initialization file
wifi: nxpwifi: add core files
wifi: nxpwifi: add sdio bus driver files
wifi: nxpwifi: modify sdio_ids.h
wifi: nxpwifi: add makefile and kconfig files
wifi: nxpwifi: modify MAINTAINERS file
MAINTAINERS | 9 +
drivers/net/wireless/Kconfig | 1 +
drivers/net/wireless/Makefile | 1 +
drivers/net/wireless/nxp/Kconfig | 17 +
drivers/net/wireless/nxp/Makefile | 3 +
drivers/net/wireless/nxp/nxpwifi/11ac.c | 289 ++
drivers/net/wireless/nxp/nxpwifi/11ac.h | 32 +
drivers/net/wireless/nxp/nxpwifi/11ax.c | 590 +++
drivers/net/wireless/nxp/nxpwifi/11ax.h | 72 +
drivers/net/wireless/nxp/nxpwifi/11h.c | 346 ++
drivers/net/wireless/nxp/nxpwifi/11n.c | 895 ++++
drivers/net/wireless/nxp/nxpwifi/11n.h | 167 +
drivers/net/wireless/nxp/nxpwifi/11n_aggr.c | 275 ++
drivers/net/wireless/nxp/nxpwifi/11n_aggr.h | 21 +
.../net/wireless/nxp/nxpwifi/11n_rxreorder.c | 938 ++++
.../net/wireless/nxp/nxpwifi/11n_rxreorder.h | 71 +
drivers/net/wireless/nxp/nxpwifi/Kconfig | 22 +
drivers/net/wireless/nxp/nxpwifi/Makefile | 39 +
drivers/net/wireless/nxp/nxpwifi/cfg.h | 984 ++++
drivers/net/wireless/nxp/nxpwifi/cfg80211.c | 4067 +++++++++++++++++
drivers/net/wireless/nxp/nxpwifi/cfg80211.h | 19 +
drivers/net/wireless/nxp/nxpwifi/cfp.c | 475 ++
drivers/net/wireless/nxp/nxpwifi/cmdevt.c | 1284 ++++++
drivers/net/wireless/nxp/nxpwifi/cmdevt.h | 98 +
drivers/net/wireless/nxp/nxpwifi/debugfs.c | 1230 +++++
drivers/net/wireless/nxp/nxpwifi/ethtool.c | 58 +
drivers/net/wireless/nxp/nxpwifi/fw.h | 2401 ++++++++++
drivers/net/wireless/nxp/nxpwifi/ie.c | 501 ++
drivers/net/wireless/nxp/nxpwifi/init.c | 684 +++
drivers/net/wireless/nxp/nxpwifi/join.c | 911 ++++
drivers/net/wireless/nxp/nxpwifi/main.c | 1718 +++++++
drivers/net/wireless/nxp/nxpwifi/main.h | 1850 ++++++++
drivers/net/wireless/nxp/nxpwifi/scan.c | 2805 ++++++++++++
drivers/net/wireless/nxp/nxpwifi/sdio.c | 2656 +++++++++++
drivers/net/wireless/nxp/nxpwifi/sdio.h | 340 ++
drivers/net/wireless/nxp/nxpwifi/sta_cfg.c | 1319 ++++++
drivers/net/wireless/nxp/nxpwifi/sta_cmd.c | 3449 ++++++++++++++
drivers/net/wireless/nxp/nxpwifi/sta_event.c | 868 ++++
drivers/net/wireless/nxp/nxpwifi/sta_rx.c | 250 +
drivers/net/wireless/nxp/nxpwifi/sta_tx.c | 208 +
drivers/net/wireless/nxp/nxpwifi/txrx.c | 358 ++
drivers/net/wireless/nxp/nxpwifi/uap_cmd.c | 1234 +++++
drivers/net/wireless/nxp/nxpwifi/uap_event.c | 490 ++
drivers/net/wireless/nxp/nxpwifi/uap_txrx.c | 506 ++
drivers/net/wireless/nxp/nxpwifi/util.c | 1580 +++++++
drivers/net/wireless/nxp/nxpwifi/util.h | 132 +
drivers/net/wireless/nxp/nxpwifi/wmm.c | 1379 ++++++
drivers/net/wireless/nxp/nxpwifi/wmm.h | 78 +
include/linux/mmc/sdio_ids.h | 3 +
49 files changed, 37723 insertions(+)
create mode 100644 drivers/net/wireless/nxp/Kconfig
create mode 100644 drivers/net/wireless/nxp/Makefile
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11ac.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11ac.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11ax.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11ax.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11h.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11n.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11n.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11n_aggr.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11n_aggr.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11n_rxreorder.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/11n_rxreorder.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/Kconfig
create mode 100644 drivers/net/wireless/nxp/nxpwifi/Makefile
create mode 100644 drivers/net/wireless/nxp/nxpwifi/cfg.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/cfg80211.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/cfg80211.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/cfp.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/cmdevt.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/cmdevt.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/debugfs.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/ethtool.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/fw.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/ie.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/init.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/join.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/main.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/main.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/scan.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/sdio.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/sdio.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/sta_cfg.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/sta_cmd.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/sta_event.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/sta_rx.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/sta_tx.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/txrx.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/uap_cmd.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/uap_event.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/uap_txrx.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/util.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/util.h
create mode 100644 drivers/net/wireless/nxp/nxpwifi/wmm.c
create mode 100644 drivers/net/wireless/nxp/nxpwifi/wmm.h
--
2.34.1
next reply other threads:[~2025-07-21 6:31 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-21 6:26 Jeff Chen [this message]
2025-07-21 6:26 ` [PATCH v4 01/22] wifi: nxpwifi: add 802.11n files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 02/22] wifi: nxpwifi: add 802.11ac files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 03/22] wifi: nxpwifi: add 802.11ax files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 04/22] wifi: nxpwifi: add 802.11h file Jeff Chen
2025-07-21 6:26 ` [PATCH v4 05/22] wifi: nxpwifi: add WMM files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 06/22] wifi: nxpwifi: add scan.c Jeff Chen
2025-07-21 6:26 ` [PATCH v4 07/22] wifi: nxpwifi: add join.c Jeff Chen
2025-07-21 6:26 ` [PATCH v4 08/22] wifi: nxpwifi: add cfp.c Jeff Chen
2025-07-21 6:26 ` [PATCH v4 09/22] wifi: nxpwifi: add configuration files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 10/22] wifi: nxpwifi: implement cfg80211 ops Jeff Chen
2025-07-21 6:26 ` [PATCH v4 11/22] wifi: nxpwifi: add host command file Jeff Chen
2025-07-21 6:26 ` [PATCH v4 12/22] wifi: nxpwifi: add command and event files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 13/22] wifi: nxpwifi: add data path files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 14/22] wifi: nxpwifi: add debugfs file Jeff Chen
2025-07-21 6:26 ` [PATCH v4 15/22] wifi: nxpwifi: add ethtool.c Jeff Chen
2025-07-21 6:26 ` [PATCH v4 16/22] wifi: nxpwifi: add utility files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 17/22] wifi: nxpwifi: add initialization file Jeff Chen
2025-07-21 6:26 ` [PATCH v4 18/22] wifi: nxpwifi: add core files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 19/22] wifi: nxpwifi: add sdio bus driver files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 20/22] wifi: nxpwifi: modify sdio_ids.h Jeff Chen
2025-07-21 6:26 ` [PATCH v4 21/22] wifi: nxpwifi: add makefile and kconfig files Jeff Chen
2025-07-21 6:26 ` [PATCH v4 22/22] wifi: nxpwifi: modify MAINTAINERS file Jeff Chen
2025-07-21 13:25 ` [PATCH v4 00/22] wifi: nxpwifi: create nxpwifi to support iw61x Francesco Dolcini
-- strict thread matches above, loose matches on Subject: below --
2025-07-22 13:00 Gallissot Mathieu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250721062641.2001796-1-jeff.chen_1@nxp.com \
--to=jeff.chen_1@nxp.com \
--cc=brian.hsu@nxp.com \
--cc=briannorris@chromium.org \
--cc=francesco@dolcini.it \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=tsung-hsien.hsieh@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.