qcacmn: Allocate memory according to num_users in rx path

Allocating memory according to number of users in rx path

Change-Id: I02ced1772ed04e67dfba5beb87737fcd874fd6da
CRs-Fixed: 3264995
This commit is contained in:
Amrit
2022-08-02 22:33:48 +05:30
committed by Madan Koyyalamudi
parent 322be7253c
commit cbc05e67fe
2 changed files with 9 additions and 4 deletions

View File

@@ -2458,7 +2458,6 @@ struct cdp_rx_indication_ppdu {
struct cdp_rx_su_evm_info evm_info;
uint32_t rx_antenna;
uint8_t num_users;
struct cdp_rx_stats_ppdu_user user[CDP_MU_MAX_USERS];
uint32_t nf;
uint8_t per_chain_rssi[MAX_CHAIN];
uint8_t is_mcast_bcast;
@@ -2502,6 +2501,7 @@ struct cdp_rx_indication_ppdu {
#endif
uint8_t usr_nss_sum;
uint32_t usr_ru_tones_sum;
struct cdp_rx_stats_ppdu_user user[];
};
/**