qcacmn: Support configure IPA tx alt ring and tx ring separately
Add support configure ipa tx ring and tx completion ring for 2.4G and/or 5G separately. Change-Id: Iafb8fa589ff0cce15609a3dfa2209364291d7cef CRs-Fixed: 2996604
このコミットが含まれているのは:
@@ -222,6 +222,8 @@ struct wlan_srng_cfg {
|
||||
* @wow_check_rx_pending_enable: Enable RX frame pending check in WoW
|
||||
* @ipa_tx_ring_size: IPA tx ring size
|
||||
* @ipa_tx_comp_ring_size: IPA tx completion ring size
|
||||
* @ipa_tx_alt_ring_size: IPA tx alt ring size
|
||||
* @ipa_tx_alt_comp_ring_size: IPA tx alt completion ring size
|
||||
* @hw_cc_conv_enabled: cookie conversion enabled
|
||||
* @tcl_wbm_map_array: TCL-WBM map array
|
||||
*/
|
||||
@@ -351,7 +353,11 @@ struct wlan_cfg_dp_soc_ctxt {
|
||||
#ifdef IPA_OFFLOAD
|
||||
uint32_t ipa_tx_ring_size;
|
||||
uint32_t ipa_tx_comp_ring_size;
|
||||
#endif
|
||||
#ifdef IPA_WDI3_TX_TWO_PIPES
|
||||
int ipa_tx_alt_ring_size;
|
||||
int ipa_tx_alt_comp_ring_size;
|
||||
#endif /* IPA_WDI3_TX_TWO_PIPES */
|
||||
#endif /* IPA_OFFLOAD */
|
||||
bool hw_cc_enabled;
|
||||
struct wlan_cfg_tcl_wbm_ring_num_map *tcl_wbm_map_array;
|
||||
#ifdef WLAN_SUPPORT_PPEDS
|
||||
@@ -1692,6 +1698,25 @@ uint32_t wlan_cfg_ipa_tx_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
* Return: IPA Tx Completion ring size
|
||||
*/
|
||||
uint32_t wlan_cfg_ipa_tx_comp_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
|
||||
/*
|
||||
* wlan_cfg_ipa_tx_alt_ring_size - Get Tx alt DMA ring size (TCL Data Ring)
|
||||
* @wlan_cfg_soc_ctx: dp cfg context
|
||||
*
|
||||
* Return: IPA Tx alt Ring Size
|
||||
*/
|
||||
int wlan_cfg_ipa_tx_alt_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
|
||||
/*
|
||||
* wlan_cfg_ipa_tx_alt_comp_ring_size - Get Tx alt comp DMA ring size
|
||||
* (TCL Data Ring)
|
||||
* @wlan_cfg_soc_ctx: dp cfg context
|
||||
*
|
||||
* Return: IPA Tx alt comp Ring Size
|
||||
*/
|
||||
int
|
||||
wlan_cfg_ipa_tx_alt_comp_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
|
||||
#else
|
||||
static inline
|
||||
uint32_t wlan_cfg_ipa_tx_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
|
新しいイシューから参照
ユーザーをブロックする