linux_dsm_epyc7002/drivers/net/wireless/iwlwifi/mvm
Eran Harary d6aeb354f9 iwlwifi: mvm: revisit the NVM handling code
Fix a bug in nvm_read_section function if size of the section
is a multiple of 2K:

   - if the size of the section is *not* multiple of 2K,
   then we will have: read(2K) - return 2K ... read(2K) - return 2K
   read(2K) - return the rest (in bytes) and exit the while loop.
   - else, if the size of the section is a multiple of 2K,
   then we have: read(2K) - return 2K read(2K) - return 2K read(2K) -
   return 2K read(2K) - return 0 and exit the while with an error.

We should not return an error in the latter case, because it
might well be that the section was completely read.

Also, we try now to read all the sections as this is needed
for new devices.

Signed-off-by: Eran Harary <eran.harary@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2014-05-13 13:58:15 +03:00
..
binding.c
coex.c iwlwifi: mvm: BT Coex - fix boost register / LUT values 2014-05-13 13:55:21 +03:00
constants.h iwlwifi: mvm: remove using max_duration in firmware API 2014-03-18 21:15:38 +02:00
d3.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
debugfs-vif.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
debugfs.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
debugfs.h
fw-api-coex.h iwlwifi: mvm: BT Coex - minor API change 2014-04-13 22:23:15 +03:00
fw-api-d3.h iwlwifi: remove IWL_UCODE_TLV_FLAGS_D3_CONTINUITY_API flag 2014-04-13 22:23:11 +03:00
fw-api-mac.h
fw-api-power.h iwlwifi: mvm: add D0i3 power configurations 2014-02-03 22:23:39 +02:00
fw-api-rs.h iwlwifi: mvm: add lq_cmd/tx_resp reduced_tpc field 2014-04-09 19:29:36 +03:00
fw-api-scan.h Merge remote-tracking branch 'iwlwifi-fixes/master' into iwlwifi-next 2014-05-06 20:37:33 +03:00
fw-api-sta.h iwlwifi: remove IWL_UCODE_TLV_FLAGS_STA_KEY_CMD flag 2014-04-13 22:23:13 +03:00
fw-api-tx.h iwlwifi: mvm: add lq_cmd/tx_resp reduced_tpc field 2014-04-09 19:29:36 +03:00
fw-api.h iwlwifi: mvm: Add support for Energy based scan (EBS) 2014-04-13 22:23:17 +03:00
fw.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
led.c iwlwifi: mvm: don't fail completely if led mode is not supported 2014-03-16 08:59:05 +02:00
mac80211.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
mac-ctxt.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
Makefile iwlwifi: make LED support optional 2014-05-06 20:40:05 +03:00
mvm.h Merge remote-tracking branch 'iwlwifi-fixes/master' into HEAD 2014-05-13 13:51:53 +03:00
nvm.c iwlwifi: mvm: revisit the NVM handling code 2014-05-13 13:58:15 +03:00
offloading.c iwlwifi: mvm: configure protocol offloading on D0i3 2014-03-16 13:45:33 +02:00
ops.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
phy-ctxt.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
power.c iwlwifi: mvm: set SKIP_OVER_DTIM flag only if needed 2014-05-13 13:54:19 +03:00
quota.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
rs.c iwlwifi: add missing trailing newlines to debug messages 2014-05-11 12:54:58 +03:00
rs.h Merge remote-tracking branch 'iwlwifi-fixes/master' into iwlwifi-next 2014-05-06 20:37:33 +03:00
rx.c iwlwifi: remove IWL_UCODE_TLV_FLAGS_RX_ENERGY_API flag 2014-04-13 22:23:09 +03:00
scan.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
sf.c Merge remote-tracking branch 'iwlwifi-fixes/master' into iwlwifi-next 2014-05-06 20:37:33 +03:00
sta.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
sta.h iwlwifi: mvm: add lq_cmd/tx_resp reduced_tpc field 2014-04-09 19:29:36 +03:00
testmode.h
time-event.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
time-event.h
tt.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
tx.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
utils.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00