Ver código fonte

qcacmn: Phase 1 DP changes

Move ol_txrx_get_en_stats_base to cmn_dev as part
of DP phase 1 changes

Change-Id: Icc05beb31d3bdcf0e6d7d5b0d2add888118d89e7
CRs-fixed: 1058170
Nandha Kishore Easwaran 8 anos atrás
pai
commit
4b8148b9d1
2 arquivos alterados com 21 adições e 0 exclusões
  1. 16 0
      dp/inc/cdp_txrx_host_stats.h
  2. 5 0
      dp/inc/cdp_txrx_stats_struct.h

+ 16 - 0
dp/inc/cdp_txrx_host_stats.h

@@ -139,4 +139,20 @@ void
 ol_reset_lro_stats(ol_txrx_vdev_handle vdev);
 #endif /* HOST_SW_LRO_ENABLE */
 
+
+/**
+ * @brief Parse the stats header and get the payload from the message.
+ *
+ * @param pdev - the physical device object
+ * @param msg_word - stats buffer recieved from FW
+ * @param msg_len - length of the message
+ * @param type - place holder for parsed message type
+ * @param status - place holder for parsed message status
+ * @return - pointer to received stat payload
+ */
+
+#if ATH_BAND_STEERING
+uint32_t *ol_txrx_get_en_stats_base(ol_txrx_pdev_handle txrx_pdev, uint32_t *msg_word,
+    uint32_t msg_len, enum htt_t2h_en_stats_type *type,  enum htt_t2h_en_stats_status *status);
 #endif
+#endif /* _CDP_TXRX_HOST_STATS_H_ */

+ 5 - 0
dp/inc/cdp_txrx_stats_struct.h

@@ -456,6 +456,11 @@ typedef enum _ol_ath_param_t {
 	OL_ATH_PARAM_CAL_VER_CHECK = 331,
 	OL_ATH_PARAM_NO_VLAN = 332,
 	OL_ATH_PARAM_CCA_THRESHOLD = 333,
+	OL_ATH_PARAM_ATF_LOGGING = 334,
+	OL_ATH_PARAM_STRICT_DOTH = 335,
+	OL_ATH_PARAM_DISCONNECTION_TIMEOUT = 336,
+	OL_ATH_PARAM_RECONFIGURATION_TIMEOUT = 337,
+	OL_ATH_PARAM_CHANNEL_SWITCH_COUNT = 338,
 } ol_ath_param_t;
 
 /*