Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
usb.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/firmware.h>
#include <linux/etherdevice.h>
#include <linux/device.h>
#include <net/mac80211.h>
#include "carl9170.h"
#include "cmd.h"
#include "hw.h"
#include "fwcmd.h"

Go to the source code of this file.

Functions

 MODULE_AUTHOR ("Johannes Berg <[email protected]>")
 
 MODULE_AUTHOR ("Christian Lamparter <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Atheros AR9170 802.11n USB wireless")
 
 MODULE_FIRMWARE (CARL9170FW_NAME)
 
 MODULE_ALIAS ("ar9170usb")
 
 MODULE_ALIAS ("arusb_lnx")
 
 MODULE_DEVICE_TABLE (usb, carl9170_usb_ids)
 
void carl9170_usb_handle_tx_err (struct ar9170 *ar)
 
int __carl9170_exec_cmd (struct ar9170 *ar, struct carl9170_cmd *cmd, const bool free_buf)
 
int carl9170_exec_cmd (struct ar9170 *ar, const enum carl9170_cmd_oids cmd, unsigned int plen, void *payload, unsigned int outlen, void *out)
 
void carl9170_usb_tx (struct ar9170 *ar, struct sk_buff *skb)
 
void carl9170_usb_stop (struct ar9170 *ar)
 
int carl9170_usb_open (struct ar9170 *ar)
 
int carl9170_usb_restart (struct ar9170 *ar)
 
void carl9170_usb_reset (struct ar9170 *ar)
 
 module_usb_driver (carl9170_driver)
 

Function Documentation

int __carl9170_exec_cmd ( struct ar9170 ar,
struct carl9170_cmd cmd,
const bool  free_buf 
)

Definition at line 595 of file usb.c.

int carl9170_exec_cmd ( struct ar9170 ar,
const enum carl9170_cmd_oids  cmd,
unsigned int  plen,
void payload,
unsigned int  outlen,
void out 
)

Definition at line 636 of file usb.c.

void carl9170_usb_handle_tx_err ( struct ar9170 ar)

Definition at line 358 of file usb.c.

int carl9170_usb_open ( struct ar9170 ar)

Definition at line 778 of file usb.c.

void carl9170_usb_reset ( struct ar9170 ar)

Definition at line 893 of file usb.c.

int carl9170_usb_restart ( struct ar9170 ar)

Definition at line 851 of file usb.c.

void carl9170_usb_stop ( struct ar9170 ar)

Definition at line 749 of file usb.c.

void carl9170_usb_tx ( struct ar9170 ar,
struct sk_buff skb 
)

Definition at line 697 of file usb.c.

MODULE_ALIAS ( "ar9170usb"  )
MODULE_ALIAS ( "arusb_lnx"  )
MODULE_AUTHOR ( "Johannes Berg <[email protected]>"  )
MODULE_AUTHOR ( "Christian Lamparter <[email protected]>"  )
MODULE_DESCRIPTION ( "Atheros AR9170 802.11n USB wireless"  )
MODULE_DEVICE_TABLE ( usb  ,
carl9170_usb_ids   
)
MODULE_FIRMWARE ( CARL9170FW_NAME  )
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( carl9170_driver  )