qcacmn: Add support to configure MSDU max aggregation limit

Currently FISA max msdu aggregation limit is fixed and always
programmed as 0xf, but there are platforms which support different
aggregation limit. So add support to configure different aggregation
limits while sending HTT FISA config message to F.W.

Change-Id: Icbf9b7a48a88dcbfb812e92c8f4032753fc07dc4
CRs-Fixed: 3542497
This commit is contained in:
Karthik Kantamneni
2023-06-27 17:20:44 +05:30
committed by Rahul Choudhary
parent 9fad850066
commit 9b0e01604d
2 changed files with 4 additions and 1 deletions

View File

@@ -5105,7 +5105,8 @@ dp_htt_rx_fisa_config(struct dp_pdev *pdev,
msg_word++;
HTT_RX_FISA_CONFIG_FISA_V2_ENABLE_SET(*msg_word, 1);
HTT_RX_FISA_CONFIG_FISA_V2_AGGR_LIMIT_SET(*msg_word, 0xf);
HTT_RX_FISA_CONFIG_FISA_V2_AGGR_LIMIT_SET(*msg_word,
(fisa_config->max_aggr_supported ? fisa_config->max_aggr_supported : 0xf));
msg_word++;
htt_fisa_config->fisa_timeout_threshold = fisa_config->fisa_timeout;