Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6755
b: refs/heads/master
c: b7721ff
h: refs/heads/master
i:
  6753: 5afe93a
  6751: 21a9cac
v: v3
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Jul 31, 2005
1 parent c29e23b commit 1f2279f
Show file tree
Hide file tree
Showing 31 changed files with 70 additions and 19,863 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62fe7e378109537ff80971c5208e12d40bf88bee
refs/heads/master: b7721ff96fa15459c7c5de59323bedd61f1bcbd7
7 changes: 0 additions & 7 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -991,13 +991,6 @@ M: mike.miller@hp.com
L: iss_storagedev@hp.com
S: Supported

HOST AP DRIVER
P: Jouni Malinen
M: jkmaline@cc.hut.fi
L: hostap@shmoo.com
W: http://hostap.epitest.fi/
S: Maintained

HP100: Driver for HP 10/100 Mbit/s Voice Grade Network Adapter Series
P: Jaroslav Kysela
M: perex@suse.cz
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,6 @@ config PRISM54
say M here and read <file:Documentation/modules.txt>. The module
will be called prism54.ko.

source "drivers/net/wireless/hostap/Kconfig"

# yes, this works even when no drivers are selected
config NET_WIRELESS
bool
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ obj-$(CONFIG_PCMCIA_ATMEL) += atmel_cs.o

obj-$(CONFIG_PRISM54) += prism54/

obj-$(CONFIG_HOSTAP) += hostap/

# 16-bit wireless PCMCIA client drivers
obj-$(CONFIG_PCMCIA_RAYCS) += ray_cs.o
obj-$(CONFIG_PCMCIA_WL3501) += wl3501_cs.o
65 changes: 32 additions & 33 deletions trunk/drivers/net/wireless/airo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ typedef struct {
u16 status;
} WifiCtlHdr;

