1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved. 3*5113495bSYour Name * Copyright (c) 2022 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_THRESHOLD_H 25*5113495bSYour Name #define __CFG_MLME_THRESHOLD_H 26*5113495bSYour Name 27*5113495bSYour Name #include "wni_cfg.h" 28*5113495bSYour Name 29*5113495bSYour Name /* 30*5113495bSYour Name * <ini> 31*5113495bSYour Name * RTSThreshold - Will provide RTSThreshold 32*5113495bSYour Name * @Min: 0 33*5113495bSYour Name * @Max: 1048576 34*5113495bSYour Name * @Default: 2347 35*5113495bSYour Name * 36*5113495bSYour Name * This ini is used to set default RTSThreshold 37*5113495bSYour Name * If minimum value 0 is selected then it will use always RTS 38*5113495bSYour Name * max is the max frame size 39*5113495bSYour Name * 40*5113495bSYour Name * Related: None 41*5113495bSYour Name * 42*5113495bSYour Name * Supported Feature: STA 43*5113495bSYour Name * 44*5113495bSYour Name * Usage: Internal/External 45*5113495bSYour Name * 46*5113495bSYour Name * </ini> 47*5113495bSYour Name */ 48*5113495bSYour Name 49*5113495bSYour Name #define CFG_RTS_THRESHOLD CFG_INI_UINT( \ 50*5113495bSYour Name "RTSThreshold", \ 51*5113495bSYour Name 0, \ 52*5113495bSYour Name 1048576, \ 53*5113495bSYour Name 2347, \ 54*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 55*5113495bSYour Name "Default RTS Threshold") 56*5113495bSYour Name 57*5113495bSYour Name /* 58*5113495bSYour Name * <ini> 59*5113495bSYour Name * gFragmentationThreshold - It will set fragmentation threshold 60*5113495bSYour Name * @Min: 256 61*5113495bSYour Name * @Max: 8000 62*5113495bSYour Name * @Default: 8000 63*5113495bSYour Name * 64*5113495bSYour Name * This ini is used to indicate default fragmentation threshold 65*5113495bSYour Name * 66*5113495bSYour Name * Related: None 67*5113495bSYour Name * 68*5113495bSYour Name * Supported Feature: STA 69*5113495bSYour Name * 70*5113495bSYour Name * Usage: Internal/External 71*5113495bSYour Name * 72*5113495bSYour Name * </ini> 73*5113495bSYour Name */ 74*5113495bSYour Name 75*5113495bSYour Name #define CFG_FRAG_THRESHOLD CFG_INI_UINT( \ 76*5113495bSYour Name "gFragmentationThreshold", \ 77*5113495bSYour Name 256, \ 78*5113495bSYour Name 8000, \ 79*5113495bSYour Name 8000, \ 80*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 81*5113495bSYour Name "Default Fragmentation Threshold") 82*5113495bSYour Name 83*5113495bSYour Name #define CFG_THRESHOLD_ALL \ 84*5113495bSYour Name CFG(CFG_RTS_THRESHOLD) \ 85*5113495bSYour Name CFG(CFG_FRAG_THRESHOLD) 86*5113495bSYour Name 87*5113495bSYour Name #endif /* __CFG_MLME_MAIN_H */ 88