mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Skip the Host Tx desc allocation for single offloaded radio
This changes takes care of the below issues. 1. Skip the host allocation of software Tx descriptors for single band NSS offloaded radio configuration. 2. Reset the reo frag destination to alternate select for single band offloaded radio configuration. Change-Id: I3930f266ff9d81d876dda437b29b1ca83d542e12
This commit is contained in:
parent
c59f7dc66e
commit
f4ab426805
1 changed files with 10 additions and 0 deletions
|
|
@ -2700,6 +2700,11 @@ static void dp_reo_frag_dst_set(struct dp_soc *soc, uint8_t *frag_dst_ring)
|
|||
case dp_nss_cfg_default:
|
||||
*frag_dst_ring = HAL_SRNG_REO_EXCEPTION;
|
||||
break;
|
||||
case dp_nss_cfg_first_radio:
|
||||
/*
|
||||
* This configuration is valid for single band radio which
|
||||
* is also NSS offload.
|
||||
*/
|
||||
case dp_nss_cfg_dbdc:
|
||||
case dp_nss_cfg_dbtc:
|
||||
*frag_dst_ring = HAL_SRNG_REO_ALTERNATE_SELECT;
|
||||
|
|
@ -4597,6 +4602,11 @@ static void dp_soc_set_nss_cfg_wifi3(struct cdp_soc_t *cdp_soc, int config)
|
|||
switch (config) {
|
||||
case dp_nss_cfg_default:
|
||||
break;
|
||||
case dp_nss_cfg_first_radio:
|
||||
/*
|
||||
* This configuration is valid for single band radio which
|
||||
* is also NSS offload.
|
||||
*/
|
||||
case dp_nss_cfg_dbdc:
|
||||
case dp_nss_cfg_dbtc:
|
||||
wlan_cfg_set_num_tx_desc_pool(wlan_cfg_ctx, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue