Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1233498rwr; Thu, 27 Apr 2023 14:34:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ubyqBNtqJRkTJyj90jdh1JeUU8sPJJnrVSU5lKyD3IWL2+DBpFfbYbVdVVyvtE42emXZf X-Received: by 2002:a05:6a00:1a89:b0:63d:a0d:6fa1 with SMTP id e9-20020a056a001a8900b0063d0a0d6fa1mr3710752pfv.21.1682631299178; Thu, 27 Apr 2023 14:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682631299; cv=none; d=google.com; s=arc-20160816; b=OUP+lrkL0i70eR1n8p7u3g/65CZfHlfBnJk+USjyGOzCG1q9/ifHZc2E3rIgRPdFyX lkx+6r87B3AK6idZZLfifas+w/08w3tJeCSwm+yyoNO5iGIIEuCb9oS9KOzue0DD6JvJ OIP31WkDGbQuV26JwtYp8vv6U4ExiC9QPD5ibm/dWFDHJaMAEOOo9EAgf8vTgMCrd6bU 8jmW0fgyHah/hsOdgmfRp8C4zYRYdEyu9vrwAh8IogrVNqireYdb75snPwPp9SPS0Hp3 8s2jT17oOJzuCCekX9fRy3xqo1YUydzrGYAefZeBKs+m3RkLftsNRZW0luTV3ra0DmXc ZdBQ== 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=iyJ6bE2YwZpaI/zL0FvjNvwOuhXvsUVswjrT+hrUq5U=; b=FrdU4KLisJ5lFwTBfbwmj/LKKJ61t9aLMl74BlgnPJu/PljRKpYbLwe0lH3mJKnks8 CpLIljy4mruAhsZ12e0He4u+jGU7GzltZ21GrJMMdlEAGyvrJngYHgcNK5sV97BXb7Bq 0p5MKwgZOZcahVjkdNsvk7ZIJW3Q3FttB5lD5PrlqtcCdwSLAgfbp221J3cjbuLGWneG C1aA1kNm4vP47tILwadixpK7SqUN6MRj/A6jtt4g3lyn9DahJp5z5dYtEl1JSTX85Cmr 0qijMv9CEKIap9Ji9pTc7jxjJmAPiIbL80Z9DTKK7xaAnzsQyOvkIebOYr66nc+MSKNT Kulw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=OmshAKCJ; 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 a8-20020aa78e88000000b0062d781f1f87si19377691pfr.355.2023.04.27.14.34.36; Thu, 27 Apr 2023 14:34:59 -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=OmshAKCJ; 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 S1344179AbjD0V2e (ORCPT + 62 others); Thu, 27 Apr 2023 17:28:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244592AbjD0V2d (ORCPT ); Thu, 27 Apr 2023 17:28:33 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF5D2212D for ; Thu, 27 Apr 2023 14:28:32 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f19a7f9424so66427045e9.2 for ; Thu, 27 Apr 2023 14:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682630911; x=1685222911; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iyJ6bE2YwZpaI/zL0FvjNvwOuhXvsUVswjrT+hrUq5U=; b=OmshAKCJnDLqKty444TdDEddNYfqvL2bRx0ZS6fd+po3oHWMkMCmCaWa34QR1n5si9 /plVfbSdhq0tH7PZb26+QQO3B8Az9pg3iXzHvqPt/6A8x8roU124z21eGhZHtz225ou3 xYxrdABJczZda+BKt8RmqPwxhXe0AfI8LPpbidcpPXPC82jJ18GIDZCvqPom/rOOu16J cNz8c36douCOjciYKlvNhSKg+7lq9jHBvL9bh6XrTh9k9bHHUTTmDANxf7cb23xp9FMC HibhlcIT+LkM73JvcJQh21XHKIu2e9KN/HR1nGAE+a8jL+YuJw1dIC3ouERn5KV3Lrpv m3dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682630911; x=1685222911; 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=iyJ6bE2YwZpaI/zL0FvjNvwOuhXvsUVswjrT+hrUq5U=; b=A7/h5TJYyectN53WbR+vrWYDF3jMZcDI2HJG2DeDNOapPLH888QPmI8TDJ+E0pryFH weOwVzsJl3T5HB+s7wzyBTZTCirZlaoRjIamGxCG2SpKFMepeLChE1bDrLvU8YLy7K4K YxoJeDQiFkp5P9YyGFZsxQyV/SAxOs+0/hxNtB5/33B+r6I8nVJo9q37ULWUjudjJ3fa ACXFE9+ZgtKdJps6SM4whdk9VLH1/wjaL0szhnF78Fi+vvFC29mcR28RBo7iLR4kVYdG xrHk6ZYDMAapLB4GcWpNDxqZeSZKf4ktNKheXAmmBnjOUqt1qsKmWkiIFCb8ZNok0706 49lg== X-Gm-Message-State: AC+VfDw+LwF3TT2IUI1UopAn+SaM6IiP2ufEffgGteE5HuMPUvifEp1v eklTMiFvVYGU81oRLtjxDAKxVdCTNcdEtog0J+w4fI6if/o= X-Received: by 2002:a7b:ce8b:0:b0:3f1:806a:83d5 with SMTP id q11-20020a7bce8b000000b003f1806a83d5mr2468032wmj.20.1682630911086; Thu, 27 Apr 2023 14:28:31 -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> <2a679614-c964-dc3f-c987-6c7ee03923a0@gmail.com> <0ce23546-7bf6-ef96-9417-c62adaa77cb6@gmail.com> In-Reply-To: <0ce23546-7bf6-ef96-9417-c62adaa77cb6@gmail.com> From: Artem Makhutov Date: Thu, 27 Apr 2023 23:28:20 +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, > I had another idea. Does this help? No, unfortunately not. The packet size is now different and the difference is now 12 bytes instead of 4 like before: [ 95.519092] urb_len 1544 pkt_cnt 136 pkt_len 1488 drvinfo_sz 32 desc_shift 0 rxmcs 13 rxht 1 paggr 1 faggr 1 [ 96.565095] urb_len 1544 pkt_cnt 136 pkt_len 1488 drvinfo_sz 32 desc_shift 0 rxmcs 12 rxht 1 paggr 1 faggr 1 [ 96.567223] urb_len 1556 pkt_cnt 136 pkt_len 1500 drvinfo_sz 32 desc_shift 0 rxmcs 4 rxht 0 paggr 0 faggr 0 [ 97.600101] urb_len 1556 pkt_cnt 136 pkt_len 1500 drvinfo_sz 32 desc_shift 0 rxmcs 4 rxht 0 paggr 0 faggr 0 [...] [ 129.872096] urb_len 1556 pkt_cnt 136 pkt_len 1500 drvinfo_sz 32 desc_shift 0 rxmcs 4 rxht 0 paggr 0 faggr 0 [ 129.879972] urb_len 1556 pkt_cnt 136 pkt_len 1500 drvinfo_sz 32 desc_shift 0 rxmcs 4 rxht 0 paggr 0 faggr 0 [ 130.870341] urb_len 1544 pkt_cnt 136 pkt_len 1488 drvinfo_sz 32 desc_shift 0 rxmcs 12 rxht 1 paggr 1 faggr 1 [ 131.919967] urb_len 1544 pkt_cnt 136 pkt_len 1488 drvinfo_sz 32 desc_shift 0 rxmcs 12 rxht 1 paggr 1 faggr 1 This time I have much less packet loss as I can only see rxmcs 13 as max in my logs. Mostly ht mode is not in use for some reasons: 256 packets transmitted, 235 received, 8.20312% packet loss, time 256218ms Without the patch I was getting 88% packet loss... And the curious is why were rxmcs 17 and rxmcs 19 working and the rest not (in my previous tests)?