mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 01:25:39 +01:00
staging: r8188eu: move struct pkt_file to rtw_xmit.h
The code that uses struct pkt_file has been moved to rtw_xmit.c. Move the structure definition to rtw_xmit.h. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220820181623.12497-14-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b9a0b94f63
commit
65d159d79b
|
|
@ -304,6 +304,15 @@ struct xmit_priv {
|
|||
struct submit_ctx ack_tx_ops;
|
||||
};
|
||||
|
||||
struct pkt_file {
|
||||
struct sk_buff *pkt;
|
||||
size_t pkt_len; /* the remainder length of the open_file */
|
||||
unsigned char *cur_buffer;
|
||||
u8 *buf_start;
|
||||
u8 *cur_addr;
|
||||
size_t buf_len;
|
||||
};
|
||||
|
||||
struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv);
|
||||
s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv,
|
||||
struct xmit_buf *pxmitbuf);
|
||||
|
|
|
|||
|
|
@ -7,15 +7,6 @@
|
|||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
struct pkt_file {
|
||||
struct sk_buff *pkt;
|
||||
size_t pkt_len; /* the remainder length of the open_file */
|
||||
unsigned char *cur_buffer;
|
||||
u8 *buf_start;
|
||||
u8 *cur_addr;
|
||||
size_t buf_len;
|
||||
};
|
||||
|
||||
extern int rtw_ht_enable;
|
||||
extern int rtw_cbw40_enable;
|
||||
extern int rtw_ampdu_enable;/* for enable tx_ampdu */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user