TI中文支持网
TI专业的中文技术问题搜集分享网站

wl1807 出现wlan0 但发送接收失败

在AM335X上安装了所有的驱动,iw wlan0 scan 失败,一直阻塞在那。

[  113.746368] D:mac80211 hw scan(启动内核打印使能打印这句然后就一直阻塞在这里了)

以下分别是安装驱动启动的log,ifconfig wlan0 up 的log,以及ifconfig 出现的wlan0 相关节点信息。

说明:我们的硬件,wl1807 接到AM335X的过程中有经过一个反向器,所以AM335X这边中断引脚的电平刚好和wl1807出来的电平相反,这在驱动中是否有关系,如果有,需要在哪里修改,我们用的linux内核是3.14版本,设备树启动?

 

 

这是安装驱动启动的log

[   14.126141] Loading modules backported from Linux version R8.5-0-gcb51164
[   14.133402] Backport generated by backports.git R8.4-0-g0d46f43

[   14.463875] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[   14.519965] cfg80211: Calling CRDA to update world regulatory domain
[   15.084426] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral

# [   15.100685] IRQ work

   IRQ work

……..

IRQ work

sched: RT throttling activated

wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)

wlcore: loaded
[   17.503871] wlcore: driver version: ol_r8.a9.14
[   17.508738] wlcore: compilation time: Wed Nov  4 10:25:59 2015

 

ifconfig wlan0 up:


[   28.510458] D:mac80211 start
[   28.513540] D:mac80211 add interface type 2 mac 5c:31:3e:e1:a8:ab
[   28.520762] D:allocating hw queue base: 0
[   28.524993] wl12xx_init_fw………………..
[   28.896506] D:mem_start 00700000 mem_size 0000030C
[   28.901550] D:reg_start 00802000 reg_size 00014578
[   28.906618] D:mem2_start 00B00404 mem2_size 00001000
[   28.911831] D:mem3_start 00C00000 mem3_size 00000400
[   28.917753] D:booting firmware ti-connectivity/wl18xx-fw-4.bin
[   29.010632] D:mem_start 00A02000 mem_size 00010000
[   29.015707] D:reg_start 00807000 reg_size 00005000
[   29.020882] D:mem2_start 00800000 mem2_size 0000B000
[   29.026112] D:mem3_start 00000000 mem3_size 00000000
[   29.034848] D:mem_start 00700000 mem_size 0000030C
[   29.039938] D:reg_start 00802000 reg_size 00014578
[   29.044985] D:mem2_start 00B00404 mem2_size 00001000
[   29.050225] D:mem3_start 00C00000 mem3_size 00000400
[   29.056834] D:mem_start 00700000 mem_size 0000030C
[   29.061886] D:reg_start 00802000 reg_size 00014578
[   29.066954] D:mem2_start 00B00404 mem2_size 00001000
[   29.072183] D:mem3_start 00C00000 mem3_size 00000400
[   29.077995] D:mem_start 80926000 mem_size 00016A44
[   29.083037] D:reg_start 00000000 reg_size 00000000
[   29.088094] D:mem2_start 00000000 mem2_size 00000000
[   29.093317] D:mem3_start 00000000 mem3_size 00000000
[   29.099718] D:firmware chunks to be uploaded: 15
[   29.104583] D:chunk 14 addr 0x0 len 101320
[   29.108920] D:starting firmware upload
[   29.112868] D:fw_data_len 101320 chunk_size 16384
[   29.118004] D:mem_start 00000000 mem_size 00014000
[   29.123045] D:reg_start 00810000 reg_size 0000BFFF
[   29.128110] D:mem2_start 00000000 mem2_size 00000000
[   29.133339] D:mem3_start 00000000 mem3_size 00000000
[   29.139663] D:uploading fw chunk 0xc4ffd00c to 0x0
[   29.145589] D:uploading fw chunk 0xc500100c to 0x4000
[   29.152111] D:uploading fw chunk 0xc500500c to 0x8000
[   29.158590] D:uploading fw chunk 0xc500900c to 0xc000
[   29.164662] D:mem_start 00010000 mem_size 00014000
[   29.169705] D:reg_start 00810000 reg_size 0000BFFF
[   29.174713] D:mem2_start 00000000 mem2_size 00000000
[   29.179918] D:mem3_start 00000000 mem3_size 00000000
[   29.185695] D:uploading fw chunk 0xc500d00c to 0x10000
[   29.192596] D:uploading fw chunk 0xc501100c to 0x14000
[   29.199045] D:uploading fw last chunk (3016 B) 0xc501500c to 0x18000
[   29.205928] D:chunk 13 addr 0x100000 len 131072
[   29.210723] D:starting firmware upload
[   29.214673] D:fw_data_len 131072 chunk_size 16384
[   29.219814] D:mem_start 00100000 mem_size 00014000
[   29.224862] D:reg_start 00810000 reg_size 0000BFFF
[   29.229927] D:mem2_start 00000000 mem2_size 00000000
[   29.235153] D:mem3_start 00000000 mem3_size 00000000
[   29.241364] D:mem_start 00100000 mem_size 00014000
[   29.246414] D:reg_start 00810000 reg_size 0000BFFF
[   29.251474] D:mem2_start 00000000 mem2_size 00000000
[   29.256708] D:mem3_start 00000000 mem3_size 00000000
[   29.262423] D:uploading fw chunk 0xc5015bdc to 0x100000
[   29.269213] D:mem_start 00104000 mem_size 00014000
[   29.274264] D:reg_start 00810000 reg_size 0000BFFF
[   29.279331] D:mem2_start 00000000 mem2_size 00000000
[   29.284559] D:mem3_start 00000000 mem3_size 00000000
[   29.290275] D:uploading fw chunk 0xc5019bdc to 0x104000
[   29.296579] D:mem_start 00108000 mem_size 00014000
[   29.301627] D:reg_start 00810000 reg_size 0000BFFF
[   29.306699] D:mem2_start 00000000 mem2_size 00000000
[   29.311922] D:mem3_start 00000000 mem3_size 00000000
[   29.317659] D:uploading fw chunk 0xc501dbdc to 0x108000
[   29.323953] D:mem_start 0010C000 mem_size 00014000
[   29.329035] D:reg_start 00810000 reg_size 0000BFFF
[   29.334071] D:mem2_start 00000000 mem2_size 00000000
[   29.339309] D:mem3_start 00000000 mem3_size 00000000
[   29.345027] D:uploading fw chunk 0xc5021bdc to 0x10c000
[   29.351831] D:mem_start 00110000 mem_size 00014000
[   29.356901] D:reg_start 00810000 reg_size 0000BFFF
[   29.361943] D:mem2_start 00000000 mem2_size 00000000
[   29.367182] D:mem3_start 00000000 mem3_size 00000000
[   29.372905] D:uploading fw chunk 0xc5025bdc to 0x110000
[   29.379743] D:mem_start 00114000 mem_size 00014000
[   29.384796] D:reg_start 00810000 reg_size 0000BFFF
[   29.389864] D:mem2_start 00000000 mem2_size 00000000
[   29.395086] D:mem3_start 00000000 mem3_size 00000000
[   29.400819] D:uploading fw chunk 0xc5029bdc to 0x114000
[   29.407121] D:mem_start 00118000 mem_size 00014000
[   29.412163] D:reg_start 00810000 reg_size 0000BFFF
[   29.417224] D:mem2_start 00000000 mem2_size 00000000
[   29.422452] D:mem3_start 00000000 mem3_size 00000000
[   29.428180] D:uploading fw chunk 0xc502dbdc to 0x118000
[   29.434480] D:mem_start 0011C000 mem_size 00014000
[   29.439563] D:reg_start 00810000 reg_size 0000BFFF
[   29.444608] D:mem2_start 00000000 mem2_size 00000000
[   29.449850] D:mem3_start 00000000 mem3_size 00000000
[   29.455566] D:uploading fw chunk 0xc5031bdc to 0x11c000
[   29.462383] D:uploading fw last chunk (0 B) 0xc5035bdc to 0x120000
[   29.469066] D:chunk 12 addr 0x20400000 len 53692
[   29.473923] D:starting firmware upload
[   29.477897] D:fw_data_len 53692 chunk_size 16384
[   29.482895] D:mem_start 20400000 mem_size 00014000
[   29.487966] D:reg_start 00810000 reg_size 0000BFFF
[   29.493010] D:mem2_start 00000000 mem2_size 00000000
[   29.498251] D:mem3_start 00000000 mem3_size 00000000
[   29.504338] D:mem_start 20400000 mem_size 00014000
[   29.509407] D:reg_start 00810000 reg_size 0000BFFF
[   29.514451] D:mem2_start 00000000 mem2_size 00000000
[   29.519692] D:mem3_start 00000000 mem3_size 00000000
[   29.525412] D:uploading fw chunk 0xc5035be4 to 0x20400000
[   29.532379] D:mem_start 20404000 mem_size 00014000
[   29.537448] D:reg_start 00810000 reg_size 0000BFFF
[   29.542490] D:mem2_start 00000000 mem2_size 00000000
[   29.547726] D:mem3_start 00000000 mem3_size 00000000
[   29.553474] D:uploading fw chunk 0xc5039be4 to 0x20404000
[   29.560460] D:mem_start 20408000 mem_size 00014000
[   29.565504] D:reg_start 00810000 reg_size 0000BFFF
[   29.570572] D:mem2_start 00000000 mem2_size 00000000
[   29.575797] D:mem3_start 00000000 mem3_size 00000000
[   29.581541] D:uploading fw chunk 0xc503dbe4 to 0x20408000
[   29.588549] D:uploading fw last chunk (4540 B) 0xc5041be4 to 0x2040c000
[   29.595786] D:chunk 11 addr 0xb00000 len 496
[   29.600311] D:starting firmware upload
[   29.604260] D:fw_data_len 496 chunk_size 16384
[   29.609111] D:mem_start 00B00000 mem_size 00014000
[   29.614157] D:reg_start 00810000 reg_size 0000BFFF
[   29.619227] D:mem2_start 00000000 mem2_size 00000000
[   29.624454] D:mem3_start 00000000 mem3_size 00000000
[   29.630717] D:uploading fw last chunk (496 B) 0xc5042da8 to 0xb00000
[   29.637691] D:chunk 10 addr 0xb0ae40 len 28512
[   29.642370] D:starting firmware upload
[   29.646319] D:fw_data_len 28512 chunk_size 16384
[   29.651478] D:mem_start 00B0AE40 mem_size 00014000
[   29.656551] D:reg_start 00810000 reg_size 0000BFFF
[   29.661592] D:mem2_start 00000000 mem2_size 00000000
[   29.666831] D:mem3_start 00000000 mem3_size 00000000
[   29.672476] D:mem_start 00B0AE40 mem_size 00014000
[   29.677543] D:reg_start 00810000 reg_size 0000BFFF
[   29.682581] D:mem2_start 00000000 mem2_size 00000000
[   29.687824] D:mem3_start 00000000 mem3_size 00000000
[   29.694098] D:uploading fw chunk 0xc5042fa0 to 0xb0ae40
[   29.700646] D:uploading fw last chunk (12128 B) 0xc5046fa0 to 0xb0ee40
[   29.708347] D:chunk 9 addr 0x80900000 len 60120
[   29.713114] D:starting firmware upload
[   29.717085] D:fw_data_len 60120 chunk_size 16384
[   29.722097] D:mem_start 80900000 mem_size 00014000
[   29.727165] D:reg_start 00810000 reg_size 0000BFFF
[   29.732209] D:mem2_start 00000000 mem2_size 00000000
[   29.737446] D:mem3_start 00000000 mem3_size 00000000
[   29.743634] D:uploading fw chunk 0xc5049f08 to 0x80900000
[   29.750388] D:uploading fw chunk 0xc504df08 to 0x80904000
[   29.756953] D:uploading fw chunk 0xc5051f08 to 0x80908000
[   29.763493] D:uploading fw last chunk (10968 B) 0xc5055f08 to 0x8090c000
[   29.771439] D:chunk 8 addr 0x80920000 len 31652
[   29.776214] D:starting firmware upload
[   29.780189] D:fw_data_len 31652 chunk_size 16384
[   29.785206] D:mem_start 80920000 mem_size 00014000
[   29.790278] D:reg_start 00810000 reg_size 0000BFFF
[   29.795323] D:mem2_start 00000000 mem2_size 00000000
[   29.800557] D:mem3_start 00000000 mem3_size 00000000
[   29.806779] D:uploading fw chunk 0xc50589e8 to 0x80920000
[   29.813339] D:uploading fw last chunk (15268 B) 0xc505c9e8 to 0x80924000
[   29.821479] D:chunk 7 addr 0x80940000 len 6144
[   29.826157] D:starting firmware upload
[   29.830131] D:fw_data_len 6144 chunk_size 16384
[   29.835054] D:mem_start 80940000 mem_size 00014000
[   29.840122] D:reg_start 00810000 reg_size 0000BFFF
[   29.845168] D:mem2_start 00000000 mem2_size 00000000
[   29.850407] D:mem3_start 00000000 mem3_size 00000000
[   29.856644] D:uploading fw last chunk (6144 B) 0xc5060594 to 0x80940000
[   29.863934] D:chunk 6 addr 0x80944000 len 6144
[   29.868628] D:starting firmware upload
[   29.872574] D:fw_data_len 6144 chunk_size 16384
[   29.877526] D:mem_start 80944000 mem_size 00014000
[   29.882576] D:reg_start 00810000 reg_size 0000BFFF
[   29.887640] D:mem2_start 00000000 mem2_size 00000000
[   29.892867] D:mem3_start 00000000 mem3_size 00000000
[   29.899100] D:uploading fw last chunk (6144 B) 0xc5061d9c to 0x80944000
[   29.906382] D:chunk 5 addr 0x80948000 len 6144
[   29.911084] D:starting firmware upload
[   29.915029] D:fw_data_len 6144 chunk_size 16384
[   29.919965] D:mem_start 80948000 mem_size 00014000
[   29.925011] D:reg_start 00810000 reg_size 0000BFFF
[   29.930071] D:mem2_start 00000000 mem2_size 00000000
[   29.935290] D:mem3_start 00000000 mem3_size 00000000
[   29.941715] D:uploading fw last chunk (6144 B) 0xc50635a4 to 0x80948000
[   29.949190] D:chunk 4 addr 0x8094c000 len 6144
[   29.953866] D:starting firmware upload
[   29.957842] D:fw_data_len 6144 chunk_size 16384
[   29.962751] D:mem_start 8094C000 mem_size 00014000
[   29.967817] D:reg_start 00810000 reg_size 0000BFFF
[   29.972856] D:mem2_start 00000000 mem2_size 00000000
[   29.978083] D:mem3_start 00000000 mem3_size 00000000
[   29.984215] D:uploading fw last chunk (6144 B) 0xc5064dac to 0x8094c000
[   29.991684] D:chunk 3 addr 0x80950000 len 8192
[   29.996364] D:starting firmware upload
[   30.000328] D:fw_data_len 8192 chunk_size 16384
[   30.005245] D:mem_start 80950000 mem_size 00014000
[   30.010317] D:reg_start 00810000 reg_size 0000BFFF
[   30.015353] D:mem2_start 00000000 mem2_size 00000000
[   30.020595] D:mem3_start 00000000 mem3_size 00000000
[   30.026751] D:uploading fw last chunk (8192 B) 0xc50665b4 to 0x80950000
[   30.034122] D:chunk 2 addr 0x80960000 len 20656
[   30.038916] D:starting firmware upload
[   30.042865] D:fw_data_len 20656 chunk_size 16384
[   30.047899] D:mem_start 80960000 mem_size 00014000
[   30.052947] D:reg_start 00810000 reg_size 0000BFFF
[   30.058014] D:mem2_start 00000000 mem2_size 00000000
[   30.063235] D:mem3_start 00000000 mem3_size 00000000
[   30.069544] D:uploading fw chunk 0xc50685bc to 0x80960000
[   30.076058] D:uploading fw last chunk (4272 B) 0xc506c5bc to 0x80964000
[   30.083588] D:chunk 1 addr 0x80953000 len 1536
[   30.088290] D:starting firmware upload
[   30.092237] D:fw_data_len 1536 chunk_size 16384
[   30.097172] D:mem_start 80953000 mem_size 00014000
[   30.102215] D:reg_start 00810000 reg_size 0000BFFF
[   30.107278] D:mem2_start 00000000 mem2_size 00000000
[   30.112504] D:mem3_start 00000000 mem3_size 00000000
[   30.118637] D:uploading fw last chunk (1536 B) 0xc506d674 to 0x80953000
[   30.125702] D:chunk 0 addr 0x80958000 len 24576
[   30.130497] D:starting firmware upload
[   30.134446] D:fw_data_len 24576 chunk_size 16384
[   30.139467] D:mem_start 80958000 mem_size 00014000
[   30.144505] D:reg_start 00810000 reg_size 0000BFFF
[   30.149562] D:mem2_start 00000000 mem2_size 00000000
[   30.154785] D:mem3_start 00000000 mem3_size 00000000
[   30.161052] D:uploading fw chunk 0xc506dc7c to 0x80958000
[   30.167760] D:uploading fw last chunk (8192 B) 0xc5071c7c to 0x8095c000
[   30.175142] D:mem_start 80926000 mem_size 00016A44
[   30.180214] D:reg_start 00000000 reg_size 00000000
[   30.185253] D:mem2_start 00000000 mem2_size 00000000
[   30.190494] D:mem3_start 00000000 mem3_size 00000000
[   30.196252] D:mem_start 00700000 mem_size 0000030C
[   30.201323] D:reg_start 00802000 reg_size 00014578
[   30.206362] D:mem2_start 00B00404 mem2_size 00001000
[   30.211602] D:mem3_start 00C00000 mem3_size 00000400
[   30.218022] D:chip id after firmware boot: 0x6030111
[   30.239199] D:cmd_box_addr 0xb007f8
[   30.242909] D:MBOX ptrs: 0xb00adc 0xb00b90
[   30.247515] wlcore: PHY firmware version: Rev 8.2.0.0.224
[   30.253202] D:unmasking event_mask 0xffef01
[   30.257631] D:acx event mbox mask
[   30.261264] D:cmd configure (17)
[   30.265302] D:mem_start 00800000 mem_size 000050FC
[   30.270374] D:reg_start 00B00404 reg_size 00001000
[   30.275417] D:mem2_start 00C00000 mem2_size 00000400
[   30.280650] D:mem3_start 00000000 mem3_size 00000000
[   30.286506] D:cmd configure (57)
[   30.290810] D:cmd template_set 2 (role 255)
[   30.295531] D:cmd template_set 3 (role 255)
[   30.300514] D:cmd template_set 19 (role 255)
[   30.305327] D:cmd template_set 20 (role 255)
[   30.310383] D:cmd template_set 0 (role 255)
[   30.315101] D:cmd template_set 6 (role 255)
[   30.320073] D:cmd template_set 5 (role 255)
[   30.324793] D:cmd template_set 4 (role 255)
[   30.329753] D:cmd template_set 1 (role 255)
[   30.334462] D:cmd template_set 15 (role 255)
[   30.339518] D:cmd template_set 14 (role 255)
[   30.344324] D:cmd template_set 13 (role 255)
[   30.349380] D:cmd template_set 16 (role 255)
[   30.354187] D:cmd template_set 7 (role 255)
[   30.359150] D:cmd template_set 7 (role 255)
[   30.363863] D:cmd template_set 7 (role 255)
[   30.368816] D:cmd template_set 7 (role 255)
[   30.373530] D:wl1271 mem cfg
[   30.376788] D:cmd configure (1)
[   30.380622] D:cmd config firmware logger
[   30.385020] D:cmd reg domain config
[   30.389015] D:cmd reg domain bitmap1: 0x000007ff, bitmap2: 0x00000000
[   30.466562] D:acx sg cfg
[   30.469237] D:cmd configure (22)
[   30.486609] D:acx sg enable
[   30.489554] D:cmd configure (21)
[   30.493221] D:acx mem map
[   30.495978] D:cmd interrogate
[   30.499746] D:available tx blocks: 44
[   30.503606] D:acx rx msdu life time
[   30.507502] D:cmd configure (60)
[   30.511177] D:acx dco itrim parameters
[   30.515127] D:cmd configure (55)
[   30.519092] D:acx tx config options
[   30.522769] D:cmd configure (15)
[   30.526432] D:wl1271 rx interrupt config
[   30.530852] D:cmd configure (39)
[   30.534532] D:acx cca threshold
[   30.538063] D:cmd configure (16)
[   30.541748] D:acx frag threshold: 2352
[   30.545698] D:cmd configure (40)
[   30.549615] D:cmd data path
[   30.552823] D:rx start cmd channel 1
[   30.557095] D:tx start cmd channel 1
[   30.560860] D:acx pm config
[   30.563800] D:cmd configure (64)
[   30.567804] D:acx set rate mgmt params
[   30.571753] D:cmd configure (52)
[   30.575413] D:acx config hangover
[   30.579200] D:cmd configure (66)
[   30.582929] wlcore: firmware booted (Rev 8.9.0.0.31)
[   30.588184] D:11a is supported
[   30.591397] #########################################
[   30.596726] wl12xx_cmd_role_enable…………….
[   30.601771] D:cmd role enable
[   30.605359] wl1271_init_vif_specific…………….
[   30.610617] D:acx sleep auth 2
[   30.614540] D:cmd configure (29)
[   30.618376] D:acx config ps
[   30.621321] D:cmd configure (65)
[   30.624982] D:acx fm coex setting
[   30.628768] D:cmd configure (23)
[   30.632443] D:acx rate policies
[   30.635754] D:basic_rate: 0x3, full_rate: 0x3
[   30.640358] D:cmd configure (27)
[   30.644467] D:cmd configure (27)
[   30.648314] D:cmd configure (27)
[   30.651974] D:acx group address tbl
[   30.655651] D:cmd configure (63)
[   30.659619] D:acx connection monitor parameters: disabled
[   30.665304] D:cmd configure (18)
[   30.669205] D:acx beacon filter table
[   30.673065] D:cmd configure (24)
[   30.676972] D:acx beacon filter opt enable=0
[   30.681471] D:cmd configure (11)
[   30.685126] D:acx bcn dtim options
[   30.689003] D:cmd configure (20)
[   30.692688] D:acx rssi snr avg weights
[   30.696863] D:cmd configure (43)
[   30.700534] D:acx slot
[   30.703018] D:cmd configure (2)
[   30.706910] D:acx service period timeout
[   30.711045] D:cmd configure (33)
[   30.714706] D:acx rts threshold: 2353
[   30.718855] D:cmd configure (62)
[   30.722540] D:acx ac cfg 0 cw_ming 15 cw_max 63 aifs 3 txop 0
[   30.728810] D:cmd configure (3)
[   30.732394] D:acx tid config
[   30.735429] D:cmd configure (9)
[   30.739311] D:acx ac cfg 1 cw_ming 15 cw_max 63 aifs 7 txop 0
[   30.745367] D:cmd configure (3)
[   30.749182] D:acx tid config
[   30.752217] D:cmd configure (9)
[   30.755785] D:acx ac cfg 2 cw_ming 15 cw_max 63 aifs 1 txop 3008
[   30.762419] D:cmd configure (3)
[   30.766005] D:acx tid config
[   30.769265] D:cmd configure (9)
[   30.772862] D:acx ac cfg 3 cw_ming 15 cw_max 63 aifs 1 txop 1504
[   30.779405] D:cmd configure (3)
[   30.782991] D:acx tid config
[   30.786020] D:cmd configure (9)
[   30.789890] D:acx feature cfg
[   30.793018] D:cmd configure (67)
[   30.796852] D:acx keep alive mode: 0
[   30.800618] D:cmd configure (44)
[   30.804282] D:acx ba initiator policy
[   30.808427] D:cmd configure (46)
[   30.812101] list_add…………….
[   30.815864] wlvif->bss_type 2…………
[   30.820122] D:IRQ work
[   30.822675] D:intr: 0x4 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
[   30.831137] D:WL1271_ACX_INTR_EVENT_A
[   30.834993] D:EVENT on mbox 0
[   30.838311] D:intr: 0x0 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
[   30.846784] D:IRQ work
[   30.849321] D:intr: 0x0 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
[   30.857786] D:IRQ work
[   30.860325] D:intr: 0x0 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
[   30.868792] D:IRQ work
[   30.871330] D:intr: 0x0 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
[   30.879792] D:IRQ work
[   30.882330] D:intr: 0x0 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)

