Date: Thu, 25 Jun 2009 02:28:12 +0000 (UTC) From: Weongyo Jeong <weongyo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194939 - head/sys/dev/usb/wlan Message-ID: <200906250228.n5P2SCN5037545@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: weongyo Date: Thu Jun 25 02:28:12 2009 New Revision: 194939 URL: http://svn.freebsd.org/changeset/base/194939 Log: updates AMRR statistics with tx complete status that if not the tx rate always would be reduced. Modified: head/sys/dev/usb/wlan/if_zyd.c Modified: head/sys/dev/usb/wlan/if_zyd.c ============================================================================== --- head/sys/dev/usb/wlan/if_zyd.c Thu Jun 25 02:15:04 2009 (r194938) +++ head/sys/dev/usb/wlan/if_zyd.c Thu Jun 25 02:28:12 2009 (r194939) @@ -517,6 +517,9 @@ zyd_tx_free(struct zyd_tx_data *data, in m_freem(data->m); data->m = NULL; + if (txerr == 0) + ieee80211_amrr_tx_complete(&ZYD_NODE(data->ni)->amn, + IEEE80211_AMRR_SUCCESS, 0); ieee80211_free_node(data->ni); data->ni = NULL; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906250228.n5P2SCN5037545>