From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A11B71 for ; Tue, 22 Jun 2021 13:10:05 +0000 (UTC) Received: by mail-wm1-f50.google.com with SMTP id n35-20020a05600c3ba3b02901cdecb6bda8so1709587wms.5 for ; Tue, 22 Jun 2021 06:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YUoML3AWQ6rW3EG1Dkf3W8mbHaca+rbwXPvZi93toVY=; b=h9i6POkix//G+hnkTHZqeCf68v9yd7LTvSnYMHTfrpPOr310ClJiKfQvqa0q4WAMx/ gPd2Ii5J78LuwhiGIh5Po7mOLR2Xgh11Jf9cd1RBADGV0Xh6gQFJ4auPcfySzuzDxFIl YArgjEFxmPIRfk9YTGPXztLkcwUCAZbV48Lc7ObqYyH5cZKrGv12/D60ndgQcKTvSb4V nyv03t8+yHcKEkfbz0KSVN1eu6yze7y2M9VIy5r4eJkMrHErtmEGK6vsnmHtfoGPDcWo NS0xHglpZpbO2gYqnj1b+r7C0ax0tottKfMjspe18qsrca4QddjrWlkAzcOionYvn6ph TMcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YUoML3AWQ6rW3EG1Dkf3W8mbHaca+rbwXPvZi93toVY=; b=qMQNq2yziC49hqW8WTp+oUzThG4YF9AuEQCV5QuEBq6DDRjeHShHV0xOUEmOH67qUB HdNlcC4AXwmwzokgWW4NNyOiJjQTCZ6MiRjd+/T594dA6anAGX897TVmD5au+tfzhgON 8hOuoi87qMVPLgncdjlkK+MGASyg4V8X/zrIZe/7Z8bNMlqx3ccQpLRfc+/V8KdYh0Gz JTAr83CQXHYnUFXqy3BYEtE70rHp2+J5Kl4ON1XYS5grR0fYSgGZRTmrdMfTrYSxM5Tr ejDfqAf5l9AsCFjqREh4pSwgGc/7b/E+b2rL5dE6UzKWYePouFlI3IHhJewQ/7mlXFiK 76Xg== X-Gm-Message-State: AOAM532v70QjbYh1eZp/e1TId+pPMVCdF07VkLyZspCKCayG67lrXra8 +cNYj9y9l7kVDXQhrNdT3V7v6ACKHDFyOQ== X-Google-Smtp-Source: ABdhPJzaMq/VeYYFTH3p68Cx/qIvC4zpm12tEvnNrYg1q5K1HpKmro4dusxDtzyet4piB9qLBQo4SA== X-Received: by 2002:a7b:cd94:: with SMTP id y20mr4135543wmj.145.1624367403797; Tue, 22 Jun 2021 06:10:03 -0700 (PDT) Received: from agape ([5.171.73.108]) by smtp.gmail.com with ESMTPSA id m6sm26112843wrw.9.2021.06.22.06.10.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 06:10:03 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Auto Subject: [PATCH v3 00/17] staging: rtl8723bs: remove 5Ghz code Date: Tue, 22 Jun 2021 15:09:44 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ------------------------------------------------ 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(-) -- 2.20.1