qcacmn: Fix export symbol for multi drivers compilation

Update umac module files to use qdf_export_symbol to facilitate
multiple driver module compilation support.

Change-Id: Id982b3e0593b7c90244f2025decd10e97cb62f9c
CRs-fixed: 2197751
This commit is contained in:
Manikandan Mohan 2018-03-01 16:21:55 -08:00 • committed by nshrivas
commit a2993a595c
3 changed files with 9 additions and 7 deletions

View file

@ -1028,7 +1028,7 @@ QDF_STATUS wlan_crypto_encap(struct wlan_objmgr_vdev *vdev,
return status;
}
EXPORT_SYMBOL(wlan_crypto_encap);
qdf_export_symbol(wlan_crypto_encap);
/**
* wlan_crypto_decap - called by mgmt for decap the frame based on cipher
@ -1121,7 +1121,7 @@ QDF_STATUS wlan_crypto_decap(struct wlan_objmgr_vdev *vdev,
return status;
}
EXPORT_SYMBOL(wlan_crypto_decap);
qdf_export_symbol(wlan_crypto_decap);
/**
* wlan_crypto_enmic - called by mgmt for adding mic in frame based on cipher
* @vdev: vdev
@ -2725,7 +2725,7 @@ struct wlan_lmac_if_crypto_rx_ops *wlan_crypto_get_crypto_rx_ops(
return &(psoc->soc_cb.rx_ops.crypto_rx_ops);
}
EXPORT_SYMBOL(wlan_crypto_get_crypto_rx_ops);
qdf_export_symbol(wlan_crypto_get_crypto_rx_ops);
/**
* wlan_crypto_vdev_has_auth_mode - check authmode for vdev

View file

@ -25,6 +25,7 @@
#include <wlan_cmn.h>
#include "wlan_osif_priv.h"
#include <net/cfg80211.h>
#include <qdf_module.h>
uint32_t wlan_chan_to_freq(uint8_t chan)
{
@ -190,7 +191,7 @@ uint32_t wlan_get_pdev_id_from_vdev_id(struct wlan_objmgr_psoc *psoc,
return pdev_id;
}
EXPORT_SYMBOL(wlan_get_pdev_id_from_vdev_id);
qdf_export_symbol(wlan_get_pdev_id_from_vdev_id);
static void wlan_util_get_vdev_by_ifname_cb(struct wlan_objmgr_psoc *psoc,
void *obj, void *arg)
@ -263,7 +264,7 @@ uint8_t *wlan_util_vdev_get_if_name(struct wlan_objmgr_vdev *vdev)
return name;
}
EXPORT_SYMBOL(wlan_util_vdev_get_if_name);
qdf_export_symbol(wlan_util_vdev_get_if_name);
static void wlan_vap_active(struct wlan_objmgr_pdev *pdev,
void *object,

View file

@ -18,6 +18,7 @@
*/
#include "qdf_mem.h"
#include <qdf_module.h>
#include "wlan_lmac_if_def.h"
#include "wlan_lmac_if_api.h"
#include "wlan_mgmt_txrx_tgt_api.h"
@ -67,7 +68,7 @@
*/
QDF_STATUS (*wlan_lmac_if_umac_tx_ops_register)
(struct wlan_lmac_if_tx_ops *tx_ops);
EXPORT_SYMBOL(wlan_lmac_if_umac_tx_ops_register);
qdf_export_symbol(wlan_lmac_if_umac_tx_ops_register);
#ifdef WLAN_ATF_ENABLE
/**
@ -457,5 +458,5 @@ QDF_STATUS wlan_lmac_if_set_umac_txops_registration_cb(QDF_STATUS (*handler)
wlan_lmac_if_umac_tx_ops_register = handler;
return QDF_STATUS_SUCCESS;
}
EXPORT_SYMBOL(wlan_lmac_if_set_umac_txops_registration_cb);
qdf_export_symbol(wlan_lmac_if_set_umac_txops_registration_cb);