Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4705091pxj; Tue, 22 Jun 2021 06:21:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0sSuGx6BI7jE3Ewpaj9XQaolK++65GNQ8lNX7I6EajwrB2bMkfRRlNQD81D7sDP3N6uNh X-Received: by 2002:a05:6e02:13ad:: with SMTP id h13mr2666205ilo.128.1624368072545; Tue, 22 Jun 2021 06:21:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624368072; cv=none; d=google.com; s=arc-20160816; b=yGZq0AIgvSa19jF4BEwITPtwgtXMqhy39K1qAQTp4Hdud9gTrG6A95vwIeJexcj2xC aAVFgA2zkuNyb5zy55Sl/9qSLpDuHZ1ezXqH0losQv1h7PhxUiHBwpjyh35dFduSLMVj ytkcPy1+yikqgGkSSPv1N0k9E8l7q+ldurF0Etv/MyK7bZFQ1hya9iaNS2Bl3RSMYGZQ vNxw8xDdljnVSQhR7CMsFTmJ1s6pjnS7+368gisXdRRLH8xQs/1MaAZiG5VqfprUJMN4 x+b32R3//eArh5Y5ebTJTP+0fyKLYYiSviWcT2MbuN0+DfZ4YfunwleL/Q8pil+xYTdu /ELQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=P7hvkjVoX7nA4LkIgT/epacZuUu6mq3WKB16xhJMj/Q=; b=HeOE3jJMlrxJeD+6p+ttOjzMOQfcz8M+Qhu/aLzyxZFUyNW9LX7OjA2Bv+7zzQ+7ZB 8Q7iPq8BS5JTJz3e3dx/zN+FT+JqYoeawudpecs8JnVI8SE6CpjNqJ85nDtLAdRqYCvg gjuKsVwTYFORKFwU84zP7sxpvUL/ufIcb1U1CXyuKqlaKlzncNOgga/fKs/yIO1VInI4 ssQIqAIW/tQLgdHBmbefQw7Ww+/5DXQA9KVjTkFsG3lFz+RGFf68+L0hrnlP8wkpFxAY Fi6r8Kf46076i43baExe3qc5wGZpXUdgG7BvFJpOqRW4v+SOQGJ8/mqrXhR4MbtpStsZ ObCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="b/8qB2Iq"; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p11si22489834ioo.38.2021.06.22.06.20.58; Tue, 22 Jun 2021 06:21:12 -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=@redhat.com header.s=mimecast20190719 header.b="b/8qB2Iq"; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229844AbhFVNWI (ORCPT + 99 others); Tue, 22 Jun 2021 09:22:08 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:45291 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230379AbhFVNWH (ORCPT ); Tue, 22 Jun 2021 09:22:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624367991; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P7hvkjVoX7nA4LkIgT/epacZuUu6mq3WKB16xhJMj/Q=; b=b/8qB2Iq9pHj0X/kRnvghh0L1R4uUqqq8mR8LfKqSfpPuPS0I0CeoceEOn4SnZvxwDAruO B/9qjBgpu4dc9fIBUaVDtQon6i1BL2rAgtqYwEE6PDckdnkXiACrZx8jXX9LSm7IDnNmjA 1sQkssPZ+8LLXzeXZUET6BpZ6hM774I= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-546-9bO3dzuLNNGbMWn-vp5LIw-1; Tue, 22 Jun 2021 09:19:49 -0400 X-MC-Unique: 9bO3dzuLNNGbMWn-vp5LIw-1 Received: by mail-ed1-f70.google.com with SMTP id i19-20020a05640200d3b02903948b71f25cso7394957edu.4 for ; Tue, 22 Jun 2021 06:19:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=P7hvkjVoX7nA4LkIgT/epacZuUu6mq3WKB16xhJMj/Q=; b=rYBmaUg/Lh+v+VkGugcr/V1XTREloFU7MdEDPsuUBedAAJyF+dsM+GlWvArnHZD+hC HDifoOt2Efypqbm/9jxdcwuf3tpa1nxA+reiBWHXeNsJWB8NCncDFMBbEfKuZk1KDzUJ q6HQGqsnkpDZG2w4ZWTQLA5ClKwNcgOljJ0QHx7iVSdI2liqeXpAVWEXOzmCeM2p82tk VJmAXZMikZX5puItStSKWLQaglAM1c8Ps6AzuG8rmzUuOOHgeoStEvJgeF8vmK3w7zbc XMh7Ryd3cb1o62Ya7/WVzvoqaDpRl1EWdskymt8wQbyBH3ruJEWIKQtmiDv2gxP2rN1o hqHQ== X-Gm-Message-State: AOAM533cdDjClUpG7UGMzVLTgxV1GWUpOdEbLHBQpATzx/0GdmAw8Oyi +/ZmSwNAcg+MgZOj/SKJ6+vf5B3ClcK3dhbZZo6ZpYIeFeJAwTF8pTf+LrtNI1r7+sBpts4gRt8 iSqDaxpl6JbN4DUb2Dzp/1Q2Rw1B403uNZXIxxNp5t3H8YCvmvDte8ynrdmpGS1hIjQi+ZiojUk bn X-Received: by 2002:a17:907:7662:: with SMTP id kk2mr3942776ejc.218.1624367988308; Tue, 22 Jun 2021 06:19:48 -0700 (PDT) X-Received: by 2002:a17:907:7662:: with SMTP id kk2mr3942746ejc.218.1624367987995; Tue, 22 Jun 2021 06:19:47 -0700 (PDT) Received: from x1.localdomain (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id h16sm11939327edb.23.2021.06.22.06.19.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Jun 2021 06:19:46 -0700 (PDT) Subject: Re: [PATCH v3 00/17] staging: rtl8723bs: remove 5Ghz code To: Fabio Aiuto , gregkh@linuxfoundation.org Cc: Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: From: Hans de Goede Message-ID: <20bed383-adca-e2f0-bede-762707d052ac@redhat.com> Date: Tue, 22 Jun 2021 15:19:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 6/22/21 3:09 PM, Fabio Aiuto wrote: > This patch series removes all occurences of 5Ghz code over the > driver as required from driver's TODO list: > > - find and remove remaining code valid only for 5 GHz. > most of the obvious one have been removed, but things > like channel > 14 still exist. > > rtl8723bs work on 2.4Ghz band and supports 802.11bgn standards. > So all code related to 802.11a/ac standard is removed, as well > as code related to channel numbers above 14. > > VHT code is deleted as well, for it's related to 802.11ac. > > Comments are fixed accordingly and many unused variables are > deleted. > > Every single patch of this series has been tested on a > Lenovo Ideapad MIIX 300-10IBY except for the last one, > for obvious reason (it deletes just the TODO item). > So: > > Tested-by: Fabio Auto From a quick scan the series looks ok to me now: Acked-by: Hans de Goede Regards, Hans > ------------------------------------------------ > Changes in v3: > - delete a condition in patch 1 as pointed out by > Hans > - fix in 'Changes in v2' text (pointed out). > Changes in v2: > - drop v1 15/18 patch, for it deliberately > does register writes as pointed out by Hans. > > Fabio Aiuto (17): > staging: rtl8723bs: remove all 5Ghz network types > staging: rtl8723bs: remove code related to unsupported channel > bandwidth > staging: rtl8723bs: remove unused enum items related to channel > bonding > staging: rtl8723bs: rename enum items related to channel bonding > staging: rtl8723bs: remove 5Ghz field in struct registry_priv > staging: rtl8723bs: remove struct rt_channel_plan_5g > staging: rtl8723bs: remove all branchings between 2.4Ghz and 5Ghz band > types > staging: rtl8723bs: beautify prototypes in include/hal_com_phycfg.h > staging: rtl8723bs: remove 5Ghz code related to channel plan > definition > staging: rtl8723bs: remove some unused 5Ghz macro definitions > staging: rtl8723bs: remove 5Ghz code related to RF power calibration > staging: rtl8723bs: remove VHT dead code > staging: rtl8723bs: remove unused ODM_CMNINFO_BOARD_TYPE enum item > staging: rtl8723bs: fix macro value for 2.4Ghz only device > staging: rtl8723bs: remove obsolete 5Ghz comments > staging: rtl8723bs: fix check allowing 5Ghz settings > staging: rtl8723bs: remove item from TODO list > > drivers/staging/rtl8723bs/TODO | 2 - > drivers/staging/rtl8723bs/core/rtw_ap.c | 11 +- > .../staging/rtl8723bs/core/rtw_ieee80211.c | 22 +- > drivers/staging/rtl8723bs/core/rtw_mlme.c | 10 - > drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 328 ++--- > .../staging/rtl8723bs/core/rtw_wlan_util.c | 29 +- > drivers/staging/rtl8723bs/core/rtw_xmit.c | 5 +- > .../staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 4 +- > .../staging/rtl8723bs/hal/HalBtc8723b2Ant.c | 5 +- > drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 1 - > .../staging/rtl8723bs/hal/HalHWImg8723B_BB.c | 17 +- > .../staging/rtl8723bs/hal/HalHWImg8723B_RF.c | 595 ++++----- > .../staging/rtl8723bs/hal/HalPhyRf_8723B.c | 19 +- > drivers/staging/rtl8723bs/hal/hal_btcoex.c | 4 - > drivers/staging/rtl8723bs/hal/hal_com.c | 241 ---- > .../staging/rtl8723bs/hal/hal_com_phycfg.c | 1059 +++-------------- > drivers/staging/rtl8723bs/hal/odm.c | 50 - > drivers/staging/rtl8723bs/hal/odm.h | 42 +- > drivers/staging/rtl8723bs/hal/odm_DIG.c | 2 - > .../rtl8723bs/hal/odm_EdcaTurboCheck.c | 4 +- > .../rtl8723bs/hal/odm_RegConfig8723B.c | 5 +- > .../rtl8723bs/hal/odm_RegConfig8723B.h | 2 - > drivers/staging/rtl8723bs/hal/rtl8723b_dm.c | 1 - > .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 41 +- > .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 43 +- > drivers/staging/rtl8723bs/hal/sdio_halinit.c | 5 - > .../rtl8723bs/include/Hal8192CPhyReg.h | 2 - > drivers/staging/rtl8723bs/include/drv_types.h | 10 +- > drivers/staging/rtl8723bs/include/hal_com.h | 62 +- > .../rtl8723bs/include/hal_com_phycfg.h | 198 +-- > .../staging/rtl8723bs/include/hal_com_reg.h | 1 - > drivers/staging/rtl8723bs/include/hal_data.h | 40 +- > drivers/staging/rtl8723bs/include/hal_pg.h | 2 - > drivers/staging/rtl8723bs/include/hal_phy.h | 10 - > drivers/staging/rtl8723bs/include/ieee80211.h | 67 +- > .../staging/rtl8723bs/include/rtl8723b_xmit.h | 21 - > drivers/staging/rtl8723bs/include/rtw_ht.h | 4 - > .../staging/rtl8723bs/include/rtw_mlme_ext.h | 52 +- > drivers/staging/rtl8723bs/include/rtw_rf.h | 33 +- > drivers/staging/rtl8723bs/include/wifi.h | 1 - > .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 4 - > .../staging/rtl8723bs/os_dep/ioctl_linux.c | 8 +- > drivers/staging/rtl8723bs/os_dep/os_intfs.c | 13 +- > drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 4 - > 44 files changed, 640 insertions(+), 2439 deletions(-) >