Date: Tue, 7 Dec 2004 04:56:44 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 66609 for review Message-ID: <200412070456.iB74uiDW042684@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=66609 Change 66609 by sam@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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412070456.iB74uiDW042684>