1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-05 02:55:44 +00:00

Relax some wifi regional rules

This commit is contained in:
kimocoder 2019-04-06 08:10:11 +02:00
parent f7d2d03687
commit 35f64254c1

View File

@ -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 \