Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp285674pxj; Fri, 14 May 2021 03:29:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpOlxM2iDGlkXs+74pPVIGUoooicPqP9cBZ8mJL0Q0I8Zuax2RggLSZ3F+jhqq15RSGv9P X-Received: by 2002:a05:6e02:4e:: with SMTP id i14mr28647361ilr.145.1620988180792; Fri, 14 May 2021 03:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620988180; cv=none; d=google.com; s=arc-20160816; b=CfGiUHGEJyFMQy+8aht8YUTsQQQEuGTC07uGrMh6Yq0z5a7UNySZ9WeQu0WB+annXE m99D9DKX9ZP70dMngEj2qGRVx/KivZAN46gQeKYhfvaZ8bSojx+0s+Uz3+CndFWoRFPt ZKVMoHrDSez0gkTr8Uk4kWHoCInQ2jpXzVQWmG4kVSPO/HShepXU1qN8Mu6E8P5eklt5 BOsyqREVeZa+9gsHb71lbv/nRoSOFOHipQ9vQkxaNjjTy6tH0ASNx1YiaQzPvttwMIxl SWUbgMgnBOz0t1sqJIvQOINbfpV0lEIGAkJTxSH4CaUmcBpHkt16u3cLTqmZ+YTACxK+ rPfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lAJAPkHdjG/k7NrFaMuek6xUWoAfvGZeNTC6Pey078I=; b=TzQDUnMVJkNYox3WkUPQ4JRaUQ26S2q0Sm1EkGsyhnFvdWYf6jt0t9EpxIb6ikRqxx KXEieYnsA0qARzlE47ZCF22bn5kx1g6SiRqDwd+FRYrBWNMllqQ1OUTZh5h7NnyU++gY 2KE+bINDEXqEjn9nbS07rINUGXOzaGuoDjO4WUA+aGTp2+HA8Uu5ITw26k8elcME2dMV NvrqAsgry33SYV2lwRD/vzUObhESo56GoCL1qzbMU6Tc7HQ0qYbUUUtXOXqMdJk5hvvY sLM6SHpjpaGN3VVyDGD8ylWDpqmrNB6JLz4e5fwzB+tKChiP00PeHIHusLDDBCXvcuZ9 l6zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MvWUOmak; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s17si7602992jat.9.2021.05.14.03.29.28; Fri, 14 May 2021 03:29:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linuxfoundation.org header.s=korg header.b=MvWUOmak; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233641AbhENIq3 (ORCPT + 99 others); Fri, 14 May 2021 04:46:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:53026 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231839AbhENIq2 (ORCPT ); Fri, 14 May 2021 04:46:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BEBCB61287; Fri, 14 May 2021 08:45:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620981917; bh=GChweA7UlqSx0jPjazErNbjNcvyuSkWf5X3Y2ZUsotQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MvWUOmakKlJzxnJ7mfH2vpBVjO6aFNbomZjVJq6ELYPB1SxnzTuFle+rVHEyPHaLI 5ig3SNgFW+X1B9PwUthmctkEuiSAjGa/+DBK72w5n2FlDuQKlI9Wxy5qgrh14YhCZt cSMtUfOJX7xcbOwY1k+FqAk2PqtU8WNLzsTnGlR4= Date: Fri, 14 May 2021 10:45:14 +0200 From: Greg KH To: Fabio Aiuto Cc: hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: staging: rtl8723bs: questions on TODO list Message-ID: References: <20210514083856.GA13800@agape.jhs> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210514083856.GA13800@agape.jhs> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 14, 2021 at 10:38:57AM +0200, Fabio Aiuto wrote: > Hello all, > > I'd like to have some clarifications about rtl8723bs driver. > In order to make this driver ready for moving out of staging > I would like to know: > > - find and remove remaining code valid only for 5 GHz. Most of the obvious > ones have been removed, but things like channel > 14 still exist. > > is it possible to remove all 5g code, even the one related to power > regulation when on band 5g? As far as I know about this card is that > it doesn't support 5g, so may I just delete all 5g code or there are some > constraints I'd take care of? > > - find and remove any code for other chips that is left over > > Ok this seems clear, are there some suggestion to do it safely? > > - convert any remaining unusual variable types > > Ok (but feel free to suggest anything) > > - find codes that can use %pM and %Nph formatting > > Ok (but feel free to suggest anything) > > - checkpatch.pl fixes - most of the remaining ones are lines too long. Many > of them will require refactoring > > Ok > > - merge Realtek's bugfixes and new features into the driver > > Please, can you explain what one could do that? > > - switch to use LIB80211 > - switch to use MAC80211 > > I think I need a few details for these last points as well. > > Do you think that one will need real hardware to complete > these tasks? I don't have rtl8723bs card at the moment, so > I think I will focus on those TODO activities which > don't need it. I recommend getting one of these devices to do the more complex tasks as described above. Otherwise it's going to be hard to verify that your changes are valid. thanks, greg k-h