qcacld-3.0: abstract Linux identifiers from IPA component
Abstract Linux based OS identifiers from IPA component in HDD/OSIF layer. Change-Id: I82a5db8c796d47d552757b1a450df10c72061177
This commit is contained in:

committed by
nshrivas

parent
3e1e16e52f
commit
24018994a5
@@ -492,7 +492,8 @@ void wlan_ipa_reg_sap_xmit_cb(struct wlan_ipa_priv *ipa_ctx,
|
|||||||
* Return: None
|
* Return: None
|
||||||
*/
|
*/
|
||||||
static inline
|
static inline
|
||||||
void wlan_ipa_reg_send_to_nw_cb(struct wlan_ipa_priv *ipa_ctx, void *cb)
|
void wlan_ipa_reg_send_to_nw_cb(struct wlan_ipa_priv *ipa_ctx,
|
||||||
|
wlan_ipa_send_to_nw cb)
|
||||||
{
|
{
|
||||||
ipa_ctx->send_to_nw = cb;
|
ipa_ctx->send_to_nw = cb;
|
||||||
}
|
}
|
||||||
|
@@ -253,7 +253,8 @@ void ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev,
|
|||||||
*
|
*
|
||||||
* Return: None
|
* Return: None
|
||||||
*/
|
*/
|
||||||
void ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev, void *cb);
|
void ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev,
|
||||||
|
wlan_ipa_send_to_nw cb);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ipa_set_mcc_mode() - Set MCC mode
|
* ipa_set_mcc_mode() - Set MCC mode
|
||||||
@@ -433,6 +434,7 @@ uint32_t ipa_get_tx_buf_count(void);
|
|||||||
|
|
||||||
#else /* Not IPA_OFFLOAD */
|
#else /* Not IPA_OFFLOAD */
|
||||||
typedef QDF_STATUS (*wlan_ipa_softap_xmit)(qdf_nbuf_t nbuf, qdf_netdev_t dev);
|
typedef QDF_STATUS (*wlan_ipa_softap_xmit)(qdf_nbuf_t nbuf, qdf_netdev_t dev);
|
||||||
|
typedef void (*wlan_ipa_send_to_nw)(qdf_nbuf_t nbuf, qdf_netdev_t dev);
|
||||||
|
|
||||||
#endif /* IPA_OFFLOAD */
|
#endif /* IPA_OFFLOAD */
|
||||||
#endif /* end of _WLAN_IPA_MAIN_H_ */
|
#endif /* end of _WLAN_IPA_MAIN_H_ */
|
||||||
|
@@ -567,7 +567,7 @@ struct wlan_ipa_tx_desc {
|
|||||||
};
|
};
|
||||||
|
|
||||||
typedef QDF_STATUS (*wlan_ipa_softap_xmit)(qdf_nbuf_t nbuf, qdf_netdev_t dev);
|
typedef QDF_STATUS (*wlan_ipa_softap_xmit)(qdf_nbuf_t nbuf, qdf_netdev_t dev);
|
||||||
typedef void (*wlan_ipa_send_to_nw)(qdf_nbuf_t skb, qdf_netdev_t dev);
|
typedef void (*wlan_ipa_send_to_nw)(qdf_nbuf_t nbuf, qdf_netdev_t dev);
|
||||||
|
|
||||||
/* IPA private context structure definition */
|
/* IPA private context structure definition */
|
||||||
struct wlan_ipa_priv {
|
struct wlan_ipa_priv {
|
||||||
|
@@ -300,7 +300,8 @@ void ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev, wlan_ipa_softap_xmit cb)
|
|||||||
return wlan_ipa_reg_sap_xmit_cb(ipa_obj, cb);
|
return wlan_ipa_reg_sap_xmit_cb(ipa_obj, cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev, void *cb)
|
void ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev,
|
||||||
|
wlan_ipa_send_to_nw cb)
|
||||||
{
|
{
|
||||||
struct wlan_ipa_priv *ipa_obj;
|
struct wlan_ipa_priv *ipa_obj;
|
||||||
|
|
||||||
|
@@ -161,7 +161,8 @@ void ucfg_ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev,
|
|||||||
*
|
*
|
||||||
* Return: None
|
* Return: None
|
||||||
*/
|
*/
|
||||||
void ucfg_ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev, void *cb);
|
void ucfg_ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev,
|
||||||
|
wlan_ipa_send_to_nw cb);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ucfg_ipa_set_mcc_mode() - Set MCC mode
|
* ucfg_ipa_set_mcc_mode() - Set MCC mode
|
||||||
@@ -423,7 +424,8 @@ void ucfg_ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
void ucfg_ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev, void *cb)
|
void ucfg_ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev,
|
||||||
|
wlan_ipa_send_to_nw cb)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -95,7 +95,8 @@ void ucfg_ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev,
|
|||||||
return ipa_reg_sap_xmit_cb(pdev, cb);
|
return ipa_reg_sap_xmit_cb(pdev, cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ucfg_ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev, void *cb)
|
void ucfg_ipa_reg_send_to_nw_cb(struct wlan_objmgr_pdev *pdev,
|
||||||
|
wlan_ipa_send_to_nw cb)
|
||||||
{
|
{
|
||||||
return ipa_reg_send_to_nw_cb(pdev, cb);
|
return ipa_reg_send_to_nw_cb(pdev, cb);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user