qcacmn: Support congestion report on multiple interfaces

Support congestion report on multiple interfaces

Change-Id: I8a3dcc006576b26574e072cf6f74daee4925e6be
CRs-Fixed: 2909919
This commit is contained in:
Paul Zhang
2021-03-27 10:11:30 +08:00
committed by snandini
parent ec05e79403
commit cedbb9d221
3 changed files with 8 additions and 0 deletions

View File

@@ -78,6 +78,9 @@
/* Invalid free descriptor count */ /* Invalid free descriptor count */
#define WLAN_INVALID_MGMT_DESC_COUNT 0xFFFFFFFF #define WLAN_INVALID_MGMT_DESC_COUNT 0xFFFFFFFF
/* Max fw report pdev id */
#define WLAN_UMAC_MAX_RP_PID 2
/* 802.11 cap info */ /* 802.11 cap info */
#define WLAN_CAPINFO_ESS 0x0001 #define WLAN_CAPINFO_ESS 0x0001
#define WLAN_CAPINFO_IBSS 0x0002 #define WLAN_CAPINFO_IBSS 0x0002

View File

@@ -4012,6 +4012,7 @@ typedef struct {
* @fcsBad: * @fcsBad:
* @noBeacons: * @noBeacons:
* @mib_int_count: * @mib_int_count:
* @pdev_id: pdev id
*/ */
typedef struct { typedef struct {
int32_t chan_nf; int32_t chan_nf;
@@ -4028,6 +4029,7 @@ typedef struct {
uint32_t fcsBad; uint32_t fcsBad;
uint32_t noBeacons; uint32_t noBeacons;
uint32_t mib_int_count; uint32_t mib_int_count;
uint32_t pdev_id;
} wmi_host_pdev_stats; } wmi_host_pdev_stats;
/** /**

View File

@@ -684,6 +684,9 @@ extract_pdev_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf, uint32_t index,
param_buf = (WMI_UPDATE_STATS_EVENTID_param_tlvs *) evt_buf; param_buf = (WMI_UPDATE_STATS_EVENTID_param_tlvs *) evt_buf;
ev_param = (wmi_stats_event_fixed_param *) param_buf->fixed_param; ev_param = (wmi_stats_event_fixed_param *) param_buf->fixed_param;
pdev_stats->pdev_id =
wmi_handle->ops->convert_pdev_id_target_to_host(wmi_handle,
ev_param->pdev_id);
data = param_buf->data; data = param_buf->data;