diff options
| author | 2026-09-23 16:04:50 +0300 | |
|---|---|---|
| committer | 2026-10-14 11:56:36 +0300 | |
| commit | 74f2ced8acb48cea939a13732e472a2e344ab7f9 (patch) | |
| tree | 5be11bc7bd017c9af370574149f565c800a5fc1a /scripts/Makefile.thinlto | |
| parent | wifi: iwlwifi: mld: correct EHT U-SIG-1 B20:25 report (diff) | |
wifi: iwlwifi: support net detect match info version 3
Since API 77, firmware reports scan offload profile matches using
SCAN_OFFLOAD_PROFILE_MATCH_RESULTS_S_VER_3, which has more channels (16
byte instead of 7).
Somehow we missed this change, and the driver only handles the 5- and
7-byte layouts, so on such firmware it misparsed the match (reading band
as energy) and could not recover matches beyond the first 56 channels.
Add the version 3 match structure and select it based on the
SCAN_OFFLOAD_PROFILES_QUERY_CMD notification version (in MVM, in MLD,
this is the only version supported).
In MVM, while walking the matched-channels bitmap, bound the channel
index with IWL_FW_CHECK so firmware that sets a bit beyond n_nd_channels
can no longer trigger an out-of-bounds read of nd_channels[].
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Link: https://patch.msgid.link/20260923160318.07738ca44b54.I58162891250af9f46220fd01db667460e6dd621b@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
