diff --git a/target/inc/wmi_services.h b/target/inc/wmi_services.h index 4ab82d040e98..059f59d94b97 100644 --- a/target/inc/wmi_services.h +++ b/target/inc/wmi_services.h @@ -160,6 +160,7 @@ typedef enum { * - WMI_VDEV_SET_DSCP_TID_MAP_CMDID (vs. WMI_VDEV_SET_WMM_PARAMS_CMDID) */ WMI_SERVICE_DEPRECATED_REPLACE, + WMI_SERVICE_TDLS_CONN_TRACKER_IN_HOST_MODE, /* FW supports a new mode that allows to run connection tracker in host */ WMI_MAX_SERVICE = 128 /* max service */ } WMI_SERVICE; diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index 515d6c897544..52de40df1fda 100644 --- a/target/inc/wmi_unified.h +++ b/target/inc/wmi_unified.h @@ -3702,6 +3702,11 @@ typedef enum { /** for pausing AP vdev when all the connected clients are in PS. only vdev_map is valid */ PAUSE_TYPE_IBSS_PS = 0x8, /** for pausing IBSS vdev when all the peers are in PS. only vdev_map is valid */ + PAUSE_TYPE_CHOP_TDLS_OFFCHAN = 0x9, + /* + * for TDLS offchannel MCC (switch channel), only vdev_map is valid, + * TDLS connection tracker needs to be notified + */ PAUSE_TYPE_HOST = 0x15, /** host is requesting vdev pause */ } wmi_tx_pause_type; @@ -9434,6 +9439,8 @@ enum wmi_tdls_state { WMI_TDLS_ENABLE_ACTIVE, /* TDLS enabled - firmware waits for peer mac for connection tracking */ WMI_TDLS_ENABLE_ACTIVE_EXTERNAL_CONTROL, + /** TDLS enabled - TDLS connection tracking is done in host */ + WMI_TDLS_ENABLE_CONNECTION_TRACKER_IN_HOST, }; /* TDLS Options */ @@ -9682,6 +9689,8 @@ enum wmi_tdls_peer_notification { WMI_TDLS_SHOULD_TEARDOWN, /** tx peer TDLS link tear down complete */ WMI_TDLS_PEER_DISCONNECTED, + /** TDLS/BT role change notification for connection tracker */ + WMI_TDLS_CONNECTION_TRACKER_NOTIFICATION, }; enum wmi_tdls_peer_reason { @@ -9699,6 +9708,20 @@ enum wmi_tdls_peer_reason { WMI_TDLS_TEARDOWN_REASON_BAD_PTR, /** tdls peer not responding */ WMI_TDLS_TEARDOWN_REASON_NO_RESPONSE, + /* + * tdls entered buffer STA role, TDLS connection tracker + * needs to handle this + */ + WMI_TDLS_ENTER_BUF_STA, + /* + * tdls exited buffer STA role, TDLS connection tracker + * needs to handle this + */ + WMI_TDLS_EXIT_BUF_STA, + /* BT entered busy mode, TDLS connection tracker needs to handle this */ + WMI_TDLS_ENTER_BT_BUSY_MODE, + /** BT exited busy mode, TDLS connection tracker needs to handle this */ + WMI_TDLS_EXIT_BT_BUSY_MODE, }; /* WMI_TDLS_PEER_EVENTID */ diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h index 2bfa29567a4c..32f4dd42958c 100644 --- a/target/inc/wmi_version.h +++ b/target/inc/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_ 211 +#define __WMI_REVISION_ 212 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work