Search Linux Wireless

Re: [Fwd: connecting ieee80211_hw and net_device]

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

 



On Tue, Nov 9, 2010 at 1:11 PM, Zoltan Herczeg <zherczeg@xxxxxxxxxxxxxxx> wrote:
> Hi,
>
> I am developing a wireless driver for a cycle accurate energy simulator,
> and cannot solve the following issue:
>
> 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)

Have you looked at mac80211_hwsim under drivers/net/wireless ?

 Luis
--
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