struct ieee80211_if_(9)

NAME

struct_ieee80211_if_init_conf - initial configuration of an interface

SYNOPSIS

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

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout