Scan problem (CRC) (was: Difference betwwen linux 2.6.24 and 2.6.25 ?)

Johan Adolfsson Johan.Adolfsson at axis.com
Wed May 14 09:48:05 EDT 2008



> -----Original Message-----
> From: Holger Schurig [mailto:hs4233 at mail.mn-solutions.de] 
> Sent: den 14 maj 2008 15:10
> To: Johan Adolfsson
> Cc: libertas-dev at lists.infradead.org; 'Johan Adolfsson'
> Subject: Re: Scan problem (CRC) (was: Difference betwwen 
> linux 2.6.24 and 2.6.25 ?)
> 
> 
> > I have added libertas_debug=0x7fffff when insmod:ing libertas
> > and attached is the debug including all commands after the
> > first GET_HW_SPEC (including some debug from our sdio driver)
> 
> Ugh. I didn't ask for that much :-/

Sorry, it seemed my mail didn't get it to the list either - 
"strange header" a response mail said...

> 
> 
> > My command looks ok, I think, but I do not get any response.
> > Instead a INT_DATA_CRC error interrupt:
> 
> So you found your problem. I'm quite certain this is not an
> libertas issue, but a data transfer problem to/from your device.
> 
> Libertas doesn't use CRCs for normal commands (it uses it only
> for downloading firmware).
> 
> So the following are just things that I noticed, and they might be
> quite unrelated to the problem.


One thing we noticed is that this is the first command with
an odd length (and the expected response has an odd length as well)
Will poke the asic guys just to check...
 

> > libertas: DATA_RATE: fake current rate 0x6c
> 
> I haven't seen a patch for this and cannot judge if that is a
> problem or not.

Basically in cmd.c:lbs_get_data_rate() I added
  if ((priv->fwrelease <<24 & 0xFF) >= 8) {
    ret = (int) lbs_fw_index_to_data_rate(12);
    printk("libertas: DATA_RATE: fake current rate 0x%x\n", ret);
    goto out;
  }

However I can't really see where the result from lbs_get_data_rate() 
is used for anything!
(and at some point I believed that just executing the unsupported 
commands mad things worse)
 
> When your driver executes CMD_802_11_RF_CHANNEL, it sends this to
> the card:
> 
> > libertas DNLD_CMD: 1d 00 30 00 04 00 00 00 00 00 05 bf 00 00 e7 c0
> > libertas DNLD_CMD: 28 02 e7 c0 e0 9e 05 bf 00 00 00 00 14 3d dd c0
> > libertas DNLD_CMD: 08 3d dd c0 74 5d 03 c0 80 5a 03 c0 44 3d dd c0
> 
> the driver that is rigth now in wireless-testing doesn't send this
> junk anymore:
> 
> libertas DNLD_CMD: 1d 00 30 00 04 00 00 00 00 00 00 00 00 00 00 00
> libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Ok, will try to sync with that.

> > libertas: PREP_CMD: command 0x00a3 failed: 2
> 
> This is expected, your firmware doesn't support mesh, it seems.


> > libertas DNLD_CMD: 4d 00 10 00 07 00 00 00 01 00 00 40 8c 18 34 55
> 
> Maybe because you're using the "ip" command (I'm using "ifconfig")
> does the driver download a MAC address into the card. That doesn't
> happen on my side.

My init script does that.
 
> Why this happens twice remains a secret I don't have insight into ...

Some weirdness in the above initscript:-)

 
> 
> > sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
> 
> What does this mean?  Note that some commands, e.g. the scan
> command, can take long (not one second, but hey, it takes time).
> Does something in your sdhci driver need a reply within a
> specific timeframe?
I believe that that timer is the timeout from requsting the bus
to the INT_RESPONSE .

 
> 
> If you don't run "iwlist eth1 scan", but "iwconfig eth1", do you
> get some sensible output?  Or do you also get weird errors?

I get the following (some timeouts but no errors)

    + iwconfig eth1:
libertas DNLD_CMD: 1e 00 0c 00 0b 00 00 00 00 00 00 00
        sdhci [sdhci_send_command()]: Sending cmd (34) (last 1 35)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23ee0
        sdhci [sdhci_finish_command()]: Ending cmd (34)
        sdhci [sdhci_send_command()]: Sending cmd (35) (last 1 34)
        sdhci [sdhci_prepare_data()]: blksz 0x0010=16 blks 1 flags
