All of lore.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: "Malinen, Jouni" <jouni@qca.qualcomm.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: Regression caused by commit df88129
Date: Sun, 17 Feb 2013 15:21:06 -0600	[thread overview]
Message-ID: <512149C2.8020208@lwfinger.net> (raw)
In-Reply-To: <8887AA04B7EC49479420AE48C5F94A93017ACD48@NASANEXD02D.na.qualcomm.com>

On 02/17/2013 08:41 AM, Malinen, Jouni wrote:
>
>
> On 2/17/13 8:31 AM, "Larry Finger" <Larry.Finger@lwfinger.net> wrote:
>
>> IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
>> wlan0: dropped frame to c0:3f:0e:be:2b:44 (unauthorized port)
>
> I do see one of these (which, I'd assume, is actually expected if you
> have something on the system that runs to transmit before 4-way
> handshake is completed).

I also have seen one of these for some time.

>> wlan0: dropped frame to c0:3f:0e:be:2b:44 (unauthorized port)
>> wlan0: dropped frame to c0:3f:0e:be:2b:44 (unauthorized port)
>
> But this does not show up in my tests with mac80211_hwsim and the
> current wireless-testing.git and hostap.git snapshots.
>
>> The regression was bisected to commit
>> df881293c6ba9a12868491a717b25cb14ec1fa4a.
>
> Did you confirm that the latest snapshot works with this reverted?

With the commit reverted, the latest kernel-wireless version works.

>> If you need any more debugging output for this problem, please let me
>> know.
>
> Since I was unable to reproduce, some more debug output could be
> useful. Please at least verify that the STA entry for the AP is not
> marked authorized. The next step would be to check whether sta_set_flags
> in wpa_supplicant driver_nl80211.c is failing. Unfortunately, it looks
> like the current implementation does not make this very clear in the
> debug log, so some additional prints may be needed there.

Just to be clear, b43 is used as a station, not as AP. The card I am using has a 
G PHY. I added printk statements for every setting of 'authorized' in 
net/mac80211/tx.c. It is set false at line 1984, thus 'multicast' is false. 
Furthermore, sta is not NULL, but WLAN_STA_AUTHORIZED is not set in the sta 
flags. Note: sta->_flags is 0x60023.

Although sdata->vif.type is set to 2 (NL80211_IFTYPE_STATION), variable 
'authorized' was not touched at line 1908, thus "sdata->wdev.wiphy->flags & 
WIPHY_FLAG_SUPPORTS_TDLS" is false. The content of sdata->wdev.wiphy->flags is 
0x1401f8.

> Please also describe the security configuration (WPA2-Personal/CCMP?)
> that you are using.

I'm running openSUSE 12.3 RC1, which has version 1.1 of wpa_supplicant. The 
router is a Netgear WNDR3300 running standard firmware and set for WPA2-PSK(AES) 
encryption.

Checking with newer versions of the supplicant is being a problem. I built both 
2.0 from the tarball and 2.1-devel from the git repo, but nether will run with 
NetworkManager. I will see if I can resolve that problem later.

Thanks,

Larry




  reply	other threads:[~2013-02-17 21:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-17  6:31 Regression caused by commit df88129 Larry Finger
2013-02-17  8:32 ` Malinen, Jouni
2013-02-17 14:41 ` Malinen, Jouni
2013-02-17 21:21   ` Larry Finger [this message]
2013-02-18 14:01 ` Johannes Berg
2013-02-18 14:02 ` [PATCH] cfg80211: fix station change if TDLS isn't supported Johannes Berg
2013-02-18 17:24   ` Larry Finger
2013-02-18 17:25     ` Johannes Berg

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=512149C2.8020208@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=johannes@sipsolutions.net \
    --cc=jouni@qca.qualcomm.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.