qcacmn: Add LMAC interface for WIFI POS component
This change adds implementation for interfacing with LMAC for southbound request to WMI and northbount events from WMI. Change-Id: Ia027ec704d99ef586b89bfadce4f174c3bcf8c17 CRs-Fixed: 2003488
This commit is contained in:

committed by
Sandeep Puligilla

parent
445582f5b0
commit
18ceca16b7
@@ -24,4 +24,91 @@
|
||||
#ifndef _WIFI_POS_TGT_IF_H_
|
||||
#define _WIFI_POS_TGT_IF_H_
|
||||
|
||||
#include "qdf_types.h"
|
||||
#include "qdf_status.h"
|
||||
struct oem_data_req;
|
||||
struct oem_data_rsp;
|
||||
struct wlan_objmgr_psoc;
|
||||
struct wlan_soc_southbound_cb;
|
||||
struct wlan_lmac_if_tx_ops;
|
||||
struct wlan_lmac_if_rx_ops;
|
||||
|
||||
#ifdef WIFI_POS_CONVERGED
|
||||
|
||||
/**
|
||||
* target_if_wifi_pos_get_txops: api to get tx ops
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: tx ops
|
||||
*/
|
||||
struct wlan_lmac_if_wifi_pos_tx_ops *target_if_wifi_pos_get_txops(
|
||||
struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* target_if_wifi_pos_get_rxops: api to get rx ops
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: rx ops
|
||||
*/
|
||||
struct wlan_lmac_if_wifi_pos_rx_ops *target_if_wifi_pos_get_rxops(
|
||||
struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* target_if_wifi_pos_register_events: function to register with wmi event
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: status of operation
|
||||
*/
|
||||
QDF_STATUS target_if_wifi_pos_register_events(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* target_if_wifi_pos_deregister_events: function to deregister wmi event
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: status of operation
|
||||
*/
|
||||
QDF_STATUS target_if_wifi_pos_deregister_events(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
|
||||
/**
|
||||
* target_if_wifi_pos_register_tx_ops: function to register with lmac tx ops
|
||||
* @tx_ops: lmac tx ops struct object
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void target_if_wifi_pos_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops);
|
||||
|
||||
/**
|
||||
* target_if_wifi_pos_register_rx_ops: function to register with lmac rx ops
|
||||
* @rx_ops: lmac rx ops struct object
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void target_if_wifi_pos_register_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops);
|
||||
|
||||
#else
|
||||
static inline struct wlan_lmac_if_wifi_pos_tx_ops *target_if_wifi_pos_get_txops(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static inline struct wlan_lmac_if_wifi_pos_rx_ops *target_if_wifi_pos_get_rxops(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline void target_if_wifi_pos_register_tx_ops(
|
||||
struct wlan_lmac_if_tx_ops *tx_ops)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void target_if_wifi_pos_register_rx_ops(
|
||||
struct wlan_lmac_if_rx_ops *rx_ops)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _WIFI_POS_TGT_IF_H_ */
|
||||
|
Reference in New Issue
Block a user