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

Commit 821ea2b0 authored by spuligil's avatar spuligil
Browse files

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

WMI, HTT PPDU stats: add fields for 320 MHz

Change-Id: Ib996e4624c3d87c15fbaa6c9fd4385b5fef71d8c
CRs-Fixed: 2262693
parent 9adedffd
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2442,7 +2442,7 @@ typedef struct {

    /*
     * Max rates configured per BW:
     * for BW supported by Smart Antenna - 20MHZ, 40MHZ and 80MHZ and 160MHZ
     * for BW supported by Smart Antenna - 20MHZ, 40MHZ, 80MHZ and 160MHZ
     * (Note: 160 MHz is currently not supported by Smart Antenna)
     */
    A_UINT32 max_rates[HTT_STATS_NUM_SUPPORTED_BW_SMART_ANTENNA];
@@ -2463,6 +2463,12 @@ typedef struct {
             sw_rts_failure:    1,
             cts_rcvd_diff_bw:  1,
             reserved2:        28;

    /*
     * Max rates configured per BW:
     * for BW supported by Smart Antenna - 320 MHZ
     */
    A_UINT32 max_rates_ext;
} htt_ppdu_stats_user_cmpltn_common_tlv;

#define HTT_PPDU_STATS_USER_CMPLTN_BA_BITMAP_TLV_TID_NUM_M     0x000000ff
+62 −9
Original line number Diff line number Diff line
@@ -29185,6 +29185,42 @@ typedef struct {
    A_UINT32 antenna_series;
} wmi_peer_smart_ant_set_tx_antenna_series;
#define WMI_PER_VALID_BIT_POS     0
#define WMI_PER_VALID_NUM_BITS    1
#define WMI_GET_PER_VALID(per_threshold) \
    WMI_GET_BITS(per_threshold, WMI_PER_VALID_BIT_POS, WMI_PER_VALID_NUM_BITS)
#define WMI_PER_VALID_SET(per_threshold, value) \
    WMI_SET_BITS(per_threshold, WMI_PER_VALID_BIT_POS, WMI_PER_VALID_NUM_BITS, value)
#define WMI_PER_THRESHOLD_BIT_POS     1
#define WMI_PER_THRESHOLD_NUM_BITS    8
#define WMI_GET_PER_THRESHOLD(per_threshold) \
    WMI_GET_BITS(per_threshold, WMI_PER_THRESHOLD_BIT_POS, WMI_PER_THRESHOLD_NUM_BITS)
#define WMI_PER_THRESHOLD_SET(per_threshold, value) \
    WMI_SET_BITS(per_threshold, WMI_PER_THRESHOLD_BIT_POS, WMI_PER_THRESHOLD_NUM_BITS, value)
#define WMI_PER_MIN_TX_PKTS_BIT_POS     9
#define WMI_PER_MIN_TX_PKTS_NUM_BITS    16
#define WMI_GET_PER_MIN_TX_PKTS(per_threshold) \
    WMI_GET_BITS(per_threshold, WMI_PER_MIN_TX_PKTS_BIT_POS, WMI_PER_MIN_TX_PKTS_NUM_BITS)
#define WMI_PER_MIN_TX_PKTS_SET(per_threshold, value) \
    WMI_SET_BITS(per_threshold, WMI_PER_MIN_TX_PKTS_BIT_POS, WMI_PER_MIN_TX_PKTS_NUM_BITS, value)
#define WMI_RATE_SERIES_320_BIT_POS     0
#define WMI_RATE_SERIES_320_NUM_BITS    16
#define WMI_GET_RATE_SERIES_320(train_rate_series_ext) \
    WMI_GET_BITS(train_rate_series_ext, WMI_RATE_SERIES_320_BIT_POS, WMI_RATE_SERIES_320_NUM_BITS)
#define WMI_SET_RATE_SERIES_320(train_rate_series_ext) \
    WMI_SET_BITS(train_rate_series_ext, WMI_RATE_SERIES_320_BIT_POS, WMI_RATE_SERIES_320_NUM_BITS, value)
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_train_antenna_param */
    /* rate array */
@@ -29206,6 +29242,11 @@ typedef struct {
    A_UINT32 rc_flags;
    /* rate array -- continued */
    A_UINT32 train_rate_series_hi; /* Higher 32 bits of rate array */
    /* train_rate_series_ext:
     * 15:0 - 320Mhz rate
     * 31:16 - Reserved
     */
    A_UINT32 train_rate_series_ext; /* For 320Mhz and Reserved for other */
} wmi_peer_smart_ant_set_train_antenna_param;
typedef struct {
@@ -29216,6 +29257,15 @@ typedef struct {
    wmi_mac_addr peer_macaddr;
    /* num packets; 0-stop training */
    A_UINT32 num_pkts;
    /* per_threshold:
     * bits  | interpretation
     * ------+--------------------------
     *    0  | PER Threshold is valid
     *  1:8  | Per Threshold
     *  9:24 | min_tx_pkts Minimum number of pkts need to be checked
     * 25:31 | Reserved
     */
    A_UINT32 per_threshold;
/*
 * Following this structure is the TLV:
 * wmi_peer_smart_ant_set_train_antenna_param
@@ -30160,6 +30210,8 @@ typedef struct {
    A_UINT32 ratecode_20;  /* Rate code for 20MHz BW */
    A_UINT32 ratecode_40;  /* Rate code for 40MHz BW */
    A_UINT32 ratecode_80;  /* Rate code for 80MHz BW */
    A_UINT32 ratecode_160; /* Rate code for 160MHz BW */
    A_UINT32 ratecode_320; /* Rate code for 320MHz BW */
} wmi_peer_mcs_rate_info;
typedef struct {
@@ -30168,6 +30220,7 @@ typedef struct {
    A_UINT32 ratecount; /* Max Rate count for each mode */
    A_UINT32 vdev_id; /* ID of the vdev this peer belongs to */
    A_UINT32 pdev_id; /* ID of the pdev this peer belongs to */
    A_UINT32 ratecount_ext; /* Max Rate count for 160, 320MHz */
    /*
     * Following this structure are the TLV:
     * struct wmi_peer_cck_ofdm_rate_info;
@@ -35912,9 +35965,9 @@ typedef struct {
    /* btm_req_dialog_token: dialog token number in BTM request frame */
    A_UINT32 btm_req_dialog_token;
    /* data RSSI in dBm when abort to roam scan */
    A_UINT32 data_rssi;
    A_INT32 data_rssi;
    /* data RSSI threshold in dBm */
    A_UINT32 data_rssi_threshold;
    A_INT32 data_rssi_threshold;
    /* rx linkspeed status, 0:good linkspeed, 1:bad */
    A_UINT32 rx_linkspeed_status;
} wmi_roam_trigger_reason;
+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_ 1283
#define __WMI_REVISION_ 1284

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