iwlwifi: remove unused clip_groups priv member
Remove clip_groups from priv and related structure. This code is for 3945 only and was renamed to 4965 in when code was split. Also remove unused RATE definitions Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
edb342286e
commit
29d51d9df5
@@ -84,12 +84,6 @@
|
|||||||
#define IWL_CMD_FIFO_NUM 4
|
#define IWL_CMD_FIFO_NUM 4
|
||||||
#define IWL49_FIRST_AMPDU_QUEUE 7
|
#define IWL49_FIRST_AMPDU_QUEUE 7
|
||||||
|
|
||||||
/* Tx rates */
|
|
||||||
#define IWL_CCK_RATES 4
|
|
||||||
#define IWL_OFDM_RATES 8
|
|
||||||
#define IWL_HT_RATES 16
|
|
||||||
#define IWL_MAX_RATES (IWL_CCK_RATES+IWL_OFDM_RATES+IWL_HT_RATES)
|
|
||||||
|
|
||||||
/* Time constants */
|
/* Time constants */
|
||||||
#define SHORT_SLOT_TIME 9
|
#define SHORT_SLOT_TIME 9
|
||||||
#define LONG_SLOT_TIME 20
|
#define LONG_SLOT_TIME 20
|
||||||
|
@@ -186,12 +186,6 @@ struct iwl_channel_info {
|
|||||||
u8 fat_extension_channel; /* HT_IE_EXT_CHANNEL_* */
|
u8 fat_extension_channel; /* HT_IE_EXT_CHANNEL_* */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct iwl4965_clip_group {
|
|
||||||
/* maximum power level to prevent clipping for each rate, derived by
|
|
||||||
* us from this band's saturation power in EEPROM */
|
|
||||||
const s8 clip_powers[IWL_MAX_RATES];
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
#define IWL_TX_FIFO_AC0 0
|
#define IWL_TX_FIFO_AC0 0
|
||||||
#define IWL_TX_FIFO_AC1 1
|
#define IWL_TX_FIFO_AC1 1
|
||||||
@@ -793,10 +787,6 @@ struct iwl_priv {
|
|||||||
struct iwl_channel_info *channel_info; /* channel info array */
|
struct iwl_channel_info *channel_info; /* channel info array */
|
||||||
u8 channel_count; /* # of channels */
|
u8 channel_count; /* # of channels */
|
||||||
|
|
||||||
/* each calibration channel group in the EEPROM has a derived
|
|
||||||
* clip setting for each rate. */
|
|
||||||
const struct iwl4965_clip_group clip_groups[5];
|
|
||||||
|
|
||||||
/* thermal calibration */
|
/* thermal calibration */
|
||||||
s32 temperature; /* degrees Kelvin */
|
s32 temperature; /* degrees Kelvin */
|
||||||
s32 last_temperature;
|
s32 last_temperature;
|
||||||
|
Reference in New Issue
Block a user