]> git.karo-electronics.de Git - linux-beck.git/commit
iwlagn: dynamically allocate & reflect calibration data
authorJohannes Berg <johannes.berg@intel.com>
Thu, 17 Nov 2011 16:51:57 +0000 (08:51 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 25 Nov 2011 18:49:10 +0000 (10:49 -0800)
commitf02c2fd383f4c771c75daf391abdbdcb88848439
treec0538e4f20d339fd67685d0af50c3200bc58897b
parent93b64105e5642728cfc441e20a42164323fe4ad0
iwlagn: dynamically allocate & reflect calibration data

This makes handling the calibration data more generic
and no longer requires updating IWL_CALIB_MAX when a
new uCode comes with more calibration packets. Since
we just copy the data back, there's also no need for
understanding which calibration we received -- we can
just reflect it back to the runtime uCode.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-calib.c
drivers/net/wireless/iwlwifi/iwl-agn-calib.h
drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-dev.h