From ec3d9208fc27e6dd40864bfde28078b5afed6913 Mon Sep 17 00:00:00 2001 From: spuligil Date: Fri, 25 Jul 2025 06:02:07 -0700 Subject: [PATCH] fw-api: CL 29873461 - update fw common interface files Change-Id: I72ef94f77088cdc073e0da0a7cabec2e3944c87e CRs-Fixed: 3830439 --- fw/htt_ppdu_stats.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/fw/htt_ppdu_stats.h b/fw/htt_ppdu_stats.h index 5f7bad98cb84..b81621509739 100644 --- a/fw/htt_ppdu_stats.h +++ b/fw/htt_ppdu_stats.h @@ -1940,6 +1940,19 @@ typedef enum HTT_PPDU_STATS_RESP_PPDU_TYPE HTT_PPDU_STATS_RESP_PPDU_TYPE; ((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_IS_MIN_RATE_S)); \ } while (0) +#define HTT_PPDU_STATS_USER_RATE_TLV_2xLDPC_M 0x00040000 +#define HTT_PPDU_STATS_USER_RATE_TLV_2xLDPC_S 18 + +#define HTT_PPDU_STATS_USER_RATE_TLV_2xLDPC_GET(_var) \ + (((_var) & HTT_PPDU_STATS_USER_RATE_TLV_2xLDPC_M) >> \ + HTT_PPDU_STATS_USER_RATE_TLV_2xLDPC_S) + +#define HTT_PPDU_STATS_USER_RATE_TLV_2xLDPC_SET (_var , _val) \ + do { \ + HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_2XLDPC, _val); \ + ((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_2xLDPC_S)); \ + } while (0) + typedef enum HTT_PPDU_STATS_RU_SIZE { HTT_PPDU_STATS_RU_26, HTT_PPDU_STATS_RU_52, @@ -2127,11 +2140,14 @@ typedef struct { * punctured. * BIT 16 :- flag showing whether EHT extra LTF is applied * for current PPDU + * BIT 17 :- flag to show is_min_rate + * BIT 18 :- flag showing whether PPDU is transmitted with 2xLDPC */ A_UINT32 punc_pattern_bitmap: 16, extra_eht_ltf: 1, is_min_rate: 1, - reserved4: 14; + is_2xldpc: 1, + reserved4: 13; } htt_ppdu_stats_user_rate_tlv; #define HTT_PPDU_STATS_USR_RATE_VALID_M 0x80000000