mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: Add new ftype enums to distinguish rx stats information
Introduce new enum in ftype to identify rx stats data pointed by fctx. It is added so that only a pointer to the feature specific data can be stored in fctx. ftype will be used to identify what feature in currently being pointed to by fctx . Change-Id: Ic4d8e23c27873875a9cac25e9a5c26096b1705f3 CRs-Fixed: 1055391
This commit is contained in:
parent
4fef865ec0
commit
eb7d24e1f6
1 changed files with 16 additions and 0 deletions
|
|
@ -449,12 +449,28 @@ void __qdf_nbuf_num_frags_init(struct sk_buff *skb)
|
|||
QDF_NBUF_CB_TX_NUM_EXTRA_FRAGS(skb) = 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
typedef enum {
|
||||
CB_FTYPE_INVALID = 0,
|
||||
CB_FTYPE_MCAST2UCAST = 1,
|
||||
CB_FTYPE_TSO = 2,
|
||||
CB_FTYPE_TSO_SG = 3,
|
||||
CB_FTYPE_SG = 4,
|
||||
} CB_FTYPE;
|
||||
#else
|
||||
typedef enum {
|
||||
CB_FTYPE_INVALID = 0,
|
||||
CB_FTYPE_MCAST2UCAST = 1,
|
||||
CB_FTYPE_TSO = 2,
|
||||
CB_FTYPE_TSO_SG = 3,
|
||||
CB_FTYPE_SG = 4,
|
||||
#if ATH_DATA_RX_INFO_EN
|
||||
CB_FTYPE_RX_INFO = 5,
|
||||
#else
|
||||
CB_FTYPE_MESH_RX_INFO = 5,
|
||||
#endif
|
||||
} CB_FTYPE;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* prototypes. Implemented in qdf_nbuf.c
|
||||
|
|
|
|||
Loading…
Reference in a new issue