diff options
author | Jay Sternberg <jay.e.sternberg@linux.intel.com> | 2009-01-29 14:09:14 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-09 15:03:42 -0500 |
commit | 76a2407a5b043d0950d5657184118e89860d545c (patch) | |
tree | 1173069fb065ace0f4a6d938bfc04b1ac629ad02 /drivers/net/wireless/iwlwifi/iwl-commands.h | |
parent | 050681b77d10ac81bf6be5b2c61aa6c5969947e4 (diff) |
iwlwifi: correct API command overlap
Correct the API commands where same command id used for two different
commands. Update max api versions for affected devices.
TX_ANT_CONFIGURATION_CMD was already using id 0x98, so
REPLY_TX_POWER_DBM_CMD moved to 0x95
Older API interfaces may used original value so V1 defines provided.
Signed-off-by: Jay Sternberg <jay.e.sternberg@linux.intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index e49415c7fb2a..77f32ad3de0b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -144,9 +144,11 @@ enum { | |||
144 | WHO_IS_AWAKE_NOTIFICATION = 0x94, /* not used */ | 144 | WHO_IS_AWAKE_NOTIFICATION = 0x94, /* not used */ |
145 | 145 | ||
146 | /* Miscellaneous commands */ | 146 | /* Miscellaneous commands */ |
147 | REPLY_TX_POWER_DBM_CMD = 0x95, | ||
147 | QUIET_NOTIFICATION = 0x96, /* not used */ | 148 | QUIET_NOTIFICATION = 0x96, /* not used */ |
148 | REPLY_TX_PWR_TABLE_CMD = 0x97, | 149 | REPLY_TX_PWR_TABLE_CMD = 0x97, |
149 | REPLY_TX_POWER_DBM_CMD = 0x98, | 150 | REPLY_TX_POWER_DBM_CMD_V1 = 0x98, /* old version of API */ |
151 | TX_ANT_CONFIGURATION_CMD = 0x98, /* not used */ | ||
150 | MEASURE_ABORT_NOTIFICATION = 0x99, /* not used */ | 152 | MEASURE_ABORT_NOTIFICATION = 0x99, /* not used */ |
151 | 153 | ||
152 | /* Bluetooth device coexistence config command */ | 154 | /* Bluetooth device coexistence config command */ |