Skip to content

Commit

Permalink
[MAC80211]: Update beacon_update callback documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Michael Buesch authored and David S. Miller committed Oct 10, 2007
1 parent 478f8d2 commit 5ecc2a5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,14 @@ enum ieee80211_erp_change_flags {
*
* @beacon_update: Setup beacon data for IBSS beacons. Unlike access point,
* IBSS uses a fixed beacon frame which is configured using this
* function. This handler is required only for IBSS mode.
* function.
* If the driver returns success (0) from this callback, it owns
* the skb. That means the driver is responsible to kfree_skb() it.
* The control structure is not dynamically allocated. That means the
* driver does not own the pointer and if it needs it somewhere
* outside of the context of this function, it must copy it
* somewhere else.
* This handler is required only for IBSS mode.
*
* @tx_last_beacon: Determine whether the last IBSS beacon was sent by us.
* This is needed only for IBSS mode and the result of this function is
Expand Down

0 comments on commit 5ecc2a5

Please sign in to comment.