qcacmn: Remove SW WAR in rawmode for qca8074v2 target

Remove SW WAR in rawmode for qca8074v2 target. Added flag in
vdev structure which will be filled during vdev attach time.
Based on the flag war is applied.

Change-Id: Id91d6359b0a575b1f2b1222e56ac93a0e08a3c73
CRs-Fixed: 2296584
This commit is contained in:
Venkateswara Swamy Bandaru
2018-08-03 16:07:06 +05:30
committed by nshrivas
parent a1f53043bb
commit 6ca4112f46
5 changed files with 43 additions and 1 deletions

View File

@@ -551,6 +551,17 @@ void wlan_cfg_set_reo_dst_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg,
cfg->reo_dst_ring_size = reo_dst_ring_size;
}
void wlan_cfg_set_raw_mode_war(struct wlan_cfg_dp_soc_ctxt *cfg,
bool raw_mode_war)
{
cfg->raw_mode_war = raw_mode_war;
}
bool wlan_cfg_get_raw_mode_war(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->raw_mode_war;
}
int wlan_cfg_get_num_tx_desc(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->num_tx_desc;