All of lore.kernel.org
 help / color / mirror / Atom feed
* question regarding cfg80211 monitor modes
@ 2009-12-03 10:48 Holger Schurig
  2009-12-03 10:54 ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Holger Schurig @ 2009-12-03 10:48 UTC (permalink / raw)
  To: linux-wireless

"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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-03 14:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 10:48 question regarding cfg80211 monitor modes Holger Schurig
2009-12-03 10:54 ` Johannes Berg
2009-12-03 11:00   ` Holger Schurig
2009-12-03 14:46     ` Luis R. Rodriguez

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.