Search Linux Wireless

Re: mac80211_hwsim driver attribute

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

 



Hello Johannes,

Johannes Berg [2013-04-03 15:44 +0200]:
> Martin,
> 
> >  /sys/class/net/wlan0/device/driver -> ../../../../bus/pci/drivers/iwlwifi
> > 
> > But /sys/class/net/wlan1/device/ only has the default "uevent" and
> > subsystem link.
> 
> I suspect this is because there's no real "device", and therefore no
> real driver.

There are real devices (wlan0, wlan1, etc.); there is also a real
driver (mac80211_hwsim), the only thing that's a bit tricky is that
there is no real bus. My impression is that such devices might belong
to /sys/bus/platform/ ?

> We do play with device_create() in hwsim, which was likely intended to
> address something like this, but I have no idea how this should really
> work.

I figured it out, it works well now. I'll send the patch to the
lists/maintainers, and CC: Dan and you.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux