Search Linux Wireless

compat-2.6: rndis_wlan/rndis_host/usbnet problem(?)

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

 



Hello,

I just checked how rndis_wlan was included in compat-wireless-2008-04-01 and noticed small problem. Patchset that was required for rndis_wlan to work modified 'struct usbnet' in usbnet.h, added 'void *driver_priv' at almost head:
 http://marc.info/?l=linux-wireless&m=120130189428293&w=2

Compat-wireless includes new modified usbnet.h but doesn't include not usbnet.c and cdc_ether.c on which rndis_host/rndis_wlan depend on to. Also cdc_ether.c had another update:
 http://marc.info/?l=linux-wireless&m=120130189928350&w=2

So to have rndis_wlan working, you should include cdc_ether.c and usbnet.c. But this would broke all the rest drivers in 'drivers/net/usb' that depend on usbnet.c. To fix this is ofcourse to move 'void *driver_info' at end of 'struct usbnet'.

Ok, I haven't tested this myself, but this is how it seems to me. If you add usbnet.c you might want to add this patch too and change flag in rndis_wlan for 'wlanX' device names:
 http://marc.info/?l=linux-wireless&m=120130189728322&w=2

Also rndis_host should include this patch:
 http://marc.info/?l=linux-netdev&m=120626915222918&w=2

 - Jussi Kivilinna



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