Re: [RFC 1/3] cfg80211/nl80211 core

2006-10-06 Thread Johannes Berg
On Thu, 2006-09-14 at 12:49 +0200, Johannes Berg wrote: +struct cfg80211_registered_driver * +cfg80211_get_drv_from_ifindex(int ifindex) +{ + struct cfg80211_registered_driver *drv; + struct net_device *dev; + + mutex_lock(cfg80211_drv_mutex); + dev =

Re: [RFC 1/3] cfg80211/nl80211 core

2006-09-25 Thread Johannes Berg
On Fri, 2006-09-22 at 17:48 +0200, Jiri Benc wrote: On Thu, 14 Sep 2006 12:49:23 +0200, Johannes Berg wrote: There should be support for notifications, but we need to figure out if we remove the sysfs based add/remove virtual interface thing completely or allow the driver to create a

Re: [RFC 1/3] cfg80211/nl80211 core

2006-09-22 Thread Jiri Benc
On Thu, 14 Sep 2006 12:49:23 +0200, Johannes Berg wrote: There should be support for notifications, but we need to figure out if we remove the sysfs based add/remove virtual interface thing completely or allow the driver to create a notification through some new API here. Feel free to remove

[RFC 1/3] cfg80211/nl80211 core

2006-09-14 Thread Johannes Berg
This patch adds cfg80211/nl80211, a netlink based configuration system for wireless hardware. It currently features a few helper commands and commands to add and remove virtual interfaces and to inject packets. Support for nl80211 in d80211 is in a follow-up patch. There should be support for