OSDN Git Service

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)
committerKalle Valo <kvalo@kernel.org>
Thu, 11 May 2023 12:52:58 +0000 (15:52 +0300)
commit9ce4bb09123e9754996e358bd808d39f5d112899
treea635ddf258126091879a5ea524384b0c6f266aba
parentf3dc7bb037d813ab7da84f488dd485f0fce66347
wifi: wilc1000: fix for absent RSN capabilities WFA testcase

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
drivers/net/wireless/microchip/wilc1000/hif.c