…………..

[   30.879792] D:IRQ work
[   30.882330] D:intr: 0x0 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)

[   37.986510] D:elp work
[   37.989008] D:chip to elp
[   38.006499] D:IRQ work
[   38.008988] D:waking up chip from elp
[   38.012869] D:wakeup time: 0 ms

ifconfig :

                                                                            wlan0     Link encap:Ethernet  HWaddr 5C:31:3E:E1:A8:AB                                  UP BROADCAST MULTICAST  MTU:1500  Metric:1                            
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:1000                                                   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Clark Zheng1:

回复 binbin wang:

hi,

    其实也不用修改源码,修改设备树更简单点,个人觉得。修改设备树如下:

&mmc3 { status = "okay"; vmmc-supply = <&wlan_en_reg>; bus-width = <4>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>; pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>; ti,non-removable; ti,needs-special-hs-handling; cap-power-off-card; keep-power-in-suspend;

#address-cells = <1>; #size-cells = <0>; wlcore: wlcore@0 { compatible = "ti,wl1835"; reg = <2>; interrupt-parent = <&gpio3>; interrupts = <17 IRQ_TYPE_LEVEL_LOW>; };};

赞(0)
未经允许不得转载:TI中文支持网 » wl1807 出现wlan0 但发送接收失败
分享到: 更多 (0)