]> Pileus Git - ~andy/linux/commit
iwlwifi: add RATE_MCS_RATE_MSK
authorDaniel Halperin <dhalperi@cs.washington.edu>
Sat, 19 Mar 2011 01:48:55 +0000 (18:48 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 25 Mar 2011 13:58:06 +0000 (06:58 -0700)
commit2520546aecc969372080448a2422b39eedb2a528
treeda1c3a8a13dc507e916ddb5351aacd2cb552a054
parentd0eb633431ec922f8f9b2040f46d9b42a4cec193
iwlwifi: add RATE_MCS_RATE_MSK

Throughout the code we use rate_n_flags & 0xff to extract the lower byte
of the rate_n_flags u32 that contains the information about the rate.
Add a #define and remove the use of the magic number.

Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-commands.h