Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp762942rwi; Thu, 20 Oct 2022 05:06:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4mTf/nJoUWFEzl6xobfly6pKVFFigjicRvPBHIk5GcVaEDec/b/1B2QYxvQJU5ePSi8AXO X-Received: by 2002:a05:6402:154c:b0:459:b29:da88 with SMTP id p12-20020a056402154c00b004590b29da88mr12107950edx.296.1666267599480; Thu, 20 Oct 2022 05:06:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666267599; cv=none; d=google.com; s=arc-20160816; b=tnLNUAzu5lSkj6SmnE+j45xLCKfJS3mH38WfLv9FozT1cHCGwrptN2Wl8PD2OGSXJs zh6iunkc29G6wraqjXExlpMOd5GbLSLwAirQvILVYZju4fhNv5jZqYDAOX4/2Hb/PvuO PLQEGfpOVwuxWEVqWJl13DVBa79yFdRSZwA4xmdJgIy46pz2LHmqHFtcJA72BP83Cqy6 SY8TRdzenemxIPnjvH5al2m74CxH5mnjGoj321WekyBEBLovwYBebSd4Z3Xo0EDeer1n eKjU1aoRunQnn6TKYxEj3PveooezqF7JSNhBwKaqOwVDV2laIvY0tTjTmEx15Q5R7zjJ 0Lyg== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UjYqUKvxLNskMjI6I5IrHriniS8ndvAfPluCUfkW4o4=; b=cIPQj3ShHgSj9pZB9nXdg8wwxgUS0KeewGyaVCGlRTlaYJ8RZKXxLYwT8XeeVoFRkl InF+8LFhXTCsFlpITJsVlz/mDFpPH/t6jgI1Ls2LyXGeK4fuYNHhYjCUfQjxpP/uIi1n ECtjLMQKFlT6jMZsyEXz66Wm/s5a2Jqjc9eyeWEBlQxpbj1a2bDyIAQ10VWn/Ell4idL guwYqV/YA/DcfnItDgFp4USljsp1nq6BKhlSOgYnMwosqZ1izrnk7uUdBC5mwR/JAkS3 12MjVCDyFOqQm7gBjozbOnUiUbJvIFMN8LEtPoV/SGaOWwXsFz338ug/c/ery3aIuI0V 7l7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=P5fT4b6q; 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 xc9-20020a170907074900b00730aa841c5bsi16984297ejb.964.2022.10.20.05.06.18; Thu, 20 Oct 2022 05:06:39 -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=20210112 header.b=P5fT4b6q; 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 S231443AbiJTLkU (ORCPT + 64 others); Thu, 20 Oct 2022 07:40:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231470AbiJTLkR (ORCPT ); Thu, 20 Oct 2022 07:40:17 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 685E9FA007 for ; Thu, 20 Oct 2022 04:40:07 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id bv10so33866273wrb.4 for ; Thu, 20 Oct 2022 04:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UjYqUKvxLNskMjI6I5IrHriniS8ndvAfPluCUfkW4o4=; b=P5fT4b6qqCxqOVNPE/to/2Y4roKZyHPq92FHtu2TXGH24BF8j78htdlcxgV+6N0z6q OmbKtr1/Q8SFYseVVofmbrLcUvNIkYOJ9agF/NLAeJOJQrpwL2Ln9ZcXDBT13kYcN16h PEXjBjs4R9Bc30hiSR0BBY3pmpQVXTGFj64cnTphufGws2jDmA+zWueig/1gb2eLjYIK 3gNoRGQQlXqRpX+ig6fzvhY9L2pbCZeGJmBBdNvilBXix/8R/ZYCeVpOim782NKGy4Dc 6het/BB1tpYTccJxIc6jLSGZ9a1EIx5VYfzp05ff4fZ04VHnxpOb1ci6K9+fzfopaWBR sTDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UjYqUKvxLNskMjI6I5IrHriniS8ndvAfPluCUfkW4o4=; b=dmgg2Q2J74QGNASYS1XR8ZrxQuZTym9yp2EjGYn2hpCDcTkWdciDNpH2Mo72TDHOJe w8GszeZEjuDPCPSVedfjve+4TUR1DbBo/xWViNznliwpRLHMit+FpfpswikrFxhtxNn1 /4ViETRqzvKo7dOd8Zpg/uittcEladZzyWdRUvwt9X4flSVpdIc3soRD/S92ng6L7JXI 4ceR34owwDdvrRB68iYSOMJ0yjr7hocNRUtaRz2IKEcwBuFy8sIYkkU8goJs/iFwWc1z k9Cwzk8e3V2HBdlaThVDqIFWO/EqDtLk762E8JmOhqMNsryBMH2OR+Nw2OaAWHOooBkZ LJnw== X-Gm-Message-State: ACrzQf2FqMlfUj4xejtr0s4kIqrYPhdasrS2198pdOBsgfGrxr5MqTYJ aheDZqfXq67fWp+T/Y5Pc0s= X-Received: by 2002:a05:6000:1ac9:b0:22e:3d0c:43ed with SMTP id i9-20020a0560001ac900b0022e3d0c43edmr8290536wry.34.1666266005517; Thu, 20 Oct 2022 04:40:05 -0700 (PDT) Received: from [192.168.1.50] ([81.196.40.23]) by smtp.gmail.com with ESMTPSA id g11-20020a5d488b000000b0022eafed36ebsm16232058wrq.73.2022.10.20.04.40.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Oct 2022 04:40:05 -0700 (PDT) Message-ID: Date: Thu, 20 Oct 2022 14:40:04 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: rtl8xxxu: Should it support RTL8188EU? To: Jes Sorensen , linux-wireless@vger.kernel.org Cc: Larry Finger References: <2999b8e8-5706-8bfb-c3a5-5c547ab0a170@gmail.com> <012874df-59d4-8973-3dee-48f42208f9fc@gmail.com> Content-Language: en-US From: Bitterblue Smith In-Reply-To: <012874df-59d4-8973-3dee-48f42208f9fc@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 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 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 03/10/2022 16:12, Jes Sorensen wrote: > On 10/1/22 17:42, Bitterblue Smith wrote: >> Considering there is a driver for RTL8188EU already in staging, >> which people have been whittling down, should I put any effort >> into adding support to rtl8xxxu? >> >> It's actually mostly working already [0], but rtl8xxxu doesn't >> have AP mode, adhoc mode, power saving, etc so it wouldn't be >> necessarily better than the driver in staging. >> >> [0] https://git.kernel.org/pub/scm/linux/kernel/git/jes/linux.git/log/drivers/net/wireless/realtek/rtl8xxxu?h=rtl8xxxu-8188eu > > The staging driver is based on the vendor driver which is rather > dreadful. Given the similarity of the chips, it feels really silly to > have a second driver for just one chip. > > I see no reason to abandon 8188eu support in rtl8xxxu, but given my > total lack of time, I am also not able to invest in it. > > Cheers, > Jes > So now I actually tested r8188eu and it's so bad. Why are people spending so much time cleaning up a driver that doesn't work well? With the default module parameters it had 35% packet loss with the router 3 meters away in the same room. With rtw_power_mgnt=0 the packet loss is gone but the speed is still disappointing: less than 50 megabits/second download, 65-70 upload, and it's unsteady. The v5.2.2.4 driver from Larry Finger's repo works much better: no packet loss and a steady 95 and 85 megabits/second in the same conditions. I'll get started then.