1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2012-2020 The Linux Foundation. All rights reserved. 3*5113495bSYour Name * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 4*5113495bSYour Name * 5*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for 6*5113495bSYour Name * any purpose with or without fee is hereby granted, provided that the 7*5113495bSYour Name * above copyright notice and this permission notice appear in all 8*5113495bSYour Name * copies. 9*5113495bSYour Name * 10*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11*5113495bSYour Name * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12*5113495bSYour Name * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13*5113495bSYour Name * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 14*5113495bSYour Name * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 15*5113495bSYour Name * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 16*5113495bSYour Name * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17*5113495bSYour Name * PERFORMANCE OF THIS SOFTWARE. 18*5113495bSYour Name */ 19*5113495bSYour Name 20*5113495bSYour Name /** 21*5113495bSYour Name * DOC: This file contains centralized definitions of converged configuration. 22*5113495bSYour Name */ 23*5113495bSYour Name 24*5113495bSYour Name #ifndef __CFG_MLME_WIFI_POS_H 25*5113495bSYour Name #define __CFG_MLME_WIFI_POS_H 26*5113495bSYour Name 27*5113495bSYour Name /* 28*5113495bSYour Name * <ini> 29*5113495bSYour Name * gfine_time_meas_cap - fine timing measurement capability information 30*5113495bSYour Name * @Min: 0x0000 31*5113495bSYour Name * @Max: 0x00BD 32*5113495bSYour Name * @Default: 0x000D 33*5113495bSYour Name * 34*5113495bSYour Name * fine timing measurement capability information 35*5113495bSYour Name * 36*5113495bSYour Name * <----- fine_time_meas_cap (in bits) -----> 37*5113495bSYour Name * +---------+-----+-----+-----+-----+------+------+-------+-------+-----+-----+ 38*5113495bSYour Name * | 10-31 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 39*5113495bSYour Name * +---------+-----+-----+-----+-----+------+------+-------+-------+-----+-----+ 40*5113495bSYour Name * | reserved| NAN | NAN | SAP | SAP |P2P-GO|P2P-GO|P2P-CLI|P2P-CLI| STA | STA | 41*5113495bSYour Name * | | resp|init |resp |init |resp |init |resp |init |resp |init | 42*5113495bSYour Name * +---------+-----+-----+-----+-----+------+------+-------+-------+-----+-----+ 43*5113495bSYour Name * 44*5113495bSYour Name * resp - responder role; init- initiator role 45*5113495bSYour Name * 46*5113495bSYour Name * CFG_FINE_TIME_MEAS_CAPABILITY_MAX computed based on the table 47*5113495bSYour Name * +-----------------+-----------------+-----------+ 48*5113495bSYour Name * | Device Role | Initiator | Responder | 49*5113495bSYour Name * +-----------------+-----------------+-----------+ 50*5113495bSYour Name * | Station | Y | N | 51*5113495bSYour Name * | P2P-CLI | Y | Y | 52*5113495bSYour Name * | P2P-GO | Y | Y | 53*5113495bSYour Name * | SAP | N | Y | 54*5113495bSYour Name * +-----------------+-----------------+-----------+ 55*5113495bSYour Name * 56*5113495bSYour Name * Related: None 57*5113495bSYour Name * 58*5113495bSYour Name * Supported Feature: WIFI POS 59*5113495bSYour Name * 60*5113495bSYour Name * Usage: Internal/External 61*5113495bSYour Name * 62*5113495bSYour Name * </ini> 63*5113495bSYour Name */ 64*5113495bSYour Name #define CFG_FINE_TIME_MEAS_CAPABILITY CFG_INI_UINT( \ 65*5113495bSYour Name "gfine_time_meas_cap", \ 66*5113495bSYour Name 0x0000, \ 67*5113495bSYour Name 0x003BD, \ 68*5113495bSYour Name 0x0030D, \ 69*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 70*5113495bSYour Name "fine timing measurement capability") 71*5113495bSYour Name 72*5113495bSYour Name /* 73*5113495bSYour Name * <ini> 74*5113495bSYour Name * oem_6g_support_disable - oem 6g support is disabled 75*5113495bSYour Name * @Min: 0 76*5113495bSYour Name * @Max: 1 77*5113495bSYour Name * @Default: 1 78*5113495bSYour Name * 79*5113495bSYour Name * This ini is used to show OEM is 6Ghz disabled. For legacy OEM apps 80*5113495bSYour Name * having no support for 6Ghz, the default value is 1 and thus driver will 81*5113495bSYour Name * not serve 6Ghz info to legacy oem application. 82*5113495bSYour Name * OEM apps supporting 6Ghz sets the ini value to 0 to get 6Ghz 83*5113495bSYour Name * information from driver. 84*5113495bSYour Name * 85*5113495bSYour Name * Related: None 86*5113495bSYour Name * 87*5113495bSYour Name * Supported Feature: WIFI POS 88*5113495bSYour Name * 89*5113495bSYour Name * Usage: Internal/External 90*5113495bSYour Name * 91*5113495bSYour Name * </ini> 92*5113495bSYour Name */ 93*5113495bSYour Name #define CFG_OEM_SIXG_SUPPORT_DISABLE CFG_INI_BOOL( \ 94*5113495bSYour Name "oem_6g_support_disable", \ 95*5113495bSYour Name 1, \ 96*5113495bSYour Name "oem 6Ghz support Enabled/disabled") 97*5113495bSYour Name /* 98*5113495bSYour Name * <ini> 99*5113495bSYour Name * enable_responder_secure_ltf_support - R-STA secure LTF keyseed support 100*5113495bSYour Name * @Min: false 101*5113495bSYour Name * @Max: true 102*5113495bSYour Name * @Default: false 103*5113495bSYour Name * 104*5113495bSYour Name * This ini is used to enable R-STA advertising secure LTF support. 105*5113495bSYour Name * 106*5113495bSYour Name * Related: None 107*5113495bSYour Name * 108*5113495bSYour Name * Supported Feature: WIFI POS 109*5113495bSYour Name * 110*5113495bSYour Name * Usage: Internal/External 111*5113495bSYour Name * 112*5113495bSYour Name * </ini> 113*5113495bSYour Name */ 114*5113495bSYour Name #define CFG_RESPONDER_SECURE_LTF_SUPPORT CFG_INI_BOOL( \ 115*5113495bSYour Name "enable_responder_secure_ltf_support", \ 116*5113495bSYour Name false, \ 117*5113495bSYour Name "enable Responder secure LTF support") 118*5113495bSYour Name 119*5113495bSYour Name /* 120*5113495bSYour Name * <ini> 121*5113495bSYour Name * enable_responder_11az_support - R-STA 11az ranging support 122*5113495bSYour Name * @Min: 0 123*5113495bSYour Name * @Max: 3 124*5113495bSYour Name * @Default: 0 125*5113495bSYour Name * 126*5113495bSYour Name * This ini is used to enable TB and NTB of R-STA advertising 11az ranging 127*5113495bSYour Name * capabilities. 128*5113495bSYour Name * 129*5113495bSYour Name * +-----------+----------+-------+ 130*5113495bSYour Name * | Value | TB | NTB | 131*5113495bSYour Name * +-----------+----------+-------+ 132*5113495bSYour Name * | 0x0 | 0 | 0 | 133*5113495bSYour Name * | 0x1 | 0 | 1 | 134*5113495bSYour Name * | 0x2 | 1 | 0 | 135*5113495bSYour Name * | 0x3 | 1 | 1 | 136*5113495bSYour Name * +-----------+----------+-------+ 137*5113495bSYour Name * 138*5113495bSYour Name * Related: None 139*5113495bSYour Name * 140*5113495bSYour Name * Supported Feature: WIFI POS 141*5113495bSYour Name * 142*5113495bSYour Name * Usage: Internal/External 143*5113495bSYour Name * 144*5113495bSYour Name * </ini> 145*5113495bSYour Name */ 146*5113495bSYour Name #define CFG_RESPONDER_11AZ_SUPPORT CFG_INI_UINT( \ 147*5113495bSYour Name "enable_responder_11az_support", \ 148*5113495bSYour Name 0, \ 149*5113495bSYour Name 3, \ 150*5113495bSYour Name 0, \ 151*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 152*5113495bSYour Name "enable Responder 11az support") 153*5113495bSYour Name 154*5113495bSYour Name #define CFG_WIFI_POS_ALL \ 155*5113495bSYour Name CFG(CFG_FINE_TIME_MEAS_CAPABILITY) \ 156*5113495bSYour Name CFG(CFG_OEM_SIXG_SUPPORT_DISABLE) \ 157*5113495bSYour Name CFG(CFG_RESPONDER_SECURE_LTF_SUPPORT) \ 158*5113495bSYour Name CFG(CFG_RESPONDER_11AZ_SUPPORT) 159*5113495bSYour Name 160*5113495bSYour Name #endif /* __CFG_MLME_WIFI_POS_H */ 161