qcacmn: Configure REO dest ring ctrl register to address rng mapping non UDP TCP flows

earlier we configured only REO_R0_DESTINATION_RING_CTRL_IX_2
and REO_R0_DESTINATION_RING_CTRL_IX_3, but we now configure
REO_R0_DESTINATION_RING_CTRL_IX_0 and
REO_R0_DESTINATION_RING_CTRL_IX_1. Also added module param for
rx hash steering.

Change-Id: I690aa395bc19e49df3687be2e70eaaad4994003e
This commit is contained in:
Tallapragada Kalyan 2017-09-13 23:48:14 +05:30 • committed by snandini
commit 4c183b84c6
4 changed files with 40 additions and 0 deletions

View file

@ -20,6 +20,7 @@
#include <qdf_lock.h>
#include <qdf_net_types.h>
#include <qdf_lro.h>
#include <qdf_module.h>
#include <hal_api.h>
#include <hif.h>
#include <htt.h>
@ -75,6 +76,9 @@ module_param(napi_budget, uint, 0644);
MODULE_PARM_DESC(napi_budget,
"tasklet mode: more than 0xffff , napi budget if <= 0xffff");
bool rx_hash = 1;
qdf_declare_param(rx_hash, bool);
/**
* default_dscp_tid_map - Default DSCP-TID mapping
*
@ -5277,6 +5281,8 @@ void *dp_soc_attach_wifi3(void *osif_soc, void *hif_handle,
goto fail2;
}
wlan_cfg_set_rx_hash(soc->wlan_cfg_ctx, rx_hash);
if (soc->cdp_soc.ol_ops->get_dp_cfg_param) {
int ret = soc->cdp_soc.ol_ops->get_dp_cfg_param(soc,
CDP_CFG_MAX_PEER_ID);