diff options
author | Joe Perches <joe@perches.com> | 2011-02-02 17:05:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-02 17:34:50 -0500 |
commit | cb1e370987c3651707e30e404e41ebdc83571fba (patch) | |
tree | e54f7c8715a48dddf118af9fb5ef04694b2a8478 /drivers/staging/ath6kl/os/linux/include | |
parent | f2ab1275cb1cfd033868cf0b7c67d1143199630e (diff) |
staging: ath6kl: Convert A_INT16 to s16
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/os/linux/include')
-rw-r--r-- | drivers/staging/ath6kl/os/linux/include/ar6xapi_linux.h | 6 | ||||
-rw-r--r-- | drivers/staging/ath6kl/os/linux/include/athdrv_linux.h | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/ath6kl/os/linux/include/ar6xapi_linux.h b/drivers/staging/ath6kl/os/linux/include/ar6xapi_linux.h index bd62141b89e..328982fb3a9 100644 --- a/drivers/staging/ath6kl/os/linux/include/ar6xapi_linux.h +++ b/drivers/staging/ath6kl/os/linux/include/ar6xapi_linux.h | |||
@@ -54,7 +54,7 @@ void ar6000_scanComplete_event(struct ar6_softc *ar, int status); | |||
54 | void ar6000_targetStats_event(struct ar6_softc *ar, u8 *ptr, u32 len); | 54 | void ar6000_targetStats_event(struct ar6_softc *ar, u8 *ptr, u32 len); |
55 | void ar6000_rssiThreshold_event(struct ar6_softc *ar, | 55 | void ar6000_rssiThreshold_event(struct ar6_softc *ar, |
56 | WMI_RSSI_THRESHOLD_VAL newThreshold, | 56 | WMI_RSSI_THRESHOLD_VAL newThreshold, |
57 | A_INT16 rssi); | 57 | s16 rssi); |
58 | void ar6000_reportError_event(struct ar6_softc *, WMI_TARGET_ERROR_VAL errorVal); | 58 | void ar6000_reportError_event(struct ar6_softc *, WMI_TARGET_ERROR_VAL errorVal); |
59 | void ar6000_cac_event(struct ar6_softc *ar, u8 ac, u8 cac_indication, | 59 | void ar6000_cac_event(struct ar6_softc *ar, u8 ac, u8 cac_indication, |
60 | u8 statusCode, u8 *tspecSuggestion); | 60 | u8 statusCode, u8 *tspecSuggestion); |
@@ -78,8 +78,8 @@ void ar6000_gpio_data_rx(u32 reg_id, u32 value); | |||
78 | void ar6000_gpio_ack_rx(void); | 78 | void ar6000_gpio_ack_rx(void); |
79 | 79 | ||
80 | A_INT32 rssi_compensation_calc_tcmd(u32 freq, A_INT32 rssi, u32 totalPkt); | 80 | A_INT32 rssi_compensation_calc_tcmd(u32 freq, A_INT32 rssi, u32 totalPkt); |
81 | A_INT16 rssi_compensation_calc(struct ar6_softc *ar, A_INT16 rssi); | 81 | s16 rssi_compensation_calc(struct ar6_softc *ar, s16 rssi); |
82 | A_INT16 rssi_compensation_reverse_calc(struct ar6_softc *ar, A_INT16 rssi, bool Above); | 82 | s16 rssi_compensation_reverse_calc(struct ar6_softc *ar, s16 rssi, bool Above); |
83 | 83 | ||
84 | void ar6000_dbglog_init_done(struct ar6_softc *ar); | 84 | void ar6000_dbglog_init_done(struct ar6_softc *ar); |
85 | 85 | ||
diff --git a/drivers/staging/ath6kl/os/linux/include/athdrv_linux.h b/drivers/staging/ath6kl/os/linux/include/athdrv_linux.h index a345ecd319b..a3e65081f98 100644 --- a/drivers/staging/ath6kl/os/linux/include/athdrv_linux.h +++ b/drivers/staging/ath6kl/os/linux/include/athdrv_linux.h | |||
@@ -1069,9 +1069,9 @@ typedef struct targetStats_t { | |||
1069 | u32 wow_num_pkts_dropped; | 1069 | u32 wow_num_pkts_dropped; |
1070 | u16 wow_num_events_discarded; | 1070 | u16 wow_num_events_discarded; |
1071 | 1071 | ||
1072 | A_INT16 noise_floor_calibation; | 1072 | s16 noise_floor_calibation; |
1073 | A_INT16 cs_rssi; | 1073 | s16 cs_rssi; |
1074 | A_INT16 cs_aveBeacon_rssi; | 1074 | s16 cs_aveBeacon_rssi; |
1075 | u8 cs_aveBeacon_snr; | 1075 | u8 cs_aveBeacon_snr; |
1076 | u8 cs_lastRoam_msec; | 1076 | u8 cs_lastRoam_msec; |
1077 | u8 cs_snr; | 1077 | u8 cs_snr; |
@@ -1139,8 +1139,8 @@ typedef struct ar6000_dbglog_module_config_s { | |||
1139 | } DBGLOG_MODULE_CONFIG; | 1139 | } DBGLOG_MODULE_CONFIG; |
1140 | 1140 | ||
1141 | typedef struct user_rssi_thold_t { | 1141 | typedef struct user_rssi_thold_t { |
1142 | A_INT16 tag; | 1142 | s16 tag; |
1143 | A_INT16 rssi; | 1143 | s16 rssi; |
1144 | } USER_RSSI_THOLD; | 1144 | } USER_RSSI_THOLD; |
1145 | 1145 | ||
1146 | typedef struct user_rssi_params_t { | 1146 | typedef struct user_rssi_params_t { |