Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/hardirq.h>
#include <linux/if.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/cache.h>
#include <linux/ethtool.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include <linux/etherdevice.h>
#include <linux/nl80211.h>
#include <net/ieee80211_radiotap.h>
#include <asm/unaligned.h>
#include "base.h"
#include "reg.h"
#include "debug.h"
#include "ani.h"
#include "ath5k.h"
#include "../regd.h"
#include "trace.h"
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | CREATE_TRACE_POINTS |
#define | FUDGE (AR5K_TUNE_SW_BEACON_RESP + 3) |
Variables | |
bool | ath5k_modparam_nohwcrypt |
#define FUDGE (AR5K_TUNE_SW_BEACON_RESP + 3) |
int ath5k_beacon_update | ( | struct ieee80211_hw * | hw, |
struct ieee80211_vif * | vif | ||
) |
ath5k_beacon_update_timers - update beacon timers
: struct ath5k_hw pointer we are operating on : the timestamp of the beacon. 0 to reset the TSF. -1 to perform a beacon timer update based on the current HW TSF.
Calculate the next target beacon transmit time (TBTT) based on the timestamp of a received beacon or the current local hardware TSF and write it to the beacon timer registers.
This is called in a variety of situations, e.g. when a beacon is received, when a TSF update has been detected, but also when an new IBSS is created or when we otherwise know we have to update the timers, but we keep it in this function to have it all together in one place.
int ath5k_chan_set | ( | struct ath5k_hw * | ah, |
struct ieee80211_channel * | chan | ||
) |
const char* ath5k_chip_name | ( | enum ath5k_srev_type | type, |
u_int16_t | val | ||
) |
void ath5k_set_beacon_filter | ( | struct ieee80211_hw * | hw, |
bool | enable | ||
) |
int ath5k_start | ( | struct ieee80211_hw * | hw | ) |
void ath5k_stop | ( | struct ieee80211_hw * | hw | ) |
void ath5k_tx_queue | ( | struct ieee80211_hw * | hw, |
struct sk_buff * | skb, | ||
struct ath5k_txq * | txq | ||
) |
void ath5k_update_bssid_mask_and_opmode | ( | struct ath5k_hw * | ah, |
struct ieee80211_vif * | vif | ||
) |
void ath5k_vif_iter | ( | void * | data, |
u8 * | mac, | ||
struct ieee80211_vif * | vif | ||
) |
MODULE_AUTHOR | ( | "Jiri Slaby" | ) |
MODULE_AUTHOR | ( | "Nick Kossifidis" | ) |
MODULE_DESCRIPTION | ( | "Support for 5xxx series of Atheros 802.11 wireless LAN cards." | ) |
MODULE_LICENSE | ( | "Dual BSD/GPL" | ) |
module_param_named | ( | nohwcrypt | , |
ath5k_modparam_nohwcrypt | , | ||
bool | , | ||
S_IRUGO | |||
) |
MODULE_PARM_DESC | ( | nohwcrypt | , |
"Disable hardware encryption." | |||
) |
MODULE_SUPPORTED_DEVICE | ( | "Atheros 5xxx WLAN cards" | ) |