Pavel Roskin | 1 Apr 2009 02:41
Favicon

revision 3953 committed

Project     : madwifi
Revision    : 3953
Author      : proski (Pavel Roskin)
Date        : 2009-04-01 02:41:02 +0200 (Wed, 01 Apr 2009)

Log Message :
Add PCI ID for AR9160, it's already supported by the HAL

Affected Files:
* madwifi/branches/madwifi-free/ath/if_ath_pci.c      updated             

Modified: madwifi/branches/madwifi-free/ath/if_ath_pci.c
===================================================================
--- madwifi/branches/madwifi-free/ath/if_ath_pci.c	2009-02-12 21:51:00 UTC (rev 3952)
+++ madwifi/branches/madwifi-free/ath/if_ath_pci.c	2009-04-01 00:41:02 UTC (rev 3953)
 <at>  <at>  -113,6 +113,7  <at>  <at> 
 	{ 0x168c, 0x001d, PCI_ANY_ID, PCI_ANY_ID }, /* PCI Express ???  */
 	{ 0x168c, 0x0023, PCI_ANY_ID, PCI_ANY_ID },
 	{ 0x168c, 0x0024, PCI_ANY_ID, PCI_ANY_ID },
+	{ 0x168c, 0x0027, PCI_ANY_ID, PCI_ANY_ID },
 	{ 0x168c, 0x9013, PCI_ANY_ID, PCI_ANY_ID }, /* sonicwall */
 	{ 0 }
 };

------------------------------------------------------------------------------
Pavel Roskin | 1 Apr 2009 05:17
Favicon

revision 3954 committed

Project     : madwifi
Revision    : 3954
Author      : proski (Pavel Roskin)
Date        : 2009-04-01 05:17:48 +0200 (Wed, 01 Apr 2009)

Log Message :
Fix breakage introduced in tqi_burstTime calculation in r3756

Use IEEE80211_TXOP_TO_US for unit conversion.  Found by Derek Smithies.

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

Modified: madwifi/trunk/ath/if_ath.c
===================================================================
--- madwifi/trunk/ath/if_ath.c	2009-04-01 00:41:02 UTC (rev 3953)
+++ madwifi/trunk/ath/if_ath.c	2009-04-01 03:17:48 UTC (rev 3954)
 <at>  <at>  -7323,7 +7323,7  <at>  <at> 
 	qi.tqi_aifs = wmep->wmep_aifsn;
 	qi.tqi_cwmin = (1 << wmep->wmep_logcwmin) - 1;
 	qi.tqi_cwmax = (1 << wmep->wmep_logcwmax) - 1;
