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

Commit 8cca71aa authored by spuligil's avatar spuligil
Browse files

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

Change-Id: I88a23a1783303b503b308e5de045fc05558982c6
WMI: add def for spectral scan trigger event msg
CRs-Fixed: 2262693
parent 8492cc44
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1108,6 +1108,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_wfa_config_saquery,
    WMITLV_TAG_STRUC_wmi_roam_data_rssi_roaming_param,
    WMITLV_TAG_STRUC_wmi_request_unified_ll_get_sta_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_sscan_evt_message_fixed_param,
} WMITLV_TAG_ID;

/*
@@ -1814,6 +1815,7 @@ typedef enum {
    OP(WMI_AUDIO_AGGR_SCHED_METHOD_EVENTID) \
    OP(WMI_VDEV_DISCONNECT_EVENTID) \
    OP(WMI_TWT_SESSION_STATS_EVENTID) \
    OP(WMI_SSCAN_EVT_MESSAGE_EVENTID) \
    /* add new EVT_LIST elements above this line */


@@ -6041,6 +6043,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SCHED_METHOD_EVENTID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_sscan_fft_bin_index, fft_bin_index, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SSCAN_FW_PARAM_EVENTID);

/* Send sscan related event start/stop trigger to host */
#define WMITLV_TABLE_WMI_SSCAN_EVT_MESSAGE_EVENTID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sscan_evt_message_fixed_param, wmi_sscan_evt_message_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_SSCAN_EVT_MESSAGE_EVENTID);

/* Roam capability report event */
#define WMITLV_TABLE_WMI_ROAM_CAPABILITY_REPORT_EVENTID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_capability_report_event_fixed_param, wmi_roam_capability_report_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+26 −0
Original line number Diff line number Diff line
@@ -1357,6 +1357,10 @@ typedef enum {
    /** Spectral scan FW params to host */
    WMI_PDEV_SSCAN_FW_PARAM_EVENTID,
    /** Spectral scan related event start/stop trigger to host  */
    WMI_SSCAN_EVT_MESSAGE_EVENTID,
    /* PDEV specific events */
    /** TPC config for the current operating channel */
    WMI_PDEV_TPC_CONFIG_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_PDEV),
@@ -6021,6 +6025,28 @@ typedef struct {
    A_UINT32 mid_5mhz_bins;
} wmi_pdev_sscan_fft_bin_index;
typedef enum {
    /** Enum to indicate bmsk of spectral scan stop evt on scan count max out */
    WMI_SSCAN_EVT_BMSK_SCAN_STOP_SCOUNT = 0X00000001,
    /** Add more event code bmsks above this */
    WMI_SSCAN_EVT_BMSK_MAX = 0Xffffffff,
} wmi_sscan_evt_message_code;
/**
 * The below structure is used to send the start/stop triggers
 * for events related to spectral scan activity from
 * FW to host
 */
typedef struct {
    A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_sscan_evt_message_fixed_param */
    A_UINT32 pdev_id;
    /** Refer Enum wmi_sscan_evt_message_code */
    A_UINT32 sscan_evt_code;
} wmi_sscan_evt_message_fixed_param;
#define WMI_BEACON_CTRL_TX_DISABLE  0
#define WMI_BEACON_CTRL_TX_ENABLE   1
#define WMI_BEACON_CTRL_SWBA_EVENT_DISABLE  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_ 900
#define __WMI_REVISION_ 901

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