소스 검색

qcacmn: Add member in the stats ops for vdev stats

The stats ops framework needs a member for updation
of vdev stats.

Change-Id: I4a131fdadb50e89f4db55548ac6ee40afda5d182
Debasis Das 6 년 전
부모
커밋
c24679128b
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      dp/inc/cdp_txrx_ops.h

+ 3 - 0
dp/inc/cdp_txrx_ops.h

@@ -739,6 +739,9 @@ struct cdp_host_stats_ops {
 	int
 	int
 		(*txrx_get_vdev_extd_stats)(struct cdp_vdev *vdev_handle,
 		(*txrx_get_vdev_extd_stats)(struct cdp_vdev *vdev_handle,
 					    void *buffer);
 					    void *buffer);
+	void
+		(*txrx_update_vdev_stats)(struct cdp_vdev *vdev, void *buf,
+					  uint16_t stats_id);
 };
 };
 
 
 struct cdp_wds_ops {
 struct cdp_wds_ops {