Просмотр исходного кода

qcacmn: Update gEnableSNRMonitoring to true

Currently in wma_chan_info_event_handler chan info
is updated based on gEnableSNRMonitoring. By default
gEnableSNRMonitoring is set to false, due to which
chan info is not updated.

Fix is to keep gEnableSNRMonitoring enbaled, so that
chan info can be updated.

Change-Id: I77a999d64fca093c8bc50e4532e659f37a3ac593
CRs-Fixed: 3109317
sheenam monga 3 лет назад
Родитель
Сommit
00f035dcde
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      umac/scan/dispatcher/inc/cfg_scan.h

+ 3 - 2
umac/scan/dispatcher/inc/cfg_scan.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2022 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
@@ -1325,7 +1326,7 @@ enum scan_mode_6ghz {
  * gEnableSNRMonitoring - Enables SNR Monitoring
  * @Min: 0
  * @Max: 1
- * @Default: 0
+ * @Default: 1
  *
  * This ini is used to set default snr monitor
  *
@@ -1339,7 +1340,7 @@ enum scan_mode_6ghz {
  */
 #define CFG_ENABLE_SNR_MONITORING CFG_INI_BOOL(\
 			"gEnableSNRMonitoring",\
-			false,\
+			true,\
 			"Enable/Disable SNR Monitoring")
 
 /*