>Hi Zenm, > >On Tue, 2024-01-16 at 10:50 +0100, Martin Kaistra 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. >> >> Fix it by adding the numbers for all variants. The values are taken from >> the vendor drivers and rtlwifi. >> >> Fixes: b837f78fbffa ("wifi: rtl8xxxu: add hw crypto support for AP mode") >> Signed-off-by: Martin Kaistra <martin.kaistra@xxxxxxxxxxxxx> >> > > Could you please try if this patch can fix your problem? > Yes, my devices work fine now, thank you and Martin for fixing this! devices tested: MERCUSYS MW300UM (RTL8192EU) MERCURY MW310UH (RTL8192FU) > Thanks > Ping-Ke