From 00e931f0f3652ed299ca9b9423140610c579de2e Mon Sep 17 00:00:00 2001 From: kimocoder Date: Fri, 29 Mar 2019 00:49:13 +0100 Subject: [PATCH] Relax WIFI regional rules --- os_dep/linux/wifi_regd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/os_dep/linux/wifi_regd.c b/os_dep/linux/wifi_regd.c index 936d8cd..adba665 100644 --- a/os_dep/linux/wifi_regd.c +++ b/os_dep/linux/wifi_regd.c @@ -43,13 +43,11 @@ static struct country_code_to_enum_rd allCountries[] = { /* 2G chan 12 - chan 13, PASSIV SCAN */ #define RTW_2GHZ_CH12_13 \ - REG_RULE(2467-10, 2472+10, 40, 0, 20, \ - NL80211_RRF_PASSIVE_SCAN) + REG_RULE(2467-10, 2472+10, 40, 0, 20, 0) /* 2G chan 14, PASSIVS SCAN, NO OFDM (B only) */ #define RTW_2GHZ_CH14 \ - REG_RULE(2484-10, 2484+10, 40, 0, 20, \ - NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_OFDM) + REG_RULE(2484-10, 2484+10, 40, 0, 20, 0) /* 5G chan 36 - chan 64 */ #define RTW_5GHZ_5150_5350 \