Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp857613pxj; Fri, 14 May 2021 18:47:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys/WS5vnHGTC0H/t4llQuSuXc9Hx6FbMfVzKaTzuHmpxSRMVdFTRF12693erWetdfSOYwr X-Received: by 2002:a17:907:1b11:: with SMTP id mp17mr51831846ejc.1.1621043246263; Fri, 14 May 2021 18:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621043246; cv=none; d=google.com; s=arc-20160816; b=DL9kNCmxY9IQvnwlBduJWcuk0d72eg8VGB8nrP0eXx20rfna5OvxQLKDMwAv5niz0g nslqDmFLlnvlF2jnKfNkbDcUgtrHXtEP1ucdT2dl1xYn0X0NOQk/gS/RUb5Hl1IZgbNA Bc1xQXDYaC3ldL1W8IPrS6MXPXbdBpn6OSokxLUuIbFzS+UqUrdfolJWzC9ez2EfzGKe vxUFyGVfNwYxCle6YNJS7D49ByFV+jvStGhA5hp45LuxoPQDaOcDmdMBygKk2XjXnXvj HtdljoxOxfgSEPjgl3Gwdh+pt54am3x7ImsgPImHbprPGFJa+uA9UYgtaClHgy1vue49 +04w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=EjCa/Y8fPjm4VNptwpoJ6doa9lNqw0SSL7+evAimqKA=; b=zA2WhUVAy47ZGizDCWHtGccZksmXT9XCnaAmaDxvUuIvD+86DchLb3s3DERsYes5Cv CzJIPaPO0HWfLrzA8JZ6e3Ov8+weZPNAWytLrM5nBdJRgjHbsoyd4TMZbI9GCIG9Yy6A R22op4l37JPM8b/QgHAmh5qPym0TCQXTzWRPYRXbSGeAJ3gqt5fARTftPCxJsfMIE41F VXlmK2cB9HTygccuS1y3ybdRxG0PS1IQHfwucQCZqL9mWcW3QhKUwwkuUlekjQLPp1Mb qJFdcT8vC6ThhLGzMvtPAqi4rwYDek3O11gnD1HFAsgXUKTCwWo4efQ0OV16p5uJD+Kf KevA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uq1b0TRB; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si7269759edv.5.2021.05.14.18.47.02; Fri, 14 May 2021 18:47:26 -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=@gmail.com header.s=20161025 header.b=uq1b0TRB; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231673AbhENQap (ORCPT + 99 others); Fri, 14 May 2021 12:30:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230009AbhENQan (ORCPT ); Fri, 14 May 2021 12:30:43 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADE86C061574 for ; Fri, 14 May 2021 09:29:29 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id r11so11299141edt.13 for ; Fri, 14 May 2021 09:29:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=EjCa/Y8fPjm4VNptwpoJ6doa9lNqw0SSL7+evAimqKA=; b=uq1b0TRBSGV5y3N9/LBzSnoEsVO9A4VNXUPGgt2SF2QyjAzBGMVXPf+EZgdA3r4r84 30BwxNO+4v8pi6gCotag91xtXPTy+Rng3OTGiuadS8F1nZkKXDEGMZ1aPsoBrFUmuv6x kcIUjyF6k2z8zaNiQmtKhnwFcA8tsXYs1gDLZlnXDysMxSHFkJe+1jw8MVkzug7c7Vf+ qSC1cgDMqP/PpkaVnfh3qG/aK3wYMkYtSBWS+RBf/bRQOSWyKfbtDjmF9c7xa64gkkUu cKCJlcveSvHvwX+VNzJYcuFC0T3i8nao1kxsa1I0hCZvKAARxnwNvrV5ueylWnp6AaV1 kuGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=EjCa/Y8fPjm4VNptwpoJ6doa9lNqw0SSL7+evAimqKA=; b=fZ/Rskb4WRdyz8T+V+ufOmAOiMpx2I2vNXiajwFvtPIThxOAtivLtvIU4y3Pn4qT5Q GU+tjdP8y8mueJzfg689vV2q1GeVd5etwz7iPQIpaXzpvXniadBEqVDgKcbknBHRys1y 25g+2yqyMOxodpsyzEnsXTAqztSPhz2HKn8RcbQtZ7hOFvEVAqJ4ivwhwLvmwXrOU7aC ThfBOrf4ikp9RDtwlXLzLtGWpei0fYuwM6Q525Oq57MvLINAHfFcLDUV+x01RkaxdqmJ bRLlnc490IEX63JzT/r/CF85ahgmMig4013llIs63fALjT4rwdWk/qaOw7p8k+wmHRc6 uYmw== X-Gm-Message-State: AOAM532O4XAnmx34V1mpqwXO3nhx4nDvWgHCz5YP2kr/xRnyAiKxxb0K Uh11Xi5Cp4A4H8D4eXHSH84opxm0iefsTg== X-Received: by 2002:a05:6402:176f:: with SMTP id da15mr12000926edb.380.1621009768472; Fri, 14 May 2021 09:29:28 -0700 (PDT) Received: from agape.jhs ([5.171.72.183]) by smtp.gmail.com with ESMTPSA id p25sm3859345eja.35.2021.05.14.09.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 May 2021 09:29:28 -0700 (PDT) Date: Fri, 14 May 2021 18:29:25 +0200 From: Fabio Aiuto To: Greg KH 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: <20210514162925.GA1568@agape.jhs> References: <20210514083856.GA13800@agape.jhs> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 14, 2021 at 10:45:14AM +0200, Greg KH wrote: > 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 got it, thank you, fabio