Commit c854ced8 authored by Chaitanya Tata's avatar Chaitanya Tata Committed by Johannes Berg

wifi: mac80211_hwsim: Use wider regulatory for custom for 6GHz tests

If a custom regulatory is being used, use the 6GHz regulatory for
testing 6GHz channels.
Signed-off-by: default avatarChaitanya Tata <Chaitanya.Tk17@gmail.com>
Link: https://msgid.link/20240417074022.423432-1-Chaitanya.Tk17@gmail.comSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 30ce0390
...@@ -6761,11 +6761,11 @@ static int __init init_mac80211_hwsim(void) ...@@ -6761,11 +6761,11 @@ static int __init init_mac80211_hwsim(void)
param.regd = &hwsim_world_regdom_custom_01; param.regd = &hwsim_world_regdom_custom_01;
break; break;
case HWSIM_REGTEST_CUSTOM_WORLD: case HWSIM_REGTEST_CUSTOM_WORLD:
param.regd = &hwsim_world_regdom_custom_01; param.regd = &hwsim_world_regdom_custom_03;
break; break;
case HWSIM_REGTEST_CUSTOM_WORLD_2: case HWSIM_REGTEST_CUSTOM_WORLD_2:
if (i == 0) if (i == 0)
param.regd = &hwsim_world_regdom_custom_01; param.regd = &hwsim_world_regdom_custom_03;
else if (i == 1) else if (i == 1)
param.regd = &hwsim_world_regdom_custom_02; param.regd = &hwsim_world_regdom_custom_02;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment