1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2012-2018,2020 The Linux Foundation. All rights reserved. 3*5113495bSYour Name * 4*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for 5*5113495bSYour Name * any purpose with or without fee is hereby granted, provided that the 6*5113495bSYour Name * above copyright notice and this permission notice appear in all 7*5113495bSYour Name * copies. 8*5113495bSYour Name * 9*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10*5113495bSYour Name * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11*5113495bSYour Name * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12*5113495bSYour Name * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13*5113495bSYour Name * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14*5113495bSYour Name * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15*5113495bSYour Name * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16*5113495bSYour Name * PERFORMANCE OF THIS SOFTWARE. 17*5113495bSYour Name */ 18*5113495bSYour Name 19*5113495bSYour Name /** 20*5113495bSYour Name * DOC: This file contains configuration definitions for MLME WMC. 21*5113495bSYour Name */ 22*5113495bSYour Name #ifndef CFG_MLME_MWC_H_ 23*5113495bSYour Name #define CFG_MLME_MWC_H_ 24*5113495bSYour Name 25*5113495bSYour Name #ifdef MWS_COEX 26*5113495bSYour Name /* 27*5113495bSYour Name * <ini> 28*5113495bSYour Name * gMwsCoex4gQuickTdm - Bitmap to control MWS-COEX 4G quick FTDM policy 29*5113495bSYour Name * @Min: 0x00000000 30*5113495bSYour Name * @Max: 0xFFFFFFFF 31*5113495bSYour Name * @Default: 0x00000000 32*5113495bSYour Name * 33*5113495bSYour Name * It is a 32 bit value such that the various bits represent as below: 34*5113495bSYour Name * Bit-0 : 0 - Don't allow quick FTDM policy (Default) 35*5113495bSYour Name * 1 - Allow quick FTDM policy 36*5113495bSYour Name * Bit 1-31 : reserved for future use 37*5113495bSYour Name * 38*5113495bSYour Name * It is used to enable or disable MWS-COEX 4G (LTE) Quick FTDM 39*5113495bSYour Name * 40*5113495bSYour Name * Usage: Internal 41*5113495bSYour Name * 42*5113495bSYour Name * </ini> 43*5113495bSYour Name */ 44*5113495bSYour Name 45*5113495bSYour Name #define CFG_MWS_COEX_4G_QUICK_FTDM CFG_INI_UINT( \ 46*5113495bSYour Name "gMwsCoex4gQuickTdm", \ 47*5113495bSYour Name 0x00000000, \ 48*5113495bSYour Name 0xFFFFFFFF, \ 49*5113495bSYour Name 0x00000000, \ 50*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 51*5113495bSYour Name "set mws-coex 4g quick ftdm policy") 52*5113495bSYour Name 53*5113495bSYour Name /* 54*5113495bSYour Name * <ini> 55*5113495bSYour Name * gMwsCoex5gnrPwrLimit - Bitmap to set MWS-COEX 5G-NR power limit 56*5113495bSYour Name * @Min: 0x00000000 57*5113495bSYour Name * @Max: 0xFFFFFFFF 58*5113495bSYour Name * @Default: 0x00000000 59*5113495bSYour Name * 60*5113495bSYour Name * It is a 32 bit value such that the various bits represent as below: 61*5113495bSYour Name * Bit-0 : Don't apply user specific power limit, 62*5113495bSYour Name * use internal power limit (Default) 63*5113495bSYour Name * Bit 1-2 : Invalid value (Ignored) 64*5113495bSYour Name * Bit 3-21 : Apply the specified value as the external power limit, in dBm 65*5113495bSYour Name * Bit 22-31 : Invalid value (Ignored) 66*5113495bSYour Name * 67*5113495bSYour Name * It is used to set MWS-COEX 5G-NR power limit 68*5113495bSYour Name * 69*5113495bSYour Name * Usage: Internal 70*5113495bSYour Name * 71*5113495bSYour Name * </ini> 72*5113495bSYour Name */ 73*5113495bSYour Name 74*5113495bSYour Name #define CFG_MWS_COEX_5G_NR_PWR_LIMIT CFG_INI_UINT( \ 75*5113495bSYour Name "gMwsCoex5gnrPwrLimit", \ 76*5113495bSYour Name 0x00000000, \ 77*5113495bSYour Name 0xFFFFFFFF, \ 78*5113495bSYour Name 0x00000000, \ 79*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 80*5113495bSYour Name "set mws-coex 5g-nr power limit") 81*5113495bSYour Name 82*5113495bSYour Name /* 83*5113495bSYour Name * <ini> 84*5113495bSYour Name * mws_coex_pcc_channel_avoid_delay - configures the duration, when WWAN PCC 85*5113495bSYour Name * (Primary Component Carrier) conflicts with WLAN channel. 86*5113495bSYour Name * @Min: 0x00 87*5113495bSYour Name * @Max: 0xFF 88*5113495bSYour Name * @Default: 0x3C 89*5113495bSYour Name * 90*5113495bSYour Name * It is used to set MWS-COEX WWAN PCC channel avoidance delay 91*5113495bSYour Name * 92*5113495bSYour Name * Usage: External 93*5113495bSYour Name * 94*5113495bSYour Name * </ini> 95*5113495bSYour Name */ 96*5113495bSYour Name #define CFG_MWS_COEX_PCC_CHANNEL_AVOID_DELAY CFG_INI_UINT(\ 97*5113495bSYour Name "mws_coex_pcc_channel_avoid_delay", \ 98*5113495bSYour Name 0x00000000, \ 99*5113495bSYour Name 0xFFFFFFFF, \ 100*5113495bSYour Name 0x3C, \ 101*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 102*5113495bSYour Name "set mws-coex PCC channel avoidance delay") 103*5113495bSYour Name 104*5113495bSYour Name /* 105*5113495bSYour Name * <ini> 106*5113495bSYour Name * mws_coex_scc_channel_avoid_delay - configures the duration, when WWAN SCC 107*5113495bSYour Name * (Secondary Component Carrier) conflicts with WLAN channel. 108*5113495bSYour Name * @Min: 0x00 109*5113495bSYour Name * @Max: 0xFF 110*5113495bSYour Name * @Default: 0x78 111*5113495bSYour Name * 112*5113495bSYour Name * It is used to set MWS-COEX WWAN SCC channel avoidance delay 113*5113495bSYour Name * 114*5113495bSYour Name * Usage: External 115*5113495bSYour Name * 116*5113495bSYour Name * </ini> 117*5113495bSYour Name */ 118*5113495bSYour Name #define CFG_MWS_COEX_SCC_CHANNEL_AVOID_DELAY CFG_INI_UINT(\ 119*5113495bSYour Name "mws_coex_scc_channel_avoid_delay", \ 120*5113495bSYour Name 0x00000000, \ 121*5113495bSYour Name 0xFFFFFFFF, \ 122*5113495bSYour Name 0x78, \ 123*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 124*5113495bSYour Name "set mws-coex SCC channel avoidance delay") 125*5113495bSYour Name 126*5113495bSYour Name #define CFG_MWC_ALL \ 127*5113495bSYour Name CFG(CFG_MWS_COEX_4G_QUICK_FTDM) \ 128*5113495bSYour Name CFG(CFG_MWS_COEX_5G_NR_PWR_LIMIT) \ 129*5113495bSYour Name CFG(CFG_MWS_COEX_PCC_CHANNEL_AVOID_DELAY) \ 130*5113495bSYour Name CFG(CFG_MWS_COEX_SCC_CHANNEL_AVOID_DELAY) 131*5113495bSYour Name 132*5113495bSYour Name #else 133*5113495bSYour Name #define CFG_MWC_ALL 134*5113495bSYour Name #endif /* MWS_COEX */ 135*5113495bSYour Name 136*5113495bSYour Name #endif /* CFG_MLME_MWC_H_ */ 137