From: Zhu Yi <yi.zhu@intel.com>
To: Abhijeet Kolekar <abhijeet.kolekar@intel.com>,
Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [RFC PATCH] mac80211 : Association with 11n hidden ssid ap.
Date: Tue, 13 May 2008 09:26:35 +0800 [thread overview]
Message-ID: <1210641995.2506.200.camel@debian.sh.intel.com> (raw)
In-Reply-To: <12103509413156-git-send-email-abhijeet.kolekar@intel.com>
On Fri, 2008-05-09 at 09:35 -0700, Abhijeet Kolekar wrote:
> This patch fixes the association problem with 11n hidden ssid ap.
> Patch fixes the problem of associating with hidden ssid when
> all three parameters ap,essid and channel are given to iwconfig.
> This patch removes the condition of checking three parameters
> and always checks for bss in bss list while associating.
Johannes, can you please take a look at this patch? The original code
looks like a shortcut to start authentication/association when all the
three parameters (BSSID/SSID/CHANNEL) are provided. But this is not
sufficient in the case of associate with an 11N hidden SSID AP. The 11n
and wmm information must be retrieved by an active probe request. Not
doing so will cause the 11N AP refuse to associate with the client.
Thanks,
-yi
> Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
> ---
> net/mac80211/mlme.c | 7 -------
> 1 files changed, 0 insertions(+), 7 deletions(-)
>
> diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
> index cb01995..872b105 100644
> --- a/net/mac80211/mlme.c
> +++ b/net/mac80211/mlme.c
> @@ -3390,13 +3390,6 @@ static int ieee80211_sta_config_auth(struct net_device *dev,
> struct ieee80211_sta_bss *bss, *selected = NULL;
> int top_rssi = 0, freq;
>
> - if (!(ifsta->flags & (IEEE80211_STA_AUTO_SSID_SEL |
> - IEEE80211_STA_AUTO_BSSID_SEL | IEEE80211_STA_AUTO_CHANNEL_SEL))) {
> - ifsta->state = IEEE80211_AUTHENTICATE;
> - ieee80211_sta_reset_auth(dev, ifsta);
> - return 0;
> - }
> -
> spin_lock_bh(&local->sta_bss_lock);
> freq = local->oper_channel->center_freq;
> list_for_each_entry(bss, &local->sta_bss_list, list) {
next prev parent reply other threads:[~2008-05-13 1:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-09 16:35 [RFC PATCH] mac80211 : Association with 11n hidden ssid ap Abhijeet Kolekar
2008-05-13 1:26 ` Zhu Yi [this message]
2008-05-13 8:35 ` Johannes Berg
2008-05-13 8:49 ` Zhu Yi
2008-05-13 8:52 ` Tomas Winkler
2008-05-13 18:54 ` John W. Linville
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=1210641995.2506.200.camel@debian.sh.intel.com \
--to=yi.zhu@intel.com \
--cc=abhijeet.kolekar@intel.com \
--cc=johannes@sipsolutions.net \
--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).