struct wireless_dev — wireless per-netdev state
struct wireless_dev { struct wiphy * wiphy; enum nl80211_iftype iftype; struct list_head list; struct net_device * netdev; struct list_head mgmt_registrations; spinlock_t mgmt_registrations_lock; struct mutex mtx; struct work_struct cleanup_work; bool use_4addr; u8 ssid[IEEE80211_MAX_SSID_LEN]; u8 ssid_len; u8 mesh_id_len; u8 mesh_id_up_len; enum wext; #endif };
pointer to hardware description
interface type
(private) Used to collect the interfaces
(private) Used to reference back to the netdev
list of registrations for management frames
lock for the list
mutex used to lock data in this struct
work struct used for cleanup that can't be done directly
indicates 4addr mode is used on this interface, must be set by driver (if supported) on add_interface BEFORE registering the netdev and may otherwise be used by driver read-only, will be update by cfg80211 on change_interface
(private) Used by the internal configuration code
(private) Used by the internal configuration code
(private) Used by the internal configuration code
(private) Used by the internal configuration code
(private) Used by the internal wireless extensions compat code