]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wifi: wilc1000: fix for absent RSN capabilities WFA testcase
authorAmisha Patel <amisha.patel@microchip.com>
Fri, 21 Apr 2023 18:10:20 +0000 (18:10 +0000)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:19:33 +0000 (17:19 +0200)
commita47a69e0ae1fc5900ff348352b0ecbb507e1ef6d
tree55d1619a0926854e0855ff241776c6bdf6afdb81
parent32c9ea2967cabf6acca3a8a9383d5c9392087990
wifi: wilc1000: fix for absent RSN capabilities WFA testcase

BugLink: https://bugs.launchpad.net/bugs/2034469
[ Upstream commit 9ce4bb09123e9754996e358bd808d39f5d112899 ]

Mandatory WFA testcase
CT_Security_WPA2Personal_STA_RSNEBoundsVerification-AbsentRSNCap,
performs bounds verfication on Beacon and/or Probe response frames. It
failed and observed the reason to be absence of cipher suite and AKM
suite in RSN information. To fix this, enable the RSN flag before extracting RSN
capabilities.

Fixes: cd21d99e595e ("wifi: wilc1000: validate pairwise and authentication suite offsets")
Signed-off-by: Amisha Patel <amisha.patel@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230421181005.4865-1-amisha.patel@microchip.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/wireless/microchip/wilc1000/hif.c