Pavel Roskin | 19 Jun 20:24 2010

revision 4130 committed

Project     : madwifi
Revision    : 4130
Author      : proski (Pavel Roskin)
Date        : 2010-06-19 20:24:35 +0200 (Sat, 19 Jun 2010)

Log Message :
Add support for Linux 2.6.35

Affected Files:
* madwifi/trunk/ath/if_ath.c                          updated             
* madwifi/trunk/include/compat.h                      updated             

Modified: madwifi/trunk/ath/if_ath.c
===================================================================
--- madwifi/trunk/ath/if_ath.c	2010-04-02 05:33:10 UTC (rev 4129)
+++ madwifi/trunk/ath/if_ath.c	2010-06-19 18:24:35 UTC (rev 4130)
 <at>  <at>  -4418,7 +4418,7  <at>  <at> 
 {
 	struct ieee80211com *ic = &sc->sc_ic;
 	struct ieee80211vap *vap;
-	struct dev_mc_list *mc;
+	struct ath_netdev_hw_addr *ha;
 	u_int32_t val;
 	u_int8_t pos;

 <at>  <at>  -4426,11 +4426,11  <at>  <at> 
 	/* XXX locking */
 	TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) {
 		struct net_device *dev = vap->iv_dev;
-		for (mc = dev->mc_list; mc; mc = mc->next) {
(Continue reading)

Pavel Roskin | 19 Jun 20:26 2010

revision 4131 committed

Project     : madwifi
Revision    : 4131
Author      : proski (Pavel Roskin)
Date        : 2010-06-19 20:26:01 +0200 (Sat, 19 Jun 2010)

Log Message :
Fix support for Linux 2.6.0 - 2.6.2, which lack netdev_priv()

Affected Files:
* madwifi/trunk/include/compat.h                      updated             

Modified: madwifi/trunk/include/compat.h
===================================================================
--- madwifi/trunk/include/compat.h	2010-06-19 18:24:35 UTC (rev 4130)
+++ madwifi/trunk/include/compat.h	2010-06-19 18:26:01 UTC (rev 4131)
 <at>  <at>  -188,7 +188,9  <at>  <at> 
 #define IRQF_SHARED SA_SHIRQ
 #endif

-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,27)
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,27)) || \
+    ((LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)) && \
+     ((LINUX_VERSION_CODE < KERNEL_VERSION(2,6,3))))
 #define netdev_priv(_netdev) ((_netdev)->priv)
 #endif

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
(Continue reading)

Pavel Roskin | 19 Jun 20:27 2010

revision 4132 committed

Project     : madwifi
Revision    : 4132
Author      : proski (Pavel Roskin)
Date        : 2010-06-19 20:27:20 +0200 (Sat, 19 Jun 2010)

Log Message :
Fix support for Linux 2.6.11, which lacks <linux/sort.h>

Affected Files:
* madwifi/trunk/net80211/ieee80211_scan_ap.c          updated             

Modified: madwifi/trunk/net80211/ieee80211_scan_ap.c
===================================================================
--- madwifi/trunk/net80211/ieee80211_scan_ap.c	2010-06-19 18:26:01 UTC (rev 4131)
+++ madwifi/trunk/net80211/ieee80211_scan_ap.c	2010-06-19 18:27:20 UTC (rev 4132)
 <at>  <at>  -48,7 +48,7  <at>  <at> 
 #include <linux/init.h>
 #include <linux/delay.h>

-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12)
 /* Copied from Linux lib/sort.c */
 static void u32_swap(void *a, void *b, int size)
 {

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
(Continue reading)

Pavel Roskin | 20 Jun 14:13 2010

revision 4133 committed

Project     : madwifi
Revision    : 4133
Author      : proski (Pavel Roskin)
Date        : 2010-06-20 14:13:10 +0200 (Sun, 20 Jun 2010)

Log Message :
Fix compatibility with kernels 2.6.0, 2.6.1, 2.6.2, 2.6.11 and 2.6.35

References: r4130, r4131, r4132

Affected Files:
* madwifi/branches/madwifi-0.9.4/ath/if_ath.c         updated             
* madwifi/branches/madwifi-0.9.4/include/compat.h     updated             
* madwifi/branches/madwifi-dfs/ath/if_ath.c           updated             
* madwifi/branches/madwifi-dfs/include/compat.h       updated             
* madwifi/branches/madwifi-dfs/net80211/ieee80211_scan_ap.c  updated             

Modified: madwifi/branches/madwifi-0.9.4/ath/if_ath.c
===================================================================
--- madwifi/branches/madwifi-0.9.4/ath/if_ath.c	2010-06-19 18:27:20 UTC (rev 4132)
+++ madwifi/branches/madwifi-0.9.4/ath/if_ath.c	2010-06-20 12:13:10 UTC (rev 4133)
 <at>  <at>  -3496,7 +3496,7  <at>  <at> 
 {
 	struct ieee80211com *ic = &sc->sc_ic;
 	struct ieee80211vap *vap;
-	struct dev_mc_list *mc;
+	struct ath_netdev_hw_addr *ha;
 	u_int32_t val;
 	u_int8_t pos;

(Continue reading)


Gmane