From b5d3912da0979c990fc49472234fbc8a66009a1c Mon Sep 17 00:00:00 2001 From: Srinivas Pitla Date: Fri, 12 Aug 2016 19:21:30 +0530 Subject: [PATCH] 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 --- dp/inc/cdp_txrx_cmn.h | 3 +++ dp/inc/cdp_txrx_stats_struct.h | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/dp/inc/cdp_txrx_cmn.h b/dp/inc/cdp_txrx_cmn.h index efa4d3ff1f..f835039ce1 100644 --- a/dp/inc/cdp_txrx_cmn.h +++ b/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 diff --git a/dp/inc/cdp_txrx_stats_struct.h b/dp/inc/cdp_txrx_stats_struct.h index ba46089fcc..32091e1e76 100644 --- a/dp/inc/cdp_txrx_stats_struct.h +++ b/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; /*