diff options
author | Dedy Lansky <dlansky@codeaurora.org> | 2019-09-10 16:46:21 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-09-12 18:06:22 +0300 |
commit | f99fe49ff3729be7bbdf0d9336e78db94de8a873 (patch) | |
tree | 6c31bc64d14adb10d67d165b1c7b8127ce667326 /drivers/net/wireless/ath/wil6210/txrx.h | |
parent | ath10k: fix channel info parsing for non tlv target (diff) | |
download | linux-dev-f99fe49ff3729be7bbdf0d9336e78db94de8a873.tar.xz linux-dev-f99fe49ff3729be7bbdf0d9336e78db94de8a873.zip |
wil6210: add wil_netif_rx() helper function
Move common part of wil_netif_rx_any into new helper function and add
support for non-gro receive using netif_rx_ni.
Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/txrx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wil6210/txrx.h b/drivers/net/wireless/ath/wil6210/txrx.h index c0da1340c2d2..fceb2512cb83 100644 --- a/drivers/net/wireless/ath/wil6210/txrx.h +++ b/drivers/net/wireless/ath/wil6210/txrx.h @@ -646,6 +646,8 @@ static inline void wil_skb_set_cid(struct sk_buff *skb, u8 cid) } void wil_netif_rx_any(struct sk_buff *skb, struct net_device *ndev); +void wil_netif_rx(struct sk_buff *skb, struct net_device *ndev, int cid, + struct wil_net_stats *stats, bool gro); void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb); void wil_rx_bar(struct wil6210_priv *wil, struct wil6210_vif *vif, u8 cid, u8 tid, u16 seq); |