diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-commands.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-commands.h b/drivers/net/wireless/iwlwifi/iwl-4965-commands.h index 3bcd107e2d71..c03c04fe14c7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965-commands.h | |||
@@ -2559,7 +2559,7 @@ struct iwl4965_missed_beacon_notif { | |||
2559 | */ | 2559 | */ |
2560 | 2560 | ||
2561 | /* | 2561 | /* |
2562 | * Table entries in SENSITIVITY_CMD (struct iwl4965_sensitivity_cmd) | 2562 | * Table entries in SENSITIVITY_CMD (struct iwl_sensitivity_cmd) |
2563 | */ | 2563 | */ |
2564 | #define HD_TABLE_SIZE (11) /* number of entries */ | 2564 | #define HD_TABLE_SIZE (11) /* number of entries */ |
2565 | #define HD_MIN_ENERGY_CCK_DET_INDEX (0) /* table indexes */ | 2565 | #define HD_MIN_ENERGY_CCK_DET_INDEX (0) /* table indexes */ |
@@ -2574,18 +2574,18 @@ struct iwl4965_missed_beacon_notif { | |||
2574 | #define HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX (9) | 2574 | #define HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX (9) |
2575 | #define HD_OFDM_ENERGY_TH_IN_INDEX (10) | 2575 | #define HD_OFDM_ENERGY_TH_IN_INDEX (10) |
2576 | 2576 | ||
2577 | /* Control field in struct iwl4965_sensitivity_cmd */ | 2577 | /* Control field in struct iwl_sensitivity_cmd */ |
2578 | #define SENSITIVITY_CMD_CONTROL_DEFAULT_TABLE __constant_cpu_to_le16(0) | 2578 | #define SENSITIVITY_CMD_CONTROL_DEFAULT_TABLE __constant_cpu_to_le16(0) |
2579 | #define SENSITIVITY_CMD_CONTROL_WORK_TABLE __constant_cpu_to_le16(1) | 2579 | #define SENSITIVITY_CMD_CONTROL_WORK_TABLE __constant_cpu_to_le16(1) |
2580 | 2580 | ||
2581 | /** | 2581 | /** |
2582 | * struct iwl4965_sensitivity_cmd | 2582 | * struct iwl_sensitivity_cmd |
2583 | * @control: (1) updates working table, (0) updates default table | 2583 | * @control: (1) updates working table, (0) updates default table |
2584 | * @table: energy threshold values, use HD_* as index into table | 2584 | * @table: energy threshold values, use HD_* as index into table |
2585 | * | 2585 | * |
2586 | * Always use "1" in "control" to update uCode's working table and DSP. | 2586 | * Always use "1" in "control" to update uCode's working table and DSP. |
2587 | */ | 2587 | */ |
2588 | struct iwl4965_sensitivity_cmd { | 2588 | struct iwl_sensitivity_cmd { |
2589 | __le16 control; /* always use "1" */ | 2589 | __le16 control; /* always use "1" */ |
2590 | __le16 table[HD_TABLE_SIZE]; /* use HD_* as index */ | 2590 | __le16 table[HD_TABLE_SIZE]; /* use HD_* as index */ |
2591 | } __attribute__ ((packed)); | 2591 | } __attribute__ ((packed)); |