Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1882984rwb; Mon, 7 Nov 2022 06:54:00 -0800 (PST) X-Google-Smtp-Source: AMsMyM52STtU4NU8pC4LeBe9AKT2BBn6oTbZdQnHu6oy97fmRKpBHm4rv+//lXm+qP37TTF/s9Jx X-Received: by 2002:a17:906:58c9:b0:7a7:dcba:a987 with SMTP id e9-20020a17090658c900b007a7dcbaa987mr48027850ejs.88.1667832840108; Mon, 07 Nov 2022 06:54:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667832840; cv=none; d=google.com; s=arc-20160816; b=dE9zVtL9xC7ECC+Kjo4iKMvSqfMbaSV3D8Pkrfg0MVcO7c/qPx/duRZWCEf1oXVfpm tzFQnv0V1irSwE2JEz9eUBx4hkr4uaze7rKzDLQuK9FZNti18nMRVPDiVoWIwPi91fDK 9bAdgOdrujkrSMm0WOC5qq87U7nmG9tfKeqs0kQSafNDLLCSP6yKJ9enS7v6qk+wrtl1 jQbSkhGukstEBRqXFaefPJmNDdtMhyYQjbr8fs0K6KCqe7ZBnRTwTboyJ8WQL3ckuVk/ 5MM7Hb921kGIOWVN/lVAe4y5gtXnx0ZY3yXSUauOBDR49cHuzb3kaN1BQEXBVeu49ZRm nAPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=SNJYWow8yT2A29q1fg1MhJIJvy9RbdnL9zRiMJeMeF4=; b=hrONxFlTtFl+i57xZ+VBVFH21k50AmGqFx3c52/WDcSInXPEcPNYkqraWkG1yeVBln Kb9RSCZHLZy7EyUkiwmvSuwZfZ0iuPq7rjj1SyuVd5w4pA8G4QWEishFqAtgxVSQ1en2 mCDADPXF/+XXtRrjpPBYZnzTGsNpswuBE5zsRd92ZcYCctJejud4TH9dnU9L6UzZ89DB Ul3DoncnsJVxR+n3BQyy6otCo4Fv+Z6ou6x0mSgXvi68nvxDAD/l11DBmZdIhfEUSxFc T5qlV6xqbo2Iaz/q1mD/X8os361hr3S5pzblgRKq/+xoR+vnkw4Fpu2HfpeG46EKIY/D CKTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=nzat5P3z; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y11-20020aa7cccb000000b00458cbb6b6easi7502642edt.167.2022.11.07.06.53.38; Mon, 07 Nov 2022 06:54:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=nzat5P3z; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231618AbiKGOpC (ORCPT + 67 others); 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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.