PERFORCE change 66609 for review

Sam Leffler sam at FreeBSD.org
Mon Dec 6 20:56:46 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=66609

Change 66609 by sam at sam_ebb on 2004/12/07 04:56:05

	purge ath_rate_node_copy; it's officially nuked from the api

Affected files ...

.. //depot/projects/wifi/sys/dev/ath/ath_rate/amrr/amrr.c#3 edit
.. //depot/projects/wifi/sys/dev/ath/ath_rate/onoe/onoe.c#3 edit
.. //depot/projects/wifi/sys/dev/ath/if_athrate.h#2 edit

Differences ...

==== //depot/projects/wifi/sys/dev/ath/ath_rate/amrr/amrr.c#3 (text+ko) ====

@@ -110,16 +110,6 @@
 }
 
 void
-ath_rate_node_copy(struct ath_softc *sc,
-	struct ath_node *dst, const struct ath_node *src)
-{
-	struct amrr_node *adst = ATH_NODE_AMRR(dst);
-	const struct amrr_node *asrc = (const struct amrr_node *)&src[1];
-
-	memcpy(adst, asrc, sizeof(struct amrr_node));
-}
-
-void
 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
 	HAL_BOOL shortPreamble, size_t frameLen,
 	u_int8_t *rix, int *try0, u_int8_t *txrate)

==== //depot/projects/wifi/sys/dev/ath/ath_rate/onoe/onoe.c#3 (text+ko) ====

@@ -132,16 +132,6 @@
 }
 
 void
-ath_rate_node_copy(struct ath_softc *sc,
-	struct ath_node *dst, const struct ath_node *src)
-{
-	struct onoe_node *odst = ATH_NODE_ONOE(dst);
-	const struct onoe_node *osrc = (const struct onoe_node *)&src[1];
-
-	memcpy(odst, osrc, sizeof(struct onoe_node));
-}
-
-void
 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
 	HAL_BOOL shortPreamble, size_t frameLen,
 	u_int8_t *rix, int *try0, u_int8_t *txrate)

==== //depot/projects/wifi/sys/dev/ath/if_athrate.h#2 (text+ko) ====

@@ -98,12 +98,6 @@
  */
 void	ath_rate_node_cleanup(struct ath_softc *, struct ath_node *);
 /*
- * Copy per-node state; currently used only to duplicate bss on
- * station association.
- */
-void	ath_rate_node_copy(struct ath_softc *,
-		struct ath_node *, const struct ath_node *);
-/*
  * Update rate control state on station associate/reassociate 
  * (when operating as an ap or for nodes discovered when operating
  * in ibss mode).


More information about the p4-projects mailing list