2024-04-14 17:38:57

by Krishna Chaitanya

[permalink] [raw]
Subject: [PATCH] wifi: mac80211_hwsim: Use wider regulatory for custom for 6GHz tests

From: Chaitanya Tata <[email protected]>

If a custom regulatory is being used, use the 6GHz regulatory for
testing 6GHz channels.

Signed-off-by: Chaitanya Tata <[email protected]>
---
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



2024-04-17 07:40:46

by Krishna Chaitanya

[permalink] [raw]
Subject: Re: [PATCH] wifi: mac80211_hwsim: Use wider regulatory for custom for 6GHz tests

On Wed, Apr 17, 2024 at 1:04 PM Johannes Berg <[email protected]> wrote:
>
> On Sun, 2024-04-14 at 23:08 +0530, changename wrote:
> > From: Chaitanya Tata <[email protected]>
> [...]
> > Signed-off-by: Chaitanya Tata <[email protected]>
> >
>
> I think we need Author S-o-b. Or are you saying you developed it at
> work, but released it personally? :)
:), forgot to change the gitconfig and it picked "from", will send a v2
to fix author name and from.

2024-04-17 07:41:37

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] wifi: mac80211_hwsim: Use wider regulatory for custom for 6GHz tests

On Sun, 2024-04-14 at 23:08 +0530, changename wrote:
> From: Chaitanya Tata <[email protected]>
[...]
> Signed-off-by: Chaitanya Tata <[email protected]>
>

I think we need Author S-o-b. Or are you saying you developed it at
work, but released it personally? :)

johannes