Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3238BC4332F for ; Mon, 7 Nov 2022 14:45:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231618AbiKGOpC (ORCPT ); Mon, 7 Nov 2022 09:45:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231418AbiKGOpA (ORCPT ); Mon, 7 Nov 2022 09:45:00 -0500 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D20F85FFF; Mon, 7 Nov 2022 06:44:59 -0800 (PST) Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 60456806C6; Mon, 7 Nov 2022 15:44:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1667832297; bh=SNJYWow8yT2A29q1fg1MhJIJvy9RbdnL9zRiMJeMeF4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nzat5P3zIri+/5nPLVaOFxXdDgI4F3ROeupq29w80x+ajdMxWP/eIrKSWshLeHBir WLLoa5FBxIvSSCl85INxEZ8nJRGtVYmUocDL4iXZXHDUAnFejYrTFOMBYWzp7GdTEm eHyPMtVbv33+HCMXiq82R7Pbha2s9BIH0HJmEx6O4HrkZQq1kzGtvrPfJOGibsQxZf lw5+I7o3wEEHDYMbPIrBF1YtCHg6aI3KBNxN7J2jZJnHlHtCmcwC1B7qR3+yntkh0L Xw/UQYQ07kYBWbEaB/E/c6geMLjVWtOd+HCut1M/33BD0RTecw+OwIQFxhAvUy96o7 cl9xgXeLDiDSQ== Message-ID: Date: Mon, 7 Nov 2022 15:44:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v5] wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port Content-Language: en-US To: Kalle Valo Cc: linux-wireless@vger.kernel.org, Angus Ainslie , Jakub Kicinski , Johannes Berg , Martin Fuzzey , Martin Kepplinger , Prameela Rani Garnepudi , Sebastian Krzyszkowiak , Siva Rebbagondla , netdev@vger.kernel.org References: <20221104163339.227432-1-marex@denx.de> <87o7tjszyg.fsf@kernel.org> <7a3b6d5c-1d73-1d31-434f-00703c250dd6@denx.de> <877d06g98z.fsf@kernel.org> From: Marek Vasut In-Reply-To: <877d06g98z.fsf@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 11/7/22 14:54, Kalle Valo wrote: > Marek Vasut writes: > >>> BTW did you test this on a real device? >> >> Yes, SDIO RS9116 on next-20221104 and 5.10.153 . > > Very good, thanks. > >> What prompts this question ? > > I get too much "fixes" which have been nowhere near real hardware and > can break the driver instead of fixing anything, especially syzbot > patches have been notorious. So I have become cautious. Ah, this is a real problem right here. wpa-supplicant 2.9 from OE dunfell 3.1 works. wpa-supplicant 2.10 from OE kirkstone 4.0 fails. That's how I ran into this initially. My subsequent tests were with debian wpa-supplicant 2.9 and 2.10 packages, since that was easier, they (2.10 does, 2.9 does not) trigger the problem all the same. I'm afraid this RSI driver is so poorly maintained and has so many bugs, that, there is little that can make it worse. The dealing I had with RSI has been ... long ... and very depressing. I tried to get documentation or anything which would help us fix the problems we have with this RSI driver ourselves, but RSI refused it all and suggested we instead use their downstream driver (I won't go into the quality of that). It seems RSI has little interest in maintaining the upstream driver, pity. I've been tempted to flag this driver as BROKEN for a while, to prevent others from suffering with it. Until I send such a patch, you can expect real fixes coming from my end at least.