From owner-p4-projects@FreeBSD.ORG Tue Dec 7 04:56:45 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8024F16A4D0; Tue, 7 Dec 2004 04:56:45 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 592EC16A4CE for ; Tue, 7 Dec 2004 04:56:45 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45A8143D39 for ; Tue, 7 Dec 2004 04:56:45 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iB74ujDu042687 for ; Tue, 7 Dec 2004 04:56:45 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB74uiDW042684 for perforce@freebsd.org; Tue, 7 Dec 2004 04:56:44 GMT (envelope-from sam@freebsd.org) Date: Tue, 7 Dec 2004 04:56:44 GMT Message-Id: <200412070456.iB74uiDW042684@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Subject: PERFORCE change 66609 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 04:56:46 -0000 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).