From: Larry Finger <Larry.Finger@lwfinger.net>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: phil@philpotter.co.uk, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: r8188eu: Remove conditionals CONFIG_88EU_{AP_MODE,P2P}
Date: Thu, 9 Sep 2021 11:33:15 -0500 [thread overview]
Message-ID: <6dc3dc01-07b5-b269-f3c4-3cee4c64f540@lwfinger.net> (raw)
In-Reply-To: <YTnbx2h10cgUeYmQ@kroah.com>
On 9/9/21 05:02, Greg KH wrote:
> On Wed, Sep 08, 2021 at 12:01:09AM -0500, Larry Finger wrote:
>> These two conditional compile symbols are explicitly defined.
>> As a result, their included code is always compiled. They could be
>> converted to Kconfig symbols; however, my experience with this driver
>> in a GitHub repo is that many users of the device have it built into
>> a SOC or SBC that they wish to use as an access point. As a result,
>> CONFIG_88EU_APMODE would need to be selected. Thus it should be built in.
>>
>> There have also been many users the wish to establish peer-to-peer
>> networks with this device. For this reason, I am also proposing that
>> CONFIG_88EU_P2P be automatically included.
>>
>> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
>> ---
>> drivers/staging/r8188eu/core/rtw_ap.c | 8 -
>> drivers/staging/r8188eu/core/rtw_cmd.c | 13 --
>> drivers/staging/r8188eu/core/rtw_debug.c | 3 -
>> drivers/staging/r8188eu/core/rtw_ieee80211.c | 5 -
>> drivers/staging/r8188eu/core/rtw_ioctl_set.c | 5 -
>> drivers/staging/r8188eu/core/rtw_mlme.c | 20 +--
>> drivers/staging/r8188eu/core/rtw_mlme_ext.c | 156 ++----------------
>> drivers/staging/r8188eu/core/rtw_p2p.c | 16 --
>> drivers/staging/r8188eu/core/rtw_pwrctrl.c | 19 ---
>> drivers/staging/r8188eu/core/rtw_recv.c | 9 -
>> drivers/staging/r8188eu/core/rtw_sta_mgt.c | 17 --
>> drivers/staging/r8188eu/core/rtw_wlan_util.c | 2 -
>> drivers/staging/r8188eu/core/rtw_xmit.c | 6 -
>> drivers/staging/r8188eu/hal/hal_intf.c | 2 -
>> drivers/staging/r8188eu/hal/rtl8188e_cmd.c | 3 -
>> drivers/staging/r8188eu/hal/usb_halinit.c | 2 -
>> drivers/staging/r8188eu/include/drv_types.h | 8 -
>> drivers/staging/r8188eu/include/ieee80211.h | 12 --
>> .../staging/r8188eu/include/ioctl_cfg80211.h | 2 -
>> .../staging/r8188eu/include/rtl8188e_cmd.h | 2 -
>> .../staging/r8188eu/include/rtl8188e_hal.h | 2 -
>> drivers/staging/r8188eu/include/rtw_ap.h | 5 -
>> drivers/staging/r8188eu/include/rtw_cmd.h | 4 -
>> drivers/staging/r8188eu/include/rtw_debug.h | 4 -
>> drivers/staging/r8188eu/include/rtw_mlme.h | 5 -
>> .../staging/r8188eu/include/rtw_mlme_ext.h | 4 -
>> .../staging/r8188eu/include/rtw_security.h | 2 -
>> drivers/staging/r8188eu/include/rtw_xmit.h | 2 -
>> drivers/staging/r8188eu/include/sta_info.h | 7 -
>> drivers/staging/r8188eu/os_dep/ioctl_linux.c | 38 -----
>> drivers/staging/r8188eu/os_dep/mlme_linux.c | 4 -
>> drivers/staging/r8188eu/os_dep/os_intfs.c | 13 --
>> drivers/staging/r8188eu/os_dep/usb_intf.c | 4 -
>> .../staging/r8188eu/os_dep/usb_ops_linux.c | 2 -
>> 34 files changed, 12 insertions(+), 394 deletions(-)
>
> Wait, shouldn't you also remove it from the Kconfig file as part of this
> change?
Yes, it should. V2 coming soon.
Note that when the CFG80211 code is ready, the following selects can also be
removed:
select WIRELESS_EXT
select WEXT_PRIV
select LIB80211
select LIB80211_CRYPT_WEP
select LIB80211_CRYPT_CCMP
They will be replaced with 'select CONFIG_CFG80211'.
Larry
Larry
Larry
prev parent reply other threads:[~2021-09-09 16:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-08 5:01 [PATCH] staging: r8188eu: Remove conditionals CONFIG_88EU_{AP_MODE,P2P} Larry Finger
2021-09-09 10:01 ` Greg KH
2021-09-09 10:02 ` Greg KH
2021-09-09 16:33 ` Larry Finger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6dc3dc01-07b5-b269-f3c4-3cee4c64f540@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=phil@philpotter.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).