Nick Kossifidis | 1 Aug 2007 04:29
Favicon

revision 2629 committed

Project     : madwifi
Revision    : 2629
Author      : mickflemm (Nick Kossifidis)
Date        : 2007-08-01 04:29:41 +0200 (Wed, 01 Aug 2007)

Log Message :
 * Don't use function pointers anymore, call hw functions directly (no more 
HAL !).
 * Remove unused headers.
 * Minor fixes
 * Update openhal/README (should we remove this ?)

Affected Files:
* branches/madwifi-old-openhal/Makefile               updated             
* branches/madwifi-old-openhal/ath/ath_hw.h           deleted             
* branches/madwifi-old-openhal/ath/if_ath.c           updated             
* branches/madwifi-old-openhal/ath/if_athvar.h        updated             
* branches/madwifi-old-openhal/ath_rate/amrr/amrr.c   updated             
* branches/madwifi-old-openhal/ath_rate/onoe/onoe.c   updated             
* branches/madwifi-old-openhal/ath_rate/sample/sample.c  updated             
* branches/madwifi-old-openhal/openhal/Makefile.kernel  updated             
* branches/madwifi-old-openhal/openhal/README         updated             
* branches/madwifi-old-openhal/openhal/ah_osdep.c     updated             
* branches/madwifi-old-openhal/openhal/ath5k.h        updated             
* branches/madwifi-old-openhal/openhal/ath5k_hw.c     updated             
* branches/madwifi-old-openhal/openhal/translation.h  deleted             


Modified: branches/madwifi-old-openhal/Makefile
===================================================================
(Continue reading)

Pavel Roskin | 1 Aug 2007 15:50
Favicon

revision 2630 committed

Project     : madwifi
Revision    : 2630
Author      : proski (Pavel Roskin)
Date        : 2007-08-01 15:50:15 +0200 (Wed, 01 Aug 2007)

Log Message :
Fix misuse of 0 as a pointer, found by sparse

Affected Files:
* branches/madwifi-old-openhal/openhal/ieee80211_regdomain.c  updated             

Modified: branches/madwifi-old-openhal/openhal/ieee80211_regdomain.c
===================================================================
--- branches/madwifi-old-openhal/openhal/ieee80211_regdomain.c	2007-08-01 02:29:41 UTC (rev 2629)
+++ branches/madwifi-old-openhal/openhal/ieee80211_regdomain.c	2007-08-01 13:50:15 UTC (rev 2630)
 <at>  <at>  -84,7 +84,7  <at>  <at> 
 	if((value = bsearch(&key, &ieee80211_r_ctry,
 		sizeof(ieee80211_r_ctry) / sizeof(ieee80211_r_ctry[0]),
 		sizeof(struct ieee80211_countryname),
-		ieee80211_regdomain_compare_cn)) != 0)
+		ieee80211_regdomain_compare_cn)) != NULL)
 		return(value->cn_code);

 	return(CTRY_DEFAULT);
 <at>  <at>  -98,7 +98,7  <at>  <at> 
 	if((value = bsearch(&key, &ieee80211_r_names,
 		sizeof(ieee80211_r_names) / sizeof(ieee80211_r_names[0]),
 		sizeof(struct ieee80211_regdomainname),
-		ieee80211_regdomain_compare_rn)) != 0)
+		ieee80211_regdomain_compare_rn)) != NULL)
(Continue reading)

Michael Renzmann | 2 Aug 2007 11:16
Favicon

revision 2631 committed

Project     : madwifi
Revision    : 2631
Author      : mrenzmann (Michael Renzmann)
Date        : 2007-08-02 11:16:20 +0200 (Thu, 02 Aug 2007)

Log Message :
madwifi-old is deprecated, not supported since ages and won't get any further 
updates; remove the corresponding branch to avoid confusion.

Affected Files:
* branches/madwifi-old/                               deleted             

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
nbd | 3 Aug 2007 11:03
Favicon

revision 2632 committed

Project     : madwifi
Revision    : 2632
Author      : nbd
Date        : 2007-08-03 11:03:35 +0200 (Fri, 03 Aug 2007)

