qcacmn: Define cdp call for SCS peer lookup and rule match

Add function pointer declaration for SCS peer lookup and rule
match and also define cdp call for the same.

Change-Id: I4329b746a12f019a077652d02625b76c7f5fa21f
CRs-Fixed: 3226475
This commit is contained in:
Harsh Kumar Bijlani
2022-06-22 15:32:04 +05:30
committad av Madan Koyyalamudi
förälder 532a58ac1c
incheckning 4e5e35a746
2 ändrade filer med 68 tillägg och 0 borttagningar

Visa fil

@@ -2069,6 +2069,18 @@ struct cdp_mesh_latency_ops {
};
#endif
#ifdef WLAN_SUPPORT_SCS
/**
* struct cdp_scs_ops - data path ops for SCS
* @scs_peer_lookup_n_rule_match : Handler for peer lookup and scs rule match
*/
struct cdp_scs_ops {
bool (*scs_peer_lookup_n_rule_match)(struct cdp_soc_t *soc,
uint32_t rule_id,
uint8_t *dst_mac_addr);
};
#endif
#ifdef CONFIG_SAWF_DEF_QUEUES
struct cdp_sawf_ops {
QDF_STATUS
@@ -2164,5 +2176,8 @@ struct cdp_ops {
#ifdef CONFIG_SAWF_DEF_QUEUES
struct cdp_sawf_ops *sawf_ops;
#endif
#ifdef WLAN_SUPPORT_SCS
struct cdp_scs_ops *scs_ops;
#endif
};
#endif