iwlwifi: a000: fix memory offsets and lengths
authorLiad Kaufman <liad.kaufman@intel.com>
Sun, 19 Feb 2017 08:42:40 +0000 (10:42 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 19 Apr 2017 19:21:49 +0000 (22:21 +0300)
Memory offsets and lengths for A000 HW is different
than currently specified.

Fixes: e34d975e40ff ("iwlwifi: Add a000 HW family support")
Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-a000.c

index 1c731b88d08c6049ed193663e852c2399fe0f8f7..097cb45c8ad92a9172fefb7c317a151d645624c0 100644 (file)
 #define IWL_A000_TX_POWER_VERSION      0xffff /* meaningless */
 
 /* Memory offsets and lengths */
-#define IWL_A000_DCCM_OFFSET           0x800000
-#define IWL_A000_DCCM_LEN              0x18000
+#define IWL_A000_DCCM_OFFSET           0x800000 /* LMAC1 */
+#define IWL_A000_DCCM_LEN              0x10000 /* LMAC1 */
 #define IWL_A000_DCCM2_OFFSET          0x880000
 #define IWL_A000_DCCM2_LEN             0x8000
 #define IWL_A000_SMEM_OFFSET           0x400000
-#define IWL_A000_SMEM_LEN              0x68000
+#define IWL_A000_SMEM_LEN              0xD0000
 
 #define IWL_A000_JF_FW_PRE     "iwlwifi-Qu-a0-jf-b0-"
 #define IWL_A000_HR_FW_PRE     "iwlwifi-Qu-a0-hr-a0-"