Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134936
b: refs/heads/master
c: 3fc71f7
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Feb 27, 2009
1 parent 8c17763 commit ab61d42
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68798a62634e58e01d6f1de509b253dcb40625bd
refs/heads/master: 3fc71f775af677f640f0f0780b16f1b0958f6d9d
13 changes: 12 additions & 1 deletion trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,22 @@ static spinlock_t reg_requests_lock;

/* We keep a static world regulatory domain in case of the absence of CRDA */
static const struct ieee80211_regdomain world_regdom = {
.n_reg_rules = 1,
.n_reg_rules = 3,
.alpha2 = "00",
.reg_rules = {
/* IEEE 802.11b/g, channels 1..11 */
REG_RULE(2412-10, 2462+10, 40, 6, 20, 0),
/* IEEE 802.11a, channel 36..48 */
REG_RULE(5180-10, 5240+10, 40, 6, 23,
NL80211_RRF_PASSIVE_SCAN |
NL80211_RRF_NO_IBSS),

/* NB: 5260 MHz - 5700 MHz requies DFS */

/* IEEE 802.11a, channel 149..165 */
REG_RULE(5745-10, 5825+10, 40, 6, 23,
NL80211_RRF_PASSIVE_SCAN |
NL80211_RRF_NO_IBSS),
}
};

Expand Down

0 comments on commit ab61d42

Please sign in to comment.