1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-25 14:44:09 +00:00

Relax WIFI regional rules

This commit is contained in:
kimocoder 2019-03-29 00:49:13 +01:00
parent 9907080e1d
commit 00e931f0f3

View File

@ -43,13 +43,11 @@ static struct country_code_to_enum_rd allCountries[] = {
/* 2G chan 12 - chan 13, PASSIV SCAN */ /* 2G chan 12 - chan 13, PASSIV SCAN */
#define RTW_2GHZ_CH12_13 \ #define RTW_2GHZ_CH12_13 \
REG_RULE(2467-10, 2472+10, 40, 0, 20, \ REG_RULE(2467-10, 2472+10, 40, 0, 20, 0)
NL80211_RRF_PASSIVE_SCAN)
/* 2G chan 14, PASSIVS SCAN, NO OFDM (B only) */ /* 2G chan 14, PASSIVS SCAN, NO OFDM (B only) */
#define RTW_2GHZ_CH14 \ #define RTW_2GHZ_CH14 \
REG_RULE(2484-10, 2484+10, 40, 0, 20, \ REG_RULE(2484-10, 2484+10, 40, 0, 20, 0)
NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_OFDM)
/* 5G chan 36 - chan 64 */ /* 5G chan 36 - chan 64 */
#define RTW_5GHZ_5150_5350 \ #define RTW_5GHZ_5150_5350 \