]> www.infradead.org Git - users/willy/xarray.git/commit
wifi: iwlwifi: fw: fix wgds rev 3 exact size
authorAnjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Sun, 25 Aug 2024 16:17:08 +0000 (19:17 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 26 Aug 2024 15:39:57 +0000 (17:39 +0200)
commit3ee22f07a35b76939c5b8d17d6af292f5fafb509
treeb6dc4d98362e416aea89fd4537ac8a16f4decdf8
parentcd6f46c2fdb82e80ca248549c1f3ebe08b4a63ab
wifi: iwlwifi: fw: fix wgds rev 3 exact size

Check size of WGDS revision 3 is equal to 8 entries size with some header,
but doesn't depend on the number of used entries. Check that used entries
are between min and max but allow more to be present than are used to fix
operation with some BIOSes that have such data.

Fixes: 97f8a3d1610b ("iwlwifi: ACPI: support revision 3 WGDS tables")
Signed-off-by: Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240825191257.cc71dfc67ec3.Ic27ee15ac6128b275c210b6de88f2145bd83ca7b@changeid
[edit commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/acpi.c