From 5c89b6db75eab2f541f9664bf550f0a19d7f2fed Mon Sep 17 00:00:00 2001 From: Wu Gao Date: Mon, 31 May 2021 14:29:15 +0800 Subject: [PATCH] qcacmn: Set MAX_RESET_CFG_ENTRY to 0xF for QCA6490 and QCA6750 Host sets num_grp_tlvs based on modified_in_curr_session, which uses default value - MAX_RESET_CFG_ENTRY. MAX ta ra entries changed from 16 to 4 for QCA6490 and QCA6750, so change MAX_RESET_CFG_ENTRY from 0xFFFF to 0xF here. Change-Id: Ie057b8763c0126bd0cacab4fd21da9df0d5e71f2 CRs-Fixed: 2957324 --- umac/cfr/dispatcher/inc/wlan_cfr_utils_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umac/cfr/dispatcher/inc/wlan_cfr_utils_api.h b/umac/cfr/dispatcher/inc/wlan_cfr_utils_api.h index 5cc353392a0d..8ad1fe428263 100644 --- a/umac/cfr/dispatcher/inc/wlan_cfr_utils_api.h +++ b/umac/cfr/dispatcher/inc/wlan_cfr_utils_api.h @@ -53,10 +53,11 @@ #define NUM_CHAN_CAPTURE_REASON 6 #if defined(QCA_WIFI_QCA6750) || defined(QCA_WIFI_QCA6490) #define MAX_TA_RA_ENTRIES 4 +#define MAX_RESET_CFG_ENTRY 0xF #else #define MAX_TA_RA_ENTRIES 16 -#endif #define MAX_RESET_CFG_ENTRY 0xFFFF +#endif #define CFR_INVALID_VDEV_ID 0xff #define DEFAULT_SRNGID_CFR 0 #endif