mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Convert typedef for _pkt into struct sk_buff
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
9c56f20d4c
commit
3e3d47445a
11 changed files with 30 additions and 46 deletions
|
@ -115,7 +115,7 @@ struct phy_info //ODM_PHY_INFO_T
|
|||
u8 RxSNR[MAX_PATH_NUM_92CS];//per-path's SNR
|
||||
};
|
||||
|
||||
struct rx_pkt_attrib {
|
||||
struct rx_pkt_attrib {
|
||||
u16 pkt_len;
|
||||
u8 physt;
|
||||
u8 drvinfo_sz;
|
||||
|
@ -246,19 +246,10 @@ struct sta_recv_priv {
|
|||
|
||||
spinlock_t lock;
|
||||
sint option;
|
||||
|
||||
//_queue blk_strms[MAX_RX_NUMBLKS];
|
||||
_queue defrag_q; //keeping the fragment frame until defrag
|
||||
|
||||
struct stainfo_rxcache rxcache;
|
||||
|
||||
//uint sta_rx_bytes;
|
||||
//uint sta_rx_pkts;
|
||||
//uint sta_rx_fail;
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct recv_buf
|
||||
{
|
||||
_list list;
|
||||
|
@ -283,7 +274,7 @@ struct recv_buf
|
|||
|
||||
u8 irp_pending;
|
||||
int transfer_len;
|
||||
_pkt *pskb;
|
||||
struct sk_buff *pskb;
|
||||
u8 reuse;
|
||||
};
|
||||
|
||||
|
@ -508,7 +499,7 @@ __inline static union recv_frame *rxmem_to_recvframe(u8 *rxmem)
|
|||
|
||||
}
|
||||
|
||||
__inline static union recv_frame *pkt_to_recvframe(_pkt *pkt)
|
||||
__inline static union recv_frame *pkt_to_recvframe(struct sk_buff *pkt)
|
||||
{
|
||||
|
||||
u8 * buf_star;
|
||||
|
@ -518,7 +509,7 @@ __inline static union recv_frame *pkt_to_recvframe(_pkt *pkt)
|
|||
return precv_frame;
|
||||
}
|
||||
|
||||
__inline static u8 *pkt_to_recvmem(_pkt *pkt)
|
||||
__inline static u8 *pkt_to_recvmem(struct sk_buff *pkt)
|
||||
{
|
||||
// return the rx_head
|
||||
|
||||
|
@ -528,7 +519,7 @@ __inline static u8 *pkt_to_recvmem(_pkt *pkt)
|
|||
|
||||
}
|
||||
|
||||
__inline static u8 *pkt_to_recvdata(_pkt *pkt)
|
||||
__inline static u8 *pkt_to_recvdata(struct sk_buff *pkt)
|
||||
{
|
||||
// return the rx_data
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue