Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1368492ybt; Sun, 14 Jun 2020 20:50:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxiCKgjOJ4a9eh6bZienYZYIvdI30xSP3HRH2jfBxgcRLA+Fqr5UFd4qm0aIvgOa8wlhZQ X-Received: by 2002:a17:906:3cf:: with SMTP id c15mr23200391eja.186.1592193003333; Sun, 14 Jun 2020 20:50:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592193003; cv=none; d=google.com; s=arc-20160816; b=rVHftXLvN37tG1KIFwYVF3olhKbsfY7ihpbFtNImV1FdH/0HozUzP9IoVNN5TtdAcs vPmcrXOvoDhz/3csgt+HmOQPyDfeuZ2ngj6E0hlSlPs33FhGqlsgL5q/w+w0EP91Qw39 TUklsry0psI1kOID3ls3c/nG5G6aCtHs80MTT7Obyo5Q0eg8X+LVVdPEgUXL8haIUijT jwiKwdDeP6A4Wlz59xiBUH2w+ZM6fmaCOQrrdAapbiY/mtkd0HUgWkqtQx27OapMxfID WI4zsfQHItHGaBqMisQHAu3A21VYPJ65QI9OzcWZe6097h0YPqG0LX1dnVBAKJdm8PZL i50A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:subject:reply-to:from:to:dkim-signature:date; bh=AZHhe0ubwoNSJs7vImPxQuRQNtbnXNwdqJmrtedtWTo=; b=CiRn2ogo8zWBuL/+z2rMCfLHW3Y4GeT0RQ//msJwaIMBGLBYYVEZrXicgOAnmJdWaY W6qU+GloK3Vyvf7AqUqyDHQ0MtrqJhAuk+Y4XCybrHZmx9yIodPliNnaVsXb9FQW8r8B 212MNPmLUoKDypd9LJlIqu2Eg36X3h54SzB9C+o77d5BXdvdP39UddvzMmZM5OMaPaCL g19+qHmbb5443EQ2+NVStLBI7OaBNsZ+3VfZeljuxMrgG9Y8CJiMvNHgfiTOa7rk55Qb oF3kK7/pWjVta5AIdXb1eWatky1DVHugHW63h8W7v+LF/vbgoJhIXso0O2mJnhKi26kM dWNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.ch header.s=protonmail header.b="c/ga1T3z"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.ch Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck26si7631640edb.166.2020.06.14.20.49.20; Sun, 14 Jun 2020 20:50:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.ch header.s=protonmail header.b="c/ga1T3z"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728227AbgFODsS (ORCPT + 99 others); Sun, 14 Jun 2020 23:48:18 -0400 Received: from mail-40141.protonmail.ch ([185.70.40.141]:36513 "EHLO mail-40141.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728044AbgFODsS (ORCPT ); Sun, 14 Jun 2020 23:48:18 -0400 X-Greylist: delayed 1075 seconds by postgrey-1.27 at vger.kernel.org; Sun, 14 Jun 2020 23:48:17 EDT Date: Mon, 15 Jun 2020 03:30:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.ch; s=protonmail; t=1592191821; bh=AZHhe0ubwoNSJs7vImPxQuRQNtbnXNwdqJmrtedtWTo=; h=Date:To:From:Reply-To:Subject:From; b=c/ga1T3zt76MCOvzWhW41ukUcVD76fdQmK0ttrRM8mxhVg2vp4qJSH27jL52Jnp0d W1zfeBLEuNJJM2kb7ZOHGwo82vJBUsh9adb1nAlRX4AuumRnv+j7jV3dSvpIslihoR OI7yOF7IeGKRpTTC5BRjRfepQ+2dY4x1nIbLpWXo= To: "linux-wireless@vger.kernel.org" From: yagoplx Reply-To: yagoplx Subject: rtlwifi/rtl8192ee suffers with very low performance in AP mode Message-ID: <_9i057mDZgqJwU9cZCClK7erB0rE5GPEuQ37f981Y4iTNgXOy043Ha_Mi1tY4Qj4gbmdkpoShkETdtX448tXL_pH5TT9yC02TsEnia_Dmmw=@protonmail.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org I have been using my home server as wireless router for a while, and this i= ssue has been around with me for a while too. I got the TL-WN881ND v2 from = TP-Link as it was the most robust option I could find for sale in my region= , and started using it as my home personal usage access point. This is a PC= I-E rtl8192ee-cg device. However, with the rtlwifi rtl8192ee driver, the AP suffers from tremendousl= y slow performance, especially on download speeds (from the point of view o= f a client device). This in turn makes this driver's AP unsuitable for anyt= hing other than very light browsing. Here are some results: (as measured from a very close device in line of sight with a clear airspac= e) Link Power Save ON: download - 105 kB/s, upload - 1194kB/s Link Power Save OFF: download - 105 kB/s, upload - 1194kB/s reference, ethernet connection feeding the server download - 91786 kB/s, upload - 38255 kB/s It's always the same speeds... which is very odd. I get very similar result= s with the default firmware and the "_new" firmware. At this point it feels= like I have tried everything under the horizon. There is one thing that works to make this card more performant as an AP an= d it is to use this driver: github.com/lwfinger/rtl8192ee . It lets the AP work at about 50Mbps download on the client device, which is= half of the wired speed but still less than advertised by the device. Howe= ver I would like to ditch that driver in favor of the kernel driver, becaus= e the kernel driver has features I am interested in that the alternate code= base one doesn't.