diff options
| -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: |
