On Tuesday 31 July 2007, Ulrich Kunitz wrote: > 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. I suggest you look at bcm43xx-mac80211. You will need to introduce refcounting for your monitor interfaces and I _really_ suggest to get rid of the zd_op_open() and zd_op_close() functions. Just include that in add/remove interface. You need to refcount your interfaces anyway. I don't know what you mean by hard/soft monitor. Don't care about the id_id. It's a cookie and it's opaque to the driver. Semantics are pretty easy for add/remove interface. The function is called every time the user adds/removes an interface. :) - 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