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

Commit 8366bb27 authored by spuligil's avatar spuligil Committed by Madan Koyyalamudi
Browse files

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

Change-Id: Id17f93c690bbbc687d8d0ff86de7628a941e7610
WMI: add VDEV_TX_PEER_FILTER_CMD msg def
CRs-Fixed: 2262693
parent d6da7230
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1260,6 +1260,7 @@ typedef enum {
    WMITLV_TAG_STRUC_wmi_pmm_available_scratch_reg_info,
    WMITLV_TAG_STRUC_wmi_pmm_scratch_reg_allocation_complete_event_fixed_param,
    WMITLV_TAG_STRUC_wmi_bcn_tmpl_ml_info,
    WMITLV_TAG_STRUC_wmi_peer_tx_filter_cmd_fixed_param,
} WMITLV_TAG_ID;

/*
@@ -1752,6 +1753,7 @@ typedef enum {
    OP(WMI_VDEV_PN_MGMT_RX_FILTER_CMDID) \
    OP(WMI_SET_MULTIPLE_PDEV_VDEV_PARAM_CMDID) \
    OP(WMI_PMM_SCRATCH_REG_ALLOCATION_CMDID) \
    OP(WMI_PEER_TX_FILTER_CMDID) \
    /* add new CMD_LIST elements above this line */


@@ -4213,6 +4215,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_DSCP_TID_MAP_CMDID);
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_filter_nrp_config_cmd_fixed_param, wmi_vdev_filter_nrp_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID);

/* Configure filter for Mac addr based filtering*/
#define WMITLV_TABLE_WMI_PEER_TX_FILTER_CMDID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tx_filter_cmd_fixed_param, wmi_peer_tx_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_FILTER_CMDID);

/* Configure filter for PN Rx Pkt indication which pkts need to be forwarded to host */
#define WMITLV_TABLE_WMI_VDEV_PN_MGMT_RX_FILTER_CMDID(id,op,buf,len) \
    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_pn_mgmt_rx_filter_cmd_fixed_param, wmi_vdev_pn_mgmt_rx_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+17 −1
Original line number Diff line number Diff line
@@ -703,6 +703,8 @@ typedef enum {
    WMI_PEER_RX_PN_REQUEST_CMDID,
    /* Mac addr based filtering*/
    WMI_PEER_TX_FILTER_CMDID,
    /* beacon/management specific commands */
@@ -6528,6 +6530,20 @@ typedef struct {
    A_UINT32 bssid_idx;
} wmi_vdev_filter_nrp_config_cmd_fixed_param; /* Filter for Neighbor Rx Packets */
/* tx peer filter action - Filter Tx Packets  - add/remove filter */
enum {
    WMI_PEER_TX_FILTER_ACTION_ADD        = 1,
    WMI_PEER_TX_FILTER_ACTION_REMOVE     = 2,
};
typedef struct {
    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_tx_filter_cmd_fixed_param */
    A_UINT32 vdev_id;
    /* Client  MAC addr */
    wmi_mac_addr addr;
    /* Add/Remove monitor_sta Filter */
    A_UINT32 action; /* WMI_PEER_TX_FILTER_ACTION enum */
} wmi_peer_tx_filter_cmd_fixed_param; /* Filter for TX Packets */
/* Command to set/unset chip in quiet mode */
typedef struct {
+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_ 1132
#define __WMI_REVISION_ 1133

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