mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Check nss enabled config before programming flow search table
In cases where NSS offload is enabled, we currently do not support flow-based search (flow tagging). Check for NSS offload enabled flag prior to configuring the flow search table in target/hardware. CRs-Fixed: 2502311 Change-Id: I291c610fe568ac36bacb3c21fd14feb544332b20
This commit is contained in:
parent
47e709a62b
commit
3953e0ad69
1 changed files with 3 additions and 1 deletions
|
|
@ -4566,7 +4566,9 @@ dp_rx_target_fst_config(struct dp_soc *soc)
|
|||
for (i = 0; i < MAX_PDEV_CNT; i++) {
|
||||
struct dp_pdev *pdev = soc->pdev_list[i];
|
||||
|
||||
if (pdev) {
|
||||
/* Flow search is not enabled if NSS offload is enabled */
|
||||
if (pdev &&
|
||||
!wlan_cfg_get_dp_pdev_nss_enabled(pdev->wlan_cfg_ctx)) {
|
||||
status = dp_rx_flow_send_fst_fw_setup(pdev->soc, pdev);
|
||||
if (status != QDF_STATUS_SUCCESS)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue