Login or Register to Ask a Question and Join Our Community

Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

struct_wireless_dev(9) [centos man page]

struct_wireless_dev - wireless device state SYNOPSIS
struct wireless_dev { struct wiphy * wiphy; enum nl80211_iftype iftype; struct list_head list; struct net_device * netdev; u32 identifier; struct list_head mgmt_registrations; spinlock_t mgmt_registrations_lock; struct mutex mtx; struct work_struct cleanup_work; bool use_4addr; bool p2p_started; u8 address[ETH_ALEN]; u8 ssid[IEEE80211_MAX_SSID_LEN]; u8 ssid_len; u8 mesh_id_len; u8 mesh_id_up_len; enum wext; #endif }; MEMBERS
wiphy pointer to hardware description iftype interface type list (private) Used to collect the interfaces netdev (private) Used to reference back to the netdev, may be NULL identifier (private) Identifier used in nl80211 to identify this wireless device if it has no netdev mgmt_registrations list of registrations for management frames mgmt_registrations_lock lock for the list mtx mutex used to lock data in this struct cleanup_work work struct used for cleanup that can't be done directly use_4addr 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 p2p_started true if this is a P2P Device that has been started address[ETH_ALEN] The address for this device, valid only if netdev is NULL ssid[IEEE80211_MAX_SSID_LEN] (private) Used by the internal configuration code ssid_len (private) Used by the internal configuration code mesh_id_len (private) Used by the internal configuration code mesh_id_up_len (private) Used by the internal configuration code wext (private) Used by the internal wireless extensions compat code DESCRIPTION
For netdevs, this structure must be allocated by the driver that uses the ieee80211_ptr field in struct net_device (this is intentional so it can be allocated along with the netdev.) It need not be registered then as netdev registration will be intercepted by cfg80211 to see the new wireless device. For non-netdev uses, it must also be allocated by the driver in response to the cfg80211 callbacks that require it, as there's no netdev registration in that case it may not be allocated outside of callback operations that return it. AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT WIRELESS_DEV(9)

Check Out this Related Man Page

CFG80211_CONN(9) Actions and configuration STRUCT CFG80211_CONN(9) NAME
struct_cfg80211_connect_params - Connection parameters SYNOPSIS
struct cfg80211_connect_params { struct ieee80211_channel * channel; u8 * bssid; u8 * ssid; size_t ssid_len; enum nl80211_auth_type auth_type; u8 * ie; size_t ie_len; bool privacy; enum nl80211_mfp mfp; struct cfg80211_crypto_settings crypto; const u8 * key; u8 key_len; u8 key_idx; u32 flags; int bg_scan_period; struct ieee80211_ht_cap ht_capa; struct ieee80211_ht_cap ht_capa_mask; struct ieee80211_vht_cap vht_capa; struct ieee80211_vht_cap vht_capa_mask; }; MEMBERS
channel The channel to use or NULL if not specified (auto-select based on scan results) bssid The AP BSSID or NULL if not specified (auto-select based on scan results) ssid SSID ssid_len Length of ssid in octets auth_type Authentication type (algorithm) ie IEs for association request ie_len Length of assoc_ie in octets privacy indicates whether privacy-enabled APs should be used mfp indicate whether management frame protection is used crypto crypto settings key WEP key for shared key authentication key_len length of WEP key for shared key authentication key_idx index of WEP key for shared key authentication flags See enum cfg80211_assoc_req_flags bg_scan_period Background scan period in seconds or -1 to indicate that default value is to be used. ht_capa HT Capabilities over-rides. Values set in ht_capa_mask will be used in ht_capa. Un-supported values will be ignored. ht_capa_mask The bits of ht_capa which are to be used. vht_capa VHT Capability overrides vht_capa_mask The bits of vht_capa which are to be used. DESCRIPTION
This structure provides information needed to complete IEEE 802.11 authentication and association. AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT CFG80211_CONN(9)
Man Page

Featured Tech Videos