freebsd-skq/sys/net80211
adrian 198275796f Fix some corner cases in the net80211 sequence number retransmission
handling.

The current sequence number code does a few things incorrectly:

* It didn't try eliminating duplications from HT nodes. I guess it's assumed
  that out of order / retransmission handling would be handled by the AMPDU RX
  routines. If a HT node isn't doing AMPDU RX, then retransmissions need to
  be eliminated. Since most of my debugging is based on this (as AMPDU TX
  software packet aggregation isn't yet handled), handle this corner case.

* When a sequence number of 4095 was received, any subsequent sequence number
  is going to be (by definition) less than 4095. So if the following sequence
  number (0) doesn't initially occur and the retransmit is received, it's
  incorrectly eliminated by the IEEE80211_FC1_RETRY && SEQ_LEQ() check.
  Try to handle this better.

This almost completely eliminates out of order TCP statistics showing up during
iperf testing for the 11a, 11g and non-aggregate 11n AMPDU RX case. The only
other packet loss conditions leading to this are due to baseband resets or
heavy interference.
2011-05-04 02:23:59 +00:00
..
_ieee80211.h Revert r220907 and r220915. 2011-04-22 00:44:27 +00:00
ieee80211_acl.c
ieee80211_action.c
ieee80211_action.h
ieee80211_adhoc.c Fix some corner cases in the net80211 sequence number retransmission 2011-05-04 02:23:59 +00:00
ieee80211_adhoc.h
ieee80211_ageq.c Fix typos - remove duplicate "is". 2011-02-23 09:22:33 +00:00
ieee80211_ageq.h
ieee80211_alq.c Implement very basic ALQ logging for net80211. 2011-04-21 03:59:37 +00:00
ieee80211_alq.h Implement very basic ALQ logging for net80211. 2011-04-21 03:59:37 +00:00
ieee80211_amrr.c sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. 2011-01-12 19:53:50 +00:00
ieee80211_amrr.h
ieee80211_crypto_ccmp.c
ieee80211_crypto_none.c
ieee80211_crypto_tkip.c
ieee80211_crypto_wep.c
ieee80211_crypto.c
ieee80211_crypto.h
ieee80211_ddb.c
ieee80211_dfs.c
ieee80211_dfs.h
ieee80211_freebsd.c Specify a CTLTYPE_FOO so that a future sysctl(8) change does not need 2011-01-18 21:14:13 +00:00
ieee80211_freebsd.h
ieee80211_hostap.c Fix some corner cases in the net80211 sequence number retransmission 2011-05-04 02:23:59 +00:00
ieee80211_hostap.h
ieee80211_ht.c Constantly use MHz instead of Mhz. 2011-03-13 13:05:50 +00:00
ieee80211_ht.h Complete the MCS rate table based on the final 802.11n std. While here 2011-03-10 18:17:24 +00:00
ieee80211_hwmp.c
ieee80211_input.c Add initial support for MIMO statistics to net80211. 2011-04-08 09:20:45 +00:00
ieee80211_input.h Fix some corner cases in the net80211 sequence number retransmission 2011-05-04 02:23:59 +00:00
ieee80211_ioctl.c Instead of always returning 0 to a scan request, indicate if there is 2011-01-30 14:05:21 +00:00
ieee80211_ioctl.h
ieee80211_mesh.c Fix some corner cases in the net80211 sequence number retransmission 2011-05-04 02:23:59 +00:00
ieee80211_mesh.h
ieee80211_monitor.c
ieee80211_monitor.h
ieee80211_node.c Revert r220907 and r220915. 2011-04-22 00:44:27 +00:00
ieee80211_node.h Add initial support for MIMO statistics to net80211. 2011-04-08 09:20:45 +00:00
ieee80211_output.c We need in.h for both INET and INET6, as according to RFC 3493 it 2011-04-25 16:37:47 +00:00
ieee80211_phy.c
ieee80211_phy.h
ieee80211_power.c
ieee80211_power.h
ieee80211_proto.c Fix a WME corner case found by the FreeBSD 802.11n testing crew. 2011-03-24 15:27:15 +00:00
ieee80211_proto.h Add initial support for MIMO statistics to net80211. 2011-04-08 09:20:45 +00:00
ieee80211_radiotap.c
ieee80211_radiotap.h
ieee80211_ratectl_none.c Some device drivers calculate various timing related things based on 2010-11-13 14:59:54 +00:00
ieee80211_ratectl.c Instead of using the AMRR ratectl algo as default for drivers which have 2010-11-06 18:17:20 +00:00
ieee80211_ratectl.h The ni_rctls checks are used to verify that a ratectl algo has set up 2010-11-14 09:59:52 +00:00
ieee80211_regdomain.c
ieee80211_regdomain.h
ieee80211_rssadapt.c
ieee80211_rssadapt.h
ieee80211_scan_sta.c Fix rmax calculation during BSS selection. 2011-03-13 11:58:40 +00:00
ieee80211_scan.c Change return code semantics of start_scan_locked(). Instead of reporting 2011-01-30 14:00:50 +00:00
ieee80211_scan.h
ieee80211_sta.c Fix some corner cases in the net80211 sequence number retransmission 2011-05-04 02:23:59 +00:00
ieee80211_sta.h
ieee80211_superg.c
ieee80211_superg.h
ieee80211_tdma.c
ieee80211_tdma.h
ieee80211_var.h First step on removing the harcoded RX/TX stream and MCS0-15 assumptions. 2011-03-13 11:40:18 +00:00
ieee80211_wds.c Fix some corner cases in the net80211 sequence number retransmission 2011-05-04 02:23:59 +00:00
ieee80211_wds.h
ieee80211_xauth.c
ieee80211.c While determining the maxrate for ieee80211_media_setup() honor 2011-03-13 11:47:43 +00:00
ieee80211.h Add a new mgmt subtype "ACTION NO ACK" defined in 802.11n-2009, while here 2011-02-21 19:59:43 +00:00