From 1fcd7befb1f50cc53b8a2a617204a82fc54a6bb2 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Tue, 2 Mar 2021 23:01:43 -0800 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_twt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/hdd/src/wlan_hdd_twt.c b/core/hdd/src/wlan_hdd_twt.c index a66e871460f5..457ef6ba573a 100644 --- a/core/hdd/src/wlan_hdd_twt.c +++ b/core/hdd/src/wlan_hdd_twt.c @@ -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; }