qcacmn: Support FSE flow rule push from ECM

1. Adding cmn dev APIs to support FSE block rule add from
ECM for SFE UL flows
2. Send SFE flows to stack post FSE match

Change-Id: I37563592a03e28373ef3e2520a771082c629ccf5
CRs-Fixed: 3499382
This commit is contained in:
Parikshit Gune
2023-03-31 00:15:37 +05:30
committed by Rahul Choudhary
parent 6075201673
commit b46533745e
5 changed files with 121 additions and 0 deletions

View File

@@ -2456,6 +2456,21 @@ struct cdp_ppeds_txrx_ops {
};
#endif /* WLAN_SUPPORT_PPEDS */
#ifdef WLAN_SUPPORT_RX_FLOW_TAG
struct cdp_fse_ops {
QDF_STATUS
(*fse_rule_add)(struct cdp_soc_t *soc,
uint32_t *src_ip, uint32_t src_port,
uint32_t *dest_ip, uint32_t dest_port,
uint8_t protocol, uint8_t version);
QDF_STATUS
(*fse_rule_delete)(struct cdp_soc_t *soc,
uint32_t *src_ip, uint32_t src_port,
uint32_t *dest_ip, uint32_t dest_port,
uint8_t protocol, uint8_t version);
};
#endif /* WLAN_SUPPORT_RX_FLOW_TAG */
struct cdp_ops {
struct cdp_cmn_ops *cmn_drv_ops;
struct cdp_ctrl_ops *ctrl_ops;
@@ -2509,5 +2524,8 @@ struct cdp_ops {
#ifdef WLAN_SUPPORT_PPEDS
struct cdp_ppeds_txrx_ops *ppeds_ops;
#endif
#ifdef WLAN_SUPPORT_RX_FLOW_TAG
struct cdp_fse_ops *fse_ops;
#endif
};
#endif