iwlwifi: add value and range define for link quality command
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Wed, 3 Jun 2009 18:44:11 +0000 (11:44 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 4 Jun 2009 14:58:12 +0000 (10:58 -0400)
commit13c33a09b3703c2956345482017600434c853889
treeaa9401464d536dd49876b8a8b0525ce2fbf4e794
parent258c44a0c02a7ffbb9555747008d6bf9a3ea58a0
iwlwifi: add value and range define for link quality command

Instead of hardcoding the link quality parameters inside the functions,
adding #define in iwl-commands.h to shared by different functions.
Also include the valid range for number of link quality parameters.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
drivers/net/wireless/iwlwifi/iwl-commands.h
drivers/net/wireless/iwlwifi/iwl-sta.c