Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94d9e8d6 authored by spuligil's avatar spuligil Committed by nshrivas
Browse files

fw-api: CL 10803114 - update fw common interface files

Change-Id: Ib837f7dee651fcfd8f2d304e82d0a3fea8be93eb
WMI: add VDEV_DISCONNECT_EVENT msg def
CRs-Fixed: 2262693
parent ec5c7b77
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -1092,6 +1092,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_audio_aggr_set_sched_method,
    WMITLV_TAG_STRUC_wmi_audio_aggr_get_sched_method,
    WMITLV_TAG_STRUC_wmi_audio_aggr_sched_method_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_vdev_disconnect_event_fixed_param,
} WMITLV_TAG_ID;

/*
@@ -1794,6 +1795,7 @@ typedef enum {
    OP(WMI_PDEV_GET_TPC_STATS_EVENTID) \
    OP(WMI_VDEV_BCN_LATENCY_EVENTID) \
    OP(WMI_AUDIO_AGGR_SCHED_METHOD_EVENTID) \
    OP(WMI_VDEV_DISCONNECT_EVENTID) \
    /* add new EVT_LIST elements above this line */


@@ -4680,6 +4682,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_RESP_EVENTID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_install_key_complete_event_fixed_param, wmi_vdev_install_key_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID);

/* VDEV disconnect Event */
#define WMITLV_TABLE_WMI_VDEV_DISCONNECT_EVENTID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_disconnect_event_fixed_param, wmi_vdev_disconnect_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DISCONNECT_EVENTID);

/* Peer STA Kickout Event */
#define WMITLV_TABLE_WMI_PEER_STA_KICKOUT_EVENTID(id,op,buf,len)                                                         \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_sta_kickout_event_fixed_param, wmi_peer_sta_kickout_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+20 −0
Original line number Diff line number Diff line
@@ -1520,6 +1520,8 @@ typedef enum {
    WMI_VDEV_SEND_BIG_DATA_P2_EVENTID,
    /** Latency related information received from beacon IE */
    WMI_VDEV_BCN_LATENCY_EVENTID,
    /** Disconnect request from FW */
    WMI_VDEV_DISCONNECT_EVENTID,
    /* peer specific events */
@@ -15201,6 +15203,7 @@ typedef enum event_type_e {
    WOW_ROAM_PREAUTH_START_EVENT,         /* 32 +  6 */
    WOW_ROAM_PMKID_REQUEST_EVENT,         /* 32 +  7 */
    WOW_DFS_CAC_COMPLETE_EVENT,           /* 32 +  8 */
    WOW_VDEV_DISCONNECT_EVENT,            /* 32 +  9 */
} WOW_WAKE_EVENT_TYPE;
typedef enum wake_reason_e {
@@ -15269,6 +15272,7 @@ typedef enum wake_reason_e {
    WOW_REASON_ROAM_PMKID_REQUEST,
    WOW_REASON_RFKILL,
    WOW_REASON_DFS_CAC,
    WOW_REASON_VDEV_DISCONNECT,
    /* add new WOW_REASON_ defs before this line */
    WOW_REASON_MAX,
@@ -16001,6 +16005,22 @@ typedef struct {
    A_UINT32 status;
} wmi_vdev_install_key_complete_event_fixed_param;
typedef enum {
    /* CSA_SA_QUERY_TIMEOUT:
     * Disconnect due to SA query timeout after moving to new channel
     * due to CSA in OCV enabled case.
     */
    WLAN_DISCONNECT_REASON_CSA_SA_QUERY_TIMEOUT = 1,
} WMI_VDEV_DISCONNECT_REASON_ID;
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_disconnect_event_fixed_param */
    /** unique id identifying the VDEV, generated by the caller */
    A_UINT32 vdev_id;
    /* Disconnect reason from WMI_VDEV_DISCONNECT_REASON_ID */
    A_UINT32 reason;
} wmi_vdev_disconnect_event_fixed_param;
typedef enum _WMI_NLO_AUTH_ALGORITHM {
    WMI_NLO_AUTH_ALGO_80211_OPEN = 1,
    WMI_NLO_AUTH_ALGO_80211_SHARED_KEY = 2,
+1 −1
Original line number Diff line number Diff line
@@ -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_ 851
#define __WMI_REVISION_ 852

/** The Version Namespace should not be normally changed. Only
 *  host and firmware of the same WMI namespace will work