qcacmn: Add sequence number for WMI pipe
Add sequence number to each packet queued on wmi pipe and match it against expected sequence number in wmi completion handler. WMI packets are consumed internally, use the skb mark field to capture the sequence number of the wmi packet. Change-Id: I1421e3fcff0a2b326f6d899780c773950544ef26 CRs-Fixed: 2741465
这个提交包含在:
@@ -3756,6 +3756,29 @@ static inline void qdf_nbuf_trim_add_frag_size(qdf_nbuf_t nbuf, uint8_t idx,
|
||||
__qdf_nbuf_trim_add_frag_size(nbuf, idx, size, truesize);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_set_mark() - Set nbuf mark
|
||||
* @nbuf: qdf_nbuf_t
|
||||
* @mark: Value to set mark
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
static inline void qdf_nbuf_set_mark(qdf_nbuf_t nbuf, uint32_t mark)
|
||||
{
|
||||
__qdf_nbuf_set_mark(nbuf, mark);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_nbuf_get_mark() - Get nbuf mark
|
||||
* @nbuf: qdf_nbuf_t
|
||||
*
|
||||
* Return: mark value
|
||||
*/
|
||||
static inline uint32_t qdf_nbuf_get_mark(qdf_nbuf_t nbuf)
|
||||
{
|
||||
return __qdf_nbuf_get_mark(nbuf);
|
||||
}
|
||||
|
||||
#ifdef NBUF_FRAG_MEMORY_DEBUG
|
||||
|
||||
#define qdf_nbuf_move_frag_page_offset(f, i, o) \
|
||||
|
在新工单中引用
屏蔽一个用户