linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Kalle Valo <kalle.valo@iki.fi>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 00/12] at76_usb mac80211 port
Date: Mon, 11 Feb 2008 00:05:45 -0500	[thread overview]
Message-ID: <1202706345.20836.26.camel@dv> (raw)
In-Reply-To: <20080210145733.17592.61729.stgit@tikku>

On Sun, 2008-02-10 at 16:59 +0200, Kalle Valo wrote:
> Here's a patch series of my at76_usb mac80211 port. I'm sending them now 
> for comments. Currently open mode and WEP authentication are supported.

Kalle, thank you for your work!

I've put your patches on http://git.80211libre.org/at76_usb.git so that
they can be tested by more users.  I gave no promise about continuity of
the branch, so I'm ready to replace the patches.

I haven't looked at the code yet, but here are some testing results.

When trying to associate to an AP without security (MadWifi on a PC),
that's what I see in the logs:

wlan3: Initial auth_alg=0
wlan3: authenticate with AP 00:0b:6b:56:01:bf
wlan3: authenticate with AP 00:0b:6b:56:01:bf
wlan3: RX authentication from 00:0b:6b:56:01:bf (alg=0 transaction=2 status=0)
wlan3: authenticated
wlan3: associate with AP 00:0b:6b:56:01:bf
wlan3: authentication frame received from 00:0b:6b:56:01:bf, but not in authenticate state - ignored
wlan3: associate with AP 00:0b:6b:56:01:bf
wlan3: RX AssocResp from 00:0b:6b:56:01:bf (capab=0x421 status=0 aid=1)
wlan3: associated
wlan3: association frame received from 00:0b:6b:56:01:bf, but not in associate state - ignored

No pings come through.  I see on the AP that the AP is receiving ARP
requests and sending ARP replies, so it must be the receiving side in
at76_usb that is broken.

When trying to connect to the same AP with a WEP key, this appears in
the kernel log:

phy5: CMD_JOIN failed: 7<7>wlan3: CTS protection enabled
(BSSID=00:0b:6b:56:01:bf)
wlan3: CTS protection disabled (BSSID=00:0b:6b:56:01:bf)

You forgot end of line in the message (that's patch 05/12).  I'm totally
at loss why a positive value us printed.  When trying to set the key and
ESSID again, I get this:

wlan3: Initial auth_alg=0
wlan3: authenticate with AP 00:0b:6b:56:01:bf
wlan3: authenticate with AP 00:0b:6b:56:01:bf
wlan3: authenticate with AP 00:0b:6b:56:01:bf
wlan3: authentication with AP 00:0b:6b:56:01:bf timed out

Pings don't come through.  Everything is within one room.  Attenuation
shouldn't be an issue.

Another interesting problem - scan results show the channel two times
(not counting the "frequency" line).  Other mac80211 drivers do it once.
No idea why.

wlan3     Scan completed :
          Cell 01 - Address: 00:0B:6B:56:01:BF
                    ESSID:"Moody"
                    Mode:Master
                    Frequency:2.462 GHz (Channel 11)
                    Channel:11
                    Channel:11
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Extra:tsf=00000000159e489e

-- 
Regards,
Pavel Roskin

  parent reply	other threads:[~2008-02-11  5:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-10 14:59 [PATCH 00/12] at76_usb mac80211 port Kalle Valo
2008-02-10 14:59 ` [PATCH 01/12] Use net/mac80211.h instead of net/ieee80211.h Kalle Valo
2008-02-10 15:00 ` [PATCH 02/12] Add at76_dbg_dump() macro Kalle Valo
2008-02-10 15:00 ` [PATCH 03/12] Convert DBG_TX levels to use at76_dbg_dump() Kalle Valo
2008-02-10 15:00 ` [PATCH 04/12] Add DBG_CMD for debugging firmware commands Kalle Valo
2008-02-10 15:00 ` [PATCH 05/12] at76_usb: add mac80211 support Kalle Valo
2008-02-10 15:00 ` [PATCH 06/12] Add support for monitor mode Kalle Valo
2008-02-10 15:49   ` Michael Buesch
2008-02-10 15:52     ` Michael Buesch
2008-03-09 16:10     ` Kalle Valo
2008-03-09 17:39       ` Michael Buesch
2008-02-10 15:00 ` [PATCH 07/12] Add support for WEP Kalle Valo
2008-02-10 15:00 ` [PATCH 08/12] Remove support the legacy stack Kalle Valo
2008-02-10 15:00 ` [PATCH 09/12] Use wiphy_name everywhere where needed Kalle Valo
2008-02-10 15:01 ` [PATCH 10/12] Allocate struct at76_priv using ieee80211_alloc_hw() Kalle Valo
2008-02-10 15:01 ` [PATCH 11/12] Prepare for struct net_device removal Kalle Valo
2008-02-10 15:01 ` [PATCH 12/12] Remove struct net_device Kalle Valo
2008-02-11  5:05 ` Pavel Roskin [this message]
2008-02-11  5:17   ` [PATCH 00/12] at76_usb mac80211 port Pavel Roskin
2008-03-09 16:43   ` Kalle Valo
2008-03-10  1:00     ` Pavel Roskin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1202706345.20836.26.camel@dv \
    --to=proski@gnu.org \
    --cc=kalle.valo@iki.fi \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).