Skip to content

wifi: b43: MAC filter and 64-bit DMA fixes for the BCM4360

Andreas Wendleder b43-dev linux-wireless lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wifi: b43: reprogram the MAC filter after an interface restartdrivers/net/wireless/broadcom/b43/main.c+8 -03 replies
2/2wifi: b43: handle 64-bit DMA engines whose index registers hold bus addressesdrivers/net/wireless/broadcom/b43/b43.h drivers/net/wireless/broadcom/b43/dma.c drivers/net/wireless/broadcom/b43/dma.h+45 -111 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAlessio Ferri
1/2T-b T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH wireless-next 0/2] wifi: b43: MAC filter and 64-bit DMA fixes for the BCM4360

Two fixes found while bringing up a BCM4360 (MacBookAir6,1). Neither depends on the AC PHY.

1. After an interface restart nothing was received until some other change touched the filter: b43_op_start() zeroes wl->filter_flags, but mac80211 computes the change against its own cached flags.
2. The 64-bit DMA engines of the BCM4352/BCM4360 cores use bus addresses in the index and status registers. They are detected by probe, as brcmsmac does; engines that keep offsets are untouched.

The rest of the BCM4360 support will follow once these land.

Tested on a MacBookAir6,1 (BCM4360, core revision 42) with the whole BCM4360 support applied.

Andreas Wendleder (2):
wifi: b43: reprogram the MAC filter after an interface restart
wifi: b43: handle 64-bit DMA engines whose index registers hold bus
addresses

 drivers/net/wireless/broadcom/b43/b43.h  |  1 +
 drivers/net/wireless/broadcom/b43/dma.c  | 52 +++++++++++++++++++-----
 drivers/net/wireless/broadcom/b43/dma.h  |  3 ++
 drivers/net/wireless/broadcom/b43/main.c |  8 ++++++++
 4 files changed, 53 insertions(+), 11 deletions(-)