|
@@ -28150,11 +28150,11 @@ typedef struct {
|
|
|
* Which means when we receive WMI_TWT_ENABLE_CMDID command from host,
|
|
|
* without BIT3 set we will enable both REQUESTER/RESPONDER.
|
|
|
*
|
|
|
- * Same interepretation is used in WMI_TWT_DISABLE_CMDID, if BIT3 is not set
|
|
|
+ * Same interpretation is used in WMI_TWT_DISABLE_CMDID, if BIT3 is not set
|
|
|
* we will disable both REQUESTER and RESPONDER.
|
|
|
*/
|
|
|
-#define TWT_EN_DIS_FLAGS_GET_REQ_RES_BCAST_CONFIG(flag) WMI_GET_BITS(flag, 3, 1)
|
|
|
-#define TWT_EN_DIS_FLAGS_SET_REQ_RES_BCAST_CONFIG(flag, val) WMI_SET_BITS(flag, 3, 1, val)
|
|
|
+#define TWT_EN_DIS_FLAGS_GET_SPLIT_CONFIG(flag) WMI_GET_BITS(flag, 3, 1)
|
|
|
+#define TWT_EN_DIS_FLAGS_SET_SPLIT_CONFIG(flag, val) WMI_SET_BITS(flag, 3, 1, val)
|
|
|
|
|
|
/*
|
|
|
* The flags are used both in WMI_TWT_ENABLE_CMDID and WMI_TWT_DISABLE_CMDID.
|
|
@@ -28167,18 +28167,21 @@ typedef struct {
|
|
|
* If host is enabling or disabling both REQUESTER and RESPONDER host will
|
|
|
* send two WMI commands, one for REQUESTER and one for RESPONDER.
|
|
|
*
|
|
|
- * |-----------------------------------------------------|
|
|
|
- * |BIT4=0, BIT5=0 | Enable/Disable TWT requester |
|
|
|
- * |-----------------------------------------------------|
|
|
|
- * |BIT4=0, BIT5=1 | Enable/Disable BCAST TWT requester |
|
|
|
- * |-----------------------------------------------------|
|
|
|
- * |BIT4=1, BIT5=0 | Enable/Disable TWT responder |
|
|
|
- * |-----------------------------------------------------|
|
|
|
- * |BIT4=1, BIT5=1 | Enable/Disable BCAST TWT responder |
|
|
|
- * |-----------------------------------------------------|
|
|
|
- */
|
|
|
-#define TWT_FLAGS_GET_MODE(flag) WMI_GET_BITS(flag, 4, 2)
|
|
|
-#define TWT_FLAGS_SET_MODE(flag, val) WMI_SET_BITS(flag, 4, 2, val)
|
|
|
+ * |----------------------------------------------------------|
|
|
|
+ * |BIT4=0, BIT5=0 | Enable/Disable Individual TWT requester |
|
|
|
+ * |----------------------------------------------------------|
|
|
|
+ * |BIT4=0, BIT5=1 | Enable/Disable BCAST TWT requester |
|
|
|
+ * |----------------------------------------------------------|
|
|
|
+ * |BIT4=1, BIT5=0 | Enable/Disable Individual TWT responder |
|
|
|
+ * |----------------------------------------------------------|
|
|
|
+ * |BIT4=1, BIT5=1 | Enable/Disable BCAST TWT responder |
|
|
|
+ * |----------------------------------------------------------|
|
|
|
+ */
|
|
|
+#define TWT_EN_DIS_FLAGS_GET_REQ_RESP(flag) WMI_GET_BITS(flag, 4, 1)
|
|
|
+#define TWT_EN_DIS_FLAGS_SET_REQ_RESP(flag, val) WMI_SET_BITS(flag, 4, 1, val)
|
|
|
+
|
|
|
+#define TWT_EN_DIS_FLAGS_GET_I_B_TWT(flag) WMI_GET_BITS(flag, 5, 1)
|
|
|
+#define TWT_EN_DIS_FLAGS_SET_I_B_TWT(flag, val) WMI_SET_BITS(flag, 5, 1, val)
|
|
|
|
|
|
typedef struct {
|
|
|
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_twt_enable_cmd_fixed_param */
|