From: Marco Porsch <marco.porsch@etit.tu-chemnitz.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [RFC] mac80211: make powersave independent of interface type
Date: Tue, 09 Oct 2012 13:26:22 -0700 [thread overview]
Message-ID: <5074886E.1040400@etit.tu-chemnitz.de> (raw)
In-Reply-To: <1349807952.4683.12.camel@jlt4.sipsolutions.net>
[-- Attachment #1.1: Type: text/plain, Size: 548 bytes --]
On 10/09/2012 11:39 AM, Johannes Berg wrote:
>> Does it make any sense to test for NL80211_IFTYPE_AP and
>> NL80211_IFTYPE_AP_VLAN everytime?
>
> Not sure how you mean that?
>
See, I use the disjunction
+ if (sta->sdata->vif.type == NL80211_IFTYPE_AP ||
+ sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
at least 5 times. I thought in some situations it may be only necessary
to check for one of them, because of the function context.
> Looks good.
Thanks. Will polish it and send a patch when ready.
Regards,
Marco
[-- Attachment #1.2: marco_porsch.vcf --]
[-- Type: text/x-vcard, Size: 432 bytes --]
begin:vcard
fn:Marco Porsch
n:Porsch;Marco
org:Chemnitz University of Technology;Communication Networks
adr;quoted-printable;quoted-printable:Fakult=C3=A4t f=C3=BCr Elektrotechnik und Informationstechnik , Professur=
Kommunikationsnetze;;Technische Universit=C3=A4t Chemnitz;Chemnitz;;D - 09107;Germany
email;internet:marco.porsch@etit.tu-chemnitz.de
title:Dipl.-Ing.
tel;work:+49 371 531 37523
version:2.1
end:vcard
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5101 bytes --]
next prev parent reply other threads:[~2012-10-09 20:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-08 18:07 [RFC] mac80211: make powersave independent of interface type Marco Porsch
2012-10-09 18:39 ` Johannes Berg
2012-10-09 20:26 ` Marco Porsch [this message]
2012-10-10 5:30 ` Johannes Berg
-- strict thread matches above, loose matches on Subject: below --
2012-10-02 6:46 broadcast buffer / TIM map in mesh mode Johannes Berg
2012-10-02 22:38 ` [RFC] mac80211: make powersave independent of interface type Marco Porsch
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=5074886E.1040400@etit.tu-chemnitz.de \
--to=marco.porsch@etit.tu-chemnitz.de \
--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 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.