-	qi.tqi_burstTime = wmep->wmep_txopLimit / 32; /* 32 us units. */
+	qi.tqi_burstTime = IEEE80211_TXOP_TO_US(wmep->wmep_txopLimit);

 	if (!ath_hal_settxqueueprops(ah, txq->axq_qnum, &qi)) {
 		EPRINTF(sc, "Unable to update hardware queue "

------------------------------------------------------------------------------
Pavel Roskin | 1 Apr 2009 05:20
Favicon

revision 3955 committed

Project     : madwifi
Revision    : 3955
Author      : proski (Pavel Roskin)
Date        : 2009-04-01 05:20:11 +0200 (Wed, 01 Apr 2009)

Log Message :
Fix breakage introduced in tqi_burstTime calculation in r3756

Use IEEE80211_TXOP_TO_US for unit conversion.  Found by Derek Smithies.

Affected Files:
* madwifi/branches/madwifi-dfs/ath/if_ath.c           updated             
* madwifi/branches/madwifi-free/ath/if_ath.c          updated             
* madwifi/branches/madwifi-hal-0.10.5.6/ath/if_ath.c  updated             
* madwifi/branches/madwifi-hal-testing/ath/if_ath.c   updated             

Modified: madwifi/branches/madwifi-dfs/ath/if_ath.c
===================================================================
--- madwifi/branches/madwifi-dfs/ath/if_ath.c	2009-04-01 03:17:48 UTC (rev 3954)
+++ madwifi/branches/madwifi-dfs/ath/if_ath.c	2009-04-01 03:20:11 UTC (rev 3955)
 <at>  <at>  -7627,7 +7627,7  <at>  <at> 
 	qi.tqi_aifs = wmep->wmep_aifsn;
 	qi.tqi_cwmin = (1 << wmep->wmep_logcwmin) - 1;
 	qi.tqi_cwmax = (1 << wmep->wmep_logcwmax) - 1;
-	qi.tqi_burstTime = wmep->wmep_txopLimit / 32; /* 32 us units. */
+	qi.tqi_burstTime = IEEE80211_TXOP_TO_US(wmep->wmep_txopLimit);

 	if (!ath_hal_settxqueueprops(ah, txq->axq_qnum, &qi)) {
 		EPRINTF(sc, "Unable to update hardware queue "

(Continue reading)

Pavel Roskin | 1 Apr 2009 21:05
Favicon

revision 3956 committed

Project     : madwifi
Revision    : 3956
Author      : proski (Pavel Roskin)
Date        : 2009-04-01 21:05:25 +0200 (Wed, 01 Apr 2009)

Log Message :
Merge FreeBSD change r188979

Affected Files:
* madwifi/branches/madwifi-free/hal/ah.h              updated             
* madwifi/branches/madwifi-free/hal/ah_internal.h     updated             
* madwifi/branches/madwifi-free/hal/ar5210/ar5210_attach.c  updated             
* madwifi/branches/madwifi-free/hal/ar5211/ar5211_attach.c  updated             
* madwifi/branches/madwifi-free/hal/ar5212/ar2425.c   updated             
* madwifi/branches/madwifi-free/hal/ar5212/ar5212.h   updated             
* madwifi/branches/madwifi-free/hal/ar5212/ar5212_attach.c  updated             
* madwifi/branches/madwifi-free/hal/ar5212/ar5212_reset.c  updated             
* madwifi/branches/madwifi-free/hal/ar5212/ar5413.c   updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar5416.h   updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar5416.ini  updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar5416_attach.c  updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar5416reg.h  updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar9160.ini  updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar9160_attach.c  updated             

Modified: madwifi/branches/madwifi-free/hal/ah.h
===================================================================
--- madwifi/branches/madwifi-free/hal/ah.h	2009-04-01 03:20:11 UTC (rev 3955)
+++ madwifi/branches/madwifi-free/hal/ah.h	2009-04-01 19:05:25 UTC (rev 3956)
 <at>  <at>  -669,6 +669,8  <at>  <at> 
(Continue reading)

Pavel Roskin | 1 Apr 2009 21:08
Favicon

revision 3957 committed

Project     : madwifi
Revision    : 3957
Author      : proski (Pavel Roskin)
Date        : 2009-04-01 21:08:58 +0200 (Wed, 01 Apr 2009)

Log Message :
Merge FreeBSD change r188971

Affected Files:
* madwifi/branches/madwifi-free/hal/ar5416/ar5416.h   updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar5416_attach.c  updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar9160_attach.c  updated             

Modified: madwifi/branches/madwifi-free/hal/ar5416/ar5416.h
===================================================================
--- madwifi/branches/madwifi-free/hal/ar5416/ar5416.h	2009-04-01 19:05:25 UTC (rev 3956)
+++ madwifi/branches/madwifi-free/hal/ar5416/ar5416.h	2009-04-01 19:08:58 UTC (rev 3957)
 <at>  <at>  -86,6 +86,7  <at>  <at> 

 extern	struct ath_hal * ar5416Attach(uint16_t devid, HAL_SOFTC sc,
 		HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status);
+extern	uint32_t ar5416GetRadioRev(struct ath_hal *ah);
 extern	void ar5416InitState(struct ath_hal_5416 *, uint16_t devid,
 		HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh,
 		HAL_STATUS *status);

Modified: madwifi/branches/madwifi-free/hal/ar5416/ar5416_attach.c
===================================================================
--- madwifi/branches/madwifi-free/hal/ar5416/ar5416_attach.c	2009-04-01 19:05:25 UTC (rev 3956)
+++ madwifi/branches/madwifi-free/hal/ar5416/ar5416_attach.c	2009-04-01 19:08:58 UTC (rev 3957)
(Continue reading)

Pavel Roskin | 1 Apr 2009 21:12
Favicon

revision 3958 committed

Project     : madwifi
Revision    : 3958
Author      : proski (Pavel Roskin)
Date        : 2009-04-01 21:12:58 +0200 (Wed, 01 Apr 2009)

Log Message :
Merge FreeBSD change r188972

Affected Files:
* madwifi/branches/madwifi-free/hal/ar5211/ar5211.h   updated             
* madwifi/branches/madwifi-free/hal/ar5211/ar5211_attach.c  updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar5416.h   updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar5416_attach.c  updated             
* madwifi/branches/madwifi-free/hal/ar5416/ar9160_attach.c  updated             

Modified: madwifi/branches/madwifi-free/hal/ar5211/ar5211.h
===================================================================
--- madwifi/branches/madwifi-free/hal/ar5211/ar5211.h	2009-04-01 19:08:58 UTC (rev 3957)
+++ madwifi/branches/madwifi-free/hal/ar5211/ar5211.h	2009-04-01 19:12:58 UTC (rev 3958)
 <at>  <at>  -145,8 +145,6  <at>  <at> 

 struct ath_hal;

-extern	struct ath_hal *ar5211Attach(uint16_t, HAL_SOFTC,
-	HAL_BUS_TAG, HAL_BUS_HANDLE, HAL_STATUS *);
 extern	void ar5211Detach(struct ath_hal *);

 extern	HAL_BOOL ar5211Reset(struct ath_hal *, HAL_OPMODE,

Modified: madwifi/branches/madwifi-free/hal/ar5211/ar5211_attach.c
(Continue reading)

Pavel Roskin | 1 Apr 2009 21:16
Favicon

revision 3959 committed

Project     : madwifi
Revision    : 3959
Author      : proski (Pavel Roskin)
Date        : 2009-04-01 21:16:38 +0200 (Wed, 01 Apr 2009)

Log Message :
hal/ar5416/ar9160.ini should not be executable

Affected Files:
* madwifi/branches/madwifi-free/hal/ar5416/ar9160.ini  properties updated  

Property changes on: madwifi/branches/madwifi-free/hal/ar5416/ar9160.ini
___________________________________________________________________
Name: svn:executable
   - *

------------------------------------------------------------------------------
Pavel Roskin | 1 Apr 2009 21:34
Favicon

revision 3960 committed

Project     : madwifi
Revision    : 3960
Author      : proski (Pavel Roskin)
Date        : 2009-04-01 21:34:57 +0200 (Wed, 01 Apr 2009)

Log Message :
Make ieee80211_free_node() static

It should not be visible outside ieee80211_node.c

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

Modified: madwifi/trunk/net80211/ieee80211_node.c
===================================================================
--- madwifi/trunk/net80211/ieee80211_node.c	2009-04-01 19:16:38 UTC (rev 3959)
+++ madwifi/trunk/net80211/ieee80211_node.c	2009-04-01 19:34:57 UTC (rev 3960)
 <at>  <at>  -1384,7 +1384,7  <at>  <at> 
 EXPORT_SYMBOL(ieee80211_find_txnode);

 /* Context: hwIRQ, softIRQ and process context. */
-void
+static void
 ieee80211_free_node(struct ieee80211_node *ni)
 {
 	struct ieee80211vap *vap = ni->ni_vap;
 <at>  <at>  -1402,7 +1402,6  <at>  <at> 

 	vap->iv_ic->ic_node_free(ni);
(Continue reading)

Pavel Roskin | 1 Apr 2009 21:36
Favicon

revision 3961 committed

Project     : madwifi
Revision    : 3961
Author      : proski (Pavel Roskin)
Date        : 2009-04-01 21:36:56 +0200 (Wed, 01 Apr 2009)

Log Message :
Make ieee80211_free_node() static

It should not be visible outside ieee80211_node.c

Affected Files:
* madwifi/branches/madwifi-dfs/net80211/ieee80211_node.c  updated             
* madwifi/branches/madwifi-dfs/net80211/ieee80211_node.h  updated             
* madwifi/branches/madwifi-free/net80211/ieee80211_node.c  updated             
* madwifi/branches/madwifi-free/net80211/ieee80211_node.h  updated             
* madwifi/branches/madwifi-hal-0.10.5.6/net80211/ieee80211_node.c  updated             
* madwifi/branches/madwifi-hal-0.10.5.6/net80211/ieee80211_node.h  updated             
* madwifi/branches/madwifi-hal-testing/net80211/ieee80211_node.c  updated             
* madwifi/branches/madwifi-hal-testing/net80211/ieee80211_node.h  updated             

Modified: madwifi/branches/madwifi-dfs/net80211/ieee80211_node.c
===================================================================
--- madwifi/branches/madwifi-dfs/net80211/ieee80211_node.c	2009-04-01 19:34:57 UTC (rev 3960)
+++ madwifi/branches/madwifi-dfs/net80211/ieee80211_node.c	2009-04-01 19:36:56 UTC (rev 3961)
 <at>  <at>  -1429,7 +1429,7  <at>  <at> 
 EXPORT_SYMBOL(ieee80211_find_txnode);

 /* Context: hwIRQ, softIRQ and process context. */
-void
+static void
(Continue reading)

Pavel Roskin | 1 Apr 2009 21:44
Favicon

revision 3962 committed

Project     : madwifi
Revision    : 3962
Author      : proski (Pavel Roskin)
Date        : 2009-04-01 21:44:05 +0200 (Wed, 01 Apr 2009)

Log Message :
Remove unused node counting code

Affected Files:
* madwifi/trunk/net80211/ieee80211_node.c             updated             
* madwifi/trunk/net80211/ieee80211_var.h              updated             

Modified: madwifi/trunk/net80211/ieee80211_node.c
===================================================================
--- madwifi/trunk/net80211/ieee80211_node.c	2009-04-01 19:36:56 UTC (rev 3961)
+++ madwifi/trunk/net80211/ieee80211_node.c	2009-04-01 19:44:05 UTC (rev 3962)
 <at>  <at>  -75,7 +75,6  <at>  <at> 
 static void node_cleanup(struct ieee80211_node *);
 static void node_free(struct ieee80211_node *);

-static int32_t node_count(struct ieee80211com *ic);
 static u_int8_t node_getrssi(const struct ieee80211_node *);

 static void node_table_leave_locked(struct ieee80211_node_table *, 
 <at>  <at>  -108,7 +107,6  <at>  <at> 
 	ic->ic_node_free = node_free;
 	ic->ic_node_cleanup = node_cleanup;

-	ic->ic_node_count = node_count;
 	ic->ic_node_getrssi = node_getrssi;
(Continue reading)


Gmane