diff options
Diffstat (limited to 'drivers/net/wireless/p54/p54.h')
-rw-r--r-- | drivers/net/wireless/p54/p54.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/p54/p54.h b/drivers/net/wireless/p54/p54.h index 43a3b2ead81a..f951c8f31863 100644 --- a/drivers/net/wireless/p54/p54.h +++ b/drivers/net/wireless/p54/p54.h | |||
@@ -116,7 +116,8 @@ struct p54_edcf_queue_param { | |||
116 | __le16 txop; | 116 | __le16 txop; |
117 | } __packed; | 117 | } __packed; |
118 | 118 | ||
119 | struct p54_rssi_linear_approximation { | 119 | struct p54_rssi_db_entry { |
120 | u16 freq; | ||
120 | s16 mul; | 121 | s16 mul; |
121 | s16 add; | 122 | s16 add; |
122 | s16 longbow_unkn; | 123 | s16 longbow_unkn; |
@@ -197,13 +198,14 @@ struct p54_common { | |||
197 | u8 rx_diversity_mask; | 198 | u8 rx_diversity_mask; |
198 | u8 tx_diversity_mask; | 199 | u8 tx_diversity_mask; |
199 | unsigned int output_power; | 200 | unsigned int output_power; |
201 | struct p54_rssi_db_entry *cur_rssi; | ||
200 | int noise; | 202 | int noise; |
201 | /* calibration, output power limit and rssi<->dBm conversation data */ | 203 | /* calibration, output power limit and rssi<->dBm conversation data */ |
202 | struct pda_iq_autocal_entry *iq_autocal; | 204 | struct pda_iq_autocal_entry *iq_autocal; |
203 | unsigned int iq_autocal_len; | 205 | unsigned int iq_autocal_len; |
204 | struct p54_cal_database *curve_data; | 206 | struct p54_cal_database *curve_data; |
205 | struct p54_cal_database *output_limit; | 207 | struct p54_cal_database *output_limit; |
206 | struct p54_rssi_linear_approximation rssical_db[IEEE80211_NUM_BANDS]; | 208 | struct p54_cal_database *rssi_db; |
207 | struct ieee80211_supported_band *band_table[IEEE80211_NUM_BANDS]; | 209 | struct ieee80211_supported_band *band_table[IEEE80211_NUM_BANDS]; |
208 | 210 | ||
209 | /* BBP/MAC state */ | 211 | /* BBP/MAC state */ |