Search Linux Wireless

RE: wl12xx over spi with no scan results

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

 



Thanks Luca, 

configuring 

board_ref_clock = WL12XX_REFCLOCK_38, /* 38.4 MHz */

gave me the possibility to scan network but only for an essid on channel1 (delivered from one AP).

I couldn't scan others essids on other channels (for example channel 6) and I don't know why.

Have you got any idea about it ?

Regards

Alberto

root@(none):~# iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 90:F6:52:3F:C4:CC
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=42/70  Signal level=-68 dBm
                    Encryption key:on
                    ESSID:"Inpeco-Radius"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000003ea7cc7ad80
                    Extra: Last beacon: 156ms ago
                    IE: Unknown: 000D496E7065636F2D526164697573
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                       Preauthentication Supported
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101860003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C334E111BFF00000000000000000000000000000000000000000000
                    IE: Unknown: 2D1A4E111BFF00000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C34010D0800000000000000000000000000000000000000
                    IE: Unknown: 3D16010D0800000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010000004000

-----Original Message-----
From: Luciano Coelho [mailto:coelho@xxxxxx] 
Sent: martedì 11 dicembre 2012 11:51
To: Alberto Garau
Cc: linux-wireless@xxxxxxxxxxxxxxx; Ido Yariv; Arik Nemtsov
Subject: Re: wl12xx over spi with no scan results

On Tue, 2012-12-11 at 10:35 +0000, Alberto Garau wrote:
> That's an *ancient* kernel. :( Any chance you can try it with a newer kernel?
> 
> Unortunately not, that's our production kernel. 

Even if you can't use it in real life, it could be worth trying a newer kernel if you keep getting problems with that old one.  You could also try compat-wireless to get a newer wireless subsystem, at least.


> > Any other idea about why the scan command it's not properly working ?
> 
> Another common problem is the clock settings.  Are you sure the correct value for board_ref_clock in your board file?
> 
> Are you talking about "wl->ref_clock = pdata->board_ref_clock;" in the probe ? Which value should I put for 38.4MHz due to the fact that it is an integer parameter ?

Yes, that's the value I'm talking about.  You should put it in your boardfile, something like this (from panda):

static struct wl12xx_platform_data omap_panda_wlan_data  __initdata = {
	.board_ref_clock = WL12XX_REFCLOCK_38, /* 38.4 MHz */ };

You can find these values in the include/linux/wl12xx.h file.

--
Luca.


��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux