Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
htc_drv_init.c File Reference
#include "htc.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define CHAN2G(_freq, _idx)
 
#define CHAN5G(_freq, _idx)
 
#define SHPCHECK(__hw_rate, __flags)   ((__flags & IEEE80211_RATE_SHORT_PREAMBLE) ? (__hw_rate | 0x04) : 0)
 
#define RATE(_bitrate, _hw_rate, _flags)
 

Functions

 MODULE_AUTHOR ("Atheros Communications")
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 MODULE_DESCRIPTION ("Atheros driver 802.11n HTC based wireless devices")
 
 module_param_named (debug, ath9k_debug, uint, 0)
 
 MODULE_PARM_DESC (debug,"Debugging mask")
 
 module_param_named (nohwcrypt, htc_modparam_nohwcrypt, int, 0444)
 
 MODULE_PARM_DESC (nohwcrypt,"Disable hardware encryption")
 
 module_param_named (btcoex_enable, ath9k_htc_btcoex_enable, int, 0444)
 
 MODULE_PARM_DESC (btcoex_enable,"Enable wifi-BT coexistence")
 
int ath9k_htc_probe_device (struct htc_target *htc_handle, struct device *dev, u16 devid, char *product, u32 drv_info)
 
void ath9k_htc_disconnect_device (struct htc_target *htc_handle, bool hotunplug)
 
 module_init (ath9k_htc_init)
 
 module_exit (ath9k_htc_exit)
 

Variables

int htc_modparam_nohwcrypt
 

Macro Definition Documentation

#define CHAN2G (   _freq,
  _idx 
)
Value:
{ \
.center_freq = (_freq), \
.hw_value = (_idx), \
.max_power = 20, \
}

Definition at line 37 of file htc_drv_init.c.

#define CHAN5G (   _freq,
  _idx 
)
Value:
{ \
.center_freq = (_freq), \
.hw_value = (_idx), \
.max_power = 20, \
}

Definition at line 43 of file htc_drv_init.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 17 of file htc_drv_init.c.

#define RATE (   _bitrate,
  _hw_rate,
  _flags 
)
Value:
{ \
.bitrate = (_bitrate), \
.flags = (_flags), \
.hw_value = (_hw_rate), \
.hw_value_short = (SHPCHECK(_hw_rate, _flags)) \
}

Definition at line 102 of file htc_drv_init.c.

#define SHPCHECK (   __hw_rate,
  __flags 
)    ((__flags & IEEE80211_RATE_SHORT_PREAMBLE) ? (__hw_rate | 0x04) : 0)

Definition at line 99 of file htc_drv_init.c.

Function Documentation

void ath9k_htc_disconnect_device ( struct htc_target htc_handle,
bool  hotunplug 
)

Definition at line 938 of file htc_drv_init.c.

int ath9k_htc_probe_device ( struct htc_target htc_handle,
struct device dev,
u16  devid,
char product,
u32  drv_info 
)

Definition at line 893 of file htc_drv_init.c.

MODULE_AUTHOR ( "Atheros Communications"  )
MODULE_DESCRIPTION ( "Atheros driver 802.11n HTC based wireless devices"  )
module_exit ( ath9k_htc_exit  )
module_init ( ath9k_htc_init  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
module_param_named ( debug  ,
ath9k_debug  ,
uint  ,
 
)
module_param_named ( nohwcrypt  ,
htc_modparam_nohwcrypt  ,
int  ,
0444   
)
module_param_named ( btcoex_enable  ,
ath9k_htc_btcoex_enable  ,
int  ,
0444   
)
MODULE_PARM_DESC ( debug  ,
"Debugging mask  
)
MODULE_PARM_DESC ( nohwcrypt  ,
"Disable hardware encryption  
)
MODULE_PARM_DESC ( btcoex_enable  ,
"Enable wifi-BT coexistence"   
)

Variable Documentation

int htc_modparam_nohwcrypt

Definition at line 29 of file htc_drv_init.c.