qcacmn: Disable rxdma1 functionality for LM256 profile

As monitor mode is not supported on LM256 profile,
disable rxdma1 functionality on same

Change-Id: I64e5de02d56801bfd46e32a6c64a1286e4d7ecb0
CRs-Fixed: 2819904
This commit is contained in:
Amir
2020-11-16 21:37:14 +05:30
committed by snandini
parent 7a2fd984a7
commit df60a16001
3 changed files with 33 additions and 9 deletions

View File

@@ -1490,3 +1490,15 @@ int wlan_cfg_send_icmp_req_to_fw(struct wlan_cfg_dp_soc_ctxt *cfg)
return cfg->send_icmp_req_to_fw;
}
#endif /* WLAN_DP_FEATURE_SEND_ICMP_TO_FW */
#ifdef QCA_LOWMEM_CONFIG
void wlan_cfg_set_rxdma1_enable(struct wlan_cfg_dp_soc_ctxt *cfg)
{
cfg->rxdma1_enable = false;
}
#else
void wlan_cfg_set_rxdma1_enable(struct wlan_cfg_dp_soc_ctxt *cfg)
{
cfg->rxdma1_enable = true;
}
#endif

View File

@@ -1515,3 +1515,11 @@ uint8_t wlan_cfg_radio1_default_reo_get(struct wlan_cfg_dp_soc_ctxt *cfg);
* Return: .
*/
uint8_t wlan_cfg_radio2_default_reo_get(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_set_rxdma1_enable() - Enable rxdma1
* @cfg: soc configuration context
*
* Return: .
*/
void wlan_cfg_set_rxdma1_enable(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);