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

Commit 7d5d3754 authored by spuligil's avatar spuligil Committed by Madan Koyyalamudi
Browse files

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

Change-Id: I625b317712a2965dc310136d9c36bf3bfb2f633f
WMI: add bss_info_param in ROAM_EVENT msg, add rssi+chan freq to roam frm evt
CRs-Fixed: 2262693
parent e2d3a179
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -1283,6 +1283,7 @@ typedef enum {
    WMITLV_TAG_STRUC_WMI_WOW_COAP_BUF_INFO_EVENT_fixed_param,
    WMITLV_TAG_STRUC_WMI_WOW_COAP_BUF_INFO_EVENT_fixed_param,
    WMITLV_TAG_STRUC_wmi_coap_tuple,
    WMITLV_TAG_STRUC_wmi_coap_tuple,
    WMITLV_TAG_STRUC_wmi_iface_powersave_stats,
    WMITLV_TAG_STRUC_wmi_iface_powersave_stats,
    WMITLV_TAG_STRUC_wmi_roam_bss_info_param,
} WMITLV_TAG_ID;
} WMITLV_TAG_ID;


/*
/*
@@ -5422,7 +5423,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_AGGR_STATE_TRIG_EVENTID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_event_fixed_param, wmi_roam_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_event_fixed_param, wmi_roam_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, deauth_disassoc_frame, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, deauth_disassoc_frame, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_hw_mode_transition_event_fixed_param, hw_mode_transition_fixed_param, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_hw_mode_transition_event_fixed_param, hw_mode_transition_fixed_param, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_hw_mode_response_vdev_mac_entry, wmi_pdev_set_hw_mode_response_vdev_mac_mapping, WMITLV_SIZE_VAR)
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_hw_mode_response_vdev_mac_entry, wmi_pdev_set_hw_mode_response_vdev_mac_mapping, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_bss_info_param, bss_info_param, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_EVENTID);
WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_EVENTID);


/* Roam Synch Event */
/* Roam Synch Event */
+20 −0
Original line number Original line Diff line number Diff line
@@ -18081,6 +18081,23 @@ typedef struct {
    A_UINT32 notif_params1;
    A_UINT32 notif_params1;
} wmi_roam_event_fixed_param;
} wmi_roam_event_fixed_param;
#define WMI_ROAM_BSS_INFO_FLAG_IS_MLD 0
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_bss_info_param */
    /*
     * bit0: WMI_ROAM_BSS_INFO_FLAG_IS_MLD
     */
    A_UINT32 flags;
    /*
     * mld score if WMI_ROAM_BSS_INFO_FLAG_IS_MLD set, otherwise link score
     */
    A_UINT32 score;
    /*
     *  mld address if WMI_ROAM_BSS_INFO_FLAG_IS_MLD set, otherwise link address
     */
    wmi_mac_addr mac_addr;
} wmi_roam_bss_info_param;
/* roam_reason: bits 0-3 */
/* roam_reason: bits 0-3 */
#define WMI_ROAM_REASON_INVALID   0x0 /** invalid reason. Do not interpret reason field */
#define WMI_ROAM_REASON_INVALID   0x0 /** invalid reason. Do not interpret reason field */
@@ -24228,6 +24245,9 @@ typedef struct {
    A_UINT32 vdev_id;
    A_UINT32 vdev_id;
    /* Exact frame length without considering 4 byte alignement */
    /* Exact frame length without considering 4 byte alignement */
    A_UINT32 frame_length;
    A_UINT32 frame_length;
    A_INT32  rssi; /* Units in dBm */
    /* The frequency on which to transmit. */
    A_UINT32 primary_channel_freq; /* MHz units */
    /**
    /**
     * TLV (tag length value) parameters follows roam_frame_event
     * TLV (tag length value) parameters follows roam_frame_event
     * The TLV's are:
     * The TLV's are:
+1 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,7 @@
#define __WMI_VER_MINOR_    0
#define __WMI_VER_MINOR_    0
/** WMI revision number has to be incremented when there is a
/** WMI revision number has to be incremented when there is a
 *  change that may or may not break compatibility. */
 *  change that may or may not break compatibility. */
#define __WMI_REVISION_ 1162
#define __WMI_REVISION_ 1163


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