|
@@ -431,6 +431,8 @@ typedef enum {
|
|
|
|
|
|
/** get tx power for the current vdev */
|
|
|
WMI_VDEV_GET_TX_POWER_CMDID,
|
|
|
+ /* limit STA offchannel activity */
|
|
|
+ WMI_VDEV_LIMIT_OFFCHAN_CMDID,
|
|
|
|
|
|
/* peer specific commands */
|
|
|
|
|
@@ -3885,6 +3887,26 @@ typedef struct {
|
|
|
A_UINT32 vdev_id; /** unique id identifying the VDEV, generated by the caller */
|
|
|
} wmi_vdev_get_tx_power_event_fixed_param;
|
|
|
|
|
|
+typedef enum {
|
|
|
+ /** Limit the offchannel duration */
|
|
|
+ WMI_VDEV_LIMIT_OFFCHAN_ENABLE = 0x1,
|
|
|
+ /** Skip DFS channels from Scan channel list.
|
|
|
+ * valid for both host scans and FW scans */
|
|
|
+ WMI_VDEV_LIMIT_OFFCHAN_SKIP_DFS = 0x2,
|
|
|
+} wmi_vdev_limit_offchan_flags;
|
|
|
+
|
|
|
+typedef struct {
|
|
|
+ A_UINT32 tlv_header; /* WMITLV_TAG_STRUC_wmi_vdev_limit_offchan_cmd_fixed_param */
|
|
|
+ /** Limit the duration of offchannel events requested by the vdev corresponding to the specified vdev_id */
|
|
|
+ A_UINT32 vdev_id;
|
|
|
+ /** see enum wmi_vdev_limit_offchan_flags */
|
|
|
+ A_UINT32 flags;
|
|
|
+ /** max offchannel time allowed in msec when WMI_VDEV_LIMIT_OFFCHAN_ENABLE flag is set */
|
|
|
+ A_UINT32 max_offchan_time;
|
|
|
+ /** rest time in msec on the BSS channel */
|
|
|
+ A_UINT32 rest_time;
|
|
|
+} wmi_vdev_limit_offchan_cmd_fixed_param;
|
|
|
+
|
|
|
#define WMI_CSA_EVENT_QSBW_ISE_ID_MASK 0x000000FF /* information sub element id for QSBW, expected value is 0x02 */
|
|
|
#define WMI_CSA_EVENT_QSBW_ISE_LEN_MASK 0x0000FF00 /* length of QSBW ISE data, expected value is 0x02 */
|
|
|
#define WMI_CSA_EVENT_QSBW_ISE_CAP_MASK 0x00FF0000 /* capabilities, 0x01 for 5MHz, 0x02 for 10MHz, 0x01|0x2 for both (see WMI_CSA_EVENT_QSBW_ISE bitmask defs) */
|
|
@@ -19376,6 +19398,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
|
|
|
WMI_RETURN_STRING(WMI_THERM_THROT_SET_CONF_CMDID);
|
|
|
WMI_RETURN_STRING(WMI_OEM_DMA_RING_CFG_REQ_CMDID);
|
|
|
WMI_RETURN_STRING(WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID);
|
|
|
+ WMI_RETURN_STRING(WMI_VDEV_LIMIT_OFFCHAN_CMDID);
|
|
|
}
|
|
|
|
|
|
return "Invalid WMI cmd";
|