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
这个提交包含在:
@@ -2543,6 +2543,14 @@ struct wmi_unified {
|
||||
uint32_t *evt_pdev_id_map;
|
||||
uint32_t *cmd_phy_id_map;
|
||||
uint32_t *evt_phy_id_map;
|
||||
#ifdef WMI_INTERFACE_SEQUENCE_CHECK
|
||||
/* wmi next transmit sequence number */
|
||||
uint32_t wmi_sequence;
|
||||
/* wmi completion expected sequence number */
|
||||
uint32_t wmi_exp_sequence;
|
||||
qdf_spinlock_t wmi_seq_lock;
|
||||
#endif /*WMI_INTERFACE_SEQUENCE_CHECK*/
|
||||
|
||||
qdf_atomic_t num_stats_over_qmi;
|
||||
};
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户