qcacmn: Add configurable threshold values

Introduce configurable threshold values to
increment MPDU retry count by transmit_cnt / threshold.

Change-Id: I1c039ff76854e18bea5a8d99d171936557d1c6bf
CRs-Fixed: 3210735
This commit is contained in:
Amit Mehta
2022-05-31 03:42:16 -07:00
committed by Madan Koyyalamudi
parent 8969fe6019
commit 1507b1cde3
6 changed files with 84 additions and 3 deletions

View File

@@ -252,6 +252,8 @@ struct wlan_srng_cfg {
* @vdev_stats_hw_offload_timer: HW vdev stats timer duration
* @txmon_hw_support: TxMON HW support
* @num_rxdma_status_rings_per_pdev: Num RXDMA status rings
* @mpdu_retry_threshold_1: MPDU retry threshold 1 to increment tx bad count
* @mpdu_retry_threshold_1: MPDU retry threshold 2 to increment tx bad count
*/
struct wlan_cfg_dp_soc_ctxt {
int num_int_ctxts;
@@ -421,6 +423,8 @@ struct wlan_cfg_dp_soc_ctxt {
#ifdef CONFIG_SAWF
bool sawf_enabled;
#endif
uint8_t mpdu_retry_threshold_1;
uint8_t mpdu_retry_threshold_2;
};
/**