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

Commit ebbefbc2 authored by spuligil's avatar spuligil
Browse files

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

Change-Id: I1ff96877e2209042f4eb739168f691640ab47ada
WMI: add R-TWT TID bitmaps; HTT stats: add PEER_CNT field in twt_session TLV
CRs-Fixed: 2262693
parent 46a887c4
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -6253,9 +6253,12 @@ typedef struct {
     */
} htt_pdev_cca_stats_hist_v1_tlv;

#define HTT_TWT_SESSION_FLAG_FLOW_ID_M 0x0000ffff
#define HTT_TWT_SESSION_FLAG_FLOW_ID_M 0x0000000f
#define HTT_TWT_SESSION_FLAG_FLOW_ID_S 0

#define HTT_TWT_SESSION_FLAG_BTWT_PEER_CNT_M 0x0000fff0
#define HTT_TWT_SESSION_FLAG_BTWT_PEER_CNT_S 4

#define HTT_TWT_SESSION_FLAG_BCAST_TWT_M 0x00010000
#define HTT_TWT_SESSION_FLAG_BCAST_TWT_S 16

@@ -6275,6 +6278,16 @@ typedef struct {
        ((_var) |= ((_val) << HTT_TWT_SESSION_FLAG_FLOW_ID_S)); \
    } while (0)

#define HTT_TWT_SESSION_FLAG_BTWT_PEER_CNT_GET(_var) \
    (((_var) & HTT_TWT_SESSION_FLAG_BTWT_PEER_CNT_M) >> \
     HTT_TWT_SESSION_FLAG_BTWT_PEER_CNT_S)

#define HTT_TWT_SESSION_FLAG_BTWT_PEER_CNT_SET(_var, _val) \
    do { \
        HTT_CHECK_SET_VAL(HTT_TWT_SESSION_FLAG_BTWT_PEER_CNT, _val); \
        ((_var) |= ((_val) << HTT_TWT_SESSION_FLAG_BTWT_PEER_CNT_S)); \
    } while (0)

#define HTT_TWT_SESSION_FLAG_BCAST_TWT_GET(_var) \
    (((_var) & HTT_TWT_SESSION_FLAG_BCAST_TWT_M) >> \
     HTT_TWT_SESSION_FLAG_BCAST_TWT_S)
+6 −0
Original line number Diff line number Diff line
@@ -35143,6 +35143,9 @@ typedef struct {
    A_UINT32 vdev_id;       /* VDEV identifier */
    wmi_mac_addr peer_macaddr; /* peer MAC address */
    A_UINT32 dialog_id;     /* TWT dialog ID */
    /* parameters required for R-TWT feature */
    A_UINT32 r_twt_dl_tid_bitmap;
    A_UINT32 r_twt_ul_tid_bitmap;
} wmi_twt_btwt_invite_sta_cmd_fixed_param;
/* status code of inviting STA to B-TWT dialog */
@@ -35170,6 +35173,9 @@ typedef struct {
    A_UINT32 vdev_id;       /* VDEV identifier */
    wmi_mac_addr peer_macaddr; /* peer MAC address */
    A_UINT32 dialog_id;     /* TWT dialog ID */
    /* parameters required for R-TWT feature */
    A_UINT32 r_twt_dl_tid_bitmap;
    A_UINT32 r_twt_ul_tid_bitmap;
} wmi_twt_btwt_remove_sta_cmd_fixed_param;
/* status code of removing STA from B-TWT dialog */
+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_ 1284
#define __WMI_REVISION_ 1285

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