Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236914
b: refs/heads/master
c: 5719efd
h: refs/heads/master
v: v3
  • Loading branch information
Bruno Randolf authored and John W. Linville committed Jan 28, 2011
1 parent 0ee8e00 commit 4b5bfb3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 20a904904dc69d4b4de26c146af33eb00f05ab92
refs/heads/master: 5719efdde1d0ae8670b96eb8748d1a0dc6a37be2
7 changes: 7 additions & 0 deletions trunk/drivers/net/wireless/ath/regd.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,13 @@ ieee80211_regdomain *ath_world_regdomain(struct ath_regulatory *reg)
}
}

bool ath_is_49ghz_allowed(u16 regdomain)
{
/* possibly more */
return regdomain == MKK9_MKKC;
}
EXPORT_SYMBOL(ath_is_49ghz_allowed);

/* Frequency is one where radar detection is required */
static bool ath_is_radar_freq(u16 center_freq)
{
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/ath/regd.h
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ enum CountryCode {
};

bool ath_is_world_regd(struct ath_regulatory *reg);
bool ath_is_49ghz_allowed(u16 redomain);
int ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy,
int (*reg_notifier)(struct wiphy *wiphy,
struct regulatory_request *request));
Expand Down

0 comments on commit 4b5bfb3

Please sign in to comment.