mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
rtlwifi: usb: defer rx processing to tasklet
Move processing of received packets to tasklet from hard-irq context. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
d7d0f081c4
commit
29bb7013a5
3 changed files with 51 additions and 15 deletions
|
@ -136,12 +136,14 @@ struct rtl_usb {
|
|||
void (*usb_tx_cleanup)(struct ieee80211_hw *, struct sk_buff *);
|
||||
|
||||
/* Rx */
|
||||
u8 in_ep_nums ;
|
||||
u8 in_ep_nums;
|
||||
u32 in_ep; /* Bulk IN endpoint number */
|
||||
u32 rx_max_size; /* Bulk IN max buffer size */
|
||||
u32 rx_urb_num; /* How many Bulk INs are submitted to host. */
|
||||
struct usb_anchor rx_submitted;
|
||||
struct usb_anchor rx_cleanup_urbs;
|
||||
struct tasklet_struct rx_work_tasklet;
|
||||
struct sk_buff_head rx_queue;
|
||||
void (*usb_rx_segregate_hdl)(struct ieee80211_hw *, struct sk_buff *,
|
||||
struct sk_buff_head *);
|
||||
void (*usb_rx_hdl)(struct ieee80211_hw *, struct sk_buff *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue