All of lore.kernel.org
 help / color / mirror / Atom feed
From: Holger Schurig <holgerschurig@gmail.com>
To: linux-wireless@vger.kernel.org
Subject: question regarding cfg80211 monitor modes
Date: Thu, 3 Dec 2009 11:48:46 +0100	[thread overview]
Message-ID: <200912031148.46934.holgerschurig@gmail.com> (raw)

"iw wlan0 set type monitor" allows the following flags:

                none:     no special flags
                fcsfail:  show frames with FCS errors
                control:  show control frames
                otherbss: show frames from other BSSes
                cook:     use cooked mode

However, I don't know how to map them to the Libertas' firmware 
flags, which has

Libertas (bits can be ored)
Data frames                   0x01   
Mgmt frames but beacons       0x02
Beacons                       0x04


So I guess that the following could be a translation table:

none       0x00
fcsfail    -ENOTSUPP
control    0x02 | 0x04

But what should "otherbss" and "cook" be?

-- 
http://www.holgerschurig.de

             reply	other threads:[~2009-12-03 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03 10:48 Holger Schurig [this message]
2009-12-03 10:54 ` question regarding cfg80211 monitor modes Johannes Berg
2009-12-03 11:00   ` Holger Schurig
2009-12-03 14:46     ` Luis R. Rodriguez

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=200912031148.46934.holgerschurig@gmail.com \
    --to=holgerschurig@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 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.