qcacld-3.0: change enable_responder_11az_support to bitmap

Currently the ini "enable_responder_11az_support" is a boolean
value and applicable for enabling all the RSTA operations- 11az
TB and NTB ranging. Change the usage of existing ini
"enable_responder_11az_support" into a bitmap as below:
BIT 0 - 11az NTB
BIT 1 - 11az TB

Change-Id: I744e614eae4d89d9ff5d0e86398c0c94c8160d77
CRs-Fixed: 3651115
Šī revīzija ir iekļauta:
Vinod Kumar Myadam
2023-10-30 12:38:55 +05:30
revīziju iesūtīja Ravindra Konda
vecāks 5c2d6729d5
revīzija 0d8eee9b75
2 mainīti faili ar 21 papildinājumiem un 9 dzēšanām

Parādīt failu

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-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
@@ -119,13 +119,22 @@
/*
* <ini>
* enable_responder_11az_support - R-STA 11az ranging support
* @Min: false
* @Max: true
* @Default: false
* @Min: 0
* @Max: 3
* @Default: 0
*
* This ini is used to enable R-STA advertising 11az ranging
* This ini is used to enable TB and NTB of R-STA advertising 11az ranging
* capabilities.
*
* +-----------+----------+-------+
* | Value | TB | NTB |
* +-----------+----------+-------+
* | 0x0 | 0 | 0 |
* | 0x1 | 0 | 1 |
* | 0x2 | 1 | 0 |
* | 0x3 | 1 | 1 |
* +-----------+----------+-------+
*
* Related: None
*
* Supported Feature: WIFI POS
@@ -134,9 +143,12 @@
*
* </ini>
*/
#define CFG_RESPONDER_11AZ_SUPPORT CFG_INI_BOOL( \
#define CFG_RESPONDER_11AZ_SUPPORT CFG_INI_UINT( \
"enable_responder_11az_support", \
false, \
0, \
3, \
0, \
CFG_VALUE_OR_DEFAULT, \
"enable Responder 11az support")
#define CFG_WIFI_POS_ALL \