Merge "qca-wifi: Introduce enums for DFS postNOL frequency and mode"
diff --git a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_defs.h b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_defs.h
index ff1a286..6df73b2 100644
--- a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_defs.h
+++ b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_defs.h
@@ -468,6 +468,17 @@
 	uint32_t cs_tx_assoc_fail;
 	uint32_t cs_is_tx_nobuf;
 	uint32_t cs_rx_decryptcrc;
+
+	/* TWT stats */
+	uint32_t cs_twt_event_type;
+	uint32_t cs_twt_flow_id:16,
+		 cs_twt_bcast:1,
+		 cs_twt_trig:1,
+		 cs_twt_announ:1;
+	uint32_t cs_twt_dialog_id;
+	uint32_t cs_twt_wake_dura_us;
+	uint32_t cs_twt_wake_intvl_us;
+	uint32_t cs_twt_sp_offset_us;
 };
 
 #endif /* QCA_SUPPORT_CP_STATS */
diff --git a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h
index bfea671..270a7e3 100644
--- a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h
+++ b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h
@@ -625,6 +625,15 @@
 UCFG_PEER_CP_STATS_SET_FUNCS(tx_dropblock);
 #endif
 UCFG_PEER_CP_STATS_SET_FUNCS(rx_decryptcrc);
+UCFG_PEER_CP_STATS_SET_FUNCS(twt_event_type);
+UCFG_PEER_CP_STATS_SET_FUNCS(twt_flow_id);
+UCFG_PEER_CP_STATS_SET_FUNCS(twt_bcast);
+UCFG_PEER_CP_STATS_SET_FUNCS(twt_trig);
+UCFG_PEER_CP_STATS_SET_FUNCS(twt_announ);
+UCFG_PEER_CP_STATS_SET_FUNCS(twt_dialog_id);
+UCFG_PEER_CP_STATS_SET_FUNCS(twt_wake_dura_us);
+UCFG_PEER_CP_STATS_SET_FUNCS(twt_wake_intvl_us);
+UCFG_PEER_CP_STATS_SET_FUNCS(twt_sp_offset_us);
 
 static inline
 void ucfg_peer_cp_stats_rx_mgmt_rssi_update(struct wlan_objmgr_peer *peer,
diff --git a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h
index 002c0b7..dc1b9f1 100644
--- a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h
+++ b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h
@@ -67,6 +67,15 @@
 PEER_CP_STATS_SET_FUNCS(tx_dropblock);
 #endif
 PEER_CP_STATS_SET_FUNCS(rx_decryptcrc);
+PEER_CP_STATS_SET_FUNCS(twt_event_type);
+PEER_CP_STATS_SET_FUNCS(twt_flow_id);
+PEER_CP_STATS_SET_FUNCS(twt_bcast);
+PEER_CP_STATS_SET_FUNCS(twt_trig);
+PEER_CP_STATS_SET_FUNCS(twt_announ);
+PEER_CP_STATS_SET_FUNCS(twt_dialog_id);
+PEER_CP_STATS_SET_FUNCS(twt_wake_dura_us);
+PEER_CP_STATS_SET_FUNCS(twt_wake_intvl_us);
+PEER_CP_STATS_SET_FUNCS(twt_sp_offset_us);
 
 #define PEER_CP_STATS_GET_FUNCS(field) \
 	static inline uint64_t \