qcacmn: Add support for xmit type flag on skb->cb
Add support for xmit type flag on skb->cb for tx packets. The field will be used to update ingress stats to the respective indices Change-Id: Ifad61a97b3424df90a2fe722f1c264678a67e949 CRs-Fixed: 3562152
This commit is contained in:

committed by
Rahul Choudhary

parent
ba534849c0
commit
cfefc49a09
@@ -1651,7 +1651,26 @@ qdf_nbuf_set_rx_ftype(qdf_nbuf_t buf, enum cb_ftype type)
|
||||
__qdf_nbuf_set_rx_ftype(buf, type);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_NBUF_AP_PLATFORM)
|
||||
static inline void qdf_nbuf_set_vdev_xmit_type(qdf_nbuf_t buf, uint8_t type)
|
||||
{
|
||||
__qdf_nbuf_set_vdev_xmit_type(buf, type);
|
||||
}
|
||||
|
||||
static inline uint8_t qdf_nbuf_get_vdev_xmit_type(qdf_nbuf_t buf)
|
||||
{
|
||||
return __qdf_nbuf_get_vdev_xmit_type(buf);
|
||||
}
|
||||
#else
|
||||
static inline void qdf_nbuf_set_vdev_xmit_type(qdf_nbuf_t buf, uint8_t type)
|
||||
{
|
||||
}
|
||||
|
||||
static inline uint8_t qdf_nbuf_get_vdev_xmit_type(qdf_nbuf_t buf)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline uint8_t
|
||||
qdf_nbuf_get_vdev_ctx(qdf_nbuf_t buf)
|
||||
|
Reference in New Issue
Block a user