linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is it possible to receive packets without MAC address filtering?
@ 2008-01-24 11:57 Jack
  2008-01-24 12:26 ` Michael Buesch
  0 siblings, 1 reply; 2+ messages in thread
From: Jack @ 2008-01-24 11:57 UTC (permalink / raw)
  To: linux-wireless

Hi,

I'm planning to do a SoftMAC project such as the one based on Madwifi. My
platform is based on bcm43xx (Buffalo WLI2-PCI-G54S). I traced the b43
device driver for several days. I found that B43_MACCTL_KEEP_CTL and
B43_MACCTL_BEACPROMISC was set in monitor mode. So, I manually set these two
bits in the driver. However, it doesn't work like iwconfig the device into
monitor mode. I use Wireshark to verify it. I also tried to set
B43_MACCTL_PROMISC bit. It doesn't work either.

How can I receive the packets in station (managed) mode but behave like in
monitor mode? Or can I read the packets through PHY directly? Since I'm not
familiar with hardware and firmware, I'm afraid that I'm wasting time on an
impossible idea. If it is possible, would you please tell me which part of
code I should trace? Thank you!


Jack


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

* Re: Is it possible to receive packets without MAC address filtering?
  2008-01-24 11:57 Is it possible to receive packets without MAC address filtering? Jack
@ 2008-01-24 12:26 ` Michael Buesch
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Buesch @ 2008-01-24 12:26 UTC (permalink / raw)
  To: Jack; +Cc: linux-wireless

On Thursday 24 January 2008 12:57:20 Jack wrote:
> I'm planning to do a SoftMAC project such as the one based on Madwifi. My

You're doing what? SoftMAC? Yet another 802.11 stack?

> platform is based on bcm43xx (Buffalo WLI2-PCI-G54S). I traced the b43
> device driver for several days. I found that B43_MACCTL_KEEP_CTL and
> B43_MACCTL_BEACPROMISC was set in monitor mode. So, I manually set these two
> bits in the driver. However, it doesn't work like iwconfig the device into
> monitor mode. I use Wireshark to verify it. I also tried to set
> B43_MACCTL_PROMISC bit. It doesn't work either.

You must be doing something wrong. Setting the promisc bits should be enough.

-- 
Greetings Michael.

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

end of thread, other threads:[~2008-01-24 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-24 11:57 Is it possible to receive packets without MAC address filtering? Jack
2008-01-24 12:26 ` Michael Buesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).