文件
android_kernel_samsung_sm86…/ipa/dispatcher/inc/wlan_ipa_tgt_api.h
Chaoli Zhou 13fd5d9173 qcacld-3.0: Enable/Disable intrabss for Rome IPA
In the Rome IPA case, it need wlanhost side to
enble/disable intrabss by WMI_VDEV_PARAM_INTRA_BSS_FWD.
If set to 1, the ip data transfer between two wlan clients
should be:
wlan client1 -> wlan fw -> wlanhost -> wlan fw-> wlan client2.
If set to 0, the ip data transfer between two wlan cleints
should be:
wlan client1 -> wlan fw -> ipa -> wlan fw -> wlan clients2.

Change-Id: I105ddbdb58f2cd01bdf94521bd7934508889de5d
2020-10-13 04:13:15 -07:00

48 行
1.6 KiB
C

/*
* Copyright (c) 2018, 2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all
* copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/**
* DOC: Declare public API for wlan ipa to interact with target/WMI
*/
#ifndef _WLAN_IPA_TGT_API_H_
#define _WLAN_IPA_TGT_API_H_
#include "wlan_ipa_public_struct.h"
/**
* tgt_ipa_uc_offload_enable_disable() - send ipa offload control to target if
* @pdev: objmgr pdev object
* @req: ipa offload control request
*
* Return: QDF_STATUS
*/
QDF_STATUS tgt_ipa_uc_offload_enable_disable(struct wlan_objmgr_pdev *pdev,
struct ipa_uc_offload_control_params *req);
/**
* tgt_ipa_intrabss_enable_disable() - send ipa intrabss control to target if
* @pdev: objmgr pdev object
* @req: ipa intrabss control request
*
* Return: QDF_STATUS
*/
QDF_STATUS
tgt_ipa_intrabss_enable_disable(struct wlan_objmgr_pdev *pdev,
struct ipa_intrabss_control_params *req);
#endif /* _WLAN_IPA_TGT_API_H_ */