Ejemplo n.º 1
0
/*
 * DO NOT EDIT -- file generated from data in db.txt
 */

#include <linux/nl80211.h>
#include <net/cfg80211.h>
#include "regdb.h"

static const struct ieee80211_regdomain regdom_00 = {
	.alpha2 = "00",
	.reg_rules = {
		REG_RULE(2402, 2472, 40, 3, 20, 0),
		REG_RULE(2457, 2482, 20, 3, 20, 
			NL80211_RRF_PASSIVE_SCAN | 
			NL80211_RRF_NO_IBSS | 0),
		REG_RULE(2474, 2494, 20, 3, 20, 
			NL80211_RRF_PASSIVE_SCAN | 
			NL80211_RRF_NO_IBSS | 
			NL80211_RRF_NO_OFDM | 0),
		REG_RULE(5170, 5250, 40, 3, 20, 0),
		REG_RULE(5735, 5835, 40, 3, 20, 
			NL80211_RRF_PASSIVE_SCAN | 
			NL80211_RRF_NO_IBSS | 0),
	},
	.n_reg_rules = 5
};

static const struct ieee80211_regdomain regdom_AE = {
	.alpha2 = "AE",
	.reg_rules = {
		REG_RULE(2402, 2482, 40, 0, 20, 0),
MODULE_PARM_DESC(regtest, "The type of regulatory test we want to run");

static const char *hwsim_alpha2s[] = {
	"FI",
	"AL",
	"US",
	"DE",
	"JP",
	"AL",
};

static const struct ieee80211_regdomain hwsim_world_regdom_custom_01 = {
	.n_reg_rules = 4,
	.alpha2 =  "99",
	.reg_rules = {
		REG_RULE(2412-10, 2462+10, 40, 0, 20, 0),
		REG_RULE(2484-10, 2484+10, 40, 0, 20, 0),
		REG_RULE(5150-10, 5240+10, 40, 0, 30, 0),
		REG_RULE(5745-10, 5825+10, 40, 0, 30, 0),
	}
};

static const struct ieee80211_regdomain hwsim_world_regdom_custom_02 = {
	.n_reg_rules = 2,
	.alpha2 =  "99",
	.reg_rules = {
		REG_RULE(2412-10, 2462+10, 40, 0, 20, 0),
		REG_RULE(5725-10, 5850+10, 40, 0, 30,
			NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS),
	}
};