Martin Kaistra <martin.kaistra@xxxxxxxxxxxxx> wrote: > Commit b837f78fbffa ("wifi: rtl8xxxu: add hw crypto support for AP > mode") introduced max_sec_cam_num as a member of rtl8xxxu_fileops. > It was missed to set this number for all variants except 8188f, which > caused rtl8xxxu_get_free_sec_cam() to always return 0 and therefore breaking > encrypted traffic. > > Fix it by adding the numbers for all variants. The values are taken from > the vendor drivers and rtlwifi. > > Link: https://lore.kernel.org/linux-wireless/20240111163603.2325-1-zenmchen@xxxxxxxxx/ > Fixes: b837f78fbffa ("wifi: rtl8xxxu: add hw crypto support for AP mode") > Signed-off-by: Martin Kaistra <martin.kaistra@xxxxxxxxxxxxx> Patch applied to wireless-next.git, thanks. 563d5025cf3b wifi: rtl8xxxu: add missing number of sec cam entries for all variants -- https://patchwork.kernel.org/project/linux-wireless/patch/20240116095001.399500-1-martin.kaistra@xxxxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches