From: Idan Kahlon Date: Wed, 9 Oct 2013 14:09:13 +0000 (+0200) Subject: iwlwifi: mvm: NVM - increase max section size X-Git-Tag: submit/tizen/20160607.132125~5255^2~3^2^2~305^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a87bdddf9335297a88c1d57db51912be8d7f74e;p=sdk%2Femulator%2Femulator-kernel.git iwlwifi: mvm: NVM - increase max section size 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 Reviewed-by: Emmanuel Grumbach Reviewed-by: Maor Perez Signed-off-by: Johannes Berg --- diff --git a/drivers/net/wireless/iwlwifi/mvm/nvm.c b/drivers/net/wireless/iwlwifi/mvm/nvm.c index e4edda6..2beffd0 100644 --- a/drivers/net/wireless/iwlwifi/mvm/nvm.c +++ b/drivers/net/wireless/iwlwifi/mvm/nvm.c @@ -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