Rechercher une page de manuel
struct_ieee80211_if_init_conf
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
struct_ieee80211_if_init_conf - initial configuration of an interfaceSYNOPSIS
-
struct ieee80211_if_init_conf { enum ieee80211_if_types type; struct ieee80211_vif * vif; void * mac_addr; };
MEMBERS
type
- one of enum ieee80211_if_types constants. Determines the type of added/removed interface.
vif
- pointer to a driver-use per-interface structure. The pointer itself is also used for various functions including ieee80211_beacon_get and ieee80211_get_buffered_bc.
mac_addr
- pointer to MAC address of the interface. This pointer is valid until the interface is removed (i.e. it cannot be used after remove_interface callback was called for this interface).
DESCRIPTION
This structure is used in add_interface and remove_interface callbacks of struct ieee80211_hw.
When you allow multiple interfaces to be added to your PHY, take care that the hardware can actually handle multiple MAC addresses. However, also take care that when there's no interface left with mac_addr != NULL you remove the MAC address from the device to avoid acknowledging packets in pure monitor mode.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre