Forráskód Böngészése

qcacmn: Merging collard DP changes

	1)In the current implementation, txrx fw stats are radio level stats.
	  In collard, txrx fw stats are enhaced to fetch VAP based Tx MU stats,
	  Tx sounding info and Tx Selfgen stats.
	2) Merging new ATH params configs

Change-Id: I817ec4fe08f0a4d0e69262441378b0f6c3418f7f
Srinivas Pitla 8 éve
szülő
commit
b5d3912da0
2 módosított fájl, 13 hozzáadás és 0 törlés
  1. 3 0
      dp/inc/cdp_txrx_cmn.h
  2. 10 0
      dp/inc/cdp_txrx_stats_struct.h

+ 3 - 0
dp/inc/cdp_txrx_cmn.h

@@ -364,6 +364,7 @@ int
 ol_txrx_fw_stats_get(
 	 ol_txrx_vdev_handle vdev,
 	 struct ol_txrx_stats_req *req,
+	 bool per_vdev,
 	 bool response_expected);
 
 int
@@ -400,6 +401,8 @@ void ol_txrx_print_level_set(unsigned level);
 #define TXRX_FW_MAC_FETCH_MGR_STATS              22
 #define TXRX_FW_MAC_PREFETCH_MGR_STATS           23
 
+#define PER_RADIO_FW_STATS_REQUEST 0
+#define PER_VDEV_FW_STATS_REQUEST 1
 /**
  * ol_txrx_get_vdev_mac_addr() - Return mac addr of vdev
  * @vdev: vdev handle

+ 10 - 0
dp/inc/cdp_txrx_stats_struct.h

@@ -75,6 +75,8 @@ struct ol_txrx_stats {
 			/* MSDUs which the target sent but couldn't get
 			 an ack for */
 			ol_txrx_stats_elem no_ack;
+			/* MSDUs dropped in NSS-FW */
+			ol_txrx_stats_elem nss_ol_dropped;
 		} dropped;
 		u_int32_t desc_in_use;
 		u_int32_t desc_alloc_fails;
@@ -446,6 +448,14 @@ typedef enum _ol_ath_param_t {
 #if DBDC_REPEATER_SUPPORT
 	OL_ATH_PARAM_DELAY_STAVAP_UP = 324,
 #endif
+	OL_ATH_PARAM_TXPOW_MGMT = 326,  /* Can be used to configure transmit power for management frames */
+	OL_ATH_PARAM_CHANSWITCH_OPTIONS = 327,  /* It is used to set the channel switch options */
+	OL_ATH_BTCOEX_ENABLE        = 328,
+	OL_ATH_BTCOEX_WL_PRIORITY   = 329,
+	OL_ATH_PARAM_TID_OVERRIDE_QUEUE_MAPPING = 330,
+	OL_ATH_PARAM_CAL_VER_CHECK = 331,
+	OL_ATH_PARAM_NO_VLAN = 332,
+	OL_ATH_PARAM_CCA_THRESHOLD = 333,
 } ol_ath_param_t;
 
 /*