Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2473618pxj; Sat, 19 Jun 2021 13:28:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUifVI0xFR+n+GXjZL72EsSQWUtenYjRNHHc3Ax+wtxYDDDImWlyHImFmAiD99OGyxrEPJ X-Received: by 2002:a05:6e02:4b0:: with SMTP id e16mr11478619ils.71.1624134508490; Sat, 19 Jun 2021 13:28:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624134508; cv=none; d=google.com; s=arc-20160816; b=M7p+d4ZXB8g72iZve/wRUeDz4Yv/hPg6Qz0BoXs1LJC8hSRu31C/63GELfxsZWfm0k WnJ5AbAPYoGG0KEru1b4k96sBTUBJWtpT9jMMLMOVCdO08alwi3HJOo3MGXgSkaGz/E3 KvV92wT2xc0SF2qqxHrlOwiyHdzwTNfjS/w5wxV+7cSe7U4zymUEejSYnGgUXcAixTol a7Qsk4gKT/qyq9FtZEQrT7XeweiP61Vx4jHpBKbbAYFiPih9o1TGDpZ90w9H4ke4/LVd 3DSAThQdnMoCCYGgmBQQA+ORhVq6L6KjQl73OL+wPeM7gHBGZ+7sz7KgMBguwYHuahoq 0ihg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=oTTOT3jlAQs1Ket6ExqtX8Xo9CN/PGcE3P1XnNQVpfA=; b=YX6+BpDavrHJIzIf3brwULwT2ZiwQM9VjxHt9MEltG73eXGj3jW1JA7uRzxA9B7F0L hM3wXj9qfOYEbGv5fIYmPQRJCgpo7DoygbZ9zfEnTAoHbvX0IdAJMnFCueJJlzuK1bEM +61wAHSRjkwFCgTNscNW9S8y7VUzVGiRYH3ZMwH/+PHxFcBRbpBc4W91ZjAcUsSnCOcD Pg3DPL4cLUp3JvYw57drnA0P8YInL5STAyeekdnvlRZ3bVW8P2V+WHsQFvJuENqGWXav GEfLZaDeVcYvnepWmtIpUf29grRbXnLNtPV+x8z+CdmbOTWEbCQfRTJLwxdcl99GxBj0 FTgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vIcjZ0V6; 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 m2si8573931ilu.120.2021.06.19.13.28.16; Sat, 19 Jun 2021 13:28:28 -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=vIcjZ0V6; 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 S231800AbhFSKtg (ORCPT + 99 others); Sat, 19 Jun 2021 06:49:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbhFSKtg (ORCPT ); Sat, 19 Jun 2021 06:49:36 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 457A2C061574 for ; Sat, 19 Jun 2021 03:47:25 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id r9so13703740wrz.10 for ; Sat, 19 Jun 2021 03:47:24 -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=oTTOT3jlAQs1Ket6ExqtX8Xo9CN/PGcE3P1XnNQVpfA=; b=vIcjZ0V6pSm84Nw8yyUSKbD0Eaiw0mCaCWJsVYxBhRk8reX2oXs4JbFqHhEqGVKbK+ oKDEnbtyl5LPGLK+jQZPx+4ENfy+boan5a0imfaiCJ5AmV3IwQ3bWYD3vLJtZeSJxzu2 N9vh+0PvHZqvAYCuxYewT5ikADnqo1FREIAOYhL9nNZOu3JCnABD4ULghDCOg2XYMyV0 EhHeutoPZK/W7klkN4H7EHA+1ky6e8WVMU3Dm878nvTySHKeOLkF20gfynVC9WO5vDRg P2zlyAbXD18btcQbxdHtTXIa+f7JBCX1PPZGXtAL1fFfpXdivqcqjq2ThN+sGTX1I9gJ 4i4g== 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=oTTOT3jlAQs1Ket6ExqtX8Xo9CN/PGcE3P1XnNQVpfA=; b=ZPiQxk2bffwLPfz/WiirLIu93SRdzBSu5HGqFeooz9kU3mhwVwU8hJpm6j9J4HKaHn +TNHBijgI7KRGSuAiXe05n7lI3/5kgJ8MApvL7W2dCLt53YQydqVlprN1xJYzRnmWspd fQRBeqyoL0DXSoViAVxmY6ODYo2KK/Sm3ebqy++jW99JCrpUFWGLkPEFr9owFMO7sDgY hQz+6BCurMUPWVeGPYpdcYS+QuRddM+yssxfRXIKuoGgpA/8TWuezCcnWez9wPBCBsqE +qqpCCQtOgBUDEfv6YQVmDxpbGenj2jGBPaiL3Xzito+kHzdNb9maAXSjiuff7gbXHJn ycxw== X-Gm-Message-State: AOAM532SrYq8i6d313TfIve14bavlktdXJFRcTguvUDbLBPPCDcVS+0h uodoue7SKdGbZ3DtfhcSkG8= X-Received: by 2002:a5d:6945:: with SMTP id r5mr17403350wrw.249.1624099643565; Sat, 19 Jun 2021 03:47:23 -0700 (PDT) Received: from agape ([5.171.81.81]) by smtp.gmail.com with ESMTPSA id y16sm7901354wrp.51.2021.06.19.03.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Jun 2021 03:47:23 -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 00/18] staging: rtl8723bs: remove 5Ghz code Date: Sat, 19 Jun 2021 12:47:03 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Fabio Aiuto (18): 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 register initializations tied to 802.11ac standard 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 | 10 +- .../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 | 53 +- .../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(+), 2450 deletions(-) -- 2.20.1