static WifiCtlHdr wifictlhdr8023 = {
WifiCtlHdr wifictlhdr8023 = {
.ctlhdr = {
.ctl = HOST_DONT_RLSE,
}
Expand Down Expand Up @@ -1111,13 +1111,13 @@ static int airo_thread(void *data);
static void timer_func( struct net_device *dev );
static int airo_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
#ifdef WIRELESS_EXT
static struct iw_statistics *airo_get_wireless_stats (struct net_device *dev);
struct iw_statistics *airo_get_wireless_stats (struct net_device *dev);
static void airo_read_wireless_stats (struct airo_info *local);
#endif /* WIRELESS_EXT */
#ifdef CISCO_EXT
static int readrids(struct net_device *dev, aironet_ioctl *comp);
static int writerids(struct net_device *dev, aironet_ioctl *comp);
static int flashcard(struct net_device *dev, aironet_ioctl *comp);
int flashcard(struct net_device *dev, aironet_ioctl *comp);
#endif /* CISCO_EXT */
#ifdef MICSUPPORT
static void micinit(struct airo_info *ai);
Expand Down Expand Up @@ -1226,12 +1226,6 @@ static int setup_proc_entry( struct net_device *dev,
static int takedown_proc_entry( struct net_device *dev,
struct airo_info *apriv );

static int cmdreset(struct airo_info *ai);
static int setflashmode (struct airo_info *ai);
static int flashgchar(struct airo_info *ai,int matchbyte,int dwelltime);
static int flashputbuf(struct airo_info *ai);
static int flashrestart(struct airo_info *ai,struct net_device *dev);

#ifdef MICSUPPORT
/***********************************************************************
* MIC ROUTINES *
Expand All @@ -1240,11 +1234,10 @@ static int flashrestart(struct airo_info *ai,struct net_device *dev);

static int RxSeqValid (struct airo_info *ai,miccntx *context,int mcast,u32 micSeq);
static void MoveWindow(miccntx *context, u32 micSeq);
static void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, struct crypto_tfm *);
static void emmh32_init(emmh32_context *context);
static void emmh32_update(emmh32_context *context, u8 *pOctets, int len);
static void emmh32_final(emmh32_context *context, u8 digest[4]);
static int flashpchar(struct airo_info *ai,int byte,int dwelltime);
void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, struct crypto_tfm *);
void emmh32_init(emmh32_context *context);
void emmh32_update(emmh32_context *context, u8 *pOctets, int len);
void emmh32_final(emmh32_context *context, u8 digest[4]);

/* micinit - Initialize mic seed */

Expand Down Expand Up @@ -1322,7 +1315,7 @@ static int micsetup(struct airo_info *ai) {
return SUCCESS;
}

static char micsnap[] = {0xAA,0xAA,0x03,0x00,0x40,0x96,0x00,0x02};
char micsnap[]= {0xAA,0xAA,0x03,0x00,0x40,0x96,0x00,0x02};

/*===========================================================================
* Description: Mic a packet
Expand Down Expand Up @@ -1577,7 +1570,7 @@ static void MoveWindow(miccntx *context, u32 micSeq)
static unsigned char aes_counter[16];

/* expand the key to fill the MMH coefficient array */
static void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, struct crypto_tfm *tfm)
void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, struct crypto_tfm *tfm)
{
/* take the keying material, expand if necessary, truncate at 16-bytes */
/* run through AES counter mode to generate context->coeff[] */
Expand Down Expand Up @@ -1609,15 +1602,15 @@ static void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, struct
}

/* prepare for calculation of a new mic */
static void emmh32_init(emmh32_context *context)
void emmh32_init(emmh32_context *context)
{
/* prepare for new mic calculation */
context->accum = 0;
context->position = 0;
}

/* add some bytes to the mic calculation */
static void emmh32_update(emmh32_context *context, u8 *pOctets, int len)
void emmh32_update(emmh32_context *context, u8 *pOctets, int len)
{
int coeff_position, byte_position;

Expand Down Expand Up @@ -1659,7 +1652,7 @@ static void emmh32_update(emmh32_context *context, u8 *pOctets, int len)
static u32 mask32[4] = { 0x00000000L, 0xFF000000L, 0xFFFF0000L, 0xFFFFFF00L };

/* calculate the mic */
static void emmh32_final(emmh32_context *context, u8 digest[4])
void emmh32_final(emmh32_context *context, u8 digest[4])
{
int coeff_position, byte_position;
u32 val;
Expand Down Expand Up @@ -2262,7 +2255,7 @@ static void airo_read_stats(struct airo_info *ai) {
ai->stats.rx_fifo_errors = vals[0];
}

static struct net_device_stats *airo_get_stats(struct net_device *dev)
struct net_device_stats *airo_get_stats(struct net_device *dev)
{
struct airo_info *local = dev->priv;

Expand Down Expand Up @@ -2421,7 +2414,7 @@ EXPORT_SYMBOL(stop_airo_card);

static int add_airo_dev( struct net_device *dev );

static int wll_header_parse(struct sk_buff *skb, unsigned char *haddr)
int wll_header_parse(struct sk_buff *skb, unsigned char *haddr)
{
memcpy(haddr, skb->mac.raw + 10, ETH_ALEN);
return ETH_ALEN;
Expand Down Expand Up @@ -2688,7 +2681,7 @@ static struct net_device *init_wifidev(struct airo_info *ai,
return dev;
}

static int reset_card( struct net_device *dev , int lock) {
int reset_card( struct net_device *dev , int lock) {
struct airo_info *ai = dev->priv;

if (lock && down_interruptible(&ai->sem))
Expand All @@ -2703,9 +2696,9 @@ static int reset_card( struct net_device *dev , int lock) {
return 0;
}

static struct net_device *_init_airo_card( unsigned short irq, int port,
int is_pcmcia, struct pci_dev *pci,
struct device *dmdev )
struct net_device *_init_airo_card( unsigned short irq, int port,
int is_pcmcia, struct pci_dev *pci,
struct device *dmdev )
{
struct net_device *dev;
struct airo_info *ai;
Expand Down Expand Up @@ -7242,7 +7235,7 @@ static void airo_read_wireless_stats(struct airo_info *local)
local->wstats.miss.beacon = vals[34];
}

static struct iw_statistics *airo_get_wireless_stats(struct net_device *dev)
struct iw_statistics *airo_get_wireless_stats(struct net_device *dev)
{
struct airo_info *local = dev->priv;

Expand Down Expand Up @@ -7457,8 +7450,14 @@ static int writerids(struct net_device *dev, aironet_ioctl *comp) {
* Flash command switch table
*/

static int flashcard(struct net_device *dev, aironet_ioctl *comp) {
int flashcard(struct net_device *dev, aironet_ioctl *comp) {
int z;
int cmdreset(struct airo_info *);
int setflashmode(struct airo_info *);
int flashgchar(struct airo_info *,int,int);
int flashpchar(struct airo_info *,int,int);
int flashputbuf(struct airo_info *);
int flashrestart(struct airo_info *,struct net_device *);

/* Only super-user can modify flash */
if (!capable(CAP_NET_ADMIN))
Expand Down Expand Up @@ -7516,7 +7515,7 @@ static int flashcard(struct net_device *dev, aironet_ioctl *comp) {
* card.
*/

static int cmdreset(struct airo_info *ai) {
int cmdreset(struct airo_info *ai) {
disable_MAC(ai, 1);

if(!waitbusy (ai)){
Expand All @@ -7540,7 +7539,7 @@ static int cmdreset(struct airo_info *ai) {
* mode
*/

static int setflashmode (struct airo_info *ai) {
int setflashmode (struct airo_info *ai) {
set_bit (FLAG_FLASHING, &ai->flags);

OUT4500(ai, SWS0, FLASH_COMMAND);
Expand All @@ -7567,7 +7566,7 @@ static int setflashmode (struct airo_info *ai) {
* x 50us for echo .
*/

static int flashpchar(struct airo_info *ai,int byte,int dwelltime) {
int flashpchar(struct airo_info *ai,int byte,int dwelltime) {
int echo;
int waittime;

Expand Down Expand Up @@ -7607,7 +7606,7 @@ static int flashpchar(struct airo_info *ai,int byte,int dwelltime) {
* Get a character from the card matching matchbyte
* Step 3)
*/
static int flashgchar(struct airo_info *ai,int matchbyte,int dwelltime){
int flashgchar(struct airo_info *ai,int matchbyte,int dwelltime){
int rchar;
unsigned char rbyte=0;

Expand Down Expand Up @@ -7638,7 +7637,7 @@ static int flashgchar(struct airo_info *ai,int matchbyte,int dwelltime){
* send to the card
*/

static int flashputbuf(struct airo_info *ai){
int flashputbuf(struct airo_info *ai){
int nwords;

/* Write stuff */
Expand All @@ -7660,7 +7659,7 @@ static int flashputbuf(struct airo_info *ai){
/*
*
*/
static int flashrestart(struct airo_info *ai,struct net_device *dev){
int flashrestart(struct airo_info *ai,struct net_device *dev){
int i,status;

ssleep(1); /* Added 12/7/00 */
Expand Down
71 changes: 0 additions & 71 deletions trunk/drivers/net/wireless/hostap/Kconfig

This file was deleted.

5 changes: 0 additions & 5 deletions trunk/drivers/net/wireless/hostap/Makefile

This file was deleted.

Loading

0 comments on commit 1f2279f

Please sign in to comment.