From: Johannes Berg <johannes@sipsolutions.net>
To: Tomas Winkler <tomasw@gmail.com>
Cc: linville@tuxdriver.com, yi.zhu@intel.com,
linux-wireless@vger.kernel.org,
Assaf Krauss <assaf.krauss@intel.com>
Subject: Re: [PATCH 2/2] mac80211: 11h - Handling measurement request
Date: Mon, 16 Jun 2008 11:11:03 +0200 [thread overview]
Message-ID: <1213607463.3803.27.camel@johannes.berg> (raw)
In-Reply-To: <1ba2fa240806160208l2926eeefh7f9eaf4f54d6c25c@mail.gmail.com> (sfid-20080616_110838_161665_FD438195)
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
> >> + msr_report->u.action.u.measurement.msr_elem.token = request_ie->token;
> >> + msr_report->u.action.u.measurement.msr_elem.mode |= MSR_REPORT_REFUSED;
> >
> > Also, it seems to me that should be part of the arguments or you won't
> > be able to use this function for anything else but sending a 'refused'
> > report?
>
> Don't mind to put it into arguments, just the argument list have to be alter
> anyway if real measurement is performed and results need to be sent out.
Yeah, true. Or you can just call the function
_refuse_measurement_request() instead.
> >> +/* measurement report mode field - refuse to generate a report */
> >> +#define MSR_REPORT_REFUSED BIT(2)
> >
> > That seems completely misplaced in sta_info.h to me?
>
> Yep will move it to
> include/linux/ieee80211.h ?
Sounds appropriate, though it should probably be renamed then to have a
proper IEEE80211 prefix. Are there other items in that field you might
want to collect into an enum? Doesn't matter much to me though, one can
always look it up in the spec.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2008-06-16 9:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-15 15:23 [PATCH 1/2] mac80211: 11h Infrastructure - Parsing Tomas Winkler
2008-06-15 15:23 ` [PATCH 2/2] mac80211: 11h - Handling measurement request Tomas Winkler
2008-06-16 8:41 ` Johannes Berg
2008-06-16 9:08 ` Tomas Winkler
2008-06-16 9:11 ` 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=1213607463.3803.27.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=assaf.krauss@intel.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=tomasw@gmail.com \
--cc=yi.zhu@intel.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