Log Message :
Work around a reported CPU soft lockup caused by an interrupt storm
in the HAL_INT_MIB interrupt triggered by an excessive amount of PHY errors.
(Fixes #1239, #1445)

Affected Files:
* trunk/ath/if_ath.c                                  updated             
* trunk/ath/if_athvar.h                               updated             

Modified: trunk/ath/if_ath.c
===================================================================
--- trunk/ath/if_ath.c	2007-08-02 09:16:20 UTC (rev 2631)
+++ trunk/ath/if_ath.c	2007-08-03 09:03:35 UTC (rev 2632)
 <at>  <at>  -203,6 +203,7  <at>  <at> 
 static void ath_flushrecv(struct ath_softc *);
 static void ath_chan_change(struct ath_softc *, struct ieee80211_channel *);
 static void ath_calibrate(unsigned long);
+static void ath_mib_enable(unsigned long);
 static int ath_newstate(struct ieee80211vap *, enum ieee80211_state, int);

 static void ath_scan_start(struct ieee80211com *);
 <at>  <at>  -662,6 +663,10  <at>  <at> 
 	sc->sc_cal_ch.function = ath_calibrate;
 	sc->sc_cal_ch.data = (unsigned long) dev;

(Continue reading)

Matthew W. S. Bell | 4 Aug 2007 03:55
Favicon

revision 2633 committed

Project     : madwifi
Revision    : 2633
Author      : mentor (Matthew W. S. Bell)
Date        : 2007-08-04 03:54:59 +0200 (Sat, 04 Aug 2007)

Log Message :
Stop a socket buffer leak when switching to a channel that doesn't exist. 
This patch stops the leak, and also does an initial check.

The API for calling for a channel switch should probably be made better.

Signed-off-by: Andrew Lunn <andrew <at> lunn.ch>. Edited by me.

Affected Files:
* trunk/net80211/ieee80211_beacon.c                   updated             

Modified: trunk/net80211/ieee80211_beacon.c
===================================================================
--- trunk/net80211/ieee80211_beacon.c	2007-08-03 09:03:35 UTC (rev 2632)
+++ trunk/net80211/ieee80211_beacon.c	2007-08-04 01:54:59 UTC (rev 2633)
 <at>  <at>  -289,45 +289,48  <at>  <at> 
 	IEEE80211_LOCK_IRQ(ic);

 	if ((ic->ic_flags & IEEE80211_F_DOTH) &&
-	    (vap->iv_flags & IEEE80211_F_CHANSWITCH) &&
-	    (vap->iv_chanchange_count == ic->ic_chanchange_tbtt)) {
-		u_int8_t *frm;
-		struct ieee80211_channel *c;
+			(vap->iv_flags & IEEE80211_F_CHANSWITCH)) {
+		struct ieee80211_channel *c = 
(Continue reading)

Matthew W. S. Bell | 4 Aug 2007 04:06
Favicon

revision 2634 committed

Project     : madwifi
Revision    : 2634
Author      : mentor (Matthew W. S. Bell)
Date        : 2007-08-04 04:06:48 +0200 (Sat, 04 Aug 2007)

Log Message :
Add explicit include for 'struct file_operations'

Affected Files:
* trunk/net80211/ieee80211_linux.h                    updated             

Modified: trunk/net80211/ieee80211_linux.h
===================================================================
--- trunk/net80211/ieee80211_linux.h	2007-08-04 01:54:59 UTC (rev 2633)
+++ trunk/net80211/ieee80211_linux.h	2007-08-04 02:06:48 UTC (rev 2634)
 <at>  <at>  -30,6 +30,7  <at>  <at> 
 #define _NET80211_IEEE80211_LINUX_H_
 
 #include <linux/wireless.h>
+#include <linux/fs.h>

 /*
  * Compatibility definition of statistics flags

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
(Continue reading)

nbd | 6 Aug 2007 15:24
Favicon

revision 2635 committed

Project     : madwifi
Revision    : 2635
Author      : nbd
Date        : 2007-08-06 15:24:45 +0200 (Mon, 06 Aug 2007)

Log Message :
Yes, this is a typo :)
(found by Wenhua Zhao)

Affected Files:
* trunk/net80211/ieee80211_node.c                     updated             

Modified: trunk/net80211/ieee80211_node.c
===================================================================
--- trunk/net80211/ieee80211_node.c	2007-08-04 02:06:48 UTC (rev 2634)
+++ trunk/net80211/ieee80211_node.c	2007-08-06 13:24:45 UTC (rev 2635)
 <at>  <at>  -547,7 +547,7  <at>  <at> 
 ssid_equal(const struct ieee80211_node *a, const struct ieee80211_node *b)
 {
 	return (a->ni_esslen == b->ni_esslen &&
-		memcmp(a->ni_essid, b->ni_bssid, a->ni_esslen) == 0);
+		memcmp(a->ni_essid, b->ni_essid, a->ni_esslen) == 0);
 }

 /*

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
(Continue reading)

benoit | 7 Aug 2007 12:22
Favicon

revision 2636 committed

Project     : madwifi
Revision    : 2636
Author      : benoit
Date        : 2007-08-07 12:22:41 +0200 (Tue, 07 Aug 2007)

Log Message :
Added pulse width in the radar detection process.
Corrected parse the RX queue in ath_uapsd_processtriggers whenever
HAL_INT_RX or HAL_INT_RXPHY show up

Affected Files:
* branches/madwifi-dfs/ath/if_ath.c                   updated             
* branches/madwifi-dfs/ath/if_ath_radar.c             updated             

Modified: branches/madwifi-dfs/ath/if_ath.c
===================================================================
--- branches/madwifi-dfs/ath/if_ath.c	2007-08-06 13:24:45 UTC (rev 2635)
+++ branches/madwifi-dfs/ath/if_ath.c	2007-08-07 10:22:41 UTC (rev 2636)
 <at>  <at>  -285,7 +285,6  <at>  <at> 
 /*
 802.11h DFS support functions
 */
-static int ath_intr_detect_radar_phyerr_in_rx_queue(struct ath_softc *sc);
 static void ath_dump_phyerr_statistics(struct ath_softc *sc, const char* cause);

 static void ath_radar_expire_dfs_channel_non_occupancy_timers(unsigned long arg);
 <at>  <at>  -1447,6 +1446,19  <at>  <at> 
 	return 0;
 }

(Continue reading)

benoit | 7 Aug 2007 13:49
Favicon

revision 2637 committed

Project     : madwifi
Revision    : 2637
Author      : benoit
Date        : 2007-08-07 13:49:35 +0200 (Tue, 07 Aug 2007)

Log Message :
Fix http://madwifi.org/ticket/1033
Properly merge IBSS

Affected Files:
* branches/madwifi-dfs/Makefile                       updated             
* branches/madwifi-dfs/ath/if_ath.c                   updated             
* branches/madwifi-dfs/net80211/ieee80211_linux.c     updated             
* branches/madwifi-dfs/net80211/ieee80211_node.c      updated             

Modified: branches/madwifi-dfs/Makefile
===================================================================
--- branches/madwifi-dfs/Makefile	2007-08-07 10:22:41 UTC (rev 2636)
+++ branches/madwifi-dfs/Makefile	2007-08-07 11:49:35 UTC (rev 2637)
 <at>  <at>  -93,6 +93,9  <at>  <at> 
 	for i in $(DIRS_MODULES); do \
 		$(MAKE) -C $$i install || exit 1; \
 	done
+	mkdir -p $(DESTDIR)/etc/modutils $(DESTDIR)/etc/modprobe.d
+	cp conf/ath_pci $(DESTDIR)/etc/modutils # For 2.4 kernels
+	cp conf/ath_pci $(DESTDIR)/etc/modprobe.d # For 2.6 kernels
 ifeq ($(DESTDIR),)
 	(export KMODPATH=$(KMODPATH); /sbin/depmod -ae $(KERNELRELEASE))
 endif

(Continue reading)

benoit | 7 Aug 2007 13:50
Favicon

revision 2638 committed

Project     : madwifi
Revision    : 2638
Author      : benoit
Date        : 2007-08-07 13:50:52 +0200 (Tue, 07 Aug 2007)

Log Message :
Revert spurious changes from the previous commit

Affected Files:
* branches/madwifi-dfs/Makefile                       updated             

Modified: branches/madwifi-dfs/Makefile
===================================================================
--- branches/madwifi-dfs/Makefile	2007-08-07 11:49:35 UTC (rev 2637)
+++ branches/madwifi-dfs/Makefile	2007-08-07 11:50:52 UTC (rev 2638)
 <at>  <at>  -93,9 +93,6  <at>  <at> 
 	for i in $(DIRS_MODULES); do \
 		$(MAKE) -C $$i install || exit 1; \
 	done
-	mkdir -p $(DESTDIR)/etc/modutils $(DESTDIR)/etc/modprobe.d
-	cp conf/ath_pci $(DESTDIR)/etc/modutils # For 2.4 kernels
-	cp conf/ath_pci $(DESTDIR)/etc/modprobe.d # For 2.6 kernels
 ifeq ($(DESTDIR),)
 	(export KMODPATH=$(KMODPATH); /sbin/depmod -ae $(KERNELRELEASE))
 endif

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
(Continue reading)


Gmane