I was just going through the source code of airo.c and was wondering for usage of "alloc_etherdev". It is supposed to initialize the parameters for the default ethernet card, here we want to initialize the parameters specific to 802.11.
also I came across one macro ARPHRD_IEEE80211, we need to setup the device type to this type, which we are not doing any where, but we are checking the device type while receiving the packet, so who will set this device type ??
probably my questions are too primary or very basic, but I have just started reading on wireless LAN drivers so I need to clear it before proceeding.