root/scripts/files/920-regdb.patch @ 3f2f6327
cb3f65fc | Pau Escrich | --- a/drivers/net/wireless/ath/regd.c 2014-07-03 17:53:28.000000000 +0200
|
|
+++ b/drivers/net/wireless/ath/regd.c 2014-07-03 17:52:53.000000000 +0200
|
|||
@@ -80,9 +80,8 @@
|
|||
static const struct ieee80211_regdomain ath_world_regdom_63_65 = {
|
|||
.alpha2 = "99",
|
|||
REGD_RULES(
|
|||
- ATH9K_2GHZ_CH01_11,
|
|||
- ATH9K_2GHZ_CH12_13,
|
|||
- ATH9K_5GHZ_NO_MIDBAND,
|
|||
+ ATH9K_2GHZ_ALL,
|
|||
+ ATH9K_5GHZ_ALL,
|
|||
)
|
|||
};
|
|||
@@ -90,8 +89,8 @@
|
|||
static const struct ieee80211_regdomain ath_world_regdom_64 = {
|
|||
.alpha2 = "99",
|
|||
REGD_RULES(
|
|||
- ATH9K_2GHZ_CH01_11,
|
|||
- ATH9K_5GHZ_NO_MIDBAND,
|
|||
+ ATH9K_2GHZ_ALL,
|
|||
+ ATH9K_5GHZ_ALL,
|
|||
)
|
|||
};
|
|||
@@ -99,7 +98,7 @@
|
|||
static const struct ieee80211_regdomain ath_world_regdom_66_69 = {
|
|||
.alpha2 = "99",
|
|||
REGD_RULES(
|
|||
- ATH9K_2GHZ_CH01_11,
|
|||
+ ATH9K_2GHZ_ALL,
|
|||
ATH9K_5GHZ_ALL,
|
|||
)
|
|||
};
|
|||
@@ -108,8 +107,7 @@
|
|||
static const struct ieee80211_regdomain ath_world_regdom_67_68_6A_6C = {
|
|||
.alpha2 = "99",
|
|||
REGD_RULES(
|
|||
- ATH9K_2GHZ_CH01_11,
|
|||
- ATH9K_2GHZ_CH12_13,
|
|||
+ ATH9K_2GHZ_ALL,
|
|||
ATH9K_5GHZ_ALL,
|
|||
)
|
|||
};
|
|||
@@ -256,7 +254,7 @@
|
|||
/* Frequency is one where radar detection is required */
|
|||
static bool ath_is_radar_freq(u16 center_freq)
|
|||
{
|
|||
- return (center_freq >= 5260 && center_freq <= 5700);
|
|||
+ return false;
|
|||
}
|
|||
static void ath_force_clear_no_ir_chan(struct wiphy *wiphy,
|