From: Vasanthakumar Thiagarajan <vasanth@atheros.com>
To: Tomas Winkler <tomasw@gmail.com>
Cc: Vasanth Thiagarajan <Vasanth.Thiagarajan@Atheros.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [RFC] mac80211: Handle power constraint level advertised in 11d+h beacon
Date: Wed, 31 Dec 2008 10:45:29 +0530 [thread overview]
Message-ID: <20081231051529.GB9080@localhost.localdomain> (raw)
In-Reply-To: <1ba2fa240812300708o40717c87x13697c180be19913@mail.gmail.com>
On Tue, Dec 30, 2008 at 08:38:15PM +0530, Tomas Winkler wrote:
> > + /* TODO: for IBSS */
>
> IIRC this particular feature of 11h is not supported in IBSS
>
No, this is supported in IBSS also. See 11.8.2 of IEEE802.11-2007.pdf.
> > + if ((conf->channel->band != IEEE80211_BAND_5GHZ) ||
> > + !(capab_info & WLAN_CAPABILITY_SPECTRUM_MGMT))
> > + return;
>
> I think our original patch removed need of IEEE80211_BAND_5GHZ as
> WLAN_CAPABILITY_SPECTRUM_MGMT
> is sufficient condition.
>
Thats right, spectrum management is only for 5Ghz, will remove that
redundant check, thanks.
> > + /* Power constraint IE length should be 1 octet */
> > + if (pwr_constr_elem_len != 1)
> > + return;
> > +
> > + if ((*pwr_constr_elem <= conf->channel->max_power) &&
> > + (*pwr_constr_elem != conf->power_constr_level)) {
>
> This is defined only when you receive country IE, how do you check for it?
The thing is AP should not send power constraint without country
element :), yeah, check is needed for the APs which dont do 11d + h
properly.
Vasanth
prev parent reply other threads:[~2008-12-31 5:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-30 12:52 [RFC] mac80211: Handle power constraint level advertised in 11d+h beacon Vasanthakumar Thiagarajan
2008-12-30 12:53 ` Vasanthakumar Thiagarajan
2008-12-30 15:08 ` Tomas Winkler
2008-12-31 5:15 ` Vasanthakumar Thiagarajan [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=20081231051529.GB9080@localhost.localdomain \
--to=vasanth@atheros.com \
--cc=Vasanth.Thiagarajan@Atheros.com \
--cc=linux-wireless@vger.kernel.org \
--cc=tomasw@gmail.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 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).