All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Dedy Lansky <dlansky@codeaurora.org>
Cc: linux-wireless@vger.kernel.org,
	'Vladimir Kondratiev' <qca_vkondrat@qca.qualcomm.com>
Subject: Re: [PATCH] cfg80211: PBSS basic support
Date: Tue, 27 Jan 2015 12:01:01 +0100	[thread overview]
Message-ID: <1422356461.1890.64.camel@sipsolutions.net> (raw)
In-Reply-To: <002501d03a1f$024d1e30$06e75a90$@codeaurora.org>

On Tue, 2015-01-27 at 12:50 +0200, Dedy Lansky wrote:

> > > @@ -896,6 +949,7 @@ cfg80211_inform_bss_width(struct wiphy *wiphy,
> > >  	struct cfg80211_bss_ies *ies;
> > >  	struct ieee80211_channel *channel;
> > >  	struct cfg80211_internal_bss tmp = {}, *res;
> > > +	int bss_type;
> > 
> > enum.
> > 
> > Except that you actually forgot to store the BSS type ...
> > 
> > Actually - you didn't add it to the bss struct, but to wdev? Why is it needed there?? I don't see you using it?
> 
> wdev->bss_type refers to the BSS that we are connecting/connected to (Maybe rename to "conn_bss_type"?).
> This member is used in sme.c. It was introduced because once the connect is complete and driver calls cfg80211_connect_result(), cfg needs to find the BSS being connected to.

Ok I was thinking you were adding it to struct cfg80211_bss. Wouldn't
that make a bit more sense? Of course it can also be derived from
cfg80211_bss::channel and cfg80211_bss::capability, your call.

However, it doesn't seem that you need it in wdev if you have it there
inside wdev->current_bss?

johannes


  reply	other threads:[~2015-01-27 11:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-27  7:55 [PATCH] cfg80211: PBSS basic support Dedy Lansky
2015-01-27  8:24 ` Johannes Berg
2015-01-27 10:50   ` Dedy Lansky
2015-01-27 11:01     ` Johannes Berg [this message]
2015-01-27 14:48       ` Dedy Lansky
2015-02-06 19:35         ` 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=1422356461.1890.64.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=dlansky@codeaurora.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=qca_vkondrat@qca.qualcomm.com \
    /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.