iwlwifi: mvm: NVM - increase max section size
authorIdan Kahlon <idanx.kahlon@intel.com>
Wed, 9 Oct 2013 14:09:13 +0000 (16:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Oct 2013 14:01:27 +0000 (16:01 +0200)
Section size limitation to 6000 is incorrect.
NVM file need to support bigger sections in order
to support PAPD tables.

Signed-off-by: Idan Kahlon <idanx.kahlon@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Maor Perez <maorx.perez@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/nvm.c

index e4edda6..2beffd0 100644 (file)
@@ -77,7 +77,7 @@ static const int nvm_to_read[] = {
 
 /* Default NVM size to read */
 #define IWL_NVM_DEFAULT_CHUNK_SIZE (2*1024)
-#define IWL_MAX_NVM_SECTION_SIZE 6000
+#define IWL_MAX_NVM_SECTION_SIZE 7000
 
 #define NVM_WRITE_OPCODE 1
 #define NVM_READ_OPCODE 0