All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: "Undekari, Sunil Dutt" <usdutt@qti.qualcomm.com>,
	"Kushwaha, Purushottam" <pkushwah@qti.qualcomm.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"Malinen, Jouni" <jouni@qca.qualcomm.com>,
	"Hullur Subramanyam, Amarnath" <amarnath@qca.qualcomm.com>,
	"Kumar, Deepak (QCA)" <djindal@qti.qualcomm.com>
Subject: Re: [PATCH v6] cfg80211: Provision to allow the support for different beacon intervals
Date: Fri, 26 Aug 2016 10:07:48 +0200	[thread overview]
Message-ID: <1472198868.390.18.camel@sipsolutions.net> (raw)
In-Reply-To: <b13661a358d94e81950f6c4387681bd4@aphydexm01f.ap.qualcomm.com>

Hi,

Sorry - missed that mail somehow.

> cfg80211_validate_beacon_int -> cfg80211_iter_combinations shall be
> invoked for the interface combinations , currently.
> diff_beacon_int_gcd_min is applicable for the interface combinations
> and am not sure how can we validate this for a single interface .
> This specific interface can be part of two different groups (
> interface combinations) with different values for
> "diff_beacon_int_gcd_min". 
> I don't think we can get the match for the right set of combination
> here , isn't ? 

Well if you have just a single interface, any combination that contains
it is valid, so you'd just continue?

I *think* the code works by checking if any combination applies to the
currently desired state, and rejects if no combination is possible,
that would still be perfectly reasonable here, no?

> To make things simple , can we ignore the following rule 
> " When >0, any beacon interval must also be bigger than this value." 
> and rather have only the following one ? 
> " When >0, different beacon intervals must have a GCD that's at least
> as big as this value."  (To be more precise , any second interface
> which does not meet this rule , will fail to start ) .

Yeah, I suppose we could, but does that really make sense? If you can
have a smaller BI, then you could as well have a smaller GCD, no?

johannes

      reply	other threads:[~2016-08-26  8:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-12  8:39 [PATCH v6] cfg80211: Provision to allow the support for different beacon intervals Purushottam Kushwaha
2016-08-12  9:54 ` Johannes Berg
2016-08-12 11:34   ` Undekari, Sunil Dutt
2016-08-12 11:42     ` Johannes Berg
2016-08-12 12:32       ` Undekari, Sunil Dutt
2016-08-26  8:07         ` Johannes Berg [this message]

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=1472198868.390.18.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=amarnath@qca.qualcomm.com \
    --cc=djindal@qti.qualcomm.com \
    --cc=jouni@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkushwah@qti.qualcomm.com \
    --cc=usdutt@qti.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.