Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH wireless-next v2 00/11] wifi: prepare shared code for brcmbmac
@ 2026-11-27  6:11 Ragul Balaji
  2026-11-27  6:11 ` [PATCH wireless-next v2 01/11] wifi: brcmsmac: make d11.h self-contained Ragul Balaji
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Ragul Balaji @ 2026-11-27  6:11 UTC (permalink / raw)
  To: linux-wireless; +Cc: Arend van Spriel, Johannes Berg, brcm80211, Ragul Balaji

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-11-27  6:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27  6:11 [PATCH wireless-next v2 00/11] wifi: prepare shared code for brcmbmac Ragul Balaji
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox