Added patch minstrel-aziwoqpa_fixed.diff and updated armthumb.diff from https://garag...
authorPali Rohár <pali.rohar@gmail.com>
Sun, 29 May 2011 10:01:33 +0000 (12:01 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Thu, 11 Aug 2011 08:25:04 +0000 (10:25 +0200)
kernel-power-2.6.28/debian/patches/armthumb.diff
kernel-power-2.6.28/debian/patches/minstrel-aziwoqpa_fixed.diff [new file with mode: 0644]
kernel-power-2.6.28/debian/patches/series

index 2ca096e..2588b0a 100644 (file)
@@ -29,7 +29,7 @@
  #ifdef CONFIG_MMU
        mov     r2, #0
        ldr     r1, [r1, #MM_CONTEXT_ID]        @ get mm->context.id
--      orr     r0, r0, #TTB_RGN_OC_WB
+-      orr     r0, r0, #TTB_RGN_OC_WB          @ mark PTWs outer cacheable, WB
 +      orr     r0, r0, #TTB_RGN_OC_WB          @ mark PTWs outer cacheable, WB
 +#ifdef CONFIG_ARM_ERRATA_430973
 +      mcr     p15, 0, r2, c7, c5, 6           @ flush BTAC/BTB
diff --git a/kernel-power-2.6.28/debian/patches/minstrel-aziwoqpa_fixed.diff b/kernel-power-2.6.28/debian/patches/minstrel-aziwoqpa_fixed.diff
new file mode 100644 (file)
index 0000000..e87eb71
--- /dev/null
@@ -0,0 +1,11 @@
+--- kernel-power-2.6.28.orig/net/mac80211/rc80211_minstrel.c.orig      2010-11-13 13:20:41.000000000 -0500
++++ kernel-power-2.6.28/net/mac80211/rc80211_minstrel.c        2010-11-13 13:46:05.246025157 -0500
+@@ -228,7 +228,7 @@
+       unsigned int sample_ndx;
+       sample_ndx = SAMPLE_TBL(mi, mi->sample_idx, mi->sample_column);
+       mi->sample_idx++;
+-      if ((int) mi->sample_idx > (mi->n_rates - 2)) {
++      if (mi->n_rates == 1 || (int) mi->sample_idx > (mi->n_rates - 2)) {
+               mi->sample_idx = 0;
+               mi->sample_column++;
+               if (mi->sample_column >= SAMPLE_COLUMNS)
index 764cc59..214befa 100644 (file)
@@ -24,6 +24,7 @@ ondemand-avoid.diff
 overclock.diff
 arm-proc-v7.diff
 armthumb.diff
+minstrel-aziwoqpa_fixed.diff
 wl12xx_rohar.diff
 fmtx.unlock.diff
 radio-bcm2048.diff