Browse Source

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
spuligil 5 years ago
parent
commit
2c0af96c75
1 changed files with 21 additions and 3 deletions
  1. 21 3
      fw/htt_ppdu_stats.h

+ 21 - 3
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: