cfg_mlme_lfr.h 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030
  1. /*
  2. * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. /**
  19. * DOC: This file contains configuration definitions for MLME LFR.
  20. */
  21. #ifndef CFG_MLME_LFR_H__
  22. #define CFG_MLME_LFR_H__
  23. /*
  24. * <ini>
  25. * mawc_roam_enabled - Enable/Disable MAWC during roaming
  26. * @Min: 0 - Disabled
  27. * @Max: 1 - Enabled
  28. * @Default: 0
  29. *
  30. * This ini is used to control MAWC during roaming.
  31. *
  32. * Related: MAWCEnabled.
  33. *
  34. * Supported Feature: MAWC Roaming
  35. *
  36. * Usage: Internal/External
  37. *
  38. * </ini>
  39. */
  40. #define CFG_LFR_MAWC_ROAM_ENABLED CFG_INI_BOOL( \
  41. "mawc_roam_enabled", \
  42. 0, \
  43. "Enable/Disable MAWC during roaming")
  44. /*
  45. * <ini>
  46. * mawc_roam_traffic_threshold - Configure traffic threshold
  47. * @Min: 0
  48. * @Max: 0xFFFFFFFF
  49. * @Default: 300
  50. *
  51. * This ini is used to configure the data traffic load in kbps to
  52. * register CMC.
  53. *
  54. * Related: mawc_roam_enabled.
  55. *
  56. * Supported Feature: MAWC Roaming
  57. *
  58. * Usage: Internal/External
  59. *
  60. * </ini>
  61. */
  62. #define CFG_LFR_MAWC_ROAM_TRAFFIC_THRESHOLD CFG_INI_UINT( \
  63. "mawc_roam_traffic_threshold", \
  64. 0, \
  65. 0xFFFFFFFF, \
  66. 300, \
  67. CFG_VALUE_OR_DEFAULT, \
  68. "Configure traffic threshold")
  69. /*
  70. * <ini>
  71. * mawc_roam_ap_rssi_threshold - Best AP RSSI threshold
  72. * @Min: -120
  73. * @Max: 0
  74. * @Default: -66
  75. *
  76. * This ini is used to specify the RSSI threshold to scan for the AP.
  77. *
  78. * Related: mawc_roam_enabled.
  79. *
  80. * Supported Feature: MAWC Roaming
  81. *
  82. * Usage: Internal/External
  83. *
  84. * </ini>
  85. */
  86. #define CFG_LFR_MAWC_ROAM_AP_RSSI_THRESHOLD CFG_INI_INT( \
  87. "mawc_roam_ap_rssi_threshold", \
  88. -120, \
  89. 0, \
  90. -66, \
  91. CFG_VALUE_OR_DEFAULT, \
  92. "Best AP RSSI threshold")
  93. /*
  94. * <ini>
  95. * mawc_roam_rssi_high_adjust - Adjust MAWC roam high RSSI
  96. * @Min: 3
  97. * @Max: 5
  98. * @Default: 5
  99. *
  100. * This ini is used for high RSSI threshold adjustment in stationary state
  101. * to suppress the scan.
  102. *
  103. * Related: mawc_roam_enabled.
  104. *
  105. * Supported Feature: MAWC Roaming
  106. *
  107. * Usage: Internal/External
  108. *
  109. * </ini>
  110. */
  111. #define CFG_LFR_MAWC_ROAM_RSSI_HIGH_ADJUST CFG_INI_UINT( \
  112. "mawc_roam_ap_rssi_threshold", \
  113. 3, \
  114. 5, \
  115. 5, \
  116. CFG_VALUE_OR_DEFAULT, \
  117. "Adjust MAWC roam high RSSI")
  118. /*
  119. * <ini>
  120. * mawc_roam_rssi_low_adjust - Adjust MAWC roam low RSSI
  121. * @Min: 3
  122. * @Max: 5
  123. * @Default: 5
  124. *
  125. * This ini is used for low RSSI threshold adjustment in stationary state
  126. * to suppress the scan.
  127. *
  128. * Related: mawc_roam_enabled.
  129. *
  130. * Supported Feature: MAWC Roaming
  131. *
  132. * Usage: Internal/External
  133. *
  134. * </ini>
  135. */
  136. #define CFG_LFR_MAWC_ROAM_RSSI_LOW_ADJUST CFG_INI_UINT( \
  137. "mawc_roam_rssi_low_adjust", \
  138. 3, \
  139. 5, \
  140. 5, \
  141. CFG_VALUE_OR_DEFAULT, \
  142. "Adjust MAWC roam low RSSI")
  143. /*
  144. * <ini>
  145. * rssi_abs_thresh - The min RSSI of the candidate AP to consider roam
  146. * @Min: -96
  147. * @Max: 0
  148. * @Default: 0
  149. *
  150. * The RSSI value of the candidate AP should be higher than rssi_abs_thresh
  151. * to roam to the AP. 0 means no absolute minimum RSSI is required.
  152. *
  153. * Related: None
  154. *
  155. * Supported Feature: Roaming
  156. *
  157. * Usage: External
  158. *
  159. * </ini>
  160. */
  161. #define CFG_LFR_ROAM_RSSI_ABS_THRESHOLD CFG_INI_INT( \
  162. "rssi_abs_thresh", \
  163. -96, \
  164. 0, \
  165. 0, \
  166. CFG_VALUE_OR_DEFAULT, \
  167. "The min RSSI of the candidate AP to consider roam")
  168. /*
  169. * <ini>
  170. * lookup_threshold_5g_offset - Lookup threshold offset for 5G band
  171. * @Min: -120
  172. * @Max: 120
  173. * @Default: 0
  174. *
  175. * This ini is used to set the 5G band lookup threshold for roaming.
  176. * It depends on another INI which is gNeighborLookupThreshold.
  177. * gNeighborLookupThreshold is a legacy INI item which will be used to
  178. * set the RSSI lookup threshold for both 2G and 5G bands. If the
  179. * user wants to setup a different threshold for a 5G band, then user
  180. * can use this offset value which will be summed up to the value of
  181. * gNeighborLookupThreshold and used for 5G
  182. * e.g: gNeighborLookupThreshold = -76dBm
  183. * lookup_threshold_5g_offset = 6dBm
  184. * Then the 5G band will be configured to -76+6 = -70dBm
  185. * A default value of Zero to lookup_threshold_5g_offset will keep the
  186. * thresholds same for both 2G and 5G bands
  187. *
  188. * Related: gNeighborLookupThreshold
  189. *
  190. * Supported Feature: Roaming
  191. *
  192. * Usage: Internal/External
  193. *
  194. * </ini>
  195. */
  196. #define CFG_LFR_5G_RSSI_THRESHOLD_OFFSET CFG_INI_INT( \
  197. "lookup_threshold_5g_offset", \
  198. -120, \
  199. 120, \
  200. 0, \
  201. CFG_VALUE_OR_DEFAULT, \
  202. "Lookup threshold offset for 5G band")
  203. /*
  204. * <ini>
  205. * gEnableFastRoamInConcurrency - Enable LFR roaming on STA during concurrency
  206. * @Min: 0
  207. * @Max: 1
  208. * @Default: 1
  209. *
  210. * This INI is used to enable Legacy fast roaming(LFR) on STA link during
  211. * concurrent sessions.
  212. *
  213. * Related: None
  214. *
  215. * Supported Feature: Roaming
  216. *
  217. * Usage: External
  218. *
  219. * </ini>
  220. */
  221. #define CFG_LFR_ENABLE_FAST_ROAM_IN_CONCURRENCY CFG_INI_BOOL( \
  222. "gEnableFastRoamInConcurrency", \
  223. 1, \
  224. "Enable LFR roaming on STA during concurrency")
  225. /*
  226. * <ini>
  227. * gEnableEarlyStopScan - Set early stop scan
  228. * @Min: 0
  229. * @Max: 1
  230. * @Default: 0
  231. *
  232. * This ini is used to set early stop scan. Early stop
  233. * scan is a feature for roaming to stop the scans at
  234. * an early stage as soon as we find a better AP to roam.
  235. * This would make the roaming happen quickly.
  236. *
  237. * Related: None
  238. *
  239. * Supported Feature: LFR Scan
  240. *
  241. * Usage: External
  242. *
  243. * </ini>
  244. */
  245. #define CFG_LFR_EARLY_STOP_SCAN_ENABLE CFG_INI_BOOL( \
  246. "gEnableEarlyStopScan", \
  247. 0, \
  248. "Set early stop scan")
  249. /*
  250. * <ini>
  251. * gEarlyStopScanMinThreshold - Set early stop scan min
  252. * threshold
  253. * @Min: -80
  254. * @Max: -70
  255. * @Default: -73
  256. *
  257. * This ini is used to set the early stop scan minimum
  258. * threshold. Early stop scan minimum threshold is the
  259. * minimum threshold to be considered for stopping the
  260. * scan. The algorithm starts with a scan on the greedy
  261. * channel list with the maximum threshold and steps down
  262. * the threshold by 20% for each further channel. It can
  263. * step down on each channel but cannot go lower than the
  264. * minimum threshold.
  265. *
  266. * Related: None
  267. *
  268. * Supported Feature: Scan
  269. *
  270. * Usage: External
  271. *
  272. * </ini>
  273. */
  274. #define CFG_LFR_EARLY_STOP_SCAN_MIN_THRESHOLD CFG_INI_INT( \
  275. "gEarlyStopScanMinThreshold", \
  276. -80, \
  277. -70, \
  278. -73, \
  279. CFG_VALUE_OR_DEFAULT, \
  280. "Set early stop scan min")
  281. /*
  282. * <ini>
  283. * gEarlyStopScanMaxThreshold - Set early stop scan max
  284. * threshold
  285. * @Min: -60
  286. * @Max: -40
  287. * @Default: -43
  288. *
  289. * This ini is used to set the the early stop scan maximum
  290. * threshold at which the candidate AP should be to be
  291. * qualified as a potential roam candidate and good enough
  292. * to stop the roaming scan.
  293. *
  294. * Related: None
  295. *
  296. * Supported Feature: Scan
  297. *
  298. * Usage: External
  299. *
  300. * </ini>
  301. */
  302. #define CFG_LFR_EARLY_STOP_SCAN_MAX_THRESHOLD CFG_INI_INT( \
  303. "gEarlyStopScanMaxThreshold", \
  304. -60, \
  305. -40, \
  306. -43, \
  307. CFG_VALUE_OR_DEFAULT, \
  308. "Set early stop scan max")
  309. /*
  310. * <ini>
  311. * gFirstScanBucketThreshold - Set first scan bucket
  312. * threshold
  313. * @Min: -50
  314. * @Max: -30
  315. * @Default: -30
  316. *
  317. * This ini will configure the first scan bucket
  318. * threshold to the mentioned value and all the AP's which
  319. * have RSSI under this threshold will fall under this
  320. * bucket. This configuration item used to tweak and
  321. * test the input for internal algorithm.
  322. *
  323. * Related: None
  324. *
  325. * Supported Feature: Scan
  326. *
  327. * Usage: Internal
  328. *
  329. * </ini>
  330. */
  331. #define CFG_LFR_FIRST_SCAN_BUCKET_THRESHOLD CFG_INI_INT( \
  332. "gFirstScanBucketThreshold", \
  333. -50, \
  334. -30, \
  335. -30, \
  336. CFG_VALUE_OR_DEFAULT, \
  337. "Set first scan bucket")
  338. /*
  339. * <ini>
  340. * gLFRSubnetDetectionEnable - Enable LFR3 subnet detection
  341. * @Min: 0
  342. * @Max: 1
  343. * @Default: 1
  344. *
  345. * Enable IP subnet detection during legacy fast roming version 3. Legacy fast
  346. * roaming could roam across IP subnets without host processors' knowledge.
  347. * This feature enables firmware to wake up the host processor if it
  348. * successfully determines change in the IP subnet. Change in IP subnet could
  349. * potentially cause disruption in IP connnectivity if IP address is not
  350. * refreshed.
  351. *
  352. * Related: None
  353. *
  354. * Supported Feature: Roaming
  355. *
  356. * Usage: External
  357. *
  358. * </ini>
  359. */
  360. #define CFG_LFR3_ENABLE_SUBNET_DETECTION CFG_INI_BOOL( \
  361. "gLFRSubnetDetectionEnable", \
  362. 1, \
  363. "Set early stop scan")
  364. /*
  365. * <ini>
  366. * gtraffic_threshold - Dense traffic threshold
  367. * @Min: 0
  368. * @Max: 0xffffffff
  369. * @Default: 400
  370. *
  371. * Dense traffic threshold
  372. * traffic threshold required for dense roam scan
  373. * Measured in kbps
  374. *
  375. * Related: None
  376. *
  377. * Supported Feature: Roaming
  378. *
  379. * Usage: External
  380. *
  381. * </ini>
  382. */
  383. #define CFG_LFR_ROAM_DENSE_TRAFFIC_THRESHOLD CFG_INI_UINT( \
  384. "gtraffic_threshold", \
  385. 0, \
  386. 0xffffffff, \
  387. 400, \
  388. CFG_VALUE_OR_DEFAULT, \
  389. "Dense traffic threshold")
  390. /*
  391. * <ini>
  392. * groam_dense_rssi_thresh_offset - Sets dense roam RSSI threshold diff
  393. * @Min: 0
  394. * @Max: 20
  395. * @Default: 10
  396. *
  397. * This INI is used to set offset value from normal RSSI threshold to dense
  398. * RSSI threshold FW will optimize roaming based on new RSSI threshold once
  399. * it detects dense environment.
  400. *
  401. * Related: None
  402. *
  403. * Supported Feature: Roaming
  404. *
  405. * Usage: External
  406. *
  407. * </ini>
  408. */
  409. #define CFG_LFR_ROAM_DENSE_RSSI_THRE_OFFSET CFG_INI_UINT( \
  410. "groam_dense_rssi_thresh_offset", \
  411. 0, \
  412. 20, \
  413. 10, \
  414. CFG_VALUE_OR_DEFAULT, \
  415. "Dense traffic threshold")
  416. /*
  417. * <ini>
  418. * groam_dense_min_aps - Sets minimum number of AP for dense roam
  419. * @Min: 1
  420. * @Max: 5
  421. * @Default: 3
  422. *
  423. * Minimum number of APs required for dense roam. FW will consider
  424. * environment as dense once it detects #APs operating is more than
  425. * groam_dense_min_aps.
  426. *
  427. * Related: None
  428. *
  429. * Supported Feature: Roaming
  430. *
  431. * Usage: External
  432. *
  433. * </ini>
  434. */
  435. #define CFG_LFR_ROAM_DENSE_MIN_APS CFG_INI_UINT( \
  436. "groam_dense_min_aps", \
  437. 1, \
  438. 5, \
  439. 3, \
  440. CFG_VALUE_OR_DEFAULT, \
  441. "Sets minimum number of AP for dense roam")
  442. /*
  443. * <ini>
  444. * roam_bg_scan_bad_rssi_thresh - RSSI threshold for background roam
  445. * @Min: -96
  446. * @Max: 0
  447. * @Default: -76
  448. *
  449. * If the DUT is connected to an AP with weak signal, then the bad RSSI
  450. * threshold will be used as an opportunity to use the scan results
  451. * from other scan clients and try to roam if there is a better AP
  452. * available in the environment.
  453. *
  454. * Related: None
  455. *
  456. * Supported Feature: Roaming
  457. *
  458. * Usage: External
  459. *
  460. * </ini>
  461. */
  462. #define CFG_LFR_ROAM_BG_SCAN_BAD_RSSI_THRESHOLD CFG_INI_INT( \
  463. "roam_bg_scan_bad_rssi_thresh", \
  464. -96, \
  465. 0, \
  466. -76, \
  467. CFG_VALUE_OR_DEFAULT, \
  468. "RSSI threshold for background roam")
  469. /*
  470. * <ini>
  471. * roam_bg_scan_client_bitmap - Bitmap used to identify the scan clients
  472. * @Min: 0
  473. * @Max: 0x7FF
  474. * @Default: 0x424
  475. *
  476. * This bitmap is used to define the client scans that need to be used
  477. * by the roaming module to perform a background roaming.
  478. * Currently supported bit positions are as follows:
  479. * Bit 0 is reserved in the firmware.
  480. * WMI_SCAN_CLIENT_NLO - 1
  481. * WMI_SCAN_CLIENT_EXTSCAN - 2
  482. * WMI_SCAN_CLIENT_ROAM - 3
  483. * WMI_SCAN_CLIENT_P2P - 4
  484. * WMI_SCAN_CLIENT_LPI - 5
  485. * WMI_SCAN_CLIENT_NAN - 6
  486. * WMI_SCAN_CLIENT_ANQP - 7
  487. * WMI_SCAN_CLIENT_OBSS - 8
  488. * WMI_SCAN_CLIENT_PLM - 9
  489. * WMI_SCAN_CLIENT_HOST - 10
  490. *
  491. * Related: None
  492. *
  493. * Supported Feature: Roaming
  494. *
  495. * Usage: External
  496. *
  497. * </ini>
  498. */
  499. #define CFG_LFR_ROAM_BG_SCAN_CLIENT_BITMAP CFG_INI_UINT( \
  500. "roam_bg_scan_client_bitmap", \
  501. 0, \
  502. 0x7FF, \
  503. 0x424, \
  504. CFG_VALUE_OR_DEFAULT, \
  505. "Bitmap used to identify the scan clients")
  506. /*
  507. * <ini>
  508. * roam_bad_rssi_thresh_offset_2g - RSSI threshold offset for 2G to 5G roam
  509. * @Min: 0
  510. * @Max: 86
  511. * @Default: 40
  512. *
  513. * If the DUT is connected to an AP with weak signal in 2G band, then the
  514. * bad RSSI offset for 2g would be used as offset from the bad RSSI
  515. * threshold configured and then use the resulting rssi for an opportunity
  516. * to use the scan results from other scan clients and try to roam to
  517. * 5G Band ONLY if there is a better AP available in the environment.
  518. *
  519. * For example if the roam_bg_scan_bad_rssi_thresh is -76 and
  520. * roam_bad_rssi_thresh_offset_2g is 40 then the difference of -36 would be
  521. * used as a trigger to roam to a 5G AP if DUT initially connected to a 2G AP
  522. *
  523. * Related: roam_bg_scan_bad_rssi_thresh
  524. *
  525. * Supported Feature: Roaming
  526. *
  527. * Usage: External
  528. *
  529. * </ini>
  530. */
  531. #define CFG_LFR_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G CFG_INI_UINT( \
  532. "roam_bad_rssi_thresh_offset_2g", \
  533. 0, \
  534. 86, \
  535. 40, \
  536. CFG_VALUE_OR_DEFAULT, \
  537. "RSSI threshold offset for 2G to 5G roam")
  538. /*
  539. * <ini>
  540. * roamscan_adaptive_dwell_mode - Sets dwell time adaptive mode
  541. * @Min: 0
  542. * @Max: 4
  543. * @Default: 1
  544. *
  545. * This parameter will set the algo used in dwell time optimization during
  546. * roam scan. see enum scan_dwelltime_adaptive_mode.
  547. * Acceptable values for this:
  548. * 0: Default (Use firmware default mode)
  549. * 1: Conservative optimization
  550. * 2: Moderate optimization
  551. * 3: Aggressive optimization
  552. * 4: Static
  553. *
  554. * Related: None
  555. *
  556. * Supported Feature: Roaming
  557. *
  558. * Usage: External
  559. *
  560. * </ini>
  561. */
  562. #define CFG_LFR_ADAPTIVE_ROAMSCAN_DWELL_MODE CFG_INI_UINT( \
  563. "roamscan_adaptive_dwell_mode", \
  564. 0, \
  565. 4, \
  566. 1, \
  567. CFG_VALUE_OR_DEFAULT, \
  568. "Sets dwell time adaptive mode")
  569. /*
  570. * <ini>
  571. * gper_roam_enabled - To enabled/disable PER based roaming in FW
  572. * @Min: 0
  573. * @Max: 3
  574. * @Default: 3
  575. *
  576. * This ini is used to enable/disable Packet error based roaming, enabling this
  577. * will cause DUT to monitor Tx and Rx traffic and roam to a better candidate
  578. * if current is not good enough.
  579. *
  580. * Values supported:
  581. * 0: disabled
  582. * 1: enabled for Rx traffic
  583. * 2: enabled for Tx traffic
  584. * 3: enabled for Tx and Rx traffic
  585. *
  586. * Related: gper_roam_high_rate_th, gper_roam_low_rate_th,
  587. * gper_roam_th_percent, gper_roam_rest_time
  588. *
  589. * Supported Feature: LFR-3.0
  590. *
  591. * Usage: Internal
  592. *
  593. * </ini>
  594. */
  595. #define CFG_LFR_PER_ROAM_ENABLE CFG_INI_UINT( \
  596. "gper_roam_enabled", \
  597. 0, \
  598. 3, \
  599. 3, \
  600. CFG_VALUE_OR_DEFAULT, \
  601. "To enabled/disable PER based roaming in FW")
  602. /*
  603. * <ini>
  604. * gper_roam_high_rate_th - Rate at which PER based roam will stop
  605. * @Min: 1 Mbps
  606. * @Max: 0xffffffff
  607. * @Default: 40 Mbps
  608. *
  609. * This ini is used to define the data rate in mbps*10 at which FW will stop
  610. * monitoring the traffic for PER based roam.
  611. *
  612. * Related: gper_roam_enabled, gper_roam_low_rate_th,
  613. * gper_roam_th_percent, gper_roam_rest_time
  614. *
  615. * Supported Feature: LFR-3.0
  616. *
  617. * Usage: Internal
  618. *
  619. * </ini>
  620. */
  621. #define CFG_LFR_PER_ROAM_CONFIG_HIGH_RATE_TH CFG_INI_UINT( \
  622. "gper_roam_high_rate_th", \
  623. 10, \
  624. 0xffffffff, \
  625. 400, \
  626. CFG_VALUE_OR_DEFAULT, \
  627. "Rate at which PER based roam will stop")
  628. /*
  629. * <ini>
  630. * gper_roam_low_rate_th - Rate at which FW starts considering traffic for PER
  631. * based roam.
  632. *
  633. * @Min: 1 Mbps
  634. * @Max: 0xffffffff
  635. * @Default: 20 Mbps
  636. *
  637. * This ini is used to define the rate in mbps*10 at which FW starts considering
  638. * traffic for PER based roam, if gper_roam_th_percent of data is below this
  639. * rate, FW will issue a roam scan.
  640. *
  641. * Related: gper_roam_enabled, gper_roam_high_rate_th,
  642. * gper_roam_th_percent, gper_roam_rest_time
  643. *
  644. * Supported Feature: LFR-3.0
  645. *
  646. * Usage: Internal
  647. *
  648. * </ini>
  649. */
  650. #define CFG_LFR_PER_ROAM_CONFIG_LOW_RATE_TH CFG_INI_UINT( \
  651. "gper_roam_low_rate_th", \
  652. 10, \
  653. 0xffffffff, \
  654. 200, \
  655. CFG_VALUE_OR_DEFAULT, \
  656. "Rate at which FW starts considering traffic for PER")
  657. /*
  658. * <ini>
  659. * gper_roam_th_percent - Percentage at which FW will issue a roam scan if
  660. * traffic is below gper_roam_low_rate_th rate.
  661. *
  662. * @Min: 10%
  663. * @Max: 100%
  664. * @Default: 60%
  665. *
  666. * This ini is used to define the percentage at which FW will issue a roam scan
  667. * if traffic is below gper_roam_low_rate_th rate.
  668. *
  669. * Related: gper_roam_enabled, gper_roam_high_rate_th,
  670. * gper_roam_high_rate_th, gper_roam_rest_time
  671. *
  672. * Supported Feature: LFR-3.0
  673. *
  674. * Usage: Internal
  675. *
  676. * </ini>
  677. */
  678. #define CFG_LFR_PER_ROAM_CONFIG_RATE_TH_PERCENT CFG_INI_UINT( \
  679. "gper_roam_th_percent", \
  680. 10, \
  681. 100, \
  682. 60, \
  683. CFG_VALUE_OR_DEFAULT, \
  684. "Percentage at which FW will issue a roam scan")
  685. /*
  686. * <ini>
  687. * gper_roam_rest_time - Time for which FW will wait once it issues a
  688. * roam scan.
  689. *
  690. * @Min: 10 seconds
  691. * @Max: 3600 seconds
  692. * @Default: 300 seconds
  693. *
  694. * This ini is used to define the time for which FW will wait once it issues a
  695. * PER based roam scan.
  696. *
  697. * Related: gper_roam_enabled, gper_roam_high_rate_th,
  698. * gper_roam_high_rate_th, gper_roam_th_percent
  699. *
  700. * Supported Feature: LFR-3.0
  701. *
  702. * Usage: Internal
  703. *
  704. * </ini>
  705. */
  706. #define CFG_LFR_PER_ROAM_REST_TIME CFG_INI_UINT( \
  707. "gper_roam_rest_time", \
  708. 10, \
  709. 3600, \
  710. 300, \
  711. CFG_VALUE_OR_DEFAULT, \
  712. "Time for which FW will wait once it issues a roam scan")
  713. /*
  714. * <ini>
  715. * gper_roam_mon_time - Minimum time required in seconds to
  716. * be considered as valid scenario for PER based roam
  717. * @Min: 5
  718. * @Max: 25
  719. * @Default: 25
  720. *
  721. * This ini is used to define minimum time in seconds for which DUT has
  722. * collected the PER stats before it can consider the stats hysteresis to be
  723. * valid for PER based scan.
  724. * DUT collects following information during this period:
  725. * 1. % of packets below gper_roam_low_rate_th
  726. * 2. # packets above gper_roam_high_rate_th
  727. * if DUT gets (1) greater than gper_roam_th_percent and (2) is zero during
  728. * this period, it triggers PER based roam scan.
  729. *
  730. * Related: gper_roam_enabled, gper_roam_high_rate_th, gper_roam_low_rate_th,
  731. * gper_roam_th_percent, gper_roam_rest_time
  732. *
  733. * Supported Feature: LFR-3.0
  734. *
  735. * Usage: Internal
  736. *
  737. * </ini>
  738. */
  739. #define CFG_LFR_PER_ROAM_MONITOR_TIME CFG_INI_UINT( \
  740. "gper_roam_mon_time", \
  741. 5, \
  742. 25, \
  743. 25, \
  744. CFG_VALUE_OR_DEFAULT, \
  745. "Minimum time to be considered as valid scenario for PER based roam")
  746. /*
  747. * <ini>
  748. * gper_min_rssi_threshold_for_roam - Minimum roamable AP RSSI for
  749. * candidate selection for PER based roam
  750. * @Min: 0
  751. * @Max: 96
  752. * @Default: 83
  753. *
  754. * Minimum roamable AP RSSI for candidate selection for PER based roam
  755. *
  756. * Related: gper_roam_enabled, gper_roam_high_rate_th, gper_roam_low_rate_th,
  757. * gper_roam_th_percent, gper_roam_rest_time
  758. *
  759. * Supported Feature: LFR-3.0
  760. *
  761. * Usage: Internal
  762. *
  763. * </ini>
  764. */
  765. #define CFG_LFR_PER_ROAM_MIN_CANDIDATE_RSSI CFG_INI_UINT( \
  766. "gper_min_rssi_threshold_for_roam", \
  767. 10, \
  768. 96, \
  769. 83, \
  770. CFG_VALUE_OR_DEFAULT, \
  771. "Minimum roamable AP RSSI for candidate selection for PER based roam")
  772. /*
  773. * <ini>
  774. * groam_disallow_duration - disallow duration before roaming
  775. * @Min: 0
  776. * @Max: 3600
  777. * @Default: 30
  778. *
  779. * This ini is used to configure how long LCA[Last Connected AP] AP will
  780. * be disallowed before it can be a roaming candidate again, in units of
  781. * seconds.
  782. *
  783. * Related: LFR
  784. *
  785. * Usage: Internal
  786. *
  787. * </ini>
  788. */
  789. #define CFG_LFR3_ROAM_DISALLOW_DURATION CFG_INI_UINT( \
  790. "groam_disallow_duration", \
  791. 0, \
  792. 3600, \
  793. 30, \
  794. CFG_VALUE_OR_DEFAULT, \
  795. "disallow duration before roaming")
  796. /*
  797. * <ini>
  798. * grssi_channel_penalization - RSSI penalization
  799. * @Min: 0
  800. * @Max: 15
  801. * @Default: 5
  802. *
  803. * This ini is used to configure RSSI that will be penalized if candidate(s)
  804. * are found to be in the same channel as disallowed AP's, in units of db.
  805. *
  806. * Related: LFR
  807. *
  808. * Usage: Internal
  809. *
  810. * </ini>
  811. */
  812. #define CFG_LFR3_ROAM_RSSI_CHANNEL_PENALIZATION CFG_INI_UINT( \
  813. "grssi_channel_penalization", \
  814. 0, \
  815. 15, \
  816. 5, \
  817. CFG_VALUE_OR_DEFAULT, \
  818. "RSSI penalization")
  819. /*
  820. * <ini>
  821. * groam_num_disallowed_aps - Max number of AP's to maintain in LCA list
  822. * @Min: 0
  823. * @Max: 8
  824. * @Default: 3
  825. *
  826. * This ini is used to set the maximum number of AP's to be maintained
  827. * in LCA [Last Connected AP] list.
  828. *
  829. * Related: LFR
  830. *
  831. * Usage: Internal
  832. *
  833. * </ini>
  834. */
  835. #define CFG_LFR3_ROAM_NUM_DISALLOWED_APS CFG_INI_UINT( \
  836. "groam_num_disallowed_aps", \
  837. 0, \
  838. 8, \
  839. 3, \
  840. CFG_VALUE_OR_DEFAULT, \
  841. "Max number of AP's to maintain in LCA list")
  842. /*
  843. * <ini>
  844. * enable_5g_band_pref - Enable preference for 5G from INI.
  845. * @Min: 0
  846. * @Max: 1
  847. * @Default: 0
  848. * This ini is used to enable 5G preference parameters.
  849. *
  850. * Related: 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost
  851. * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize
  852. *
  853. * Supported Feature: 5G band preference
  854. *
  855. * Usage: External
  856. *
  857. * </ini>
  858. */
  859. #define CFG_LFR_ENABLE_5G_BAND_PREF CFG_INI_BOOL( \
  860. "enable_5g_band_pref", \
  861. 0, \
  862. "Enable preference for 5G from INI")
  863. /*
  864. * <ini>
  865. * 5g_rssi_boost_threshold - A_band_boost_threshold above which 5G is favored.
  866. * @Min: -55
  867. * @Max: -70
  868. * @Default: -60
  869. * This ini is used to set threshold for 5GHz band preference.
  870. *
  871. * Related: 5g_rssi_boost_factor, 5g_max_rssi_boost
  872. * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize
  873. *
  874. * Supported Feature: 5G band preference
  875. *
  876. * Usage: External
  877. *
  878. * </ini>
  879. */
  880. #define CFG_LFR_5G_RSSI_BOOST_THRESHOLD CFG_INI_INT( \
  881. "5g_rssi_boost_threshold", \
  882. -55, \
  883. -70, \
  884. -60, \
  885. CFG_VALUE_OR_DEFAULT, \
  886. "A_band_boost_threshold above which 5 GHz is favored")
  887. /*
  888. * <ini>
  889. * 5g_rssi_boost_factor - Factor by which 5GHz RSSI is boosted.
  890. * @Min: 0
  891. * @Max: 2
  892. * @Default: 1
  893. * This ini is used to set the 5Ghz boost factor.
  894. *
  895. * Related: 5g_rssi_boost_threshold, 5g_max_rssi_boost
  896. * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize
  897. *
  898. * Supported Feature: 5G band preference
  899. *
  900. * Usage: External
  901. *
  902. * </ini>
  903. */
  904. #define CFG_LFR_5G_RSSI_BOOST_FACTOR CFG_INI_UINT( \
  905. "5g_rssi_boost_factor", \
  906. 0, \
  907. 2, \
  908. 1, \
  909. CFG_VALUE_OR_DEFAULT, \
  910. "Factor by which 5GHz RSSI is boosted")
  911. /*
  912. * <ini>
  913. * 5g_max_rssi_boost - Maximum boost that can be applied to 5GHz RSSI.
  914. * @Min: 0
  915. * @Max: 20
  916. * @Default: 10
  917. * This ini is used to set maximum boost which can be given to a 5Ghz network.
  918. *
  919. * Related: 5g_rssi_boost_threshold, 5g_rssi_boost_factor
  920. * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize
  921. *
  922. * Supported Feature: 5G band preference
  923. *
  924. * Usage: External
  925. *
  926. * </ini>
  927. */
  928. #define CFG_LFR_5G_MAX_RSSI_BOOST CFG_INI_UINT( \
  929. "5g_max_rssi_boost", \
  930. 0, \
  931. 20, \
  932. 10, \
  933. CFG_VALUE_OR_DEFAULT, \
  934. "Maximum boost that can be applied to 5GHz RSSI")
  935. /*
  936. * <ini>
  937. * 5g_rssi_penalize_threshold - A_band_penalize_threshold above which
  938. * 5 GHz is not favored.
  939. * @Min: -65
  940. * @Max: -80
  941. * @Default: -70
  942. * This ini is used to set threshold for 5GHz band preference.
  943. *
  944. * Related: 5g_rssi_penalize_factor, 5g_max_rssi_penalize
  945. * 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost
  946. *
  947. * Supported Feature: 5G band preference
  948. *
  949. * Usage: External
  950. *
  951. * </ini>
  952. */
  953. #define CFG_LFR_5G_RSSI_PENALIZE_THRESHOLD CFG_INI_INT( \
  954. "5g_rssi_penalize_threshold", \
  955. -65, \
  956. -80, \
  957. -70, \
  958. CFG_VALUE_OR_DEFAULT, \
  959. "A_band_penalize_threshold above which 5 GHz is not favored")
  960. /*
  961. * <ini>
  962. * 5g_rssi_penalize_factor - Factor by which 5GHz RSSI is penalizeed.
  963. * @Min: 0
  964. * @Max: 2
  965. * @Default: 1
  966. * This ini is used to set the 5Ghz penalize factor.
  967. *
  968. * Related: 5g_rssi_penalize_threshold, 5g_max_rssi_penalize
  969. * 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost
  970. *
  971. * Supported Feature: 5G band preference
  972. *
  973. * Usage: External
  974. *
  975. * </ini>
  976. */
  977. #define CFG_LFR_5G_RSSI_PENALIZE_FACTOR CFG_INI_UINT( \
  978. "5g_rssi_penalize_factor", \
  979. 0, \
  980. 2, \
  981. 1, \
  982. CFG_VALUE_OR_DEFAULT, \
  983. "Factor by which 5GHz RSSI is penalizeed")
  984. /*
  985. * <ini>
  986. * 5g_max_rssi_penalize - Maximum penalty that can be applied to 5GHz RSSI.
  987. * @Min: 0
  988. * @Max: 20
  989. * @Default: 10
  990. * This ini is used to set maximum penalty which can be given to a 5Ghz network.
  991. *
  992. * Related: 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor
  993. * 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost
  994. *
  995. * Supported Feature: 5G band preference
  996. *
  997. * Usage: External
  998. *
  999. * </ini>
  1000. */
  1001. #define CFG_LFR_5G_MAX_RSSI_PENALIZE CFG_INI_UINT( \
  1002. "5g_max_rssi_penalize", \
  1003. 0, \
  1004. 20, \
  1005. 10, \
  1006. CFG_VALUE_OR_DEFAULT, \
  1007. "Maximum penalty that can be applied to 5GHz RSSI")
  1008. /*
  1009. * max_num_pre_auth - Configure max number of pre-auth
  1010. * @Min: 0
  1011. * @Max: 256
  1012. * @Default: 64
  1013. *
  1014. * This ini is used to configure the data max number of pre-auth
  1015. *
  1016. * Usage: Internal
  1017. *
  1018. */
  1019. #define CFG_LFR_MAX_NUM_PRE_AUTH CFG_UINT( \
  1020. "max_num_pre_auth", \
  1021. 0, \
  1022. 256, \
  1023. 64, \
  1024. CFG_VALUE_OR_DEFAULT, \
  1025. "")
  1026. /*
  1027. * roam_preauth_retry_count
  1028. *
  1029. * @Min: 1
  1030. * @Max: 10
  1031. * @Default: 5
  1032. *
  1033. * The maximum number of software retries for preauth or
  1034. * reassoc made before picking up the next candidate for
  1035. * connection during roaming.
  1036. *
  1037. * Related: N/A
  1038. *
  1039. * Supported Features: Roaming
  1040. *
  1041. * Usage: Internal/External
  1042. *
  1043. * </ini>
  1044. */
  1045. #define CFG_LFR3_ROAM_PREAUTH_RETRY_COUNT CFG_INI_INT( \
  1046. "roam_preauth_retry_count", \
  1047. 1, \
  1048. 10, \
  1049. 5, \
  1050. CFG_VALUE_OR_DEFAULT, \
  1051. "The maximum number of software retries for preauth")
  1052. /*
  1053. * <ini>
  1054. * roam_preauth_no_ack_timeout
  1055. *
  1056. * @Min: 5
  1057. * @Max: 50
  1058. * @Default: 5
  1059. *
  1060. * Time to wait (in ms) after sending an preauth or reassoc
  1061. * request which didn’t have an ack, before considering
  1062. * it as a failure and making another software retry.
  1063. *
  1064. * Related: N/A
  1065. *
  1066. * Supported Features: Roaming
  1067. *
  1068. * Usage: Internal/External
  1069. *
  1070. * </ini>
  1071. */
  1072. #define CFG_LFR3_ROAM_PREAUTH_NO_ACK_TIMEOUT CFG_INI_INT( \
  1073. "roam_preauth_no_ack_timeout", \
  1074. 5, \
  1075. 50, \
  1076. 5, \
  1077. CFG_VALUE_OR_DEFAULT, \
  1078. "Time to wait after sending an preauth or reassoc")
  1079. /*
  1080. * <ini>
  1081. * FastRoamEnabled - Enable fast roaming
  1082. * @Min: 0
  1083. * @Max: 1
  1084. * @Default: 0
  1085. *
  1086. * This ini is used to inform FW to enable fast roaming
  1087. *
  1088. * Related: None
  1089. *
  1090. * Supported Feature: Roaming
  1091. *
  1092. * Usage: External
  1093. *
  1094. * </ini>
  1095. */
  1096. #define CFG_LFR_FEATURE_ENABLED CFG_INI_BOOL( \
  1097. "FastRoamEnabled", \
  1098. 0, \
  1099. "Enable fast roaming")
  1100. /*
  1101. * <ini>
  1102. * MAWCEnabled - Enable/Disable Motion Aided Wireless Connectivity Global
  1103. * @Min: 0 - Disabled
  1104. * @Max: 1 - Enabled
  1105. * @Default: 0
  1106. *
  1107. * This ini is used to controls the MAWC feature globally.
  1108. * MAWC is Motion Aided Wireless Connectivity.
  1109. *
  1110. * Related: mawc_roam_enabled.
  1111. *
  1112. * Supported Feature: Roaming and PNO/NLO
  1113. *
  1114. * Usage: Internal/External
  1115. *
  1116. * </ini>
  1117. */
  1118. #define CFG_LFR_MAWC_FEATURE_ENABLED CFG_INI_BOOL( \
  1119. "MAWCEnabled", \
  1120. 0, \
  1121. "Enable MAWC")
  1122. /*
  1123. * <ini>
  1124. * FastTransitionEnabled - Enable fast transition in case of 11r and ese.
  1125. * @Min: 0
  1126. * @Max: 1
  1127. * @Default: 1
  1128. *
  1129. * This ini is used to turn ON/OFF the whole neighbor roam, pre-auth, reassoc.
  1130. * With this turned OFF 11r will completely not work. For 11r this flag has to
  1131. * be ON. For ESE fastroam will not work.
  1132. *
  1133. * Related: None
  1134. *
  1135. * Supported Feature: Roaming
  1136. *
  1137. * Usage: External
  1138. *
  1139. * </ini>
  1140. */
  1141. #define CFG_LFR_FAST_TRANSITION_ENABLED CFG_INI_BOOL( \
  1142. "FastTransitionEnabled", \
  1143. 1, \
  1144. "Enable fast transition")
  1145. /*
  1146. * <ini>
  1147. * RoamRssiDiff - Enable roam based on rssi
  1148. * @Min: 0
  1149. * @Max: 30
  1150. * @Default: 5
  1151. *
  1152. * This INI is used to decide whether to Roam or not based on RSSI. AP1 is the
  1153. * currently associated AP and AP2 is chosen for roaming. The Roaming will
  1154. * happen only if AP2 has better Signal Quality and it has a RSSI better than
  1155. * AP2. RoamRssiDiff is the number of units (typically measured in dB) AP2
  1156. * is better than AP1.
  1157. *
  1158. * Related: None
  1159. *
  1160. * Supported Feature: Roaming
  1161. *
  1162. * Usage: External
  1163. *
  1164. * </ini>
  1165. */
  1166. #define CFG_LFR_ROAM_RSSI_DIFF CFG_INI_UINT( \
  1167. "RoamRssiDiff", \
  1168. 0, \
  1169. 30, \
  1170. 5, \
  1171. CFG_VALUE_OR_DEFAULT, \
  1172. "Enable roam based on rssi")
  1173. /*
  1174. * <ini>
  1175. * gWESModeEnabled - Enable WES mode
  1176. * @Min: 0
  1177. * @Max: 1
  1178. * @Default: 0
  1179. *
  1180. * This ini is used to enable/disable Wireless Extended Security mode.
  1181. *
  1182. * Related: None
  1183. *
  1184. * Supported Feature: Roaming
  1185. *
  1186. * Usage: External
  1187. *
  1188. * </ini>
  1189. */
  1190. #define CFG_LFR_ENABLE_WES_MODE CFG_INI_BOOL( \
  1191. "gWESModeEnabled", \
  1192. 0, \
  1193. "Enable WES mode")
  1194. /*
  1195. * <ini>
  1196. * gRoamScanOffloadEnabled - Enable Roam Scan Offload
  1197. * @Min: 0
  1198. * @Max: 1
  1199. * @Default: 1
  1200. *
  1201. * This INI is used to enable Roam Scan Offload in firmware
  1202. *
  1203. * Related: None
  1204. *
  1205. * Supported Feature: Roaming
  1206. *
  1207. * Usage: External
  1208. *
  1209. * </ini>
  1210. */
  1211. #define CFG_LFR_ROAM_SCAN_OFFLOAD_ENABLED CFG_INI_BOOL( \
  1212. "gRoamScanOffloadEnabled", \
  1213. 1, \
  1214. "Enable Roam Scan Offload")
  1215. /*
  1216. * <ini>
  1217. * gNeighborScanChannelList - Set channels to be scanned
  1218. * by firmware for LFR scan
  1219. * @Default: ""
  1220. *
  1221. * This ini is used to set the channels to be scanned
  1222. * by firmware for LFR scan.
  1223. *
  1224. * Related: None
  1225. *
  1226. * Supported Feature: LFR Scan
  1227. *
  1228. * Usage: External
  1229. *
  1230. * </ini>
  1231. */
  1232. #define CFG_LFR_NEIGHBOR_SCAN_CHANNEL_LIST CFG_INI_STRING( \
  1233. "gNeighborScanChanList", \
  1234. 0, \
  1235. CFG_VALID_CHANNEL_LIST_STRING_LEN, \
  1236. "", \
  1237. "Set channels to be scanned")
  1238. /*
  1239. * <ini>
  1240. * gNeighborScanTimerPeriod - Set neighbor scan timer period
  1241. * @Min: 3
  1242. * @Max: 300
  1243. * @Default: 100
  1244. *
  1245. * This ini is used to set the timer period in secs after
  1246. * which neighbor scan is trigerred.
  1247. *
  1248. * Related: None
  1249. *
  1250. * Supported Feature: LFR Scan
  1251. *
  1252. * Usage: External
  1253. *
  1254. * </ini>
  1255. */
  1256. #define CFG_LFR_NEIGHBOR_SCAN_TIMER_PERIOD CFG_INI_UINT( \
  1257. "gNeighborScanTimerPeriod", \
  1258. 3, \
  1259. 300, \
  1260. 100, \
  1261. CFG_VALUE_OR_DEFAULT, \
  1262. "Neighbor scan timer period")
  1263. /*
  1264. * <ini>
  1265. * gRoamRestTimeMin - Set min neighbor scan timer period
  1266. * @Min: 3
  1267. * @Max: 300
  1268. * @Default: 50
  1269. *
  1270. * This is the min rest time after which firmware will check for traffic
  1271. * and if there no traffic it will move to a new channel to scan
  1272. * else it will stay on the home channel till gNeighborScanTimerPeriod time
  1273. * and then will move to a new channel to scan.
  1274. *
  1275. * Related: None
  1276. *
  1277. * Supported Feature: LFR Scan
  1278. *
  1279. * Usage: External
  1280. *
  1281. * </ini>
  1282. */
  1283. #define CFG_LFR_NEIGHBOR_SCAN_MIN_TIMER_PERIOD CFG_INI_UINT( \
  1284. "gRoamRestTimeMin", \
  1285. 3, \
  1286. 300, \
  1287. 50, \
  1288. CFG_VALUE_OR_DEFAULT, \
  1289. "Min neighbor scan timer period")
  1290. /*
  1291. * <ini>
  1292. * gNeighborLookupThreshold - Set neighbor lookup rssi threshold
  1293. * @Min: 10
  1294. * @Max: 120
  1295. * @Default: 78
  1296. *
  1297. * This is used to control the RSSI threshold for neighbor lookup.
  1298. *
  1299. * Related: None
  1300. *
  1301. * Supported Feature: LFR Scan
  1302. *
  1303. * Usage: External
  1304. *
  1305. * </ini>
  1306. */
  1307. #define CFG_LFR_NEIGHBOR_LOOKUP_RSSI_THRESHOLD CFG_INI_UINT( \
  1308. "gNeighborLookupThreshold", \
  1309. 10, \
  1310. 120, \
  1311. 78, \
  1312. CFG_VALUE_OR_DEFAULT, \
  1313. "Neighbor lookup rssi threshold")
  1314. /*
  1315. * <ini>
  1316. * gOpportunisticThresholdDiff - Set oppurtunistic threshold diff
  1317. * @Min: 0
  1318. * @Max: 127
  1319. * @Default: 0
  1320. *
  1321. * This ini is used to set opportunistic threshold diff.
  1322. * This parameter is the RSSI diff above neighbor lookup
  1323. * threshold, when opportunistic scan should be triggered.
  1324. * MAX value is chosen so that this type of scan can be
  1325. * always enabled by user.
  1326. * MIN value will cause opportunistic scan to be triggered
  1327. * in neighbor lookup RSSI range.
  1328. *
  1329. * Related: None
  1330. *
  1331. * Supported Feature: LFR Scan
  1332. *
  1333. * Usage: External
  1334. *
  1335. * </ini>
  1336. */
  1337. #define CFG_LFR_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF CFG_INI_UINT( \
  1338. "gOpportunisticThresholdDiff", \
  1339. 0, \
  1340. 127, \
  1341. 0, \
  1342. CFG_VALUE_OR_DEFAULT, \
  1343. "Set oppurtunistic threshold diff")
  1344. /*
  1345. * <ini>
  1346. * gRoamRescanRssiDiff - Sets RSSI for Scan trigger in firmware
  1347. * @Min: 0
  1348. * @Max: 100
  1349. * @Default: 5
  1350. *
  1351. * This INI is the drop in RSSI value that will trigger a precautionary
  1352. * scan by firmware. Max value is chosen in such a way that this type
  1353. * of scan can be disabled by user.
  1354. *
  1355. * Related: None
  1356. *
  1357. * Supported Feature: Roaming
  1358. *
  1359. * Usage: External
  1360. *
  1361. * </ini>
  1362. */
  1363. #define CFG_LFR_ROAM_RESCAN_RSSI_DIFF CFG_INI_UINT( \
  1364. "gRoamRescanRssiDiff", \
  1365. 0, \
  1366. 100, \
  1367. 5, \
  1368. CFG_VALUE_OR_DEFAULT, \
  1369. "Sets RSSI for Scan trigger in firmware")
  1370. /*
  1371. * <ini>
  1372. * gNeighborScanChannelMinTime - Set neighbor scan channel min time
  1373. * @Min: 10
  1374. * @Max: 40
  1375. * @Default: 20
  1376. *
  1377. * This ini is used to set the minimum time in secs spent on each
  1378. * channel in LFR scan inside firmware.
  1379. *
  1380. * Related: None
  1381. *
  1382. * Supported Feature: LFR Scan
  1383. *
  1384. * Usage: External
  1385. *
  1386. * </ini>
  1387. */
  1388. #define CFG_LFR_NEIGHBOR_SCAN_MIN_CHAN_TIME CFG_INI_UINT( \
  1389. "gNeighborScanChannelMinTime", \
  1390. 10, \
  1391. 40, \
  1392. 20, \
  1393. CFG_VALUE_OR_DEFAULT, \
  1394. "Neighbor scan channel min time")
  1395. /*
  1396. * <ini>
  1397. * gNeighborScanChannelMaxTime - Set neighbor scan channel max time
  1398. * @Min: 3
  1399. * @Max: 300
  1400. * @Default: 30
  1401. *
  1402. * This ini is used to set the maximum time in secs spent on each
  1403. * channel in LFR scan inside firmware.
  1404. *
  1405. * Related: None
  1406. *
  1407. * Supported Feature: LFR Scan
  1408. *
  1409. * Usage: External
  1410. *
  1411. * </ini>
  1412. */
  1413. #define CFG_LFR_NEIGHBOR_SCAN_MAX_CHAN_TIME CFG_INI_UINT( \
  1414. "gNeighborScanChannelMaxTime", \
  1415. 3, \
  1416. 300, \
  1417. 30, \
  1418. CFG_VALUE_OR_DEFAULT, \
  1419. "Neighbor scan channel max time")
  1420. /*
  1421. * <ini>
  1422. * gNeighborScanRefreshPeriod - Set neighbor scan refresh period
  1423. * @Min: 1000
  1424. * @Max: 60000
  1425. * @Default: 20000
  1426. *
  1427. * This ini is used by firmware to set scan refresh period
  1428. * in msecs for lfr scan.
  1429. *
  1430. * Related: None
  1431. *
  1432. * Supported Feature: LFR Scan
  1433. *
  1434. * Usage: External
  1435. *
  1436. * </ini>
  1437. */
  1438. #define CFG_LFR_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD CFG_INI_UINT( \
  1439. "gNeighborScanRefreshPeriod", \
  1440. 1000, \
  1441. 60000, \
  1442. 20000, \
  1443. CFG_VALUE_OR_DEFAULT, \
  1444. "Neighbor scan refresh period")
  1445. /*
  1446. * <ini>
  1447. * gEmptyScanRefreshPeriod - Set empty scan refresh period
  1448. * @Min: 0
  1449. * @Max: 60000
  1450. * @Default: 0
  1451. *
  1452. * This ini is used by firmware to set scan period in msecs
  1453. * following empty scan results.
  1454. *
  1455. * Related: None
  1456. *
  1457. * Supported Feature: LFR Scan
  1458. *
  1459. * Usage: External
  1460. *
  1461. * </ini>
  1462. */
  1463. #define CFG_LFR_EMPTY_SCAN_REFRESH_PERIOD CFG_INI_UINT( \
  1464. "gEmptyScanRefreshPeriod", \
  1465. 0, \
  1466. 60000, \
  1467. 0, \
  1468. CFG_VALUE_OR_DEFAULT, \
  1469. "Empty scan refresh period")
  1470. /*
  1471. * <ini>
  1472. * gRoamBmissFirstBcnt - Beacon miss count to trigger 1st bmiss event
  1473. * @Min: 5
  1474. * @Max: 100
  1475. * @Default: 10
  1476. *
  1477. * This ini used to control how many beacon miss will trigger first bmiss
  1478. * event. First bmiss event will result in roaming scan.
  1479. *
  1480. * Related: None
  1481. *
  1482. * Usage: External
  1483. *
  1484. * </ini>
  1485. */
  1486. #define CFG_LFR_ROAM_BMISS_FIRST_BCNT CFG_INI_UINT( \
  1487. "gRoamBmissFirstBcnt", \
  1488. 5, \
  1489. 100, \
  1490. 10, \
  1491. CFG_VALUE_OR_DEFAULT, \
  1492. "First beacon miss count")
  1493. /*
  1494. * <ini>
  1495. * gRoamBmissFinalBcnt - Beacon miss count to trigger final bmiss event
  1496. * @Min: 5
  1497. * @Max: 100
  1498. * @Default: 20
  1499. *
  1500. * This ini used to control how many beacon miss will trigger final bmiss
  1501. * event. Final bmiss event will make roaming take place or cause the
  1502. * indication of final bmiss event.
  1503. *
  1504. * Related: None
  1505. *
  1506. * Usage: External
  1507. *
  1508. * </ini>
  1509. */
  1510. #define CFG_LFR_ROAM_BMISS_FINAL_BCNT CFG_INI_UINT( \
  1511. "gRoamBmissFinalBcnt", \
  1512. 5, \
  1513. 100, \
  1514. 20, \
  1515. CFG_VALUE_OR_DEFAULT, \
  1516. "Final beacon miss count")
  1517. /*
  1518. * <ini>
  1519. * gRoamBeaconRssiWeight - Set beacon miss weight
  1520. * @Min: 5
  1521. * @Max: 16
  1522. * @Default: 14
  1523. *
  1524. * This ini controls how many beacons' RSSI values will be used to calculate
  1525. * the average value of RSSI.
  1526. *
  1527. * Related: None
  1528. *
  1529. * Usage: External
  1530. *
  1531. * </ini>
  1532. */
  1533. #define CFG_LFR_ROAM_BEACON_RSSI_WEIGHT CFG_INI_UINT( \
  1534. "gRoamBeaconRssiWeight", \
  1535. 0, \
  1536. 16, \
  1537. 14, \
  1538. CFG_VALUE_OR_DEFAULT, \
  1539. "Beacon miss weight")
  1540. /*
  1541. * <ini>
  1542. * gAllowDFSChannelRoam - Allow dfs channel in roam
  1543. * @Min: 0
  1544. * @Max: 2
  1545. * @Default: 0
  1546. *
  1547. * This ini is used to set default dfs channel
  1548. *
  1549. * Related: None
  1550. *
  1551. * Supported Feature: STA
  1552. *
  1553. * Usage: Internal/External
  1554. *
  1555. * </ini>
  1556. */
  1557. #define CFG_LFR_ROAMING_DFS_CHANNEL CFG_INI_UINT( \
  1558. "gAllowDFSChannelRoam", \
  1559. 0, \
  1560. 2, \
  1561. 0, \
  1562. CFG_VALUE_OR_DEFAULT, \
  1563. "Allow dfs channel in roam")
  1564. /*
  1565. * <ini>
  1566. * gRoamScanHiRssiMaxCount - Sets 5GHz maximum scan count
  1567. * @Min: 0
  1568. * @Max: 10
  1569. * @Default: 3
  1570. *
  1571. * This INI is used to set maximum scan count in 5GHz
  1572. *
  1573. * Related: None
  1574. *
  1575. * Supported Feature: Roaming
  1576. *
  1577. * Usage: External
  1578. *
  1579. * </ini>
  1580. */
  1581. #define CFG_LFR_ROAM_SCAN_HI_RSSI_MAXCOUNT CFG_INI_UINT( \
  1582. "gRoamScanHiRssiMaxCount", \
  1583. 0, \
  1584. 10, \
  1585. 3, \
  1586. CFG_VALUE_OR_DEFAULT, \
  1587. "5GHz maximum scan count")
  1588. /*
  1589. * <ini>
  1590. * gRoamScanHiRssiDelta - Sets RSSI Delta for scan trigger
  1591. * @Min: 0
  1592. * @Max: 16
  1593. * @Default: 10
  1594. *
  1595. * This INI is used to set change in RSSI at which scan is triggered
  1596. * in 5GHz.
  1597. *
  1598. * Related: None
  1599. *
  1600. * Supported Feature: Roaming
  1601. *
  1602. * Usage: External
  1603. *
  1604. * </ini>
  1605. */
  1606. #define CFG_LFR_ROAM_SCAN_HI_RSSI_DELTA CFG_INI_UINT( \
  1607. "gRoamScanHiRssiDelta", \
  1608. 0, \
  1609. 16, \
  1610. 10, \
  1611. CFG_VALUE_OR_DEFAULT, \
  1612. "RSSI Delta for scan trigger")
  1613. /*
  1614. * <ini>
  1615. * gRoamScanHiRssiDelay - Sets minimum delay between 5GHz scans
  1616. * @Min: 5000
  1617. * @Max: 0x7fffffff
  1618. * @Default: 15000
  1619. *
  1620. * This INI is used to set the minimum delay between 5GHz scans.
  1621. *
  1622. * Related: None
  1623. *
  1624. * Supported Feature: Roaming
  1625. *
  1626. * Usage: External
  1627. *
  1628. * </ini>
  1629. */
  1630. #define CFG_LFR_ROAM_SCAN_HI_RSSI_DELAY CFG_INI_UINT( \
  1631. "gRoamScanHiRssiDelay", \
  1632. 5000, \
  1633. 0x7fffffff, \
  1634. 15000, \
  1635. CFG_VALUE_OR_DEFAULT, \
  1636. "Minimum delay between 5GHz scans")
  1637. /*
  1638. * <ini>
  1639. * gRoamScanHiRssiUpperBound - Sets upper bound after which 5GHz scan
  1640. * @Min: -66
  1641. * @Max: 0
  1642. * @Default: -30
  1643. *
  1644. * This INI is used to set the RSSI upper bound above which the 5GHz scan
  1645. * will not be performed.
  1646. *
  1647. * Related: None
  1648. *
  1649. * Supported Feature: Roaming
  1650. *
  1651. * Usage: External
  1652. *
  1653. * </ini>
  1654. */
  1655. #define CFG_LFR_ROAM_SCAN_HI_RSSI_UB CFG_INI_INT( \
  1656. "gRoamScanHiRssiUpperBound", \
  1657. -66, \
  1658. 0, \
  1659. -30, \
  1660. CFG_VALUE_OR_DEFAULT, \
  1661. "Upper bound after which 5GHz scan")
  1662. /*
  1663. * <ini>
  1664. * gRoamPrefer5GHz - Prefer roaming to 5GHz Bss
  1665. * @Min: 0
  1666. * @Max: 1
  1667. * @Default: 1
  1668. *
  1669. * This ini is used to inform FW to prefer roaming to 5GHz BSS
  1670. *
  1671. * Related: None
  1672. *
  1673. * Supported Feature: Roaming
  1674. *
  1675. * Usage: External
  1676. *
  1677. * </ini>
  1678. */
  1679. #define CFG_LFR_ROAM_PREFER_5GHZ CFG_INI_BOOL( \
  1680. "gRoamPrefer5GHz", \
  1681. 1, \
  1682. "Prefer roaming to 5GHz Bss")
  1683. /*
  1684. * <ini>
  1685. * gRoamIntraBand - Prefer roaming within Band
  1686. * @Min: 0
  1687. * @Max: 1
  1688. * @Default: 0
  1689. *
  1690. * This ini is used to inform FW to prefer roaming within band
  1691. *
  1692. * Related: None
  1693. *
  1694. * Supported Feature: Roaming
  1695. *
  1696. * Usage: External
  1697. *
  1698. * </ini>
  1699. */
  1700. #define CFG_LFR_ROAM_INTRA_BAND CFG_INI_BOOL( \
  1701. "gRoamIntraBand", \
  1702. 0, \
  1703. "Prefer roaming within Band")
  1704. /*
  1705. * <ini>
  1706. * gRoamScanNProbes - Sets the number of probes to be sent for firmware roaming
  1707. * @Min: 1
  1708. * @Max: 10
  1709. * @Default: 2
  1710. *
  1711. * This INI is used to set the maximum number of probes the firmware can send
  1712. * for firmware internal roaming cases.
  1713. *
  1714. * Related: None
  1715. *
  1716. * Supported Feature: Roaming
  1717. *
  1718. * Usage: External
  1719. *
  1720. * </ini>
  1721. */
  1722. #define CFG_LFR_ROAM_SCAN_N_PROBES CFG_INI_UINT( \
  1723. "gRoamScanNProbes", \
  1724. 1, \
  1725. 10, \
  1726. 2, \
  1727. CFG_VALUE_OR_DEFAULT, \
  1728. "The number of probes to be sent for firmware roaming")
  1729. /*
  1730. * <ini>
  1731. * gRoamScanHomeAwayTime - Sets the Home Away Time to firmware
  1732. * @Min: 0
  1733. * @Max: 300
  1734. * @Default: 0
  1735. *
  1736. * Home Away Time should be at least equal to (gNeighborScanChannelMaxTime
  1737. * + (2*RFS)), where RFS is the RF Switching time(3). It is twice RFS
  1738. * to consider the time to go off channel and return to the home channel.
  1739. *
  1740. * Related: gNeighborScanChannelMaxTime
  1741. *
  1742. * Supported Feature: Roaming
  1743. *
  1744. * Usage: External
  1745. *
  1746. * </ini>
  1747. */
  1748. #define CFG_LFR_ROAM_SCAN_HOME_AWAY_TIME CFG_INI_UINT( \
  1749. "gRoamScanHomeAwayTime", \
  1750. 0, \
  1751. 300, \
  1752. 0, \
  1753. CFG_VALUE_OR_DEFAULT, \
  1754. "the home away time to firmware")
  1755. /*
  1756. * <ini>
  1757. * gDelayBeforeVdevStop - wait time for tx complete before vdev stop
  1758. * @Min: 2
  1759. * @Max: 200
  1760. * @Default: 20
  1761. *
  1762. * This INI is used to set wait time for tx complete before vdev stop.
  1763. *
  1764. * Related: None
  1765. *
  1766. * Usage: External
  1767. *
  1768. * </ini>
  1769. */
  1770. #define CFG_LFR_DELAY_BEFORE_VDEV_STOP CFG_INI_UINT( \
  1771. "gDelayBeforeVdevStop", \
  1772. 2, \
  1773. 200, \
  1774. 20, \
  1775. CFG_VALUE_OR_DEFAULT, \
  1776. "wait time for tx complete before vdev stop")
  1777. /*
  1778. * <ini>
  1779. * enable_bss_load_roam_trigger - enable/disable bss load based roam trigger
  1780. * @Min: 0
  1781. * @Max: 1
  1782. * @Default: 1
  1783. *
  1784. * This ini when enabled, allows the firmware to roam when bss load outpaces
  1785. * the configured bss load threshold. When this ini is disabled, firmware
  1786. * doesn't consider bss load values to trigger roam.
  1787. *
  1788. * Related: None
  1789. *
  1790. * Supported Feature: Roaming
  1791. *
  1792. * Usage: External
  1793. *
  1794. * </ini>
  1795. */
  1796. #define CFG_ENABLE_BSS_LOAD_TRIGGERED_ROAM CFG_INI_BOOL( \
  1797. "enable_bss_load_roam_trigger", \
  1798. 1, \
  1799. "enable bss load triggered roaming")
  1800. /*
  1801. * <ini>
  1802. * bss_load_threshold - bss load above which the STA should trigger roaming
  1803. * @Min: 0
  1804. * @Max: 100
  1805. * @Default: 70
  1806. *
  1807. * When the bss laod value that is sampled exceeds this threshold, firmware
  1808. * will trigger roaming if bss load trigger is enabled.
  1809. *
  1810. * Related: None
  1811. *
  1812. * Supported Feature: Roaming
  1813. *
  1814. * Usage: External
  1815. *
  1816. * </ini>
  1817. */
  1818. #define CFG_BSS_LOAD_THRESHOLD CFG_INI_UINT( \
  1819. "bss_load_threshold", \
  1820. 0, \
  1821. 100, \
  1822. 70, \
  1823. CFG_VALUE_OR_DEFAULT, \
  1824. "bss load threshold")
  1825. #ifdef WLAN_FEATURE_ROAM_OFFLOAD
  1826. /*
  1827. * <ini>
  1828. * gRoamOffloadEnabled - enable/disable roam offload feature
  1829. * @Min: 0
  1830. * @Max: 1
  1831. * @Default: 1
  1832. *
  1833. * This INI is used to enable/disable roam offload feature
  1834. *
  1835. * Related: None
  1836. *
  1837. * Supported Feature: Roaming
  1838. *
  1839. * Usage: External
  1840. *
  1841. * </ini>
  1842. */
  1843. #define CFG_LFR3_ROAMING_OFFLOAD CFG_INI_BOOL( \
  1844. "gRoamOffloadEnabled", \
  1845. 1, \
  1846. "enable roam offload")
  1847. #define ROAM_OFFLOAD_ALL CFG(CFG_LFR3_ROAMING_OFFLOAD)
  1848. #else
  1849. #define ROAM_OFFLOAD_ALL
  1850. #endif
  1851. #ifdef FEATURE_WLAN_ESE
  1852. /*
  1853. * <ini>
  1854. * EseEnabled - Enable ESE feature
  1855. * @Min: 0
  1856. * @Max: 1
  1857. * @Default: 0
  1858. *
  1859. * This ini is used to enable/disable ESE feature
  1860. *
  1861. * Related: None
  1862. *
  1863. * Supported Feature: Roaming
  1864. *
  1865. * Usage: External
  1866. *
  1867. * </ini>
  1868. */
  1869. #define CFG_LFR_ESE_FEATURE_ENABLED CFG_INI_BOOL( \
  1870. "EseEnabled", \
  1871. 0, \
  1872. "Enable ESE")
  1873. #define LFR_ESE_ALL CFG(CFG_LFR_ESE_FEATURE_ENABLED)
  1874. #else
  1875. #define LFR_ESE_ALL
  1876. #endif
  1877. #define CFG_LFR_ALL \
  1878. CFG(CFG_LFR_MAWC_ROAM_ENABLED) \
  1879. CFG(CFG_LFR_MAWC_ROAM_TRAFFIC_THRESHOLD) \
  1880. CFG(CFG_LFR_MAWC_ROAM_AP_RSSI_THRESHOLD) \
  1881. CFG(CFG_LFR_MAWC_ROAM_RSSI_HIGH_ADJUST) \
  1882. CFG(CFG_LFR_MAWC_ROAM_RSSI_LOW_ADJUST) \
  1883. CFG(CFG_LFR_ROAM_RSSI_ABS_THRESHOLD) \
  1884. CFG(CFG_LFR_5G_RSSI_THRESHOLD_OFFSET) \
  1885. CFG(CFG_LFR_ENABLE_FAST_ROAM_IN_CONCURRENCY) \
  1886. CFG(CFG_LFR_EARLY_STOP_SCAN_ENABLE) \
  1887. CFG(CFG_LFR_EARLY_STOP_SCAN_MIN_THRESHOLD) \
  1888. CFG(CFG_LFR_EARLY_STOP_SCAN_MAX_THRESHOLD) \
  1889. CFG(CFG_LFR_FIRST_SCAN_BUCKET_THRESHOLD) \
  1890. CFG(CFG_LFR3_ENABLE_SUBNET_DETECTION) \
  1891. CFG(CFG_LFR_ROAM_DENSE_TRAFFIC_THRESHOLD) \
  1892. CFG(CFG_LFR_ROAM_DENSE_RSSI_THRE_OFFSET) \
  1893. CFG(CFG_LFR_ROAM_DENSE_MIN_APS) \
  1894. CFG(CFG_LFR_ROAM_BG_SCAN_BAD_RSSI_THRESHOLD) \
  1895. CFG(CFG_LFR_ROAM_BG_SCAN_CLIENT_BITMAP) \
  1896. CFG(CFG_LFR_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G) \
  1897. CFG(CFG_LFR_ADAPTIVE_ROAMSCAN_DWELL_MODE) \
  1898. CFG(CFG_LFR_PER_ROAM_ENABLE) \
  1899. CFG(CFG_LFR_PER_ROAM_CONFIG_HIGH_RATE_TH) \
  1900. CFG(CFG_LFR_PER_ROAM_CONFIG_LOW_RATE_TH) \
  1901. CFG(CFG_LFR_PER_ROAM_CONFIG_RATE_TH_PERCENT) \
  1902. CFG(CFG_LFR_PER_ROAM_REST_TIME) \
  1903. CFG(CFG_LFR_PER_ROAM_MONITOR_TIME) \
  1904. CFG(CFG_LFR_PER_ROAM_MIN_CANDIDATE_RSSI) \
  1905. CFG(CFG_LFR3_ROAM_DISALLOW_DURATION) \
  1906. CFG(CFG_LFR3_ROAM_RSSI_CHANNEL_PENALIZATION) \
  1907. CFG(CFG_LFR3_ROAM_NUM_DISALLOWED_APS) \
  1908. CFG(CFG_LFR_ENABLE_5G_BAND_PREF) \
  1909. CFG(CFG_LFR_5G_RSSI_BOOST_THRESHOLD) \
  1910. CFG(CFG_LFR_5G_RSSI_BOOST_FACTOR) \
  1911. CFG(CFG_LFR_5G_MAX_RSSI_BOOST) \
  1912. CFG(CFG_LFR_5G_RSSI_PENALIZE_THRESHOLD) \
  1913. CFG(CFG_LFR_5G_RSSI_PENALIZE_FACTOR) \
  1914. CFG(CFG_LFR_5G_MAX_RSSI_PENALIZE) \
  1915. CFG(CFG_LFR_MAX_NUM_PRE_AUTH) \
  1916. CFG(CFG_LFR3_ROAM_PREAUTH_RETRY_COUNT) \
  1917. CFG(CFG_LFR3_ROAM_PREAUTH_NO_ACK_TIMEOUT) \
  1918. CFG(CFG_LFR_FEATURE_ENABLED) \
  1919. CFG(CFG_LFR_MAWC_FEATURE_ENABLED) \
  1920. CFG(CFG_LFR_FAST_TRANSITION_ENABLED) \
  1921. CFG(CFG_LFR_ROAM_RSSI_DIFF) \
  1922. CFG(CFG_LFR_ENABLE_WES_MODE) \
  1923. CFG(CFG_LFR_ROAM_SCAN_OFFLOAD_ENABLED) \
  1924. CFG(CFG_LFR_NEIGHBOR_SCAN_CHANNEL_LIST) \
  1925. CFG(CFG_LFR_NEIGHBOR_SCAN_TIMER_PERIOD) \
  1926. CFG(CFG_LFR_NEIGHBOR_SCAN_MIN_TIMER_PERIOD) \
  1927. CFG(CFG_LFR_NEIGHBOR_LOOKUP_RSSI_THRESHOLD) \
  1928. CFG(CFG_LFR_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF) \
  1929. CFG(CFG_LFR_ROAM_RESCAN_RSSI_DIFF) \
  1930. CFG(CFG_LFR_NEIGHBOR_SCAN_MIN_CHAN_TIME) \
  1931. CFG(CFG_LFR_NEIGHBOR_SCAN_MAX_CHAN_TIME) \
  1932. CFG(CFG_LFR_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD) \
  1933. CFG(CFG_LFR_EMPTY_SCAN_REFRESH_PERIOD) \
  1934. CFG(CFG_LFR_ROAM_BMISS_FIRST_BCNT) \
  1935. CFG(CFG_LFR_ROAM_BMISS_FINAL_BCNT) \
  1936. CFG(CFG_LFR_ROAM_BEACON_RSSI_WEIGHT) \
  1937. CFG(CFG_LFR_ROAMING_DFS_CHANNEL) \
  1938. CFG(CFG_LFR_ROAM_SCAN_HI_RSSI_MAXCOUNT) \
  1939. CFG(CFG_LFR_ROAM_SCAN_HI_RSSI_DELTA) \
  1940. CFG(CFG_LFR_ROAM_SCAN_HI_RSSI_DELAY) \
  1941. CFG(CFG_LFR_ROAM_SCAN_HI_RSSI_UB) \
  1942. CFG(CFG_LFR_ROAM_PREFER_5GHZ) \
  1943. CFG(CFG_LFR_ROAM_INTRA_BAND) \
  1944. CFG(CFG_LFR_ROAM_SCAN_N_PROBES) \
  1945. CFG(CFG_LFR_ROAM_SCAN_HOME_AWAY_TIME) \
  1946. CFG(CFG_LFR_DELAY_BEFORE_VDEV_STOP) \
  1947. CFG(CFG_ENABLE_BSS_LOAD_TRIGGERED_ROAM) \
  1948. CFG(CFG_BSS_LOAD_THRESHOLD) \
  1949. ROAM_OFFLOAD_ALL \
  1950. LFR_ESE_ALL
  1951. #endif /* CFG_MLME_LFR_H__ */