qcacld-3.0: Add support for not in range and IE validation status code

Add support for TWT AP params not in range and IE validation failed
status code.

Change-Id: I939db5388c4e7aac86484b319638a57baf83171e
CRs-Fixed: 2888847
This commit is contained in:
Srinivas Girigowda 2021-03-02 23:01:43 -08:00 • committed by snandini
commit 1fcd7befb1

View file

@ -1028,6 +1028,10 @@ wmi_twt_add_status_to_vendor_twt_status(enum WMI_HOST_ADD_TWT_STATUS status)
return QCA_WLAN_VENDOR_TWT_STATUS_DENIED;
case WMI_HOST_ADD_TWT_STATUS_UNKNOWN_ERROR:
return QCA_WLAN_VENDOR_TWT_STATUS_UNKNOWN_ERROR;
case WMI_HOST_ADD_TWT_STATUS_AP_PARAMS_NOT_IN_RANGE:
return QCA_WLAN_VENDOR_TWT_STATUS_PARAMS_NOT_IN_RANGE;
case WMI_HOST_ADD_TWT_STATUS_AP_IE_VALIDATION_FAILED:
return QCA_WLAN_VENDOR_TWT_STATUS_IE_INVALID;
default:
return QCA_WLAN_VENDOR_TWT_STATUS_UNKNOWN_ERROR;
}