Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2828877rwr; Fri, 21 Apr 2023 15:05:12 -0700 (PDT) X-Google-Smtp-Source: AKy350atMZEiafGMg3/Stjrxy2UqfisSep5+H3lSqTvIQkf56Gwii0dZGwvn2XvxPaXTkfggELSL X-Received: by 2002:a17:903:249:b0:1a6:87d8:b8fb with SMTP id j9-20020a170903024900b001a687d8b8fbmr7874782plh.2.1682114711884; Fri, 21 Apr 2023 15:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682114711; cv=none; d=google.com; s=arc-20160816; b=KDdaFvst72ssDh0ebNEypRsSwb+07SDyho0qUhYNH15pbgPVa9IkFR5t9c5+QCXRHQ QxWPfcx552gNRR1gZNBSWEotqLn4uR+B3+DffJVd9FhX+R/m84QFmybrl4ChmDWRYmx/ JVE+wqDfKgGGfRsYXiQ9+EMRQy1VaqhcWnk4bCFi47yhgydy3qUFSqzMUBmKoURthfvs SzzFVN0CJNNMjs8i94EJz1PJT62Lq0I/jEYQrfd4RtKyoYqUC6J/+XZaSHpayRj24KNW tTY9Ry4OK4cS8a/k2Zqv0YM/h1xH4OZUEXmd7v9MqI8DzNW/ZRCUZPbfAyXmzzVQ9Urs /OsA== 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=BoKWYMR87LB14LU7FBVeEb7LIUWCOjPxH0KX+5TVraI=; b=tlOUXKxRBiwXPZwu78Ni0KlrNID9XMZ48rSyLuL7ch7Xy8nHB2dU+hAgg3hr1lkbqN JmRwVfGm9JwYKCFcwTn2RCFcOKyPDn4PL7deSxe6VTC8z1plgMxESMkjiky0wj2ROzfS /ds7vQK4IZNjpTEbn+IR55Pyka6ig9tzuVtlDm737cBDVhcwbDIkbTdctpiTuQXzKjLN NMezESZcWPO76RJNfX/r7HVbRNnOzMcgFq18asxiQ4YC9bxJGmlVzpXMm2pAYc4c3LOG c2Jh4Kbl042wGxfc8uSv4GXWgA/IALkgQ2C2c57PF+1TwNtebGr0QwjENQ0BD7mgTimA +afg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=jEXObke1; 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 d12-20020a170903230c00b001a6dfb35f63si5918233plh.385.2023.04.21.15.04.54; Fri, 21 Apr 2023 15:05:11 -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=jEXObke1; 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 S232943AbjDUV72 (ORCPT + 62 others); Fri, 21 Apr 2023 17:59:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232891AbjDUV70 (ORCPT ); Fri, 21 Apr 2023 17:59:26 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5683CE7 for ; Fri, 21 Apr 2023 14:59:25 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-2f4c431f69cso1377077f8f.0 for ; Fri, 21 Apr 2023 14:59:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682114364; x=1684706364; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BoKWYMR87LB14LU7FBVeEb7LIUWCOjPxH0KX+5TVraI=; b=jEXObke1ZWdJAJSDoP0USreul3cCM580kuRTR3SNBQlWVgWZoblGzUJ8dlBJFrdY9H ivTmEgljHSzvqZta115+b8mex0TyYglCJ2/RdEu899hdWlZt7XeGgz91HY7EAXJ4wyXZ LLcNmxvTP18fSh9R9mkJ5dtZUxSGYTPaz5NcYQpXodhyQDrkZ55QR0OkfarmkdcqeSVv D/Yyy91bqAmNBSrnZ4lCuCG9jxuCEDoraNEVm5XgK6MPYu8zO5BkTivvCJ5hZXGTCGBV aRRpU3yeatji3Ru7g9JmOXs2P2tB6+DV/kk+5FXKI2oxUdIWeH1jqgywwIVEK5FlGJT4 F+kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682114364; x=1684706364; 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=BoKWYMR87LB14LU7FBVeEb7LIUWCOjPxH0KX+5TVraI=; b=H/jaW60uEiSvjaerD/UY8zSPFQYdWURYNyaZlH7wRrtx6C67azIRF2e5dUVxmjw5/y SM4C61SIfUAFntUljtnJs9zaHzSWecunxya8jL99/ZuAgGzp105yseWP3GHRuTcP/KUX ZRiUqe5ceG4LNTAwV0opV5XeoobIg5nPsQWrcBq9k+JTfqr2vyJx3/o8NLLxRYxQfA4H EkvD7x60C7YK4jaxdJY8ebi7qYnDTCUxk9pvv5pv9g/ULkiaDrSgwD8WQDjz/CVFYaGd mBbvbm73Cn6mbDFLXTuH3elnZ39Gxm6NBG27Om8UqFDiBA/8gpaDQSzaSy0Ht3YN1IsF QbSA== X-Gm-Message-State: AAQBX9cDeOZAB2jBG4OxwQItjh5u/qnPW//NShJl87W5fTvPE3ieqZvp A2ZHPujrPnnPAT5cp32ntgRSFYqZInw8I5fAcDk= X-Received: by 2002:adf:ec41:0:b0:2fb:599b:181e with SMTP id w1-20020adfec41000000b002fb599b181emr3964246wrn.63.1682114363533; Fri, 21 Apr 2023 14:59:23 -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> <8eaeb64e-3f7f-6752-4476-c0f0c88a008b@gmail.com> In-Reply-To: <8eaeb64e-3f7f-6752-4476-c0f0c88a008b@gmail.com> From: Artem Makhutov Date: Fri, 21 Apr 2023 23:59:12 +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 20:26 Uhr schrieb Bitterblue Smith : > So it's probably not related to the encryption. > > The v5.2.2.4 driver uses USB RX aggregation, unless you disabled it. > We can try to use it in rtl8xxxu too, with this patch and the > module parameter dma_aggregation=1: I have tried it out. No changes. I will check the v5.2.2.4 tomorrow again. Maybe it does not use HT mode so often and that's the reason why the problem is not occuring that often... As a workaround: What about checking the IP length field. If the received packet is smaller by 4 bytes than what it should be then just add extra 4 bytes at the end? Or does the MIC at the end have any influence on anything?