2019-11-08 15:22:43

by Ramon Fontes

[permalink] [raw]
Subject: [PATCH] mac80211_hwsim: set the maximum EIRP output power for 5GHz

ETSI has been set the maximum EIRP output power to 36 dBm (4000 mW)
Source: https://www.etsi.org/deliver/etsi_en/302500_302599/302502/01.02.01_60/en_302502v010201p.pdf

Signed-off-by: Ramon Fontes <[email protected]>
---
drivers/net/wireless/mac80211_hwsim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 14f562cd7..af83791df 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -305,7 +305,7 @@ static struct net_device *hwsim_mon; /* global monitor netdev */
.band = NL80211_BAND_5GHZ, \
.center_freq = (_freq), \
.hw_value = (_freq), \
- .max_power = 20, \
+ .max_power = 36, \
}

static const struct ieee80211_channel hwsim_channels_2ghz[] = {
--
2.17.1


2019-11-22 11:42:49

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] mac80211_hwsim: set the maximum EIRP output power for 5GHz

On Fri, 2019-11-08 at 12:20 -0300, Ramon Fontes wrote:
> ETSI has been set the maximum EIRP output power to 36 dBm (4000 mW)
> Source: https://www.etsi.org/deliver/etsi_en/302500_302599/302502/01.02.01_60/en_302502v010201p.pdf

How is hwsim related to ETSI? What does it matter?

johannes