0x00000100
        sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23e90
        sdhci [sdhci_finish_command()]: Ending cmd (35)
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x2
        sdhci [sdhci_finish_data()]: Ending data 16 bytes stop:0 error:0
        sdhci [sdhci_tasklet_finish()]: Ending request, cmd (35)
        sdhci [sdhci_send_command()]: Sending cmd (34) (last 1 35)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0caff48
        sdhci [sdhci_finish_command()]: Ending cmd (34)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee4

libertas: Command 1e timed out
libertas: requeueing command 1e due to timeout (#1)
libertas DNLD_CMD: 1e 00 0c 00 0b 00 00 00 00 00 00 00
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23ee0
        sdhci [sdhci_send_command()]: Sending cmd (35) (last 4 34)
        sdhci [sdhci_prepare_data()]: blksz 0x0010=16 blks 1 flags
0x00000100
        sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23e90
        sdhci [sdhci_finish_command()]: Ending cmd (35)
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x2
        sdhci [sdhci_finish_data()]: Ending data 16 bytes stop:0 error:0
        sdhci [sdhci_tasklet_finish()]: Ending request, cmd (35)
        sdhci [sdhci_send_command()]: Sending cmd (34) (last 1 35)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0caff48
        sdhci [sdhci_finish_command()]: Ending cmd (34)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee4
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0caff48
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee4
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafebc
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafebc
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_send_command()]: Sending cmd (35) (last 9 34)
        sdhci [sdhci_prepare_data()]: blksz 0x0012=18 blks 1 flags
0x00000200
        sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafe90
        sdhci [sdhci_finish_command()]: Ending cmd (35)
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x20
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x2
        sdhci [sdhci_finish_data()]: Ending data 18 bytes stop:0 error:0
        sdhci [sdhci_tasklet_finish()]: Ending request, cmd (35)
libertas CMD_RESP: 1e 80 0e 00 0b 00 00 00 00 00 0d 00 0f 04
libertas: Received result 0 to command 1e after 1 retries
libertas DNLD_CMD: 16 00 90 00 0c 00 00 00 00 00 06 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        sdhci [sdhci_send_command()]: Sending cmd (34) (last 1 35)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23ee0
        sdhci [sdhci_finish_command()]: Ending cmd (34)
        sdhci [sdhci_send_command()]: Sending cmd (35) (last 1 34)
        sdhci [sdhci_prepare_data()]: blksz 0x0094=148 blks 1 flags
0x00000100
        sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23e90
        sdhci [sdhci_finish_command()]: Ending cmd (35)
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x2
        sdhci [sdhci_finish_data()]: Ending data 148 bytes stop:0 error:0
        sdhci [sdhci_tasklet_finish()]: Ending request, cmd (35)
        sdhci [sdhci_send_command()]: Sending cmd (34) (last 1 35)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0caff48
        sdhci [sdhci_finish_command()]: Ending cmd (34)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee4
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0caff48
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee4
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafebc
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafebc
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_send_command()]: Sending cmd (35) (last 9 34)
        sdhci [sdhci_prepare_data()]: blksz 0x0094=148 blks 1 flags
0x00000200
        sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafe90
        sdhci [sdhci_finish_command()]: Ending cmd (35)
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x20
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x2
        sdhci [sdhci_finish_data()]: Ending data 148 bytes stop:0 error:0
        sdhci [sdhci_tasklet_finish()]: Ending request, cmd (35)
libertas CMD_RESP: 16 80 90 00 0c 00 00 00 00 00 06 00 01 00 09 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 16 00 90 00 0d 00 00 00 00 00 05 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        sdhci [sdhci_send_command()]: Sending cmd (34) (last 1 35)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23ee0
        sdhci [sdhci_finish_command()]: Ending cmd (34)
        sdhci [sdhci_send_command()]: Sending cmd (35) (last 1 34)
        sdhci [sdhci_prepare_data()]: blksz 0x0094=148 blks 1 flags
0x00000100
        sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23e90
        sdhci [sdhci_finish_command()]: Ending cmd (35)
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x2
        sdhci [sdhci_finish_data()]: Ending data 148 bytes stop:0 error:0
        sdhci [sdhci_tasklet_finish()]: Ending request, cmd (35)
        sdhci [sdhci_send_command()]: Sending cmd (34) (last 1 35)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0caff48
        sdhci [sdhci_finish_command()]: Ending cmd (34)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee4
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0caff48
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee4
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafebc
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafebc
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_send_command()]: Sending cmd (35) (last 9 34)
        sdhci [sdhci_prepare_data()]: blksz 0x0094=148 blks 1 flags
