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

Commit 97ba8d74 authored by spuligil's avatar spuligil Committed by nshrivas
Browse files

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

Change-Id: I92c08d0d524be484b000c2abffff4432d121217a
WMI: add PMF beacon protect stats
CRs-Fixed: 2262693
parent 57648dee
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1076,6 +1076,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_pdev_non_srg_obss_color_enable_bitmap_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_pdev_non_srg_obss_bssid_enable_bitmap_cmd_fixed_param,
    WMITLV_TAG_STRUC_wmi_roam_capability_report_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_pmf_bcn_protect_stats,
} WMITLV_TAG_ID;

/*
@@ -4916,7 +4917,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWFDA_EVENTID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_per_chain_rssi_stats, wmi_per_chain_rssi_stats, chain_stats, WMITLV_SIZE_FIX) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rssi_stats, rssi_stats, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_congestion_stats, congestion_stats, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_extd2_stats, peer_extd2_stats, WMITLV_SIZE_VAR)
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_extd2_stats, peer_extd2_stats, WMITLV_SIZE_VAR) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pmf_bcn_protect_stats, pmf_bcn_protect_stats, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_STATS_EVENTID);

/* Update PN response Event */
+31 −15
Original line number Diff line number Diff line
@@ -7548,6 +7548,7 @@ typedef enum {
    WMI_REQUEST_BCN_STAT_RESET       = 0x1000,
    WMI_REQUEST_PEER_EXTD2_STAT      = 0x2000,
    WMI_REQUEST_MIB_EXTD_STAT        = 0x4000,
    WMI_REQUEST_PMF_BCN_PROTECT_STAT = 0x8000,
} wmi_stats_id;
/*
@@ -8268,6 +8269,10 @@ typedef struct {
 * num_mib_extd_stats * size of(struct wmi_mib_extd_stats)
 * following the information elements listed above.
 */
/* If WMI_REQUEST_PMF_BCN_PROTECT_STAT is set in stats_id, then TLV
 * wmi_pmf_bcn_protect_stats pmf_bcn_protect_stats[]
 * follows the other TLVs
 */
} wmi_stats_event_fixed_param;
/* WLAN channel CCA stats bitmap  */
@@ -9122,6 +9127,17 @@ typedef struct {
    A_UINT32 reserved[8];    /* Reserve more fields for future extension */
} wmi_mib_extd_stats;
/**
 *  Beacon protection statistics.
 */
typedef struct {
    A_UINT32 tlv_header;        /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pmf_bcn_protect_stats */
    A_UINT32 igtk_mic_fail_cnt; /* MIC failure count of management packets using IGTK */
    A_UINT32 igtk_replay_cnt;   /* Replay detection count of management packets using IGTK */
    A_UINT32 bcn_mic_fail_cnt;  /* MIC failure count of beacon packets using BIGTK */
    A_UINT32 bcn_replay_cnt;    /* Replay detection count of beacon packets using BIGTK */
} wmi_pmf_bcn_protect_stats;
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_rssi_stats */
    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_ 837
#define __WMI_REVISION_ 838

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