Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp763746ybh; Tue, 10 Mar 2020 07:50:47 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuju7/7V+tTlYgG91LJieuII1hyaOIKTUBHbNzCN74hJ64cD9bhR0FSagIxWJ1rDzcsLkWq X-Received: by 2002:aca:1e07:: with SMTP id m7mr1364204oic.41.1583851847685; Tue, 10 Mar 2020 07:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583851847; cv=none; d=google.com; s=arc-20160816; b=mtbbmy+mzJPq7KVu2CzOg+iCIjpeWP4GOzwRjH2HeqU8Tu9vpWx5B2BoQL2PDNv1Fv OVZqGKF9gXzenTrFu7YJ46Aa8XOL9FE3AcZHgbRADx7MD5r9iq8unf1I5cEMKMr3Cc8z /70C5g6MVV/46UDBde/LVYKkZEvg64wG+2kzxxCYSJoK4qljNnPH/r1GFWyxx+mfPrYw wEwnREm8x5kXquZir0rqD4W4CwRA1ld/l8WySPrUL5y5Ax+vFt2iwQPT/9QcXJfn7rMI b4ReCGu9txu5L97vwbt9Wx2x1OOzIjMSFyobxNiJxJMdTUMhJp9GBdisa1ouT1N5gc1q M2Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/kdjHgMSHP1hDCi0jEf3CjlYAn3SIfONDM8fqcD2g/E=; b=Ysm3vxTnfELX1BVwD/87/qejuSeOvNfmNMsMuKdPekiobjjI0DOVJz2gLtdOB8+Bbz Rdwtvjhx/2a5Eq+ViF49v+lEDyi1kkFrWtC1wtaRDXVoe3pOTiRq4PRzeja4TT47H/nI C8hmq4wQpUT6bh7oKa3TnBwwpZpOoe6ZDN/z0qgr5fOkujSDSyPTkc9Prs9C9CSOqjFj dlX3+eUlHu47efl/lga67M5YJcys6rnRxCHumF/YAxR7sctXpMPSB9xq2O6UadWA/Zam 3+4tZa5BQ3mF8gBzpfl7kqIhPzilHqFu7cgGp3eHOHwL7CH05kx7QUrctJKDGtwRrhXy /VHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t25si7396193otm.71.2020.03.10.07.50.26; Tue, 10 Mar 2020 07:50:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727317AbgCJOsN convert rfc822-to-8bit (ORCPT + 99 others); Tue, 10 Mar 2020 10:48:13 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:33838 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726546AbgCJOsN (ORCPT ); Tue, 10 Mar 2020 10:48:13 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1jBgB0-0004ju-3h; Tue, 10 Mar 2020 15:48:10 +0100 Date: Tue, 10 Mar 2020 15:48:09 +0100 From: Sebastian Andrzej Siewior To: Larry Finger Cc: linux-wireless@vger.kernel.org, Thomas Gleixner , Greg Kroah-Hartman Subject: Re: Support for RTL8188FU Message-ID: <20200310144809.se2oqvlnnh55fhfd@linutronix.de> References: <20191001160305.qrl4nt2jmdsogaaz@linutronix.de> <3af284c7-ee46-dd42-9549-de55feae2528@lwfinger.net> <20191001174612.4kj3mt3h5epidyyk@linutronix.de> <20200304102152.a25cczvat2mujxwa@linutronix.de> <9c6717de-5ffc-47dc-6db7-7e070cbc41b9@lwfinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <9c6717de-5ffc-47dc-6db7-7e070cbc41b9@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2020-03-04 12:16:54 [-0600], Larry Finger wrote: > > I have no further advice. There are quite likely a number of routines that > will differ as the 8188FU chip is quite likely a lot different from the > 8188EU, even though both are 802.11n devices. That is more complicated than I assumed. Even the "generic" hal layer is different. Sometimes there are additional bits, sometimes the bits are moved (to/from the HW-specific hal layer), sometimes the bits the are different (like BIT0|BIT1 vs BIT1). Without having any kind of documentation I can't even tell how essential the difference is. Right now I went function by function and compared the code and *hoped* that I didn't miss anything. I get USB errors later and I can't tell if there is something that I missed/did wrong _or_ did not yet modify. I'm worried that by the time I'm done, I did something wrong and no idea where to look for the bug. I stumbled over the version define: The driver on github is |include/rtw_version.h:#define DRIVERVERSION "v5.2.2.4_25483.20171222" and mine is |include/rtw_version.h:#define DRIVERVERSION "v5.7.4_33085.20190419" Going by the date, they are more than a year apart. (Side note: the driver in staging is from 2013.) Is it possible to obtain a more recent version of the 8188EU driver from realtek? That should ease the integration of the "two" drivers since the generic bits should be the sameā€¦ What would be the challenges to get the 8188f Realtek driver upstream? Looking at the todo list for the staging driver, it is mostly clean up and checkpatch kind of thing. The more difficult/non mechanic task is to convince the driver to use lib80211/mac80211 layer. > Larry Sebastian