linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: ath5k: problems during the connection to a sitecom AP
@ 2008-11-24  9:35 rossi.f
  0 siblings, 0 replies; 13+ messages in thread
From: rossi.f @ 2008-11-24  9:35 UTC (permalink / raw)
  To: hs4233, linux-wireless; +Cc: Bob Copeland

>> When I do a scan after having loaded the driver, the iwlist
>> can't report 
the SSID because it's hidden. I don't know if
>> this is a problem but I have 
noticed that the reported SSIDs
>> of the two APs are a little bit different. 
With the 3com AP
>> (the working one) I get ESSID:" " (1 char blank string) 
while
>> with the Sitecom AP ESSID:"" (0 chars empty string).
>
>Okay, that 
could very well be the problem.
>
>Side node: it doesn't buy you anything to 
"hide" the SSID of an 
>AP. Actually, you can't really hide. The hidden bit 
only makes 
>the AP lie about the SSID in it's beacons, but for other 802.11 

>WLAN protocol messages (like Association Request, Assoc Resp) 
>the SSID has 
to be send in cleartext anyway.
>
>So turn of this stupid thingy. This also 
makes your roaming 
>slightly faster and use slightly less battery (because 
the 
>client doesn't need to probe the AP if it has the right, 
>expected, 
SSID. The client knows in an instant that this is the 
>case).

Yes, I know 
that the hidden SSID technique doesn't have to be used for
security purposes. I 
might activate the transmission of the SSID on
my AP but this doesn't solve the 
problem in the mac80211 framework
regarding the empty SSIDs (if this is really 
the bug).

The problem is that the ieee80211_direct_probe() function is
never 
called during the associating request via iwconfig.

Regards,
Fabio


^ permalink raw reply	[flat|nested] 13+ messages in thread
* ath5k: problems during the connection to a sitecom AP
@ 2008-11-15  1:07 Fabio Rossi
  2008-11-17 20:20 ` Fabio Rossi
  0 siblings, 1 reply; 13+ messages in thread
From: Fabio Rossi @ 2008-11-15  1:07 UTC (permalink / raw)
  To: ath5k-devel, linux-wireless

I'm testing the ath5k driver (wireless-testing v2.6.28-rc4-5172-gc1a847c) with 
my 3com 3CRDAG675 PCI card (atheros AR5212). I can try alternatively two 
different access points (both configured with WEP + hidden SSID), the 
procedure I use is the same but the results are different.

Here are the commands used:

modprobe ath5k
ifconfig ath0 192.168.1.2 up
iwconfig ath0 key <MYKEY>
iwconfig ath0 ap <AP_MAC>
iwconfig ath0 essid <MY_ESSID>


*** 3com AP ***
With this one I can associate without problems at the first try (SSID not 
broadcast + WEP encryption):

ath5k_pci 0000:00:0b.0: PCI INT A -> Link[LNKB] -> GSI 10 (level, low) -> IRQ 
10
ath5k_pci 0000:00:0b.0: registered as 'phy1'
phy1: Selected rate control algorithm 'minstrel'
ath5k phy1: Atheros AR5212 chip found (MAC: 0x56, PHY: 0x41)
ath5k phy1: RF5112B multiband radio found (0x36)
udev: renamed network interface wlan0 to ath0
ath0: direct probe to AP <AP_MAC> try 1
ath0 direct probe responded
ath0: authenticate with AP <AP_MAC>
ath0: authenticated
ath0: associate with AP <AP_MAC>
ath0: RX AssocResp from <AP_MAC> (capab=0x421 status=0 aid=4)
ath0: associated
phy1: Allocated STA <AP_MAC>
phy1: Inserted STA <AP_MAC>
ath0: switched to short barker preamble (BSSID=<AP_MAC>)
ath0: switched to short slot (BSSID=<AP_MAC>)

*** Sitecom AP ***
With this one I'm able to associate only when the SSID is broadcast (with or 
without encryption). Moreover the association process isn't successful at 
first try (like for the 3com AP) and the link quality is very bad. An example 
of ping statistics is the following

629 packets transmitted, 527 received, 16% packet loss, time 711605ms
rtt min/avg/max/mdev = 6.332/6303.120/151334.339/18133.729 ms, pipe 114

and it's common to get the following error message (transmission buffer 
saturated?):

ping: sendmsg: No buffer space available

When I disable the SSID I can't associate anymore to the AP, the only debug 
messages are the following:

ath5k_pci 0000:00:0b.0: PCI INT A -> Link[LNKB] -> GSI 10 (level, low) -> IRQ 
10
ath5k_pci 0000:00:0b.0: registered as 'phy12'
phy12: Selected rate control algorithm 'minstrel'
ath5k phy12: Atheros AR5212 chip found (MAC: 0x56, PHY: 0x41)
ath5k phy12: RF5112B multiband radio found (0x36)
udev: renamed network interface wlan0 to ath0

How can I debug to provide more details (e.g. using debugfs)?

Thank you for any help,
Fabio

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-11-25  0:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24  9:35 ath5k: problems during the connection to a sitecom AP rossi.f
  -- strict thread matches above, loose matches on Subject: below --
2008-11-15  1:07 Fabio Rossi
2008-11-17 20:20 ` Fabio Rossi
2008-11-17 20:23   ` Johannes Berg
2008-11-19 21:00     ` Fabio Rossi
2008-11-20  6:40       ` Johannes Berg
2008-11-18 15:48   ` Bob Copeland
2008-11-19 22:15     ` Fabio Rossi
2008-11-21 20:22       ` Bob Copeland
2008-11-22 16:33         ` Fabio Rossi
2008-11-24  8:31           ` Holger Schurig
2008-11-25  0:08             ` Fabio Rossi
2008-11-24  8:25         ` Holger Schurig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).