sync with latest madwifi snapshot, refresh patches, add tpc fix by mdtaylor (should...
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 112-keycache_PR_962.patch
index fd0be587ef95bd81bb593b212f6b8a009f6e73d8..e63696127aa9c41c818f8ea48a867b88b421781e 100644 (file)
@@ -1,7 +1,8 @@
-diff -urN madwifi-ng-r2377-20070526.old/ath/if_ath.c madwifi-ng-r2377-20070526.dev/ath/if_ath.c
---- madwifi-ng-r2377-20070526.old/ath/if_ath.c 2007-05-26 18:51:08.569784736 +0200
-+++ madwifi-ng-r2377-20070526.dev/ath/if_ath.c 2007-05-26 18:51:08.661770752 +0200
-@@ -5672,7 +5672,8 @@
+Index: madwifi-ng-r2568-20070710/ath/if_ath.c
+===================================================================
+--- madwifi-ng-r2568-20070710.orig/ath/if_ath.c        2007-07-11 22:59:41.372206215 +0200
++++ madwifi-ng-r2568-20070710/ath/if_ath.c     2007-07-11 22:59:41.856233797 +0200
+@@ -5732,7 +5732,8 @@
                 * frame; it'll be dropped where it's not wanted.
                 */
                if (rs->rs_keyix != HAL_RXKEYIX_INVALID &&
                 * frame; it'll be dropped where it's not wanted.
                 */
                if (rs->rs_keyix != HAL_RXKEYIX_INVALID &&
@@ -11,10 +12,11 @@ diff -urN madwifi-ng-r2377-20070526.old/ath/if_ath.c madwifi-ng-r2377-20070526.d
                        struct ath_node *an;
                        /*
                         * Fast path: node is present in the key map;
                        struct ath_node *an;
                        /*
                         * Fast path: node is present in the key map;
-diff -urN madwifi-ng-r2377-20070526.old/net80211/ieee80211_node.c madwifi-ng-r2377-20070526.dev/net80211/ieee80211_node.c
---- madwifi-ng-r2377-20070526.old/net80211/ieee80211_node.c    2007-05-21 17:53:39.000000000 +0200
-+++ madwifi-ng-r2377-20070526.dev/net80211/ieee80211_node.c    2007-05-26 18:51:08.663770448 +0200
-@@ -1269,8 +1269,6 @@
+Index: madwifi-ng-r2568-20070710/net80211/ieee80211_node.c
+===================================================================
+--- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_node.c   2007-07-11 22:59:39.096076505 +0200
++++ madwifi-ng-r2568-20070710/net80211/ieee80211_node.c        2007-07-11 22:59:41.860234023 +0200
+@@ -1271,8 +1271,6 @@
        IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt);
  
        return ni;
        IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt);
  
        return ni;
@@ -23,7 +25,7 @@ diff -urN madwifi-ng-r2377-20070526.old/net80211/ieee80211_node.c madwifi-ng-r23
  }
  #ifdef IEEE80211_DEBUG_REFCNT
  EXPORT_SYMBOL(ieee80211_find_rxnode_debug);
  }
  #ifdef IEEE80211_DEBUG_REFCNT
  EXPORT_SYMBOL(ieee80211_find_rxnode_debug);
-@@ -1278,6 +1276,20 @@
+@@ -1280,6 +1278,20 @@
  EXPORT_SYMBOL(ieee80211_find_rxnode);
  #endif
  
  EXPORT_SYMBOL(ieee80211_find_rxnode);
  #endif
  
@@ -44,10 +46,11 @@ diff -urN madwifi-ng-r2377-20070526.old/net80211/ieee80211_node.c madwifi-ng-r23
  /*
   * Return a reference to the appropriate node for sending
   * a data frame.  This handles node discovery in adhoc networks.
  /*
   * Return a reference to the appropriate node for sending
   * a data frame.  This handles node discovery in adhoc networks.
-diff -urN madwifi-ng-r2377-20070526.old/net80211/ieee80211_node.h madwifi-ng-r2377-20070526.dev/net80211/ieee80211_node.h
---- madwifi-ng-r2377-20070526.old/net80211/ieee80211_node.h    2007-05-21 17:53:39.000000000 +0200
-+++ madwifi-ng-r2377-20070526.dev/net80211/ieee80211_node.h    2007-05-26 18:51:08.664770296 +0200
-@@ -323,6 +323,8 @@
+Index: madwifi-ng-r2568-20070710/net80211/ieee80211_node.h
+===================================================================
+--- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_node.h   2007-07-11 22:59:39.104076962 +0200
++++ madwifi-ng-r2568-20070710/net80211/ieee80211_node.h        2007-07-11 22:59:41.884235392 +0200
+@@ -328,6 +328,8 @@
        *pni = NULL;                    /* guard against use */
  }
  
        *pni = NULL;                    /* guard against use */
  }