qcacmn: remove CONFIG_WIN from Spectral

remove CONFIG_WIN from Spectral module.

CRs-Fixed: 2460180
Change-Id: I510e616e65518627f5088a34cf595387df8223a0
Cette révision appartient à :
Edayilliam Jayadev
2019-05-27 16:26:37 +05:30
révisé par nshrivas
Parent 27c5bd3193
révision 95477ba01c

Voir le fichier

@@ -29,20 +29,6 @@
QDF_STATUS (*wlan_global_lmac_if_tx_ops_register[MAX_DEV_TYPE])
(struct wlan_lmac_if_tx_ops *tx_ops);
#ifdef WLAN_CONV_SPECTRAL_ENABLE
/* Function pointer for spectral rx_ops registration function */
void (*wlan_lmac_if_sptrl_rx_ops)(struct wlan_lmac_if_rx_ops *rx_ops);
QDF_STATUS wlan_lmac_if_sptrl_set_rx_ops_register_cb(void (*handler)
(struct wlan_lmac_if_rx_ops *))
{
wlan_lmac_if_sptrl_rx_ops = handler;
return QDF_STATUS_SUCCESS;
}
qdf_export_symbol(wlan_lmac_if_sptrl_set_rx_ops_register_cb);
#endif /* WLAN_CONV_SPECTRAL_ENABLE */
/*
* spectral scan is built as separate .ko for WIN where
* MCL it is part of wlan.ko so the registration of
@@ -56,7 +42,20 @@ qdf_export_symbol(wlan_lmac_if_sptrl_set_rx_ops_register_cb);
*
* Return: None
*/
#ifdef CONFIG_WIN
#ifdef SPECTRAL_MODULIZED_ENABLE
/* Function pointer for spectral rx_ops registration function */
void (*wlan_lmac_if_sptrl_rx_ops)(struct wlan_lmac_if_rx_ops *rx_ops);
QDF_STATUS wlan_lmac_if_sptrl_set_rx_ops_register_cb(void (*handler)
(struct wlan_lmac_if_rx_ops *))
{
wlan_lmac_if_sptrl_rx_ops = handler;
return QDF_STATUS_SUCCESS;
}
qdf_export_symbol(wlan_lmac_if_sptrl_set_rx_ops_register_cb);
static void wlan_spectral_register_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops)
{
wlan_lmac_if_sptrl_rx_ops(rx_ops);
@@ -66,7 +65,7 @@ static void wlan_spectral_register_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops)
{
wlan_lmac_if_sptrl_register_rx_ops(rx_ops);
}
#endif /*CONFIG_WIN*/
#endif /* SPECTRAL_MODULIZED_ENABLE */
#else
/**
* wlan_spectral_register_rx_ops() - Dummy api to register spectral RX OPS