public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 875bd87bbd1de44979d1d1a4605a5713d7d07118
Date: Mon, 25 Apr 2016 17:44:06 +0100	[thread overview]
Message-ID: <20160425164407.3A8211081BDF@git01.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 5972 bytes --]

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  875bd87bbd1de44979d1d1a4605a5713d7d07118 (commit)
      from  a03527d459e3e6374972698e74f097cf9bff5000 (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 875bd87bbd1de44979d1d1a4605a5713d7d07118
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Mon Apr 25 18:02:53 2016 +0200

    backports: ath9k fix ht40 init.
    
    Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 .../core/101/filelists/armv5tel/ath9k-module       |  3 ++
 .../rootfiles/core/101/filelists/i586/ath9k-module |  3 ++
 .../core/101/filelists/x86_64/ath9k-module         |  2 +
 lfs/backports                                      |  1 +
 ...ports-4.2.6-1-ath9k_add_missing_mask_init.patch | 56 ++++++++++++++++++++++
 5 files changed, 65 insertions(+)
 create mode 100644 config/rootfiles/core/101/filelists/armv5tel/ath9k-module
 create mode 100644 config/rootfiles/core/101/filelists/i586/ath9k-module
 create mode 100644 config/rootfiles/core/101/filelists/x86_64/ath9k-module
 create mode 100644 src/patches/backports-4.2.6-1-ath9k_add_missing_mask_init.patch

Difference in files:
diff --git a/config/rootfiles/core/101/filelists/armv5tel/ath9k-module b/config/rootfiles/core/101/filelists/armv5tel/ath9k-module
new file mode 100644
index 0000000..92f518e
--- /dev/null
+++ b/config/rootfiles/core/101/filelists/armv5tel/ath9k-module
@@ -0,0 +1,3 @@
+lib/modules/KVER-ipfire-multi/kernel/drivers/net/wireless/ath/ath9k
+lib/modules/KVER-ipfire-kirkwood/kernel/drivers/net/wireless/ath/ath9k
+
diff --git a/config/rootfiles/core/101/filelists/i586/ath9k-module b/config/rootfiles/core/101/filelists/i586/ath9k-module
new file mode 100644
index 0000000..2490e61
--- /dev/null
+++ b/config/rootfiles/core/101/filelists/i586/ath9k-module
@@ -0,0 +1,3 @@
+lib/modules/KVER-ipfire/kernel/drivers/net/wireless/ath/ath9k
+lib/modules/KVER-ipfire-pae/kernel/drivers/net/wireless/ath/ath9k
+
diff --git a/config/rootfiles/core/101/filelists/x86_64/ath9k-module b/config/rootfiles/core/101/filelists/x86_64/ath9k-module
new file mode 100644
index 0000000..25361ce
--- /dev/null
+++ b/config/rootfiles/core/101/filelists/x86_64/ath9k-module
@@ -0,0 +1,2 @@
+lib/modules/KVER-ipfire/kernel/drivers/net/wireless/ath/ath9k
+
diff --git a/lfs/backports b/lfs/backports
index 12bd83f..3c8e6cd 100644
--- a/lfs/backports
+++ b/lfs/backports
@@ -102,6 +102,7 @@ endif
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-4.2.6-1-mt7601_upstream_fixes.patch
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-3.18.1-1_add_libertas_uap.patch
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-4.2.6-1_ath10k_remove_logspam.patch
+	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-4.2.6-1-ath9k_add_missing_mask_init.patch
 
 	# smsc mac address patch for pandaboard and raspberry pi
 ifeq "$(KCFG)" "-multi"
diff --git a/src/patches/backports-4.2.6-1-ath9k_add_missing_mask_init.patch b/src/patches/backports-4.2.6-1-ath9k_add_missing_mask_init.patch
new file mode 100644
index 0000000..01aee6d
--- /dev/null
+++ b/src/patches/backports-4.2.6-1-ath9k_add_missing_mask_init.patch
@@ -0,0 +1,56 @@
+by moving common code to ar5008_hw_cmn_spur_mitigate i forgot to move
+mask_m & mask_p initialisation. This coused a performance regression
+on ar9281.
+
+
+Fixes: f911085ffa88 ("ath9k: split ar5008_hw_spur_mitigate and reuse common 
+code in ar9002_hw_spur_mitigate.")
+Reported-by: Gustav Frederiksen <lkml2...(a)openmailbox.org>
+Tested-by: Gustav Frederiksen <lkml2...(a)openmailbox.org>
+Signed-off-by: Oleksij Rempel <li...(a)rempel-privat.de>
+diff -Naur backports-4.2.6-1.org/drivers/net/wireless/ath/ath9k/ar5008_phy.c backports-4.2.6-1/drivers/net/wireless/ath/ath9k/ar5008_phy.c
+--- backports-4.2.6-1.org/drivers/net/wireless/ath/ath9k/ar5008_phy.c	2015-11-15 22:19:39.000000000 +0100
++++ backports-4.2.6-1/drivers/net/wireless/ath/ath9k/ar5008_phy.c	2016-04-25 09:37:58.765112541 +0200
+@@ -274,6 +274,9 @@
+ 	};
+ 	static const int inc[4] = { 0, 100, 0, 0 };
+ 
++	memset(&mask_m, 0, sizeof(int8_t) * 123);
++	memset(&mask_p, 0, sizeof(int8_t) * 123);
++
+ 	cur_bin = -6000;
+ 	upper = bin + 100;
+ 	lower = bin - 100;
+@@ -424,14 +427,9 @@
+ 	int tmp, new;
+ 	int i;
+ 
+-	int8_t mask_m[123];
+-	int8_t mask_p[123];
+ 	int cur_bb_spur;
+ 	bool is2GHz = IS_CHAN_2GHZ(chan);
+ 
+-	memset(&mask_m, 0, sizeof(int8_t) * 123);
+-	memset(&mask_p, 0, sizeof(int8_t) * 123);
+-
+ 	for (i = 0; i < AR_EEPROM_MODAL_SPURS; i++) {
+ 		cur_bb_spur = ah->eep_ops->get_spur_channel(ah, i, is2GHz);
+ 		if (AR_NO_SPUR == cur_bb_spur)
+diff -Naur backports-4.2.6-1.org/drivers/net/wireless/ath/ath9k/ar9002_phy.c backports-4.2.6-1/drivers/net/wireless/ath/ath9k/ar9002_phy.c
+--- backports-4.2.6-1.org/drivers/net/wireless/ath/ath9k/ar9002_phy.c	2015-11-15 22:19:39.000000000 +0100
++++ backports-4.2.6-1/drivers/net/wireless/ath/ath9k/ar9002_phy.c	2016-04-25 09:38:57.729109148 +0200
+@@ -178,14 +178,9 @@
+ 	int i;
+ 	struct chan_centers centers;
+ 
+-	int8_t mask_m[123];
+-	int8_t mask_p[123];
+ 	int cur_bb_spur;
+ 	bool is2GHz = IS_CHAN_2GHZ(chan);
+ 
+-	memset(&mask_m, 0, sizeof(int8_t) * 123);
+-	memset(&mask_p, 0, sizeof(int8_t) * 123);
+-
+ 	ath9k_hw_get_channel_centers(ah, chan, &centers);
+ 	freq = centers.synth_center;
+ 


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2016-04-25 16:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160425164407.3A8211081BDF@git01.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox