iwlwifi: check the SCD conf from ALIVE response
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 25 Oct 2012 21:08:27 +0000 (23:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 5 Nov 2012 15:12:25 +0000 (16:12 +0100)
commitadca1235cccacee91beb640a044e51b1c457b1ea
tree948ae97e253d7c13a8bd337da29d65333b7b4d25
parente2b1930e6fd9aaa72cc44519b257ae71a1c2e29f
iwlwifi: check the SCD conf from ALIVE response

The ALIVE response of new fw inclues the base address of
the SCD in SRAM. Until we read it from a prph register,
which was set by the fw. Since the fw might well stop
updating the prph register, add a WARN when there is an
inconsitency between the ALIVE response and the register
to catch any change in the behavior.

Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/ucode.c
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/pcie/trans.c