Search Linux Wireless

Re: scan does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> How do i check if the communication between the host and
> libertas is proper? 

The communication between your device and the CPU on the libertas
device seems to be correct, otherwise you'd have error messages
in your dmesg.

You can also turn run "lbsdebug +enter +host +cmd +hex" to get
even more info, but apparently the libertas device doesn't give
you any scan results back.

Please consider a broken antenna, antenna socket or otherwise
some error in your RF setup. Or maybe you have 802.11a
access-points on 5 GHz, while you card can only run 2.4 GHz.


Here's for example a dmesg output of a successful scan:

libertas cmd: DNLD_CMD: command 0x0010, seq 239, size 18
libertas cmd: CMD_RESP: response 0x8010, seq 239, size 18
libertas cmd: DNLD_CMD: command 0x0028, seq 240, size 12
libertas cmd: CMD_RESP: response 0x8028, seq 240, size 12
libertas cmd: DNLD_CMD: command 0x0006, seq 241, size 67
libertas cmd: CMD_RESP: response 0x8006, seq 241, size 109
libertas cmd: DNLD_CMD: command 0x0006, seq 242, size 67
libertas cmd: CMD_RESP: response 0x8006, seq 242, size 11
libertas cmd: DNLD_CMD: command 0x0006, seq 243, size 67
libertas cmd: CMD_RESP: response 0x8006, seq 243, size 351
libertas cmd: DNLD_CMD: command 0x0006, seq 244, size 53
libertas cmd: CMD_RESP: response 0x8006, seq 244, size 11

See how big the size-numbers for the scan-responses are. That's
because my device find some APs and returns all the data back.

In your case, with 11-bytes-only response, it doesn't find 
anything. For example, when I deliberately scan only one 
channel, where no AP is available, I'll get back the same 11 
bytes as you. In the following example, I also turned 
on "lbsdebug +hex". Then I get back:

libertas cmd: CMD_RESP: response 0x8006, seq 246, size 11
libertas CMD_RESP: 06 80 0b 00 f6 00 00 00 00 00 00

And that is:

   06 08    CMD_802_11_SCAN (actually a response, because the
            high bit is set)
   0b 00    size of response (== 11 bytes)
   f6 00    sequence number
   00 00    result of command exection (== success)
   00 00    buffer size of scan response
   00 00    number of APs in response set

Best regards,
Holger

-- 
http://www.holgerschurig.de
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux