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

Commit 13f3bcef authored by spuligil's avatar spuligil
Browse files

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

Change-Id: I4507629cb3c401f0d785b7fd22569585cc0c8301
WMI: add PDEV_PARAM_SET_SCAN_BLANKING_MODE + CHAN_INFO_EVENT blanking_params
CRs-Fixed: 2262693
parent 90396487
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1340,6 +1340,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_pdev_set_tgtr2p_table_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_peer_bulk_set_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_peer_preferred_link_map,
    WMITLV_TAG_STRUC_wmi_scan_blanking_params_info,
} WMITLV_TAG_ID;

/*
@@ -5470,7 +5471,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_TX_POWER_EVENTID);

/* Channel Info Event */
#define WMITLV_TABLE_WMI_CHAN_INFO_EVENTID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_info_event_fixed_param, wmi_chan_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_info_event_fixed_param, wmi_chan_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_scan_blanking_params_info, scan_blanking_params, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_INFO_EVENTID);

/* RSSI dB to dBm conversion params info event to host */
+49 −0
Original line number Diff line number Diff line
@@ -9012,6 +9012,14 @@ typedef enum {
     *
     */
    WMI_PDEV_PARAM_BYPASS_ENCRYPTION,
    /*
     * Param to Enable/Disable scan blanking feature on the Scan Radio
     * Host should ensure to send this param only for Scan Radio
     * The WMI_SCAN_BLANKING_MODE enum specifies the possible values for this parameter.
     * Based on the received input, the scan blanking feature will be carried out as explained in the enum WMI_SCAN_BLANKING_MODE
     */
    WMI_PDEV_PARAM_SET_SCAN_BLANKING_MODE,
} WMI_PDEV_PARAM;
#define WMI_PDEV_ONLY_BSR_TRIG_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 0, 1)
@@ -17715,8 +17723,49 @@ typedef struct {
     * If per_chain_noise_floor value is 0 then it should be ignored.
     */
    A_UINT32 per_chain_noise_floor[WMI_MAX_CHAINS];
/**
 * Following this structure is the optional TLV:
 * struct wmi_scan_blanking_params_info[0/1];
 */
} wmi_chan_info_event_fixed_param;
/**
 * The below structure contains parameters related to the scan radio
 * blanking feature
 */
typedef struct {
    /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_scan_blanking_params_info */
    A_UINT32 tlv_header;
    /* scan_radio_blanking_duration:
     * Cumulative scan disabled duration which indicates the total time in
     * micro seconds where rx blanking was enabled on the scan radio due to
     * simultaneous transmissions on the same band in the serving radio.
     */
    A_UINT32 scan_radio_blanking_duration;
    /* scan_radio_blanking_count:
     * Count of the number of times rx blanking was enabled on the scan radio
     * due to simultaneous transmissions on the same band in the serving radio.
     */
    A_UINT32 scan_radio_blanking_count;
} wmi_scan_blanking_params_info;
typedef enum {
    /* Blanking feature will be disabled */
    WMI_SCAN_BLANKING_DISABLED = 0,
    /* Blanking enabled only on current operating band */
    WMI_SCAN_BLANKING_ENABLED,
    /*
     * Blanking enabled on both 5GHz and 6GHz bands when scan radio
     * home channel is on either 5GHz or 6GHz bands
     */
    WMI_SCAN_BLANKING_ENABLED_NO_ISOLATION,
    WMI_SCAN_BLANKING_MAX,
} WMI_SCAN_BLANKING_MODE;
/**
 * The below three structures are the params used for converting RSSI
 * from dB to dBm units.
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,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_ 1266
#define __WMI_REVISION_ 1267

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