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

Commit ce11363a authored by spuligil's avatar spuligil
Browse files

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

Change-Id: I67aedc6c4f74433745c80d4924ab18e1fc58a3d3
WMI: add optional generic roam_msg_tlv inside ROAM_STATS_EVENT msg
CRs-Fixed: 2262693
parent 0232a1bc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1123,6 +1123,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_vdev_vendor_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_peer_vendor_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_peer_vendor_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_roam_msg_info_tlv_param,
} WMITLV_TAG_ID;

/*
@@ -4187,7 +4188,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_WLM_CONFIG_CMDID);
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_neighbor_report_channel_info, roam_neighbor_report_chan_info, WMITLV_SIZE_VAR) \
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_frame_info, roam_frame_info, WMITLV_SIZE_VAR) \
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_initial_info, roam_initial_info, WMITLV_SIZE_VAR) \
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_btm_response_info, roam_btm_response_info, WMITLV_SIZE_VAR)
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_btm_response_info, roam_btm_response_info, WMITLV_SIZE_VAR) \
  WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_msg_info, roam_msg_info, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_STATS_EVENTID);

/* Motion detection cmd */
+23 −0
Original line number Diff line number Diff line
@@ -29340,6 +29340,29 @@ typedef struct {
    A_UINT32 timer_canceled;
} wmi_roam_initial_info;
typedef enum {
    WMI_ROAM_MSG_RSSI_RECOVERED = 1, /* Connected AP RSSI is recovered to good region */
} WMI_ROAM_MSG_ID;
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_msg_info_tlv_param */
    /*
     * timestamp is the absolute time (in milliseconds) w.r.t host timer
     * which is synchronized between the host and target
     */
    A_UINT32 timestamp;
    A_UINT32 msg_id; /* Message ID from WMI_ROAM_MSG_ID */
    /* msg_param values are interpreted differently for different msg_id values.
     * if msg_id == WMI_ROAM_MSG_RSSI_RECOVERED:
     *     msg_param1 contains current AP RSSI in dBm
     *         (unsigned -> signed conversion is required)
     *     msg_param2 contains next trigger RSSI threshold in dBm
     *         (unsigned -> signed conversion is required)
     */
    A_UINT32 msg_param1;
    A_UINT32 msg_param2;
} wmi_roam_msg_info;
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_stats_event_fixed_param */
    A_UINT32 vdev_id;
+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_ 915
#define __WMI_REVISION_ 916

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