On Tue, 2010-11-09 at 21:31 +0100, Zoltan Herczeg wrote: > I can allocate a "wlan0" and "wlan1" platform device with > ieee80211_alloc_hw, and can initialize it in Ad-Hoc mode. However, I > realized this is not enough to have a wireless interface, since it has no > receive operation, only transfer. Looking at the other drivers, I found > that they allocate a net_device with the common alloc_etherdev. > Unfortunately the register_netdev registers a new eth interface in my > case, and this interface is not connected to the wlan interface. I set > wireless_handlers and ieee80211_ptr for this device, still it is totally > independent from the wlan interface. > > Am I missing something? (Sorry if this is a trivial question, I tried > google but no luck so far) Your question doesn't make any sense. You never need wlan0/1, you only need alloc_hw/register_hw and then the interfaces will be managed by mac80211. You should post the code so people can help you. johannes -- 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