From: Kalle Valo <kvalo@codeaurora.org>
To: <yhchuang@realtek.com>
Cc: <linux-wireless@vger.kernel.org>, <briannorris@chromium.org>
Subject: Re: [PATCH 05/10] rtw88: update regulatory settings implementaion
Date: Mon, 14 Oct 2019 12:39:37 +0300 [thread overview]
Message-ID: <87r23ffyxy.fsf@tynnyri.adurom.net> (raw)
In-Reply-To: <20191008082101.2494-6-yhchuang@realtek.com> (yhchuang's message of "Tue, 8 Oct 2019 16:20:56 +0800")
<yhchuang@realtek.com> writes:
> From: Tzu-En Huang <tehuang@realtek.com>
>
> There are two kinds of country/regulatory efuse settings
> for Realtek's chipset, one is worldwide and the other is
> a specific country. For the chipset with the country setting
> being a specific country, driver needs to ensure that the
> setting will not be modified when connecting to an AP.
>
> For the chipset with the country setting is worldwide,
> driver will follow the NL80211_REGDOM_SET_BY_COUNTRY_IE
> regulatory notification from the mac80211 stack.
>
> Signed-off-by: Tzu-En Huang <tehuang@realtek.com>
> Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
> ---
> drivers/net/wireless/realtek/rtw88/main.c | 9 +++-
> drivers/net/wireless/realtek/rtw88/main.h | 2 +
> drivers/net/wireless/realtek/rtw88/regd.c | 61 +++++++++++++++++++----
> 3 files changed, 59 insertions(+), 13 deletions(-)
>
> diff --git a/drivers/net/wireless/realtek/rtw88/main.c b/drivers/net/wireless/realtek/rtw88/main.c
> index 570b2e358be4..edd490c507b5 100644
> --- a/drivers/net/wireless/realtek/rtw88/main.c
> +++ b/drivers/net/wireless/realtek/rtw88/main.c
> @@ -21,14 +21,17 @@ EXPORT_SYMBOL(rtw_fw_lps_deep_mode);
> bool rtw_bf_support = true;
> unsigned int rtw_debug_mask;
> EXPORT_SYMBOL(rtw_debug_mask);
> +bool rtw_allow_user_reg_set;
>
> module_param_named(lps_deep_mode, rtw_fw_lps_deep_mode, uint, 0644);
> module_param_named(support_bf, rtw_bf_support, bool, 0644);
> module_param_named(debug_mask, rtw_debug_mask, uint, 0644);
> +module_param_named(allow_user_reg_set, rtw_allow_user_reg_set, bool, 0644);
>
> MODULE_PARM_DESC(lps_deep_mode, "Deeper PS mode. If 0, deep PS is disabled");
> MODULE_PARM_DESC(support_bf, "Set Y to enable beamformee support");
> MODULE_PARM_DESC(debug_mask, "Debugging mask");
> +MODULE_PARM_DESC(allow_user_reg_set, "Set Y to allow regulatory settings from user");
Why the module parameter?
--
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
next prev parent reply other threads:[~2019-10-14 9:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-08 8:20 [PATCH 00/10] rtw88: minor throughput improvement yhchuang
2019-10-08 8:20 ` [PATCH 01/10] rtw88: add power tracking support yhchuang
2019-10-09 8:17 ` Kalle Valo
2019-10-08 8:20 ` [PATCH 02/10] rtw88: Enable 802.11ac beamformee support yhchuang
2019-10-14 9:38 ` Kalle Valo
2019-10-08 8:20 ` [PATCH 03/10] rtw88: config 8822c multicast address in MAC init flow yhchuang
2019-10-14 9:08 ` Kalle Valo
2019-10-08 8:20 ` [PATCH 04/10] rtw88: add set_bitrate_mask support yhchuang
2019-10-08 8:20 ` [PATCH 05/10] rtw88: update regulatory settings implementaion yhchuang
2019-10-14 9:39 ` Kalle Valo [this message]
2019-10-08 8:20 ` [PATCH 06/10] rtw88: add NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 support yhchuang
2019-10-14 9:11 ` Kalle Valo
2019-10-08 8:20 ` [PATCH 07/10] rtw88: Use rtw_write8_set to set SYS_FUNC yhchuang
2019-10-08 8:20 ` [PATCH 08/10] rtw88: pci: config phy after chip info is setup yhchuang
2019-10-08 8:21 ` [PATCH 09/10] rtw88: coex: Set 4 slot mode for A2DP yhchuang
2019-10-08 8:21 ` [PATCH 10/10] rtw88: add phy_info debugfs to show Tx/Rx physical status yhchuang
2019-10-14 9:45 ` [PATCH 00/10] rtw88: minor throughput improvement Kalle Valo
2019-10-15 3:23 ` Tony Chuang
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=87r23ffyxy.fsf@tynnyri.adurom.net \
--to=kvalo@codeaurora.org \
--cc=briannorris@chromium.org \
--cc=linux-wireless@vger.kernel.org \
--cc=yhchuang@realtek.com \
/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).