Selaa lähdekoodia

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

Change-Id: Ia69e8ae41cee4bfd4dabbfa5f01ad4d19d508227
WMI: spec channel width switch too in VDEV_PARAM_CHWIDTH_WITH_NOTIFY
CRs-Fixed: 2262693
spuligil 1 vuosi sitten
vanhempi
sitoutus
7b7058806a
2 muutettua tiedostoa jossa 22 lisäystä ja 4 poistoa
  1. 21 3
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 21 - 3
fw/wmi_unified.h

@@ -10531,7 +10531,21 @@ typedef enum {
     WMI_CHAN_WIDTH_MAX,
 } wmi_channel_width;
 
-/*Clear stats*/
+/* channel width switch type */
+typedef enum {
+    WMI_CHAN_WIDTH_SWITCH_TYPE_TXRX   = 0,
+    WMI_CHAN_WIDTH_SWITCH_TYPE_TXONLY = 1,
+
+    WMI_CHAN_WIDTH_SWITCH_TYPE_MAX,
+} wmi_chan_width_switch_type;
+
+#define WMI_VDEV_CHAN_WIDTH_NOTIFY_GET_CHAN_WIDTH(chwidth_notify)              WMI_GET_BITS(chwidth_notify, 0, 8)
+#define WMI_VDEV_CHAN_WIDTH_NOTIFY_SET_CHAN_WIDTH(chwidth_notify, value)       WMI_SET_BITS(chwidth_notify, 0, 8, value)
+
+#define WMI_VDEV_CHAN_WIDTH_NOTIFY_GET_SWITCH_TYPE(chwidth_notify)             WMI_GET_BITS(chwidth_notify, 8, 2)
+#define WMI_VDEV_CHAN_WIDTH_NOTIFY_SET_SWITCH_TYPE(chwidth_notify, value)      WMI_SET_BITS(chwidth_notify, 8, 2, value)
+
+/* Clear stats */
 typedef struct {
     A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_clear_link_stats_cmd_fixed_param */
     /** unique id identifying the VDEV, generated by the caller */
@@ -18038,9 +18052,13 @@ typedef enum {
      * (except TDLS) about change in bandwidth, through OMN/OMI notification
      * before performing bandwidth update internally.
      * Please note incase of STA VDEV only BSS peer gets updated,
-     * associated TDLS peer bandwidth wont be impacted.
+     * associated TDLS peer bandwidth won't be impacted.
      *
-     * The the updated bandwith is specified with a wmi_channel_width value.
+     * bit 7:0   the updated bandwidth is specified with
+     *           a wmi_channel_width value
+     * bit 9:8   the updated bandwidth switch type is specified with
+     *           a wmi_chan_width_switch_type value
+     * bit 31:10 reserved
      */
     WMI_VDEV_PARAM_CHWIDTH_WITH_NOTIFY,                   /* 0xBA */
 

+ 1 - 1
fw/wmi_version.h

@@ -37,7 +37,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_ 1353
+#define __WMI_REVISION_ 1354
 
 /** The Version Namespace should not be normally changed. Only
  *  host and firmware of the same WMI namespace will work