Browse Source

fw-api: CL 10878097 - update fw common interface files

Change-Id: I3138eadc6cf9f326152e67fb3271f2b47d8755d1
WMI: add pdev param for SR dB margin; HTT stats: add psr_tx flag
CRs-Fixed: 2262693
spuligil 4 years ago
parent
commit
bb14445844
3 changed files with 13 additions and 3 deletions
  1. 5 2
      fw/htt_ppdu_stats.h
  2. 7 0
      fw/wmi_unified.h
  3. 1 1
      fw/wmi_version.h

+ 5 - 2
fw/htt_ppdu_stats.h

@@ -719,9 +719,11 @@ typedef struct {
      * BIT [15: 8] - RSSI of the aborted OBSS frame (in dB w.r.t. noise floor)
      *               by which SRG/Non-SRG based spatial reuse opportunity
      *               was created.
-     * BIT [31:16] - reserved
+     * BIT [16:16] - PPDU transmitted using PSR opportunity
+     * BIT [31:17] - reserved
      */
     union {
+        A_UINT32 reserved__psr_tx__aborted_obss_rssi__srg_tx__non_srg_tx___bss_color_id;
         A_UINT32 reserved__aborted_obss_rssi__srg_tx__non_srg_tx___bss_color_id;
         A_UINT32 reserved__bss_color_id;
         struct {
@@ -729,7 +731,8 @@ typedef struct {
                      non_srg_tx:         1,
                      srg_tx:             1,
                      aborted_obss_rssi:  8,
-                     reserved2:         16;
+                     psr_tx:             1,
+                     reserved2:         15;
         };
     };
 } htt_ppdu_stats_common_tlv;

+ 7 - 0
fw/wmi_unified.h

@@ -6844,6 +6844,13 @@ typedef enum {
      */
     WMI_PDEV_PARAM_SET_PREAM_PUNCT_BW,
 
+    /*
+     * Parameter used to set the Margin dB value to be included for calculating
+     * the spatial reuse value in common info field of the UL Trigger frame.
+     * Accepted value as per Spec are 0 to 5 dB (inclusive).
+     */
+    WMI_PDEV_PARAM_SR_TRIGGER_MARGIN,
+
 } WMI_PDEV_PARAM;
 
 #define WMI_PDEV_ONLY_BSR_TRIG_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 0, 1)

+ 1 - 1
fw/wmi_version.h

@@ -36,7 +36,7 @@
 #define __WMI_VER_MINOR_    0
 /** WMI revision number has to be incremented when there is a
  *  change that may or may not break compatibility. */
-#define __WMI_REVISION_ 857
+#define __WMI_REVISION_ 858
 
 /** The Version Namespace should not be normally changed. Only
  *  host and firmware of the same WMI namespace will work