|
@@ -1,6 +1,6 @@
|
|
|
/*
|
|
|
* Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
|
|
|
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -324,6 +324,22 @@ wma_get_concurrency_support(struct wlan_objmgr_psoc *psoc)
|
|
|
return WMI_HOST_BAND_CONCURRENCY_DBS;
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * wma_update_set_feature_version() - Update the set feature version
|
|
|
+ *
|
|
|
+ * @fs: Feature set structure in which version needs to be updated.
|
|
|
+ *
|
|
|
+ * Version 1 - Base feature version
|
|
|
+ * Version 2 - WMI_HOST_VENDOR1_REQ1_VERSION_3_30 updated.
|
|
|
+ * Version 3 - min sleep period for TWT and Scheduled PM in FW updated
|
|
|
+ *
|
|
|
+ * Return: None
|
|
|
+ */
|
|
|
+static void wma_update_set_feature_version(struct target_feature_set *fs)
|
|
|
+{
|
|
|
+ fs->feature_set_version = 3;
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* wma_set_feature_set_info() - Set feature set info
|
|
|
* @wma_handle: WMA handle
|
|
@@ -479,7 +495,9 @@ static void wma_set_feature_set_info(tp_wma_handle wma_handle,
|
|
|
feature_set->peer_bigdata_getbssinfo_support = true;
|
|
|
feature_set->peer_bigdata_assocreject_info_support = true;
|
|
|
feature_set->peer_getstainfo_support = true;
|
|
|
- feature_set->feature_set_version = 2;
|
|
|
+
|
|
|
+ wma_update_set_feature_version(feature_set);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
/**
|