|
@@ -11909,28 +11909,28 @@ typedef struct {
|
|
|
#define WMI_BEACON_TMPLT_PROFILE_PERIOD_BITPOS (0)
|
|
|
#define WMI_BEACON_TMPLT_PROFILE_PERIOD_MASK (0xff << WMI_BEACON_TMPLT_PROFILE_PERIOD_BITPOS)
|
|
|
#define WMI_BEACON_TMPLT_SET_PROFILE_PERIOD(_ema_param, _val) \
|
|
|
- WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_PROFILE_PERIOD_BITPOS, 8, value)
|
|
|
+ WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_PROFILE_PERIOD_BITPOS, 8, _val)
|
|
|
#define WMI_BEACON_TMPLT_GET_PROFILE_PERIOD(_ema_param) \
|
|
|
WMI_GET_BITS(_ema_param, WMI_BEACON_TMPLT_PROFILE_PERIOD_BITPOS, 8)
|
|
|
|
|
|
#define WMI_BEACON_TMPLT_TEMPLATE_INDEX_BITPOS (8)
|
|
|
#define WMI_BEACON_TMPLT_TEMPLATE_INDEX_MASK (0xff << WMI_BEACON_TMPLT_TEMPLATE_INDEX_BITPOS)
|
|
|
#define WMI_BEACON_TMPLT_SET_TEMPLATE_INDEX(_ema_param, _val) \
|
|
|
- WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_TEMPLATE_INDEX_BITPOS, 8, value)
|
|
|
+ WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_TEMPLATE_INDEX_BITPOS, 8, _val)
|
|
|
#define WMI_BEACON_TMPLT_GET_TEMPLATE_INDEX(_ema_param) \
|
|
|
WMI_GET_BITS(_ema_param, WMI_BEACON_TMPLT_TEMPLATE_INDEX_BITPOS, 8)
|
|
|
|
|
|
#define WMI_BEACON_TMPLT_FIRST_TEMPLATE_BITPOS (16)
|
|
|
#define WMI_BEACON_TMPLT_FIRST_TEMPLATE_MASK (0xff << WMI_BEACON_TMPLT_FIRST_TEMPLATE_BITPOS)
|
|
|
#define WMI_BEACON_TMPLT_SET_FIRST_TEMPLATE(_ema_param, _val) \
|
|
|
- WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_FIRST_TEMPLATE_BITPOS, 8, value)
|
|
|
+ WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_FIRST_TEMPLATE_BITPOS, 8, _val)
|
|
|
#define WMI_BEACON_TMPLT_GET_FIRST_TEMPLATE(_ema_param) \
|
|
|
WMI_GET_BITS(_ema_param, WMI_BEACON_TMPLT_FIRST_TEMPLATE_BITPOS, 8)
|
|
|
|
|
|
#define WMI_BEACON_TMPLT_LAST_TEMPLATE_BITPOS (24)
|
|
|
#define WMI_BEACON_TMPLT_LAST_TEMPLATE_MASK (0xff << WMI_BEACON_TMPLT_LAST_TEMPLATE_BITPOS)
|
|
|
#define WMI_BEACON_TMPLT_SET_LAST_TEMPLATE(_ema_param, _val) \
|
|
|
- WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_LAST_TEMPLATE_BITPOS, 8, value)
|
|
|
+ WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_LAST_TEMPLATE_BITPOS, 8, _val)
|
|
|
#define WMI_BEACON_TMPLT_GET_LAST_TEMPLATE(_ema_param) \
|
|
|
WMI_GET_BITS(_ema_param, WMI_BEACON_TMPLT_LAST_TEMPLATE_BITPOS, 8)
|
|
|
|
|
@@ -13384,6 +13384,20 @@ enum WMI_PEER_STA_TYPE {
|
|
|
#define WMI_PEER_STA_TYPE_GET(dword) WMI_GET_BITS(dword, 0, 8)
|
|
|
#define WMI_PEER_STA_TYPE_SET(dword, value) WMI_SET_BITS(dword, 0, 8, value)
|
|
|
|
|
|
+#define WMI_PEER_ASSOC_BSS_MAX_IDLE_OPTION_BITPOS (0)
|
|
|
+#define WMI_PEER_ASSOC_BSS_MAX_IDLE_OPTION_MASK (0x1 << WMI_PEER_ASSOC_BSS_MAX_IDLE_OPTION_BITPOS)
|
|
|
+#define WMI_PEER_ASSOC_SET_BSS_MAX_IDLE_OPTION(_dword, _val) \
|
|
|
+ WMI_SET_BITS(_dword, WMI_PEER_ASSOC_BSS_MAX_IDLE_OPTION_BITPOS, 1, _val)
|
|
|
+#define WMI_PEER_ASSOC_GET_BSS_MAX_IDLE_OPTION(_dword) \
|
|
|
+ WMI_GET_BITS(_dword, WMI_PEER_ASSOC_BSS_MAX_IDLE_OPTION_BITPOS, 1)
|
|
|
+
|
|
|
+#define WMI_PEER_ASSOC_BSS_MAX_IDLE_PERIOD_BITPOS (16)
|
|
|
+#define WMI_PEER_ASSOC_BSS_MAX_IDLE_PERIOD_MASK (0xFFFF << WMI_PEER_ASSOC_BSS_MAX_IDLE_PERIOD_BITPOS)
|
|
|
+#define WMI_PEER_ASSOC_SET_BSS_MAX_IDLE_PERIOD(_dword, _val) \
|
|
|
+ WMI_SET_BITS(_dword, WMI_PEER_ASSOC_BSS_MAX_IDLE_PERIOD_BITPOS, 16, _val)
|
|
|
+#define WMI_PEER_ASSOC_GET_BSS_MAX_IDLE_PERIOD(_dword) \
|
|
|
+ WMI_GET_BITS(_dword, WMI_PEER_ASSOC_BSS_MAX_IDLE_PERIOD_BITPOS, 16)
|
|
|
+
|
|
|
typedef struct {
|
|
|
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_assoc_complete_cmd_fixed_param */
|
|
|
/** peer MAC address */
|
|
@@ -13481,6 +13495,20 @@ typedef struct {
|
|
|
*/
|
|
|
A_UINT32 sta_type;
|
|
|
|
|
|
+ /*
|
|
|
+ * @bss_max_idle_option - Parameters exchanged for BSS Max Idle capability.
|
|
|
+ * bit 0 : If set, only a protected frame indicates activity.
|
|
|
+ * If cleared, either an unprotected or a protected frame
|
|
|
+ * indicates activity.
|
|
|
+ * Refer to the WMI_PEER_ASSOC_[SET,GET]_BSS_MAX_IDLE_OPTION
|
|
|
+ * macros.
|
|
|
+ * bit [1:15] : Reserved
|
|
|
+ * bit [16:31] : Max idle period in units of 1000 TUs
|
|
|
+ * Refer to the WMI_PEER_ASSOC_[SET,GET]_BSS_MAX_IDLE_PERIOD
|
|
|
+ * macros.
|
|
|
+ */
|
|
|
+ A_UINT32 bss_max_idle_option;
|
|
|
+
|
|
|
/* Following this struct are the TLV's:
|
|
|
* A_UINT8 peer_legacy_rates[];
|
|
|
* A_UINT8 peer_ht_rates[];
|