移植高通prima wlan驱动遇到这些错误log的解决方法

错误log为:

<6>[   13.290069] wlan: loading driver v3.2.3.13
<3>[   13.298095] wlan: [704:E :HDD] hdd_apply_cfg_ini: Reg Parameter gEmptyScanRefreshPeriod < allowed Minimum [0 < 1000]. Enforcing Default= 0
<3>[   13.305999] wlan: [704:E :VOS] INFO: NV binary file version=0 Driver default NV version=1, continue...
<3>[   13.305999] 
<3>[   13.306030] wlan: [704:E :VOS] !!!WARNING: Using Coupler Type field instead of Fw Config table,
<3>[   13.306030] Make sure that this is intented or may impact performance!!!
<3>[   13.306060] 
<6>[   13.306091] DefaultCountry is KR
<3>[   13.317871] wlan: [944:E :PE ] processCfgDownloadReq: 779: <CFG> DNLD_RSP invalid length 5088 (exp 5104)
<3>[   13.317993] wlan: [704:E :PE ] CheckParam: 661: Param id 17 not valid
<3>[   13.317993] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 17
<3>[   13.318023] wlan: [704:E :PE ] CheckParam: 661: Param id 14 not valid
<3>[   13.318023] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 14
<3>[   13.318054] wlan: [704:E :PE ] CheckParam: 661: Param id 77 not valid
<3>[   13.318054] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 77
<3>[   13.318054] wlan: [704:E :PE ] CheckParam: 661: Param id 91 not valid
<3>[   13.318084] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 91
<3>[   13.318084] wlan: [704:E :PE ] CheckParam: 661: Param id 145 not valid
<3>[   13.318084] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 145
<3>[   13.318115] wlan: [704:E :PE ] CheckParam: 661: Param id 69 not valid
<3>[   13.318115] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 69
<3>[   13.318145] wlan: [704:E :PE ] CheckParam: 661: Param id 36 not valid
<3>[   13.318145] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 36
<3>[   13.318176] wlan: [704:E :PE ] CheckParam: 661: Param id 205 not valid
<3>[   13.318176] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 205
<3>[   13.318206] wlan: [704:E :PE ] CheckParam: 661: Param id 104 not valid
<3>[   13.318206] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 104
<3>[   13.318206] wlan: [704:E :PE ] CheckParam: 661: Param id 102 not valid
<3>[   13.318237] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 102
<3>[   13.318237] wlan: [704:E :PE ] CheckParam: 661: Param id 226 not valid
<3>[   13.318237] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 226
<3>[   13.318267] wlan: [704:E :PE ] CheckParam: 661: Param id 47 not valid
<3>[   13.318267] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 47
<3>[   13.318298] wlan: [704:E :PE ] CheckParam: 661: Param id 204 not valid
<3>[   13.318298] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 204
<3>[   13.318298] wlan: [704:E :PE ] CheckParam: 661: Param id 59 not valid
<3>[   13.318328] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 59
<3>[   13.318328] wlan: [704:E :PE ] CheckParam: 661: Param id 40 not valid
<3>[   13.318359] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 40
<3>[   13.318359] wlan: [704:E :PE ] CheckParam: 661: Param id 5 not valid
<3>[   13.318389] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 5
<3>[   13.318389] wlan: [704:E :PE ] CheckParam: 661: Param id 208 not valid
<3>[   13.318420] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 208
<3>[   13.318420] wlan: [704:E :PE ] CheckParam: 661: Param id 83 not valid
<3>[   13.318450] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 83
<3>[   13.318450] wlan: [704:E :PE ] CheckParam: 661: Param id 259 not valid
<3>[   13.318450] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 259
<3>[   13.318481] wlan: [704:E :PE ] CheckParam: 661: Param id 210 not valid
<3>[   13.318481] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 210
<3>[   13.318511] wlan: [704:E :PE ] CheckParam: 661: Param id 215 not valid
<3>[   13.318511] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 215
<3>[   13.318542] wlan: [704:E :PE ] CheckParam: 661: Param id 29 not valid
<3>[   13.318542] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 29
<3>[   13.318572] wlan: [704:E :PE ] CheckParam: 661: Param id 28 not valid
<3>[   13.318572] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 28
<3>[   13.318603] wlan: [704:E :PE ] CheckParam: 661: Param id 30 not valid
<3>[   13.318603] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 30
<3>[   13.318634] wlan: [704:E :PE ] CheckParam: 661: Param id 31 not valid
<3>[   13.318634] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 31
<3>[   13.318664] wlan: [704:E :PE ] CheckParam: 661: Param id 212 not valid
<3>[   13.318664] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 212
<3>[   13.318695] wlan: [704:E :PE ] CheckParam: 661: Param id 289 not valid
<3>[   13.318695] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 289
<3>[   13.318725] wlan: [704:E :PE ] CheckParam: 661: Param id 260 not valid
<3>[   13.318725] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 260
<3>[   13.318756] wlan: [704:E :PE ] CheckParam: 661: Param id 290 not valid
<3>[   13.318756] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 290
<3>[   13.318756] wlan: [704:E :PE ] CheckParam: 661: Param id 291 not valid
<3>[   13.318786] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 291
<3>[   13.318786] wlan: [704:E :PE ] CheckParam: 661: Param id 297 not valid
<3>[   13.318817] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 297
<3>[   13.318817] wlan: [704:E :PE ] CheckParam: 661: Param id 268 not valid
<3>[   13.318817] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 268
<3>[   13.318847] wlan: [704:E :PE ] CheckParam: 661: Param id 269 not valid
<3>[   13.318847] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 269
<3>[   13.318878] wlan: [704:E :PE ] CheckParam: 661: Param id 270 not valid
<3>[   13.318878] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 270
<3>[   13.318908] wlan: [704:E :PE ] CheckParam: 661: Param id 272 not valid
<3>[   13.318908] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 272
<3>[   13.318939] wlan: [704:E :PE ] CheckParam: 661: Param id 276 not valid
<3>[   13.318939] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 276
<3>[   13.318939] wlan: [704:E :PE ] CheckParam: 661: Param id 277 not valid
<3>[   13.318969] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 277
<3>[   13.318969] wlan: [704:E :PE ] CheckParam: 661: Param id 279 not valid
<3>[   13.318969] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 279
<3>[   13.319000] wlan: [704:E :PE ] CheckParam: 661: Param id 278 not valid
<3>[   13.319000] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 278
<3>[   13.319030] wlan: [704:E :PE ] CheckParam: 661: Param id 280 not valid
<3>[   13.319030] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 280
<3>[   13.319030] wlan: [704:E :PE ] CheckParam: 661: Param id 32 not valid
<3>[   13.319061] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 32
<3>[   13.319061] wlan: [704:E :PE ] CheckParam: 661: Param id 282 not valid
<3>[   13.319091] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 282
<3>[   13.319091] wlan: [704:E :PE ] CheckParam: 661: Param id 274 not valid
<3>[   13.319091] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 274
<3>[   13.319122] wlan: [704:E :PE ] CheckParam: 661: Param id 275 not valid
<3>[   13.319122] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 275
<3>[   13.319122] wlan: [704:E :PE ] CheckParam: 661: Param id 287 not valid
<3>[   13.319152] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 287
<3>[   13.319152] wlan: [704:E :PE ] CheckParam: 661: Param id 17 not valid
<3>[   13.319183] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 17
<3>[   13.319183] wlan: [704:E :PE ] CheckParam: 661: Param id 14 not valid
<3>[   13.319183] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 14
<3>[   13.319213] wlan: [704:E :PE ] CheckParam: 661: Param id 77 not valid
<3>[   13.319213] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 77
<3>[   13.319244] wlan: [704:E :PE ] CheckParam: 661: Param id 69 not valid
<3>[   13.319244] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 69
<3>[   13.319274] wlan: [704:E :PE ] CheckParam: 661: Param id 287 not valid
<3>[   13.319274] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 287
<3>[   13.319305] wlan: [704:E :PE ] CheckParam: 661: Param id 288 not valid
<3>[   13.319305] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 288
<3>[   13.319335] wlan: [704:E :PE ] CheckParam: 661: Param id 271 not valid
<3>[   13.319335] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 271
<3>[   13.319335] wlan: [704:E :PE ] CheckParam: 661: Param id 206 not valid
<3>[   13.319366] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 206
<3>[   13.319366] wlan: [704:E :PE ] CheckParam: 661: Param id 292 not valid
<3>[   13.319396] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 292
<3>[   13.319396] wlan: [704:E :PE ] wlan_cfgGetInt: 351: Not valid cfg id 195
<3>[   13.319427] wlan: [704:E :PE ] CheckParam: 661: Param id 195 not valid
<3>[   13.319427] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 195
<3>[   13.319427] wlan: [704:E :PE ] wlan_cfgGetInt: 351: Not valid cfg id 188
<3>[   13.319458] wlan: [704:E :PE ] CheckParam: 661: Param id 188 not valid
<3>[   13.319458] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 188
<3>[   13.319488] wlan: [704:E :PE ] wlan_cfgGetInt: 351: Not valid cfg id 189
<3>[   13.319488] wlan: [704:E :PE ] CheckParam: 661: Param id 189 not valid
<3>[   13.319488] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 189
<3>[   13.319519] wlan: [704:E :PE ] CheckParam: 661: Param id 203 not valid
<3>[   13.319519] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 203
<3>[   13.319549] wlan: [704:E :PE ] CheckParam: 661: Param id 156 not valid
<3>[   13.319549] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 156
<3>[   13.319549] wlan: [704:E :PE ] wlan_cfgGetInt: 351: Not valid cfg id 157
<3>[   13.319580] wlan: [704:E :PE ] CheckParam: 661: Param id 157 not valid
<3>[   13.319580] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 157
<3>[   13.319610] wlan: [704:E :PE ] CheckParam: 661: Param id 175 not valid
<3>[   13.319610] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 175
<3>[   13.319610] wlan: [704:E :PE ] CheckParam: 661: Param id 283 not valid
<3>[   13.319641] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 283
<3>[   13.319641] wlan: [704:E :PE ] CheckParam: 661: Param id 294 not valid
<3>[   13.319671] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 294
<3>[   13.319671] wlan: [704:E :PE ] CheckParam: 661: Param id 295 not valid
<3>[   13.319671] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 295
<3>[   13.319702] wlan: [704:E :PE ] CheckParam: 661: Param id 296 not valid
<3>[   13.319702] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 296
<3>[   13.319702] wlan: [704:E :PE ] CheckParam: 661: Param id 147 not valid
<3>[   13.319763] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 147
<3>[   13.319763] wlan: [704:E :PE ] CheckParam: 661: Param id 148 not valid
<3>[   13.319793] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 148
<3>[   13.319793] wlan: [704:E :PE ] CheckParam: 661: Param id 149 not valid
<3>[   13.319793] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 149
<3>[   13.319824] wlan: [704:E :PE ] CheckParam: 661: Param id 230 not valid
<3>[   13.319824] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 230
<3>[   13.319854] wlan: [704:E :PE ] cfgSetStrNotify: 518: Invalid cfg id 0
<3>[   13.319854] wlan: [704:E :HDD] hdd_wlan_startup: Failed to set MAC Address. HALStatus is 00002601 [x00000a29]
<3>[   13.320465] wlan: [704:E :PE ] CheckParam: 661: Param id 42 not valid
<3>[   13.320495] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 42
<3>[   13.320495] wlan: [704:E :PE ] wlan_cfgGetStr: 629: Not valid cfg id 152
<3>[   13.320526] wlan: [704:E :PE ] CheckParam: 661: Param id 78 not valid
<3>[   13.320526] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 78
<3>[   13.320556] wlan: [704:E :PE ] CheckParam: 661: Param id 79 not valid
<3>[   13.320556] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 79
<3>[   13.320587] wlan: [704:E :PE ] CheckParam: 661: Param id 90 not valid
<3>[   13.320587] wlan: [704:E :PE ] ProcSetReqInternal: 578: Check param failed, param 90
<3>[   13.377899] wlan: [704:F :HDD] hdd_driver_init: WLAN Driver Initialization failed
<3>[   13.377929] wlan: driver load failure


这个错误的原因 从log也大致能看出来了 就是下载的wlan配置固件跟prima的驱动对应不上, 

正确的做法是将driver/staging/prima驱动下的firmware_bin文件夹里的WCNSS_cfg.dat 和 WCNSS_qcom_cfg.ini 替换掉手机里原来的即可,路径分别为:

/system/vendor/firmware/wlan/prima/

和/system/etc/wifi/

你可能感兴趣的:(移植高通prima wlan驱动遇到这些错误log的解决方法)