qcacmn: WMI changes for NOL violation

This commit contains the following changes related to FR49350:
usenol pdev param declaration and implementation of wmi cmd to send
the param to FW.
Failure status code declaration for scan and vdev start.

CRs-Fixed: 2328894
Change-Id: I5d3bfe758aeb9907193b6f626582b70413f5381c
This commit is contained in:
Abhijit Pradhan
2018-10-17 10:13:15 +05:30
committed by nshrivas
parent 4712f47e43
commit f6694f8e83
2 changed files with 25 additions and 0 deletions

View File

@@ -8225,6 +8225,9 @@ static QDF_STATUS extract_vdev_scan_ev_param_tlv(wmi_unified_t wmi_handle,
case WMI_SCAN_REASON_SUSPENDED:
param->reason = SCAN_REASON_SUSPENDED;
break;
case WMI_SCAN_REASON_DFS_VIOLATION:
param->reason = SCAN_REASON_DFS_VIOLATION;
break;
case WMI_SCAN_REASON_MAX:
param->reason = SCAN_REASON_MAX;
break;
@@ -11878,6 +11881,7 @@ static void populate_pdev_param_tlv(uint32_t *pdev_param)
#ifdef WLAN_RU26_SUPPORT
pdev_param[wmi_pdev_param_ru26_allowed] = WMI_PDEV_PARAM_RU26_ALLOWED;
#endif
pdev_param[wmi_pdev_param_use_nol] = WMI_PDEV_PARAM_USE_NOL;
}
/**