From: changename <chaitanya.mgit@gmail.com>
To: linux-wireless@vger.kernel.org
Cc: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>,
Chaitanya Tata <Chaitanya.Tk17@gmail.com>
Subject: [PATCH] wifi: mac80211_hwsim: Use wider regulatory for custom for 6GHz tests
Date: Sun, 14 Apr 2024 23:08:47 +0530 [thread overview]
Message-ID: <20240414173847.222809-1-change@change.com> (raw)
From: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
If a custom regulatory is being used, use the 6GHz regulatory for
testing 6GHz channels.
Signed-off-by: Chaitanya Tata <Chaitanya.Tk17@gmail.com>
---
drivers/net/wireless/virtual/mac80211_hwsim.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/virtual/mac80211_hwsim.c b/drivers/net/wireless/virtual/mac80211_hwsim.c
index 9a8faaf4c6b6..16f9bcf21f79 100644
--- a/drivers/net/wireless/virtual/mac80211_hwsim.c
+++ b/drivers/net/wireless/virtual/mac80211_hwsim.c
@@ -6589,11 +6589,11 @@ static int __init init_mac80211_hwsim(void)
param.regd = &hwsim_world_regdom_custom_01;
break;
case HWSIM_REGTEST_CUSTOM_WORLD:
- param.regd = &hwsim_world_regdom_custom_01;
+ param.regd = &hwsim_world_regdom_custom_03;
break;
case HWSIM_REGTEST_CUSTOM_WORLD_2:
if (i == 0)
- param.regd = &hwsim_world_regdom_custom_01;
+ param.regd = &hwsim_world_regdom_custom_03;
else if (i == 1)
param.regd = &hwsim_world_regdom_custom_02;
break;
--
2.34.1
next reply other threads:[~2024-04-14 17:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-14 17:38 changename [this message]
2024-04-17 7:34 ` [PATCH] wifi: mac80211_hwsim: Use wider regulatory for custom for 6GHz tests Johannes Berg
2024-04-17 7:40 ` Krishna Chaitanya
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=20240414173847.222809-1-change@change.com \
--to=chaitanya.mgit@gmail.com \
--cc=Chaitanya.Tata@nordicsemi.no \
--cc=Chaitanya.Tk17@gmail.com \
--cc=linux-wireless@vger.kernel.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).