qcacld-3.0: Implement DP component infra support
Implement DP component infra support, So that DP component gets allocated and initialiazed. Change-Id: Icdcbf92956dcf0984dd14262f3c7f29554b4eba8 CRs-Fixed: 3164965
This commit is contained in:

committed by
Madan Koyyalamudi

부모
c3269eb28d
커밋
6b43ef6a50
@@ -26,7 +26,6 @@
|
||||
#include "wlan_cmn.h"
|
||||
#include "wlan_objmgr_cmn.h"
|
||||
#include "wlan_objmgr_global_obj.h"
|
||||
#include "wmi_unified.h"
|
||||
#include "qdf_status.h"
|
||||
|
||||
/**
|
||||
@@ -39,10 +38,18 @@ struct wlan_dp_psoc_callbacks {
|
||||
bool flush_gro);
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wlan_dp_psoc_sb_ops - struct containing callback
|
||||
* to south bound APIs. callbacks to call traget_if APIs
|
||||
*/
|
||||
struct wlan_dp_psoc_sb_ops {
|
||||
/*TODO to add target if TX ops*/
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wlan_dp_psoc_nb_ops - struct containing callback
|
||||
* to north bound APIs. callbacks APIs to be called by target_if APIs
|
||||
*/
|
||||
struct wlan_dp_psoc_nb_ops {
|
||||
/*TODO to add target if RX ops*/
|
||||
};
|
||||
|
@@ -32,19 +32,36 @@
|
||||
#include <wlan_objmgr_vdev_obj.h>
|
||||
#include <wlan_dp_public_struct.h>
|
||||
|
||||
/**
|
||||
* ucfg_dp_create_intf() - update DP interface MAC address
|
||||
* @psoc: psoc handle
|
||||
* @cur_mac: Curent MAC address
|
||||
* @new_mac: new MAC address
|
||||
*
|
||||
*/
|
||||
void ucfg_dp_update_inf_mac(struct wlan_objmgr_psoc *psoc,
|
||||
struct qdf_mac_addr *cur_mac,
|
||||
struct qdf_mac_addr *new_mac);
|
||||
|
||||
/**
|
||||
* ucfg_dp_destroy_intf() - DP module interface deletion
|
||||
* @psoc: psoc handle
|
||||
* @intf_addr: Interface MAC address
|
||||
*
|
||||
*/
|
||||
QDF_STATUS ucfg_dp_destroy_intf(struct wlan_objmgr_psoc *psoc,
|
||||
struct qdf_mac_addr *intf_addr);
|
||||
|
||||
/**
|
||||
* ucfg_dp_create_intf() - DP module interface creation
|
||||
* @psoc: psoc handle
|
||||
* @intf_addr: Interface MAC address
|
||||
* @ndev : netdev object
|
||||
*
|
||||
*/
|
||||
QDF_STATUS ucfg_dp_create_intf(struct wlan_objmgr_psoc *psoc,
|
||||
struct qdf_mac_addr *intf_addr);
|
||||
struct qdf_mac_addr *intf_addr,
|
||||
qdf_netdev_t ndev);
|
||||
|
||||
/**
|
||||
* ucfg_dp_init() - DP module initialization API
|
||||
@@ -60,8 +77,42 @@ QDF_STATUS ucfg_dp_init(void);
|
||||
*/
|
||||
QDF_STATUS ucfg_dp_deinit(void);
|
||||
|
||||
/**
|
||||
* ucfg_dp_psoc_open() - DP component Open
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS ucfg_dp_psoc_open(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* ucfg_dp_psoc_close() - DP component Close
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS ucfg_dp_psoc_close(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* ucfg_dp_suspend_wlan() - update suspend state in DP component
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_dp_suspend_wlan(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* ucfg_dp_resume_wlan() - update resume state in DP component
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_dp_resume_wlan(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* ucfg_dp_update_config() - DP module config update
|
||||
* @psoc: pointer to psoc object
|
||||
* @req : user config
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
@@ -69,6 +120,12 @@ QDF_STATUS
|
||||
ucfg_dp_update_config(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_dp_user_config *req);
|
||||
|
||||
/**
|
||||
* ucfg_dp_get_rx_softirq_yield_duration() - Get rx soft IRQ yield duration
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: soft IRQ yield duration
|
||||
*/
|
||||
uint64_t
|
||||
ucfg_dp_get_rx_softirq_yield_duration(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
|
Reference in New Issue
Block a user