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 <> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT WIRELESS_DEV(9)

Check Out this Related Man Page

tapset::networking(3stap)												 tapset::networking(3stap)

tapset::networking - systemtap networking tapset DESCRIPTION
This family of probe points is used to probe the activities of the network device. netdev.receive Data received from network device. See probe::netdev.receive(3stap) for details. netdev.transmit Network device transmitting buffer See probe::netdev.transmit(3stap) for details. netdev.change_mtu Called when the netdev MTU is changed See probe::netdev.change_mtu(3stap) for details. Called when the device is opened See for details. netdev.close Called when the device is closed See probe::netdev.close(3stap) for details. netdev.hard_transmit Called when the devices is going to TX (hard) See probe::netdev.hard_transmit(3stap) for details. netdev.rx Called when the device is going to receive a packet See probe::netdev.rx(3stap) for details. netdev.change_rx_flag Called when the device RX flag will be changed See probe::netdev.change_rx_flag(3stap) for details. netdev.set_promiscuity Called when the device enters/leaves promiscuity See probe::netdev.set_promiscuity(3stap) for details. netdev.ioctl Called when the device suffers an IOCTL See probe::netdev.ioctl(3stap) for details. netdev.register Called when the device is registered See probe::netdev.register(3stap) for details. netdev.unregister Called when the device is being unregistered See probe::netdev.unregister(3stap) for details. netdev.get_stats Called when someone asks the device statistics See probe::netdev.get_stats(3stap) for details. netdev.change_mac Called when the netdev_name has the MAC changed See probe::netdev.change_mac(3stap) for details. SEE ALSO
probe::netdev.receive(3stap), probe::netdev.transmit(3stap), probe::netdev.change_mtu(3stap),, probe::netdev.close(3stap), probe::netdev.hard_transmit(3stap), probe::netdev.rx(3stap), probe::netdev.change_rx_flag(3stap), probe::netdev.set_promiscuity(3stap), probe::netdev.ioctl(3stap), probe::netdev.register(3stap), probe::netdev.unregister(3stap), probe::netdev.get_stats(3stap), probe::netdev.change_mac(3stap), stap(1), stapprobes(3stap) IBM
--- tapset::networking(3stap)
Man Page