Search Linux Wireless

Re: [PATCH] zd1211rw-mac80211: debug output for mac80211 ops

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

 



John W. Linville wrote:

> On Sun, Jul 29, 2007 at 08:21:31PM -0700, Michael Wu wrote:
> > On Sunday 29 July 2007 19:31, Daniel Drake wrote:
> > > This patch adds debug output to mac80211 operations. This is
> > > intended to sort out the issues with the interface semantics.
> > >
> > Ugh. I really hate enter/exit and especially these since they are open coded. 
> > What do you need clarified about mac80211 interface semantics?
> 
> I agree, these are a bit ugly.  Do you intend them to be permanent?

Guys, actually I looked into iwl-base.c and there are also leave
and enter statements for exactly the same mac80211 operations. I
would appreciate, if somebody could explain me the difference.

Please notify that the messages will only be compiled into the
driver if ZD1211_DEBUG is set. I could agree to take them out,
after we have fixed the multiple interface issues, but right now
they help to make the logfile quite readable. They help also to
check my understanding of the struct ieee80211_ops functions.

Asked what I don't understand about the mac80211 interfaces, I
have following questions:

Why does WIPHY has only a single MAC address?

Though ZD1211 has only one RF chip and one baseband processor --
which represents a single PHY device in my opinion -- it can
support two MAC addresses. Sure MAC80211 can give different IP
addresses to different interfaces, but currently I'm not sure, how
they relate to the address in the WIPHY.

What about add_interface/remove_interfaces and monitor interfaces?

There seems to be difference between "hard" and "soft" monitor
mode. Currently I'm not sure what the semantics is. There seems to
be also calls to add_interface/remote_interface with if_id -1. I
guess that means something like all interfaces. The expected
behaviour is not documented for that case. 

Cheers,

Uli

-- 
Uli Kunitz
-
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