Search Linux Wireless

Re: Multiple interfaces in mac80211

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/5/07, Tomas Winkler <tomasw@xxxxxxxxx> wrote:
Does anybody have/ think of a patch that removes the master interface
from the sub_if_list. It slows down the receive path. Second problem
with this is that the code becomes incorrect when opening receive path
for control packets.  Meanwhile as a workaround I've changed iw_mode
of the master interface  to invalid value instead of default
IEEE80211_IF_TYPE_AP.

I'm debugging this because I've been trying for two days without
success to get monitor mode to work. I have the adapter in promisc
mode and the interface in monitor mode.  I can see directed and
broadcast traffic with tcpdump, but not directed traffic for other
nodes.

I've added debug printk to mac80211 and the non-directed packets are
making it to
ieee80211_rx_monitor and onto netif_rx. But they don't come out the
tcpdump interface. I don't have iptables loaded. What's eating these
packets in the higher layers?



On 7/5/07, Michael Wu <flamingice@xxxxxxxxxxxx> wrote:
> On Wednesday 04 July 2007 17:23, Jon Smirl wrote:
> > I added some debugging code to __ieee80211_rx() and I noticed in this loop:
> >               list_for_each_entry(sdata, &local->sub_if_list, list) {
> >
> sub_if_list includes the master interface.
>
> -Michael Wu
>
>



--
Jon Smirl
jonsmirl@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux