Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Stefanik Gábor" <netrolller.3d@gmail.com>
To: "Johannes Berg" <johannes@sipsolutions.net>
Cc: "John W. Linville" <linville@tuxdriver.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [RFC 2/3] mac80211: Make use of the new F_TX_NOACK and F_TX_NOSEQ Radiotap TX flags
Date: Fri, 12 Dec 2008 23:43:54 +0100	[thread overview]
Message-ID: <69e28c910812121443h1fae52e6uc88749d7e9baf529@mail.gmail.com> (raw)
In-Reply-To: <1229121558.3565.6.camel@johannes.berg>

On Fri, Dec 12, 2008 at 11:39 PM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Fri, 2008-12-12 at 23:32 +0100, Stefanik G=E1bor wrote:
>> Honor the 2 new flags in the "TX Flags" Radiotap field, introduced i=
n
>> the previous commit.
>>
>> Signed-off-by: G=E1bor Stefanik <netrolller.3d@gmail.com>
>>
>> ---
>>
>> Patch also available as an attachment in case Gmail decides to damag=
e it.
>>
>> diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
>> index 155a204..141099a 100644
>> --- a/net/mac80211/ieee80211_i.h
>> +++ b/net/mac80211/ieee80211_i.h
>> @@ -143,6 +143,8 @@ typedef unsigned __bitwise__ ieee80211_tx_result=
;
>>  #define IEEE80211_TX_FRAGMENTED              BIT(0)
>>  #define IEEE80211_TX_UNICAST         BIT(1)
>>  #define IEEE80211_TX_PS_BUFFERED     BIT(2)
>> +#define IEEE80211_TX_MON_NO_SEQ              BIT(3)
>> +#define IEEE80211_TX_MON_NO_ACK              BIT(4)
>
> You don't need that, you can directly modify info.
>
> johannes
>

I tried, but for some reason setting IEEE80211_TX_CTL_NO_ACK directly
in __ieee80211_parse_tx_radiotap resulted in an oops upon unloading
the driver module.

Note that IEEE80211_TX_MON_NO_ACK is not equivalent to
!(IEEE80211_TX_CTL_ASSIGN_SEQ), as it also disables mac80211's built
in sequence numbering.

--=20
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-12-12 22:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12 22:32 [RFC 2/3] mac80211: Make use of the new F_TX_NOACK and F_TX_NOSEQ Radiotap TX flags Stefanik Gábor
2008-12-12 22:39 ` Johannes Berg
2008-12-12 22:43   ` Stefanik Gábor [this message]
2008-12-12 22:45     ` Johannes Berg
2008-12-12 22:51       ` Stefanik Gábor
2008-12-12 22:52         ` Johannes Berg
2008-12-12 23:00           ` Stefanik Gábor
2008-12-12 23:01             ` Johannes Berg
2008-12-12 22:56         ` 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=69e28c910812121443h1fae52e6uc88749d7e9baf529@mail.gmail.com \
    --to=netrolller.3d@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.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