This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via 127b7c43d057173345b261d36ec3384ad159d34c (commit) from af578bab4599d5e9fe57aff7e6636e47ffcd2edd (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 127b7c43d057173345b261d36ec3384ad159d34c Author: Arne Fitzenreiter arne_f@ipfire.org Date: Fri Aug 23 14:46:27 2013 +0200
compat-drivers: add patch for atheros to ignore eeprom regdomain.
patch is needed for access-point mode with channels>12 (2,4 and 5Ghz) On cards that are set to WORLD "6A" (most new atheros cards) these channels are set to passive scanning and this make it unuseable for ap-mode.
-----------------------------------------------------------------------
Summary of changes: config/rootfiles/core/73/filelists/files | 3 ++ lfs/compat-drivers | 1 + ...drivers-3.8.3-ath_ignore_eeprom_regdomain.patch | 39 ++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 src/patches/compat-drivers-3.8.3-ath_ignore_eeprom_regdomain.patch
Difference in files: diff --git a/config/rootfiles/core/73/filelists/files b/config/rootfiles/core/73/filelists/files index a1ef1bf..f2f13e0 100644 --- a/config/rootfiles/core/73/filelists/files +++ b/config/rootfiles/core/73/filelists/files @@ -1,6 +1,9 @@ etc/system-release etc/issue etc/rc.d/init.d/squid +lib/modules/2.6.32.61-ipfire-xen/kernel/drivers/net/wireless/ath/ath.ko +lib/modules/3.2.48-ipfire/kernel/drivers/net/wireless/ath/ath.ko +lib/modules/3.2.48-ipfire-pae/kernel/drivers/net/wireless/ath/ath.ko srv/web/ipfire/cgi-bin/logs.cgi/proxylog.dat srv/web/ipfire/cgi-bin/proxy.cgi srv/web/ipfire/html/redirect.cgi diff --git a/lfs/compat-drivers b/lfs/compat-drivers index 53f6518..57a9b16 100644 --- a/lfs/compat-drivers +++ b/lfs/compat-drivers @@ -81,6 +81,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xaf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/compat-drivers-3.8-1-u-kref_get_unless_zero.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/compat-drivers-3.8.3-ath_ignore_eeprom_regdomain.patch
# kfifo has no license info and taints kernel cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/compat-wireless-2.6.39_kfifo_module_info.patch diff --git a/src/patches/compat-drivers-3.8.3-ath_ignore_eeprom_regdomain.patch b/src/patches/compat-drivers-3.8.3-ath_ignore_eeprom_regdomain.patch new file mode 100644 index 0000000..acfb12f --- /dev/null +++ b/src/patches/compat-drivers-3.8.3-ath_ignore_eeprom_regdomain.patch @@ -0,0 +1,39 @@ +diff -Naur compat-drivers-3.8.3-2-snpu.org/drivers/net/wireless/ath/regd.c compat-drivers-3.8.3-2-snpu/drivers/net/wireless/ath/regd.c +--- compat-drivers-3.8.3-2-snpu.org/drivers/net/wireless/ath/regd.c 2013-03-15 22:55:09.000000000 +0100 ++++ compat-drivers-3.8.3-2-snpu/drivers/net/wireless/ath/regd.c 2013-08-22 11:51:36.793297656 +0200 +@@ -200,6 +200,8 @@ + u32 bandwidth = 0; + int r; + ++ return; ++ + for (band = 0; band < IEEE80211_NUM_BANDS; band++) { + + if (!wiphy->bands[band]) +@@ -259,6 +261,8 @@ + u32 bandwidth = 0; + int r; + ++ return; ++ + sband = wiphy->bands[IEEE80211_BAND_2GHZ]; + if (!sband) + return; +@@ -308,6 +312,8 @@ + struct ieee80211_channel *ch; + unsigned int i; + ++ return; ++ + if (!wiphy->bands[IEEE80211_BAND_5GHZ]) + return; + +@@ -514,6 +520,8 @@ + { + const struct ieee80211_regdomain *regd; + ++ return 0; ++ + wiphy->reg_notifier = reg_notifier; + wiphy->flags |= WIPHY_FLAG_STRICT_REGULATORY; +
hooks/post-receive -- IPFire 2.x development tree