Staging: wlan-ng: prism2mgmt.h: Coding style cleanups

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Moritz Muehlenhoff 2009-02-08 02:20:47 +01:00 committed by Greg Kroah-Hartman
parent b1de9675ac
commit 2407486b83
1 changed files with 16 additions and 27 deletions

View File

@ -60,29 +60,16 @@
#ifndef _PRISM2MGMT_H #ifndef _PRISM2MGMT_H
#define _PRISM2MGMT_H #define _PRISM2MGMT_H
extern int prism2_reset_holdtime;
extern int prism2_reset_settletime;
/*=============================================================*/ u32 prism2sta_ifstate(wlandevice_t *wlandev, u32 ifstate);
/*------ Static variable externs ------------------------------*/
extern int prism2_reset_holdtime; void prism2sta_ev_info(wlandevice_t *wlandev, hfa384x_InfFrame_t *inf);
extern int prism2_reset_settletime; void prism2sta_ev_txexc(wlandevice_t *wlandev, u16 status);
/*=============================================================*/ void prism2sta_ev_tx(wlandevice_t *wlandev, u16 status);
/*--- Function Declarations -----------------------------------*/ void prism2sta_ev_rx(wlandevice_t *wlandev, struct sk_buff *skb);
/*=============================================================*/ void prism2sta_ev_alloc(wlandevice_t *wlandev);
u32
prism2sta_ifstate(wlandevice_t *wlandev, u32 ifstate);
void
prism2sta_ev_info(wlandevice_t *wlandev, hfa384x_InfFrame_t *inf);
void
prism2sta_ev_txexc(wlandevice_t *wlandev, u16 status);
void
prism2sta_ev_tx(wlandevice_t *wlandev, u16 status);
void
prism2sta_ev_rx(wlandevice_t *wlandev, struct sk_buff *skb);
void
prism2sta_ev_alloc(wlandevice_t *wlandev);
int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp); int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp);
int prism2mgmt_scan(wlandevice_t *wlandev, void *msgp); int prism2mgmt_scan(wlandevice_t *wlandev, void *msgp);
@ -113,19 +100,21 @@ void prism2mgmt_prism2int2p80211int(u16 *prism2int, u32 *wlanint);
void prism2mgmt_p80211int2prism2int(u16 *prism2int, u32 *wlanint); void prism2mgmt_p80211int2prism2int(u16 *prism2int, u32 *wlanint);
/* enumerated integer conversion functions */ /* enumerated integer conversion functions */
void prism2mgmt_prism2enum2p80211enum(u16 *prism2enum, u32 *wlanenum, u16 rid); void prism2mgmt_prism2enum2p80211enum(u16 *prism2enum, u32 *wlanenum,
void prism2mgmt_p80211enum2prism2enum(u16 *prism2enum, u32 *wlanenum, u16 rid); u16 rid);
void prism2mgmt_p80211enum2prism2enum(u16 *prism2enum, u32 *wlanenum,
u16 rid);
/* functions to convert a bit area to/from an Operational Rate Set */ /* functions to convert a bit area to/from an Operational Rate Set */
void prism2mgmt_get_oprateset(u16 *rate, p80211pstrd_t *pstr); void prism2mgmt_get_oprateset(u16 *rate, p80211pstrd_t *pstr);
void prism2mgmt_set_oprateset(u16 *rate, p80211pstrd_t *pstr); void prism2mgmt_set_oprateset(u16 *rate, p80211pstrd_t *pstr);
/* functions to convert Group Addresses */ /* functions to convert Group Addresses */
void prism2mgmt_get_grpaddr(u32 did, void prism2mgmt_get_grpaddr(u32 did, p80211pstrd_t *pstr, hfa384x_t *priv);
p80211pstrd_t *pstr, hfa384x_t *priv );
int prism2mgmt_set_grpaddr(u32 did, int prism2mgmt_set_grpaddr(u32 did,
u8 *prism2buf, p80211pstrd_t *pstr, hfa384x_t *priv ); u8 *prism2buf, p80211pstrd_t *pstr,
int prism2mgmt_get_grpaddr_index( u32 did ); hfa384x_t *priv);
int prism2mgmt_get_grpaddr_index(u32 did);
void prism2sta_processing_defer(struct work_struct *data); void prism2sta_processing_defer(struct work_struct *data);