Patch "brcmfmac: fix incorrect event channel deduction" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
brcmfmac: fix incorrect event channel deduction
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
brcmfmac-fix-incorrect-event-channel-deduction.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
8e290cecdd0178f3d4cf7d463c51dc7e462843b4Mon Sep 17 00:00:00 2001
From: Gavin Li <[email protected]>
Date: Tue, 17 Jan 2017 15:24:05 -0800
Subject: brcmfmac: fix incorrect event channel deduction
From: Gavin Li <[email protected]>
commit 8e290cecdd0178f3d4cf7d463c51dc7e462843b4 upstream.
brcmf_sdio_fromevntchan() was being called on the the data frame rather than the software header, causing some frames to be mischaracterized as on the event channel rather than the data channel.
This fixes a major performance regression (due to dropped packets). With this patch the download speed jumped from 1Mbit/s back up to 40MBit/s due to the sheer amount of packets being incorrectly processed.
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +1 -1
@@ -1660,7 +1660,7 @@ static u8 brcmf_sdio_rxglom(struct brcmf pfirst->len, pfirst->next, pfirst->prev);skb_unlink (pfirst, &bus->glom); -if (brcmf_sdio_fromevntchan (pfirst->data)) +if (brcmf_sdio_fromevntchan (&dptr[SDPCM_HWHDR_LEN ]))brcmf_rx_event (bus->sdiodev->dev, pfirst);else brcmf_rx_frame(bus->sdiodev->dev, pfirst,
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/brcmfmac-fix-incorrect-event-channel-deduction.patch