Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1058184rwr; Thu, 20 Apr 2023 09:24:28 -0700 (PDT) X-Google-Smtp-Source: AKy350ZA+ULmsCN+pL+VNcR/YH9oLqhbhBkoNIsyHi4Y3rw/zbop+XEF58i4yqjyguavSrQALOl8 X-Received: by 2002:a05:6a20:43ab:b0:f0:b18d:78fc with SMTP id i43-20020a056a2043ab00b000f0b18d78fcmr2534202pzl.30.1682007868120; Thu, 20 Apr 2023 09:24:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682007868; cv=none; d=google.com; s=arc-20160816; b=Tf+EM9qA4/e4dNY4fX/pL/5+slfNkjAjaIwXvWnrQ/H0pwq84CCxe480zJPqK86Ghq ac/N14t4r36/EY3KvyAuzrhA8IkzSe7PVCi7IEHbSeDsi0IgAIMOHhi8w3XWlGS66rAd IaWSDG8pzZP4UX74HkHfOtcyB4vfHstEosW8fS9B8J+/G+0WjWoak9AC/Uq0qFRKObLC KVS1OlDrvERBJfJHIXTEKedAj4C7yhZOINeV63DecqY7NdI/B5/0ECuigANRMJ6G2CVm 2fy8jSco6eJ2emTLm2Fl8G+Tm31G8i/noPCu7CF5s7zxqrl+SIJwH2KohRkB+mRkWpjW R57w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=YGhMHr7d+eeHpm5iyUfg/2TsJmSoi2yaLl9i5TfcZro=; b=uusQ9NZbkqMvhP9hy93BZlBt4KF4PQ14yZJE1TVISVVOXcYADRamVNm25aixlx3Rwt jrtnWv6NvR8THu84GAWeGZF2bjs3BZ7LVS3U0+XKrmJJhBOhrpI3iFo94vl1kZlYTEQO UXJoOrUBmvhWlhezzTiVs2gGopmG1C7NCGsSE8CwmhcFFHhv3R8zpCj6bk18n76Of+tJ FBH6H/JwRY3tqJQRYtZni9c0ahoL4o8lrlMVhSz2/ah3T/V7bKT0234P0o1jFBtAW7EN fmZMI9AeHYBILHHjv7wRl3ij0wWIvY49pRbTlzrkvYmgh1Xk8s/m4EWlXnbtdXIhz4k9 aebQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=gh7u6NxT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a63e54f000000b0051b718151a4si1989095pgj.201.2023.04.20.09.24.05; Thu, 20 Apr 2023 09:24:28 -0700 (PDT) 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=@gmail.com header.s=20221208 header.b=gh7u6NxT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231187AbjDTQMf (ORCPT + 63 others); Thu, 20 Apr 2023 12:12:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231672AbjDTQMe (ORCPT ); Thu, 20 Apr 2023 12:12:34 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5C312D71 for ; Thu, 20 Apr 2023 09:12:28 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3f0a0c4e505so5539245e9.0 for ; Thu, 20 Apr 2023 09:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682007147; x=1684599147; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YGhMHr7d+eeHpm5iyUfg/2TsJmSoi2yaLl9i5TfcZro=; b=gh7u6NxTa7XO8GBj28ux+Ab4xUadm9u89Ip5+mh3Bcreom72LpjmJ50V/LEpPKWS30 zNieOLIoQ4PpY6drGyVI3iZXZb0VjziZVt6G2xAizJ+VK8wV8xFlVG5CqFtBaoHWTNYD PWiCSVJL46kuq6f6nXZWMfVV2jAh0FgnOjBq1YRT0IwYZUm98HqZixE8hBY//ah6rl8W 3PNqkZf2TBznQNNpAciqhPaKmcXpp1r16Ice7qzXnu3sgmNOFn9YwsmTRtrxsfaO3+8K m88YfGAs4GOI2wPhFrYnADg/k64v0iML3LxXJRmASWUcixjfiU/6fHYlUTXbYcB5xQgR GlVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682007147; x=1684599147; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YGhMHr7d+eeHpm5iyUfg/2TsJmSoi2yaLl9i5TfcZro=; b=O8Yr5Yrwx2UscJtrCkbFAwYnXtFe5wJj0TTdTUyRJJ9X7HoD9bqeNZ0br7jcVAz4wW D82ikxEpEIr6fcXphouZq/3mv9+jRYS8gY1eIccR8IlokmNMqdb8Frezc3DgynXj90gJ 4Dj8mUCdLHuIkhmf0Rgl/XtXUhXYh8mOLMWOTo4sgCTPCfiisq7hM0RpxKb/v92/umId 453/qH1tcinuwgWi8akIYZGmT1WaKEezB8GZLKQBRBGTDAxB1JShw4oV/aKlut2Ua4zG Ge/8OSX1vQnQ4yq7zx3CmrCo0sfeY6nO0BqlPi5ZaFSGb2GXuLToO/UXbhTo/vxZeLLu MqRw== X-Gm-Message-State: AAQBX9eq7wE0gS/RXo8ti+XTZAmFKib3mMHB15bPcXrO+QKHLFkGdRWZ jJkiHVAFVXeclL4uE46yK6iicdC7OfzAD2xHmYg= X-Received: by 2002:a5d:5687:0:b0:2f7:363e:7f5 with SMTP id f7-20020a5d5687000000b002f7363e07f5mr1839064wrv.24.1682007146956; Thu, 20 Apr 2023 09:12:26 -0700 (PDT) MIME-Version: 1.0 References: <2857f998-1b1a-e3c2-20fe-d03dadcf8f23@gmail.com> <38172c8e-d107-d96e-7292-09d0e3b061dd@gmail.com> <3ceecfc1-ab04-7d54-51bd-457a4708c0ac@gmail.com> In-Reply-To: <3ceecfc1-ab04-7d54-51bd-457a4708c0ac@gmail.com> From: Artem Makhutov Date: Thu, 20 Apr 2023 18:12:16 +0200 Message-ID: Subject: Re: RTL8188EU (LogiLink WL0151A) - Malformed packets To: Bitterblue Smith Cc: "linux-wireless@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi, Am Do., 20. Apr. 2023 um 17:33 Uhr schrieb Bitterblue Smith : > > On 20/04/2023 14:40, Artem Makhutov wrote: > > Hi, > > > > I think that I have found the problem: It happens when rx_desc->rxht > > == 1 - then the urb is 4 bytes shorter... > > > > That's very interesting. So it has a problem with MCS rates > > According to Johannes Berg, the 8 bytes at the end of the working ping > are the MIC, which mac80211 will strip. Of course mac80211 doesn't know > that rtl8xxxu sometimes receives 4 bytes fewer. The strange thing is that this issue does not appear with another Logilink WL0151 connected to my home network... Here the MCS rates work fine and I am always getting the full 8 bytes. > What kind of encryption does the network have? Is it possible to try > without any encryption? It uses WPA1 + WPA2 right now. Before that we had WPA2 only and it was exactly the same. I also did a test without encryption before. As far as I remember I was able to send larger packets, but the issue was still there. I will redo the test without encryption to double check it. > Another thing to try is software crypto, using this tested patch and > the module parameter debug=0x8000: Just tried it out. There was no change at all. Any ideas?