brcmfmac: screening firmware event packet
Firmware uses asynchronized events as a communication method to the host. The event packets are marked as ETH_P_LINK_CTL protocol type. For SDIO and PCIe bus, this kind of packets are delivered through virtual event channel not data channel. This patch adds a screening logic to make sure the event handler only processes the events coming from the correct channel. Reviewed-by:Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com> Signed-off-by:
Franky Lin <franky.lin@broadcom.com> Signed-off-by:
Arend van Spriel <arend@broadcom.com> Signed-off-by:
Kalle Valo <kvalo@codeaurora.org>
Showing
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h 3 additions, 1 deletiondrivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 36 additions, 10 deletionsdrivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h 2 additions, 1 deletiondrivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 24 additions, 18 deletionsdrivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 24 additions, 8 deletionsdrivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 1 addition, 1 deletiondrivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
Loading
Please register or sign in to comment