qcacld-3.0: Add Component APIs for required ucfg APIs in DP component
When component dependent functions calling from higher modules or any other components, it uses ucfg APIs pattern. Calling ucfg dependent APIs is acceptable for higher modules like HDD, OSIF but for another components like DP to avoid using ucfg APIs here, implementing component APIs for existing ucfg APIs to other components like MLME, TDLS, Pkt capture in DP component module. Change-Id: Ib8857eeca6a88810d7875312ff6dc14ffb60bc70 CRs-Fixed: 3351486
This commit is contained in:

committed by
Madan Koyyalamudi

parent
75c248dbb9
commit
fcb513f88f
@@ -88,6 +88,28 @@ wlan_tdls_notify_sta_connect(uint8_t vdev_id,
|
||||
bool tdls_prohibited,
|
||||
struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
/**
|
||||
* wlan_tdls_update_tx_pkt_cnt() - update tx pkt count
|
||||
* @vdev: tdls vdev object
|
||||
* @mac_addr: peer mac address
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void wlan_tdls_update_tx_pkt_cnt(struct wlan_objmgr_vdev *vdev,
|
||||
struct qdf_mac_addr *mac_addr);
|
||||
|
||||
/**
|
||||
* wlan_tdls_update_rx_pkt_cnt() - update rx pkt count
|
||||
* @vdev: tdls vdev object
|
||||
* @mac_addr: peer mac address
|
||||
* @dest_mac_addr: dest mac address
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void wlan_tdls_update_rx_pkt_cnt(struct wlan_objmgr_vdev *vdev,
|
||||
struct qdf_mac_addr *mac_addr,
|
||||
struct qdf_mac_addr *dest_mac_addr);
|
||||
|
||||
#else
|
||||
|
||||
#ifdef FEATURE_SET
|
||||
@@ -118,5 +140,18 @@ wlan_tdls_notify_sta_connect(uint8_t vdev_id,
|
||||
bool tdls_prohibited,
|
||||
struct wlan_objmgr_vdev *vdev) {}
|
||||
|
||||
static inline void
|
||||
wlan_tdls_update_tx_pkt_cnt(struct wlan_objmgr_vdev *vdev,
|
||||
struct qdf_mac_addr *mac_addr)
|
||||
{
|
||||
}
|
||||
|
||||
static inline
|
||||
void wlan_tdls_update_rx_pkt_cnt(struct wlan_objmgr_vdev *vdev,
|
||||
struct qdf_mac_addr *mac_addr,
|
||||
struct qdf_mac_addr *dest_mac_addr)
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user