diff options
author | Greg Kroah-Hartman | 2010-10-05 20:04:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-10-05 20:04:17 +0200 |
commit | 562c8850786d8d1a9e3f9f076deb581962c594ab (patch) | |
tree | baf409658f075a8b039e67c3882c2c8e01fb55ef /drivers/staging/brcm80211/sys/wlc_pub.h | |
parent | Staging: brcm80211: typedefs.h: remove uint8 definition (diff) | |
download | kernel-qcow2-linux-562c8850786d8d1a9e3f9f076deb581962c594ab.tar.gz kernel-qcow2-linux-562c8850786d8d1a9e3f9f076deb581962c594ab.tar.xz kernel-qcow2-linux-562c8850786d8d1a9e3f9f076deb581962c594ab.zip |
Staging: brcm80211: s/int8/s8/
This changes the usage everywhere in the driver, and removes
the definition as it should no longer be used anywhere.
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/sys/wlc_pub.h')
-rw-r--r-- | drivers/staging/brcm80211/sys/wlc_pub.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/brcm80211/sys/wlc_pub.h b/drivers/staging/brcm80211/sys/wlc_pub.h index bc8d875e9385..6964660fedb4 100644 --- a/drivers/staging/brcm80211/sys/wlc_pub.h +++ b/drivers/staging/brcm80211/sys/wlc_pub.h @@ -58,7 +58,7 @@ #define WLC_SNR_INVALID 0 /* invalid SNR value */ /* a large TX Power as an init value to factor out of MIN() calculations, - * keep low enough to fit in an int8, units are .25 dBm + * keep low enough to fit in an s8, units are .25 dBm */ #define WLC_TXPWR_MAX (127) /* ~32 dBm = 1,500 mW */ @@ -174,10 +174,10 @@ typedef struct wlc_bss_info { uint16 beacon_period; /* units are Kusec */ uint16 atim_window; /* units are Kusec */ chanspec_t chanspec; /* Channel num, bw, ctrl_sb and band */ - int8 infra; /* 0=IBSS, 1=infrastructure, 2=unknown */ + s8 infra; /* 0=IBSS, 1=infrastructure, 2=unknown */ wlc_rateset_t rateset; /* supported rates */ u8 dtim_period; /* DTIM period */ - int8 phy_noise; /* noise right after tx (in dBm) */ + s8 phy_noise; /* noise right after tx (in dBm) */ uint16 capability; /* Capability information */ struct dot11_bcn_prb *bcn_prb; /* beacon/probe response frame (ioctl na) */ uint16 bcn_prb_len; /* beacon/probe response frame length (ioctl na) */ @@ -288,7 +288,7 @@ typedef struct wlc_pub { u8 _n_enab; /* bitmap of 11N + HT support */ bool _n_reqd; /* N support required for clients */ - int8 _coex; /* 20/40 MHz BSS Management AUTO, ENAB, DISABLE */ + s8 _coex; /* 20/40 MHz BSS Management AUTO, ENAB, DISABLE */ bool _priofc; /* Priority-based flowcontrol */ struct ether_addr cur_etheraddr; /* our local ethernet address */ @@ -552,8 +552,8 @@ extern void wlc_mctrl(struct wlc_info *wlc, uint32 mask, uint32 val); extern void wlc_scb_ratesel_init_all(struct wlc_info *wlc); /* ioctl */ -extern int wlc_iovar_getint8(struct wlc_info *wlc, const char *name, - int8 *arg); +extern int wlc_iovar_gets8(struct wlc_info *wlc, const char *name, + s8 *arg); extern int wlc_iovar_check(wlc_pub_t *pub, const bcm_iovar_t *vi, void *arg, int len, bool set); @@ -578,7 +578,7 @@ static inline int wlc_iovar_getuint(struct wlc_info *wlc, const char *name, static inline int wlc_iovar_getu8(struct wlc_info *wlc, const char *name, u8 *arg) { - return wlc_iovar_getint8(wlc, name, (int8 *) arg); + return wlc_iovar_gets8(wlc, name, (s8 *) arg); } static inline int wlc_iovar_setuint(struct wlc_info *wlc, const char *name, |