0x00000200
        sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafe90
        sdhci [sdhci_finish_command()]: Ending cmd (35)
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x20
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x2
        sdhci [sdhci_finish_data()]: Ending data 148 bytes stop:0 error:0
        sdhci [sdhci_tasklet_finish()]: Ending request, cmd (35)
libertas CMD_RESP: 16 80 90 00 0d 00 00 00 00 00 05 00 02 00 2b 09
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 16 00 90 00 0e 00 00 00 00 00 08 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas DNLD_CMD: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        sdhci [sdhci_send_command()]: Sending cmd (34) (last 1 35)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23ee0
        sdhci [sdhci_finish_command()]: Ending cmd (34)
        sdhci [sdhci_send_command()]: Sending cmd (35) (last 1 34)
        sdhci [sdhci_prepare_data()]: blksz 0x0094=148 blks 1 flags
0x00000100
        sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23e90
        sdhci [sdhci_finish_command()]: Ending cmd (35)
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x2
        sdhci [sdhci_finish_data()]: Ending data 148 bytes stop:0 error:0
        sdhci [sdhci_tasklet_finish()]: Ending request, cmd (35)
        sdhci [sdhci_send_command()]: Sending cmd (34) (last 1 35)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0caff48
        sdhci [sdhci_finish_command()]: Ending cmd (34)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee4
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0caff48
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee4
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafebc
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafebc
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafee0
        sdhci [sdhci_send_command()]: Sending cmd (35) (last 9 34)
        sdhci [sdhci_prepare_data()]: blksz 0x0094=148 blks 1 flags
0x00000200
        sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc0cafe90
        sdhci [sdhci_finish_command()]: Ending cmd (35)
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x20
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x2
        sdhci [sdhci_finish_data()]: Ending data 148 bytes stop:0 error:0
        sdhci [sdhci_tasklet_finish()]: Ending request, cmd (35)
libertas CMD_RESP: 16 80 90 00 0e 00 00 00 00 00 08 00 02 00 2a 09
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
libertas CMD_RESP: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
eth1      IEEE 802.11b/g  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power=13 dBm
          Retry limit:8   RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

    + Scan: iwlist eth1 scan
libertas SCAN_CMD: 03 00 00 00 00 00 00
libertas SCAN_TLV: 01 01 1c 00 00 01 00 00 00 64 00 00 02 00 00 00
libertas SCAN_TLV: 64 00 00 03 00 00 00 64 00 00 04 00 00 00 64 00
libertas SCAN_TLV: 01 00 0c 00 82 84 8b 96 0c 12 18 24 30 48 60 6c
libertas DNLD_CMD: 06 00 3f 00 0f 00 00 00 03 00 00 00 00 00 00 01
libertas DNLD_CMD: 01 1c 00 00 01 00 00 00 64 00 00 02 00 00 00 64
libertas DNLD_CMD: 00 00 03 00 00 00 64 00 00 04 00 00 00 64 00 01
libertas DNLD_CMD: 00 0c 00 82 84 8b 96 0c 12 18 24 30 48 60 6c
        sdhci [sdhci_send_command()]: Sending cmd (34) (last 1 35)
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23ee0
        sdhci [sdhci_finish_command()]: Ending cmd (34)
        sdhci [sdhci_send_command()]: Sending cmd (35) (last 1 34)
        sdhci [sdhci_prepare_data()]: blksz 0x0043=67 blks 1 flags
0x00000100
        sdhci [sdhci_prepare_data()]: tsac 1000 ms nsac 0 clk
## Odd len!
        sdhci [sdhci_irq()]: *** sdhci:slot0 got interrupt error: 0x00208003
        sdhci [sdhci_cmd_irq()]: sdhci:slot0 cmd irq: 0x1 cmd 0xc1c23e90
        sdhci [sdhci_finish_command()]: Ending cmd (35)
        sdhci [sdhci_data_irq()]: sdhci:slot0 data irq: 0x200002
        sdhci [sdhci_finish_data()]: Ending data 0 bytes stop:0 error:-84
        sdhci [sdhci_tasklet_finish()]: Ending request, cmd (35)
        sdhci [sdhci_tasklet_finish()]: Error c 0 d -84 cmd (35)

 /Johan




More information about the libertas-dev mailing list