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

Commit 333ac083 authored by spuligil's avatar spuligil
Browse files

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

Change-Id: Iae5b190d61e2864b5780dca3863ccedf7e9af660
WMI: add more_channels flag in radio_link_stats_event msg
CRs-Fixed: 2262693
parent 11fa64a0
Loading
Loading
Loading
Loading
+29 −1
Original line number Diff line number Diff line
@@ -3730,7 +3730,18 @@ typedef struct {
     *
     *      Refer to WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_GET/SET
     *      macros defined below.
     *  Bits 31:1 - Reserved
     *  Bit 1
     *      The bit will be set when HOST is capable of processing multiple
     *      radio events per radio. More specifically whenever Firmware is
     *      sending multiple radio events (WMI_RADIO_LINK_STATS_EVENTID
     *      = 0x16004) for a single radio,
     *      Through this flag Firmware will know that HOST is able to support
     *      delivery of RADIO_LINK_STATS across multiple event messages,
     *      and Firmware can send multiple radio events.
     *
     *      Refer to WMI_RSRC_CFG_HOST_SERVICE_FLAG_HOST_SUPPORT_MULTI_RADIO_EVTS_PER_RADIO_GET/SET
     *      macros defined below.
     *  Bits 31:2 - Reserved
     */
    A_UINT32 host_service_flags;
@@ -3989,6 +4000,11 @@ typedef struct {
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_SET(host_service_flags, val) \
    WMI_SET_BITS(host_service_flags, 0, 1, val)
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_HOST_SUPPORT_MULTI_RADIO_EVTS_PER_RADIO_GET(host_service_flags) \
    WMI_GET_BITS(host_service_flags, 1, 1)
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_HOST_SUPPORT_MULTI_RADIO_EVTS_PER_RADIO_SET(host_service_flags, val) \
    WMI_SET_BITS(host_service_flags, 1, 1, val)
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param */
@@ -8263,6 +8279,18 @@ typedef struct {
    A_UINT32 num_radio;
    /** more_data will be set depending on the number of radios */
    A_UINT32 more_radio_events;
    /*
     * For the event WMI_RADIO_LINK_STATS_EVENTID = 0x16004,
     * FW may not be able to send all the channels (2Ghz, 5Ghz & 6Ghz)
     * together in one event message, due to buffer size limitations.
     * To avoid this limitation, FW will send multiple events to HOST
     * depending upon the number of channels.
     * If more_channels is set to 0 means FW has indicated all the
     * channels for this radio.
     * If more_channels is set to 1, it indicates FW will send another
     * event having additional channels for the same radio.
     */
    A_UINT32 more_channels;
/*
 * This TLV is followed by another TLV of array of bytes
 *   size of(struct wmi_radio_link_stats);
+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_ 891
#define __WMI_REVISION_ 892

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