msm: ipa: header file to support wdi 2.4G new pipe
Header file changes that includes new 2.4G wdi tx pipe info and it's interface. Change-Id: I0bc77f8359152f8209ec4ef132dc6497d0875c2a Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org> Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
committed by
UtsavBalar1231
parent
bb3ceab6e5
commit
3c8cfe1453
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
@@ -89,6 +89,7 @@ struct ipa_wdi_hdr_info {
|
||||
* @is_meta_data_valid: if meta data is valid
|
||||
* @meta_data: meta data if any
|
||||
* @meta_data_mask: meta data mask
|
||||
* @is_tx1_used: to indicate whether 2.4g or 5g iface
|
||||
*/
|
||||
struct ipa_wdi_reg_intf_in_params {
|
||||
const char *netdev_name;
|
||||
@@ -97,6 +98,7 @@ struct ipa_wdi_reg_intf_in_params {
|
||||
u8 is_meta_data_valid;
|
||||
u32 meta_data;
|
||||
u32 meta_data_mask;
|
||||
u8 is_tx1_used;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -189,6 +191,9 @@ struct ipa_wdi_pipe_setup_info_smmu {
|
||||
* @tx_smmu: smmu parameters to connect TX pipe(from IPA to WLAN)
|
||||
* @rx: parameters to connect RX pipe(from WLAN to IPA)
|
||||
* @rx_smmu: smmu parameters to connect RX pipe(from WLAN to IPA)
|
||||
* @is_tx1_used: to notify extra pipe required/not
|
||||
* @tx1: parameters to connect TX1 pipe(from IPA to WLAN second pipe)
|
||||
* @tx1_smmu: smmu parameters to connect TX1 pipe(from IPA to WLAN second pipe)
|
||||
*/
|
||||
struct ipa_wdi_conn_in_params {
|
||||
ipa_notify_cb notify;
|
||||
@@ -204,6 +209,11 @@ struct ipa_wdi_conn_in_params {
|
||||
struct ipa_wdi_pipe_setup_info rx;
|
||||
struct ipa_wdi_pipe_setup_info_smmu rx_smmu;
|
||||
} u_rx;
|
||||
bool is_tx1_used;
|
||||
union {
|
||||
struct ipa_wdi_pipe_setup_info tx;
|
||||
struct ipa_wdi_pipe_setup_info_smmu tx_smmu;
|
||||
} u_tx1;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -211,10 +221,12 @@ struct ipa_wdi_conn_in_params {
|
||||
* to WLAN driver
|
||||
* @tx_uc_db_pa: physical address of IPA uC doorbell for TX
|
||||
* @rx_uc_db_pa: physical address of IPA uC doorbell for RX
|
||||
* @tx1_uc_db_pa: physical address of IPA uC doorbell for TX1
|
||||
*/
|
||||
struct ipa_wdi_conn_out_params {
|
||||
phys_addr_t tx_uc_db_pa;
|
||||
phys_addr_t rx_uc_db_pa;
|
||||
phys_addr_t tx1_uc_db_pa;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user