ソースを参照

qcacld-3.0: Change default value for ini np_chan_weight

When config chanlist with DFS channel only, SAP can't be started
due to all DFS channel are all excluded and can't find available
channel in current chanlist. Issue is introduced by
'Change-Id: I53a22a0059d56aa8fca66215fed1ed0588db7db5'.

Fix is to set default ini np_chan_weight value to 1, then DFS channel
will be most likely put at last in available chanlist and DFS channel
will be the last choice when no other normal channel can be used.
If config chanlist with DFS channels only, SAP still can be started
on DFS channel successfully.

Change-Id: I04f70068069ff5c4f68b7d7fa56a2ede40035c6e
CRs-Fixed: 2694415
hqu 4 年 前
コミット
d494c3b85a
1 ファイル変更2 行追加2 行削除
  1. 2 2
      components/mlme/dispatcher/inc/cfg_mlme_acs.h

+ 2 - 2
components/mlme/dispatcher/inc/cfg_mlme_acs.h

@@ -221,7 +221,7 @@
  * recommended (it takes 60 sec/10min to start depending upon channel type).
  *
  * Indexes are defined in this way.
- *     0 Index (BITS 0-7): DFS - Def 0%
+ *     0 Index (BITS 0-7): DFS - Def 1%
  *     1 Index (BITS 8-15): Reserved
  *     2 Index (BITS 16-23): Reserved
  *     3 Index (BITS 24-31): Reserved
@@ -236,7 +236,7 @@
 		"np_chan_weight", \
 		0x00000000, \
 		0x64646464, \
-		0x00000000, \
+		0x00000001, \
 		CFG_VALUE_OR_DEFAULT, \
 		"np chan weight")