diff options
| author | spuligil <spuligil@codeaurora.org> | 2019-11-26 06:01:10 -0800 |
|---|---|---|
| committer | spuligil <spuligil@codeaurora.org> | 2019-11-26 06:01:10 -0800 |
| commit | 026ddfdd4d0bad2b901a9e442d84af3aae8f3e31 (patch) | |
| tree | f531b80caa050de5fa57806210ebdf8a81b6b936 | |
| parent | 0a12a2d1cdb6bc010440f3dca83a3f69c76a40c5 (diff) | |
fw-api: CL 8854908 - update fw common interface files
Add num_ul_expected_users in htt_ppdu_stats_common TLV
Change-Id: I9f1d2a9c9dad2fcf5edf71ceabb018c9034198c8
CRs-Fixed: 2262693
| -rw-r--r-- | fw/htt_ppdu_stats.h | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/fw/htt_ppdu_stats.h b/fw/htt_ppdu_stats.h index 8233ce0a6814..5ebbedb7a79f 100644 --- a/fw/htt_ppdu_stats.h +++ b/fw/htt_ppdu_stats.h @@ -509,6 +509,20 @@ typedef enum HTT_PPDU_STATS_SEQ_TYPE HTT_PPDU_STATS_SEQ_TYPE; ((_var) |= ((_val) << HTT_PPDU_STATS_COMMON_TLV_PHY_PPDU_TX_TIME_US_S)); \ } while (0) +#define HTT_PPDU_STATS_COMMON_TLV_NUM_UL_EXPECTED_USERS_M 0x00ff0000 +#define HTT_PPDU_STATS_COMMON_TLV_NUM_UL_EXPECTED_USERS_S 16 + +#define HTT_PPDU_STATS_COMMON_TLV_NUM_UL_EXPECTED_USERS_GET(_var) \ + (((_var) & HTT_PPDU_STATS_COMMON_TLV_NUM_UL_EXPECTED_USERS_M) >> \ + HTT_PPDU_STATS_COMMON_TLV_NUM_UL_EXPECTED_USERS_S) + +#define HTT_PPDU_STATS_COMMON_TLV_NUM_UL_EXPECTED_USERS_SET(_var, _val) \ + do { \ + HTT_CHECK_SET_VAL(HTT_PPDU_STATS_COMMON_TLV_NUM_UL_EXPECTED_USERS, _val); \ + ((_var) |= ((_val) << HTT_PPDU_STATS_COMMON_TLV_NUM_UL_EXPECTED_USERS_S)); \ + } while(0); + + typedef struct { htt_tlv_hdr_t tlv_hdr; @@ -599,14 +613,18 @@ typedef struct { * The phy_ppdu_tx_time_us reports the time it took to transmit * a PPDU by itself * BIT [15 : 0] - phy_ppdu_tx_time_us reports the time it took to - # transmit by itself (not including response time) - * BIT [31 : 16] - reserved + * transmit by itself (not including response time) + * BIT [23 : 16] - num_ul_expected_users reports the number of users + * that are expected to respond to this transmission + * BIT [31 : 24] - reserved */ union { A_UINT32 reserved__ppdu_tx_time_us; + A_UINT32 reserved__num_ul_expected_users__ppdu_tx_time_us; struct { A_UINT32 phy_ppdu_tx_time_us: 16, - reserved1: 16; + num_ul_expected_users: 8, + reserved1: 8; }; }; /* ppdu_start_tstmp_u32_us: |
