qcacmn: Move PMO from CMN to CLD

Move PMO from CMN to CLD.

Change-Id: I0545e7d2c934ff6558694b439b33c1debf0f5e0a
CRs-fixed: 2071526
此提交包含在:
Mukul Sharma
2017-07-05 19:53:19 +05:30
提交者 snandini
父節點 59626eba4b
當前提交 a4b8d35756
共有 65 個檔案被更改,包括 0 行新增13751 行删除

查看文件

@@ -21,9 +21,6 @@
#include "wlan_lmac_if_def.h"
#include "wlan_lmac_if_api.h"
#include "wlan_global_lmac_if_api.h"
#ifdef WLAN_PMO_ENABLE
#include "wlan_pmo_tgt_api.h"
#endif
/* Function pointer to call DA/OL specific tx_ops registration function */
QDF_STATUS (*wlan_global_lmac_if_tx_ops_register[MAX_DEV_TYPE])
@@ -66,32 +63,6 @@ static void wlan_spectral_register_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops)
}
#endif
#ifdef WLAN_PMO_ENABLE
/**
* wlan_pmo_register_rx_ops() - Register PMO component RX OPS
* @rx_ops: lmac if receive ops
*
* Return: None
*/
static void wlan_pmo_register_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops)
{
struct wlan_lmac_if_pmo_rx_ops *pmo_rx_ops;
pmo_rx_ops = &rx_ops->pmo_rx_ops;
pmo_rx_ops->rx_gtk_rsp_event = pmo_tgt_gtk_rsp_evt;
pmo_rx_ops->lphb_rsp_event = pmo_tgt_lphb_rsp_evt;
}
#else
/**
* wlan_pmo_register_rx_ops() - Dummy api to register PMO component RX OPS
* @rx_ops: lmac if receive ops
*
* Return: None
*/
static void wlan_pmo_register_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops)
{
}
#endif
/**
* wlan_global_lmac_if_rx_ops_register() - Global lmac_if
* rx handler register
@@ -116,9 +87,6 @@ wlan_global_lmac_if_rx_ops_register(struct wlan_lmac_if_rx_ops *rx_ops)
/* Registeration for UMAC componets */
wlan_lmac_if_umac_rx_ops_register(rx_ops);
/* Registeration for componets outside UMAC */
wlan_pmo_register_rx_ops(rx_ops);
/* spectral rx_ops registration*/
wlan_spectral_register_rx_ops(rx_ops);