From: Ragul Balaji <ragulbaby@gmail.com>
To: linux-wireless@vger.kernel.org
Cc: Arend van Spriel <arend.vanspriel@broadcom.com>,
Johannes Berg <johannes@sipsolutions.net>,
brcm80211@lists.linux.dev, Ragul Balaji <ragulbaby@gmail.com>
Subject: [PATCH wireless-next v2 00/11] wifi: prepare shared code for brcmbmac
Date: Fri, 27 Nov 2026 14:11:30 +0800 [thread overview]
Message-ID: <20261127061147.506129-1-ragulbaby@gmail.com> (raw)
These patches move brcmsmac's d11 core definitions, its rate, PLCP,
frame timing and RTS rate helpers, and its channel and rate tables to
the shared brcm80211 directories, so that the brcmbmac driver for the
BCM4323x USB adapters, sent separately, can share them instead of
copying them:
The last patch moves brcmfmac's USB bootloader definitions to a shared
header.
Apart from patch 5, these patches change no behaviour.
Compile-tested only for brcmsmac and brcmfmac.
Changelog v2:
- Move brcmfmac changes here too.
Ragul Balaji (11):
wifi: brcmsmac: make d11.h self-contained
wifi: brcm80211: move d11.h to the shared include directory
wifi: brcmsmac: look up OFDM rates in rate.c
wifi: brcmsmac: give the rate tables and helpers a brcmu_ prefix
wifi: brcmsmac: round short-GI L-SIG lengths up to whole symbols
wifi: brcmsmac: pass the band to the PLCP and frame timing helpers
wifi: brcmsmac: move the PLCP and frame timing helpers to rate.c
wifi: brcmsmac: move the RTS rate selection to rate.c
wifi: brcm80211: move the rate helpers of brcmsmac to brcmutil
wifi: brcm80211: move the channel and rate tables of brcmsmac to
brcmutil
wifi: brcm80211: move the USB bootloader definitions to a shared
header
.../broadcom/brcm80211/brcmfmac/usb.c | 68 +-
.../broadcom/brcm80211/brcmsmac/Makefile | 1 -
.../broadcom/brcm80211/brcmsmac/ampdu.c | 34 +-
.../broadcom/brcm80211/brcmsmac/dma.h | 27 -
.../broadcom/brcm80211/brcmsmac/mac80211_if.c | 153 +--
.../broadcom/brcm80211/brcmsmac/mac80211_if.h | 9 +-
.../broadcom/brcm80211/brcmsmac/main.c | 741 ++----------
.../broadcom/brcm80211/brcmsmac/main.h | 26 +-
.../broadcom/brcm80211/brcmsmac/phy/phy_cmn.c | 17 -
.../broadcom/brcm80211/brcmsmac/phy/phy_hal.h | 3 +-
.../broadcom/brcm80211/brcmsmac/pub.h | 35 +-
.../broadcom/brcm80211/brcmsmac/rate.c | 514 --------
.../broadcom/brcm80211/brcmsmac/stf.c | 4 +-
.../broadcom/brcm80211/brcmutil/Makefile | 2 +-
.../broadcom/brcm80211/brcmutil/band.c | 140 +++
.../broadcom/brcm80211/brcmutil/rate.c | 1077 +++++++++++++++++
.../broadcom/brcm80211/include/brcm_usb_rdl.h | 78 ++
.../broadcom/brcm80211/include/brcmu_band.h | 26 +
.../{brcmsmac/rate.h => include/brcmu_rate.h} | 170 ++-
.../brcm80211/{brcmsmac => include}/d11.h | 43 +-
20 files changed, 1637 insertions(+), 1531 deletions(-)
delete mode 100644 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c
create mode 100644 drivers/net/wireless/broadcom/brcm80211/brcmutil/band.c
create mode 100644 drivers/net/wireless/broadcom/brcm80211/brcmutil/rate.c
create mode 100644 drivers/net/wireless/broadcom/brcm80211/include/brcm_usb_rdl.h
create mode 100644 drivers/net/wireless/broadcom/brcm80211/include/brcmu_band.h
rename drivers/net/wireless/broadcom/brcm80211/{brcmsmac/rate.h => include/brcmu_rate.h} (51%)
rename drivers/net/wireless/broadcom/brcm80211/{brcmsmac => include}/d11.h (97%)
base-commit: 3c311bf321442d4c4f452a1a08bc9efce242a1f9
--
2.53.0
next reply other threads:[~2026-11-27 6:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 6:11 Ragul Balaji [this message]
2026-11-27 6:11 ` [PATCH wireless-next v2 01/11] wifi: brcmsmac: make d11.h self-contained Ragul Balaji
2026-11-27 6:11 ` [PATCH wireless-next v2 02/11] wifi: brcm80211: move d11.h to the shared include directory Ragul Balaji
2026-11-27 6:11 ` [PATCH wireless-next v2 03/11] wifi: brcmsmac: look up OFDM rates in rate.c Ragul Balaji
2026-11-27 6:11 ` [PATCH wireless-next v2 04/11] wifi: brcmsmac: give the rate tables and helpers a brcmu_ prefix Ragul Balaji
2026-11-27 6:11 ` [PATCH wireless-next v2 05/11] wifi: brcmsmac: round short-GI L-SIG lengths up to whole symbols Ragul Balaji
2026-11-27 6:11 ` [PATCH wireless-next v2 06/11] wifi: brcmsmac: pass the band to the PLCP and frame timing helpers Ragul Balaji
2026-11-27 6:11 ` [PATCH wireless-next v2 07/11] wifi: brcmsmac: move the PLCP and frame timing helpers to rate.c Ragul Balaji
2026-11-27 6:11 ` [PATCH wireless-next v2 08/11] wifi: brcmsmac: move the RTS rate selection " Ragul Balaji
2026-11-27 6:11 ` [PATCH wireless-next v2 09/11] wifi: brcm80211: move the rate helpers of brcmsmac to brcmutil Ragul Balaji
2026-11-27 6:11 ` [PATCH wireless-next v2 10/11] wifi: brcm80211: move the channel and rate tables " Ragul Balaji
2026-11-27 6:11 ` [PATCH wireless-next v2 11/11] wifi: brcm80211: move the USB bootloader definitions to a shared header Ragul Balaji
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=20261127061147.506129-1-ragulbaby@gmail.com \
--to=ragulbaby@gmail.com \
--cc=arend.vanspriel@broadcom.com \
--cc=brcm80211@lists.linux.dev \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox