Deleted Added
full compact
ieee80211_ht.c (288315) ieee80211_ht.c (291303)
1/*-
2 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
27#ifdef __FreeBSD__
1/*-
2 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
27#ifdef __FreeBSD__
28__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_ht.c 288315 2015-09-28 00:17:51Z adrian $");
28__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_ht.c 291303 2015-11-25 18:16:42Z adrian $");
29#endif
30
31/*
32 * IEEE 802.11n protocol support.
33 */
34
35#include "opt_inet.h"
36#include "opt_wlan.h"

--- 2132 unchanged lines hidden (view full) ---

2169 /*
2170 * Don't retry too often; txa_nextrequest is set
2171 * to the minimum interval we'll retry after
2172 * ieee80211_addba_maxtries failed attempts are made.
2173 */
2174 return 0;
2175 }
2176 IEEE80211_NOTE(vap, IEEE80211_MSG_11N, ni,
29#endif
30
31/*
32 * IEEE 802.11n protocol support.
33 */
34
35#include "opt_inet.h"
36#include "opt_wlan.h"

--- 2132 unchanged lines hidden (view full) ---

2169 /*
2170 * Don't retry too often; txa_nextrequest is set
2171 * to the minimum interval we'll retry after
2172 * ieee80211_addba_maxtries failed attempts are made.
2173 */
2174 return 0;
2175 }
2176 IEEE80211_NOTE(vap, IEEE80211_MSG_11N, ni,
2177 "enable AMPDU on tid %d (%s), avgpps %d pkts %d",
2177 "enable AMPDU on tid %d (%s), avgpps %d pkts %d attempt %d",
2178 tap->txa_tid, ieee80211_wme_acnames[TID_TO_WME_AC(tap->txa_tid)],
2178 tap->txa_tid, ieee80211_wme_acnames[TID_TO_WME_AC(tap->txa_tid)],
2179 tap->txa_avgpps, tap->txa_pkts);
2179 tap->txa_avgpps, tap->txa_pkts, tap->txa_attempts);
2180 return 1;
2181}
2182
2183/*
2184 * Request A-MPDU tx aggregation. Setup local state and
2185 * issue an ADDBA request. BA use will only happen after
2186 * the other end replies with ADDBA response.
2187 */

--- 791 unchanged lines hidden ---
2180 return 1;
2181}
2182
2183/*
2184 * Request A-MPDU tx aggregation. Setup local state and
2185 * issue an ADDBA request. BA use will only happen after
2186 * the other end replies with ADDBA response.
2187 */

--- 791 unchanged lines hidden ---