D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] net_dev->type problems


Robin Cornelius wrote:
Does anyone know when it is allowed to change the type of a linux network device (kernel space) by setting the type variable? I want to change it from ARPHRD_ETHER to ARPHRD_IEEE80211 to signal that my device driver is in RF Monitor mode, but doing this seems to cause the net device to go crazy and generate packets of rubbish from thin air.

Looking at other device drivers has told me nothing and googling has not been sucessful either, so any help welcome!

I've not (yet done any research on this, but have you looked at drivers/net/wireless/airo.c ?



John Daragon                                          john@xxxxxxxxxx
argv[0] limited
Lambs Lawn Cottage,  Staple Fitzpaine,  Taunton,  TA3 5SL,  UK
v +44 (0) 1460 234068   f +44 (0) 1460 234069   m +44 (0) 7836 576127

The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html