summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2019-11-26 06:01:46 -0800
committerspuligil <spuligil@codeaurora.org>2019-11-26 06:01:47 -0800
commitcaf062780e02727aec673a8c98e4c421b2e8c0e7 (patch)
tree3d878bfb08f1e38a1db928cdb059cbe90496d1b8
parent7c582753abad6b249e06ff8ac988fd30178c990a (diff)
fw-api: CL 8876590 - update fw common interface files
Change-Id: I95fd79fccceaf0093ee00782da0b22b919360191 WMI: add CHAN_SWITCH_WRAP info element within CSA_EVENT msg CRs-Fixed: 2262693
-rwxr-xr-xfw/wmi_unified.h20
-rwxr-xr-xfw/wmi_version.h2
2 files changed, 19 insertions, 3 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 9778cde472be..686e7968bec4 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -5551,8 +5551,10 @@ typedef enum {
WMI_CSA_IE_PRESENT = 0x00000001,
WMI_XCSA_IE_PRESENT = 0x00000002,
WMI_WBW_IE_PRESENT = 0x00000004,
- WMI_CSWARP_IE_PRESENT = 0x00000008,
+ WMI_CSWRAP_IE_PRESENT = 0x00000008,
+ WMI_CSWARP_IE_PRESENT = WMI_CSWRAP_IE_PRESENT, /* deprecated: typo */
WMI_QSBW_ISE_PRESENT = 0x00000010,
+ WMI_CSWRAP_IE_EXTENDED_PRESENT = 0x00000020, /* Added bitmask to verify if the additional information is filled in */
} WMI_CSA_EVENT_IES_PRESENT_FLAG;
/* wmi CSA receive event from beacon frame */
@@ -5566,9 +5568,23 @@ typedef struct {
A_UINT32 csa_ie[2];
A_UINT32 xcsa_ie[2];
A_UINT32 wb_ie[2];
- A_UINT32 cswarp_ie;
+ union {
+ A_UINT32 cswrap_ie; /* use this */
+ A_UINT32 cswarp_ie; /* deprecated (typo) */
+ };
A_UINT32 ies_present_flag; /* WMI_CSA_EVENT_IES_PRESENT_FLAG */
A_UINT32 qsbw_ise;
+ /* cswrap_ie_extended:
+ * Stores full IEEE80211_ELEMID_CHAN_SWITCH_WRAP information element.
+ * The first two octets host the Element ID and Length fields.
+ * The IE comprises New Country Subelement (optional and max length 6),
+ * Wide Bandwidth Channel Subelement (optional and max length 5) and
+ * New Transmit Power Envelope subelement (optional and max length 7)
+ * The 4-byte words within cswrap_ie_extended[] use little endian ordering;
+ * the first octect of the IE resides in bits 7:0 of cswrap_ie_extended[0],
+ * the second octet resides in bits 15:8 of cswrap_ie_extended[0] and so on.
+ */
+ A_UINT32 cswrap_ie_extended[5];
} wmi_csa_event_fixed_param;
typedef enum {
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index c327c23a824c..3e09f9ccf4cb 100755
--- a/fw/wmi_version.h
+++ b/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_ 746
+#define __WMI_REVISION_ 747
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work