Linux wireless drivers development
 help / color / mirror / Atom feed
From: VN <vnik5287@gmail.com>
To: linux-wireless@vger.kernel.org
Subject: Re: mac80211 noob question
Date: Sat, 12 Dec 2009 22:29:07 +1100	[thread overview]
Message-ID: <157c4da70912120329n4b6bc663ic47e95201f7569da@mail.gmail.com> (raw)
In-Reply-To: <1260613513.2442.319.camel@johannes.local>

Ah I guess I am. I just assumed that since I'm able to capture data
frames sent from node A to node B (w/o radiotap?), there should be
some way to check which ones were acknowledged by node B. Thanks for
your prompt response!

On Sat, Dec 12, 2009 at 9:25 PM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Sat, 2009-12-12 at 21:18 +1100, VN wrote:
>> Hi list,
>> I've recently started hacking mac80211/ath5k in order to implement my
>> idea of cooperative relaying. I had a good look at the mac80211 code
>> and couldn't find anything that deals with ACKing... or is it done in
>> firmware and some flag is set to indicate that the frame has been
>> acknowledged? What I'm trying to achieve right now is to receive a
>> data frame while in monitor mode (e.g. ieee80211_rx_start_monitor())
>> and then check if it has been acknowledged by the destination node.
>> would be very grateful for any tips!
>
> I think you're confused? If you receive a frame, your own hardware will
> have sent the ACK. If you TX a frame, you will see it on the monitor
> iface with the radiotap ack flag set or clear, see hostapd for example
> code.
>
> johannes
>

  reply	other threads:[~2009-12-12 11:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-12 10:18 mac80211 noob question VN
2009-12-12 10:25 ` Johannes Berg
2009-12-12 11:29   ` VN [this message]
2009-12-12 11:30     ` Johannes Berg
2009-12-12 11:40       ` Vitalik Nikolyenko
2009-12-12 11:44         ` 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=157c4da70912120329n4b6bc663ic47e95201f7569da@mail.gmail.com \
    --to=vnik5287@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox