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

From: Ramon Fontes
Date: Fri Nov 08 2019 - 10:20:45 EST


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 <ramonreisfontes@xxxxxxxxx>
---
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