qcacld-3.0: Remove legacy IPA code from HDD

As part of converged driver model remove IPA from
HDD and create a new IPA CLD component. Remove the
legacy code from the HDD.

Change-Id: Id4691e0f490c2f9bd9ccc8d5225be32002a5df9e
CRs-Fixed: 2177925
This commit is contained in:
Sravan Kumar Kairam
2018-03-13 09:03:32 +05:30
committad av nshrivas
förälder 04a16084bf
incheckning 62765edc62
6 ändrade filer med 341 tillägg och 1 borttagningar

Visa fil

@@ -133,6 +133,58 @@ void ucfg_ipa_uc_stat_request(struct wlan_objmgr_pdev *pdev,
void ucfg_ipa_uc_stat_query(struct wlan_objmgr_pdev *pdev,
uint32_t *ipa_tx_diff, uint32_t *ipa_rx_diff);
/**
* ucfg_ipa_reg_sap_xmit_cb() - Register upper layer SAP cb to transmit
* @pdev: pdev obj
* @cb: callback
*
* Return: None
*/
void ucfg_ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev, void *cb);
/**
* ucfg_ipa_reg_send_to_nw_cb() - Register cb to send IPA Rx packet to network
* @pdev: pdev obj
* @cb: callback
*
* Return: None
*/
void ucfg_ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev, void *cb);
/**
* ucfg_ipa_set_mcc_mode() - Set MCC mode
* @pdev: pdev obj
* @mcc_mode: 0=MCC/1=SCC
*
* Return: void
*/
void ucfg_ipa_set_mcc_mode(struct wlan_objmgr_pdev *pdev, bool mcc_mode);
/**
* ucfg_ipa_set_dfs_cac_tx() - Set DFS cac tx block
* @pdev: pdev obj
* @tx_block: dfs cac tx block
*
* Return: void
*/
void ucfg_ipa_set_dfs_cac_tx(struct wlan_objmgr_pdev *pdev, bool tx_block);
/**
* ucfg_ipa_set_ap_ibss_fwd() - Set AP intra bss forward
* @pdev: pdev obj
* @intra_bss: enable or disable ap intra bss forward
*
* Return: void
*/
void ucfg_ipa_set_ap_ibss_fwd(struct wlan_objmgr_pdev *pdev, bool intra_bss);
/**
* ucfg_ipa_uc_force_pipe_shutdown() - Force shutdown IPA pipe
* @pdev: pdev obj
*
* Return: void
*/
void ucfg_ipa_uc_force_pipe_shutdown(struct wlan_objmgr_pdev *pdev);
#else
static inline bool ucfg_ipa_is_present(void)
@@ -196,5 +248,35 @@ void ucfg_ipa_uc_stat_query(struct wlan_objmgr_pdev *pdev,
uint32_t *ipa_tx_diff, uint32_t *ipa_rx_diff)
{
}
static inline
void ucfg_ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev, void *cb)
{
}
static inline
void ucfg_ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev, void *cb)
{
}
static inline
void ucfg_ipa_set_mcc_mode(struct wlan_objmgr_pdev *pdev, bool mcc_mode)
{
}
static inline
void ucfg_ipa_set_dfs_cac_tx(struct wlan_objmgr_pdev *pdev, bool tx_block)
{
}
static inline
void ucfg_ipa_set_ap_ibss_fwd(struct wlan_objmgr_pdev *pdev, bool intra_bss)
{
}
static inline
void ucfg_ipa_uc_force_pipe_shutdown(struct wlan_objmgr_pdev *pdev)
{
}
#endif /* IPA_OFFLOAD */
#endif /* _WLAN_IPA_UCFG_API_H_ */