qcacmn: Set default REO destination ring to SW4
For MDM platforms, set default REO destination ring to SW4 for STA vdev, which is same as SAP vdev. Note that RX hashing is still enabled for STA vdev. Also REO destination are run-time remapped when IPA automony is enabled and disabled. Change-Id: I49fa523673e7b736008679adec55821e198e8417 CRs-Fixed: 2456786
This commit is contained in:
@@ -1727,4 +1727,16 @@ bool dp_ipa_rx_intrabss_fwd(struct cdp_vdev *pvdev, qdf_nbuf_t nbuf,
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef MDM_PLATFORM
|
||||
bool dp_ipa_is_mdm_platform(void)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
bool dp_ipa_is_mdm_platform(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@@ -111,6 +111,8 @@ QDF_STATUS dp_ipa_handle_rx_buf_smmu_mapping(struct dp_soc *soc,
|
||||
|
||||
bool dp_reo_remap_config(struct dp_soc *soc, uint32_t *remap1,
|
||||
uint32_t *remap2);
|
||||
bool dp_ipa_is_mdm_platform(void);
|
||||
|
||||
#else
|
||||
static inline int dp_ipa_uc_detach(struct dp_soc *soc, struct dp_pdev *pdev)
|
||||
{
|
||||
|
@@ -5094,6 +5094,9 @@ static void dp_peer_setup_get_reo_hash(struct dp_vdev *vdev,
|
||||
if (vdev->opmode == wlan_op_mode_ap) {
|
||||
*reo_dest = IPA_REO_DEST_RING_IDX + 1;
|
||||
*hash_based = 0;
|
||||
} else if (vdev->opmode == wlan_op_mode_sta &&
|
||||
dp_ipa_is_mdm_platform()) {
|
||||
*reo_dest = IPA_REO_DEST_RING_IDX + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user