Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6057934rwr; Mon, 24 Apr 2023 13:03:44 -0700 (PDT) X-Google-Smtp-Source: AKy350YybJ+oBbKB5cHaNSaav1tVdZ53hNlkWc9d6MIjNf936cVOAI1UdGKhpebI8WtQe1NgeUIt X-Received: by 2002:a17:902:868f:b0:19e:72c5:34df with SMTP id g15-20020a170902868f00b0019e72c534dfmr14716074plo.52.1682366624011; Mon, 24 Apr 2023 13:03:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682366623; cv=none; d=google.com; s=arc-20160816; b=r16qNwmwT23yHDplhUcC/rvlFezejS7Q2G4fp+aZHmRvPzLQBr4rh56nF3dXxi3bbx Mht9U15nH1v99AMxwchgylKM/k0HbJkvzxrBb8JOh+Lvu/viUWlIcefkgvHEHN7KJWkw tD44dk1IvoobJDrKQ2NUnDg3yP/l1GUDk2nbWatWb+eqo3N6VaAjmd3psIsifWPixKqJ 1Y41ujfIk00CmHAYOt3kayifhFqY5AmwxWV1WIwtQ/zGMnIwgPqnCSmwg1adOUVFCCYK yrqJUWS/qT07yX1t2sUqlEx7I9Wn288qL+2W7fCPUH0vjZUosA544CrFOVdWQYXgMntd J3+Q== 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=VJHZDcWYR1IAdiqMKhTJtEUyqYgMG6b+W3Qb/8fTQJE=; b=Pf2z0HNG24rLiW+aFR1Hbrgz2db+nP/EYkxwC76So5914+AsL2tv8COfockY/Q6TCp G84FNArQsVLuS+/MKpvjoJNFsd3UfAOxf11G1SooeesAfrOPcO39E4Ah9g4t+v8RhrAo zPDF0TcCRlFQfF3ovArU7PSel9/hszDtO8DvEW2RrDOMbMnIKgTseinaLHClqHXe+myI ef0EnME0R48D3GaSLJVNmQzKHUwwOxjCC0qgYsKtOuqeoF5xI8JCWNReRd6u+x0Zw/Mb 4jM/H3ZYSlpKoHZRIrMl1kAnbs7raDHCv56hPuV0JkLggeY/0YSYh/KLQwKEAx+NvwwS 1XTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=k40k4GtQ; 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 w4-20020a17090aad4400b00247af9828bbsi14677004pjv.87.2023.04.24.13.03.13; Mon, 24 Apr 2023 13:03:43 -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=k40k4GtQ; 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 S231687AbjDXT5o (ORCPT + 62 others); Mon, 24 Apr 2023 15:57:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232658AbjDXT5d (ORCPT ); Mon, 24 Apr 2023 15:57:33 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C13A97A92 for ; Mon, 24 Apr 2023 12:57:09 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-3f1958d3a53so34567075e9.0 for ; Mon, 24 Apr 2023 12:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682366216; x=1684958216; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=VJHZDcWYR1IAdiqMKhTJtEUyqYgMG6b+W3Qb/8fTQJE=; b=k40k4GtQJZfFAa0AdZ5r+9BfMIp6lpOKWD+bEXbe8TfMB7egfAPncW1zAoq1h7a9t/ /E5XOvubuXJRqsHe2TtWLv/WtEgcSv7Fw3EKIRg/Eh5/E7CDKlLrSQzMqJdwjp6HrTq/ y6v+SZo7r8SUHPfLs+kVQiOZhz+qpEmaUA3kJjSz3l3Xg1JQnqO/WyJgtudrUSZGldoK uwJ8tMVqF/I1Zn+VQkUYplvv3Le/QuPJx7bQn7hHeKoqHDx4TQ+muIyvE2Gb39swv/fi 6ECrnvxek7b79Jo9JD8ODzKgJEG0Ifb5cK+8gOUJZLyKT5modNTWxS6Gy5+7xKnn4/jh mrzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682366216; x=1684958216; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VJHZDcWYR1IAdiqMKhTJtEUyqYgMG6b+W3Qb/8fTQJE=; b=JF01uuCvU3+kL7hmPzGOhEUShEAk1PoZfbSETIC71q1dKjlRGJqSrul6L1OvLy/v6R 9mUTp+En7RDfWG9qP4QlZLOLIQaxHG5bBbOXEJNZrpWTMkxRuTosvNjerNvhbEoPH5PI Akh/8X7f1H8orHG9ClOWETIyHSyzWz4l0id68kQbXlJtvhhpupcpBpiGTtII+a3vQdn4 mglIVWORIbbFAn3lsAqYR2TGguafYcQ2bmKGsog3/Eh5pNn74qAkJEyn4iicAq2IwgIW EsDa/r7PSZE9kDl4wdedPnmwqywhSjKC7gDk2j9YpmnHyyalF9bt/LTIdatsviRyVHsg 1xvg== X-Gm-Message-State: AAQBX9f6F5GNSA973mlufPaRayTGCSXRd6eYUm9tfNMM35uRwr7FdWDD EWBli9BUcDb+zvyT5FdkJcSriILEUVc= X-Received: by 2002:adf:f710:0:b0:2dc:cb11:bed3 with SMTP id r16-20020adff710000000b002dccb11bed3mr9898629wrp.68.1682366216349; Mon, 24 Apr 2023 12:56:56 -0700 (PDT) Received: from [192.168.1.50] ([81.196.40.55]) by smtp.gmail.com with ESMTPSA id g18-20020adff3d2000000b002fb2782219esm11521769wrp.3.2023.04.24.12.56.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Apr 2023 12:56:55 -0700 (PDT) Message-ID: <2a679614-c964-dc3f-c987-6c7ee03923a0@gmail.com> Date: Mon, 24 Apr 2023 22:56:54 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: RTL8188EU (LogiLink WL0151A) - Malformed packets Content-Language: en-US To: Artem Makhutov Cc: "linux-wireless@vger.kernel.org" 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> From: Bitterblue Smith In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,NICE_REPLY_A,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 On 22/04/2023 00:59, Artem Makhutov wrote: > 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... > That's fortunate because RX aggregation makes the download speed a lot worse for some reason. > 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? That should work, but it's ugly. If the router lets you change the MTU, does it help to make it smaller? Do you have the problem with the v5.13.3 driver? If it works (other than completely dying after a while) we should see what it does differently compared to the v5.2.2.4 driver. I don't have other ideas.