Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
status.c File Reference
#include <linux/export.h>
#include <linux/etherdevice.h>
#include <net/mac80211.h>
#include <asm/unaligned.h>
#include "ieee80211_i.h"
#include "rate.h"
#include "mesh.h"
#include "led.h"
#include "wme.h"

Go to the source code of this file.

Macros

#define STA_LOST_PKT_THRESHOLD   50
 

Functions

void ieee80211_tx_status_irqsafe (struct ieee80211_hw *hw, struct sk_buff *skb)
 
 EXPORT_SYMBOL (ieee80211_tx_status_irqsafe)
 
void ieee80211_tx_status (struct ieee80211_hw *hw, struct sk_buff *skb)
 
 EXPORT_SYMBOL (ieee80211_tx_status)
 
void ieee80211_report_low_ack (struct ieee80211_sta *pubsta, u32 num_packets)
 
 EXPORT_SYMBOL (ieee80211_report_low_ack)
 
void ieee80211_free_txskb (struct ieee80211_hw *hw, struct sk_buff *skb)
 
 EXPORT_SYMBOL (ieee80211_free_txskb)
 
void ieee80211_purge_tx_queue (struct ieee80211_hw *hw, struct sk_buff_head *skbs)
 

Macro Definition Documentation

#define STA_LOST_PKT_THRESHOLD   50

Definition at line 334 of file status.c.

Function Documentation

EXPORT_SYMBOL ( ieee80211_tx_status_irqsafe  )
EXPORT_SYMBOL ( ieee80211_tx_status  )
EXPORT_SYMBOL ( ieee80211_report_low_ack  )
EXPORT_SYMBOL ( ieee80211_free_txskb  )
void ieee80211_free_txskb ( struct ieee80211_hw hw,
struct sk_buff skb 
)

ieee80211_free_txskb - free TX skb : the hardware : the skb

Free a transmit skb. Use this funtion when some failure to transmit happened and thus status cannot be reported.

Definition at line 646 of file status.c.

void ieee80211_purge_tx_queue ( struct ieee80211_hw hw,
struct sk_buff_head skbs 
)

Definition at line 672 of file status.c.

void ieee80211_report_low_ack ( struct ieee80211_sta sta,
u32  num_packets 
)

ieee80211_report_low_ack - report non-responding station

When operating in AP-mode, call this function to report a non-responding connected STA.

: the non-responding connected sta : number of packets sent to without a response

Definition at line 638 of file status.c.

void ieee80211_tx_status ( struct ieee80211_hw hw,
struct sk_buff skb 
)

ieee80211_tx_status - transmit status callback

Call this function for all transmitted frames after they have been transmitted. It is permissible to not call this function for multicast frames but this can affect statistics.

This function may not be called in IRQ context. Calls to this function for a single hardware must be synchronized against each other. Calls to this function, ieee80211_tx_status_ni() and ieee80211_tx_status_irqsafe() may not be mixed for a single hardware.

: the hardware the frame was transmitted by : the frame that was transmitted, owned by mac80211 after this call

Definition at line 336 of file status.c.

void ieee80211_tx_status_irqsafe ( struct ieee80211_hw hw,
struct sk_buff skb 
)

ieee80211_tx_status_irqsafe - IRQ-safe transmit status callback

Like ieee80211_tx_status() but can be called in IRQ context (internally defers to a tasklet.)

Calls to this function, ieee80211_tx_status() and ieee80211_tx_status_ni() may not be mixed for a single hardware.

: the hardware the frame was transmitted by : the frame that was transmitted, owned by mac80211 after this call

Definition at line 23 of file status.c.