summaryrefslogtreecommitdiff
path: root/scripts/macro_checker.py
diff options
context:
space:
mode:
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>2025-08-21 20:47:17 +0300
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>2025-08-26 18:39:44 +0300
commit6a1adca41f86b8c234068e5b3e961065a4a2d873 (patch)
tree63251244c2c96c8a92a654988c5b29149b128c22 /scripts/macro_checker.py
parent8925c7876c20b6c2b57512856e5b8100d2339d77 (diff)
wifi: iwlwifi: mvm/mld: correctly retrieve the keyidx from the beacon
key->icv_len already includes the pn length and the keyidx length. In fact it is the size of the MMIE, so subtracting it from the overall length will actually bring us to the beggining of the MMIE and not of the keyidx inside it. Also, we also need to consider a 16 byte long MIC. Fix the code to correctly retrieve the keyidx. Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250821204455.e0aea411cd2a.I4220348147541a1478b02389475426047ecf84bc@changeid
Diffstat (limited to 'scripts/macro_checker.py')
0 files changed, 0 insertions, 0 deletions