freebsd-nq/sys
Adrian Chadd 5140f9e6ae Fix AMRR to correctly select the initial rate.
There were two bugs:

* If the initial lowest rate didn't go through the loop at least once,
  the AMRR rate index would be the highest rate in the table
  (eg the rix mapping to MCS15) but rate would stay at the default
  value, namely 0.

  This meant that the initial rate selection would be MCS15 _but_ the
  node ni_txrate value would be MCS0.

* If the node is 11n, then break out of the loop correctly.  Beforehand,
  my initial 11n AMRR commit would immediately exit out as it would
  fail the 11n check, then it would always fall through to the non-11n
  rate which would then see if it was < 36mbit (ie, "72"), which would
  always match.  Hence, it'd always return MCS15.

Tested:

* Intel Centrino 2230 STA (local changes), STA mode
* Intel Wifi 5100, STA
2013-11-09 07:30:13 +00:00
..
amd64 Add bits for the AMD features from CPUID function 0x80000001 ECX, 2013-11-08 16:32:30 +00:00
arm Eliminate an unused macro. 2013-11-08 16:56:13 +00:00
boot Extend loader_delay as-documented in beastie.4th(8) and delay.4th(8), making it available to architectures that do not use or load the beastie 2013-11-07 21:52:04 +00:00
bsm
cam Corrected definition for old_rate to match d_rotation_rate 2013-11-07 23:21:52 +00:00
cddl Use suword32 and suword64 instead of copyout(9). This fixes a bug in the 2013-11-05 06:13:46 +00:00
compat Fix build. 2013-11-05 19:17:19 +00:00
conf Remove the gross hack for the Octeon Simple Executive to the least 2013-11-06 05:26:15 +00:00
contrib Remove 'inline' from ar9300_init_pll(), it's too big to inline. 2013-11-08 16:28:00 +00:00
crypto make it so that from/to can be missaligned as it can happen (the geli 2013-11-06 19:14:49 +00:00
ddb
dev Add some new driver definitions as part of the chip support updates: 2013-11-09 06:30:09 +00:00
fs During code inspection, I spotted that there was a code path where 2013-11-03 23:17:30 +00:00
gdb
geom When zero'ing out a buffer, make sure we are using right size. 2013-11-02 01:16:10 +00:00
gnu/fs/reiserfs
i386 Fix signal delivery for the iBCS2 binaries. The iBCS2 sysvec uses 2013-11-08 16:57:55 +00:00
ia64 As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00
isa
kern Fix typo in a comment. 2013-11-08 20:11:15 +00:00
kgssapi
libkern
mips As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00
modules Build the iwn2000 firmware too. 2013-11-07 19:40:52 +00:00
net Provide compat layer for OSIOCAIFADDR. 2013-11-06 19:46:20 +00:00
net80211 Fix AMRR to correctly select the initial rate. 2013-11-09 07:30:13 +00:00
netatalk The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
netgraph Eliminate duplicated & dead code. 2013-11-08 22:40:33 +00:00
netinet Make TCP_KEEP* socket options readable. At least PostgreSQL wants 2013-11-08 13:04:14 +00:00
netinet6 Changes from upstream to improve compilation when INET or INET6 2013-11-02 20:12:19 +00:00
netipsec Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
netipx The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
netnatm Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
netpfil Fix fallout from r257223. Since pf_test_state_icmp() can call 2013-11-05 16:54:25 +00:00
netsmb Catch up with sb_timeo type change in r255138. This fixes 2013-11-08 08:44:09 +00:00
nfs The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
nfsclient The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
nfsserver The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
nlm
ofed Do not use a sleep lock when protecting the driver flags. 2013-11-08 18:28:48 +00:00
opencrypto
pc98
pci Add preliminary support for RTL8168EP. 2013-10-29 05:37:05 +00:00
powerpc As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00
rpc
security The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
sparc64 As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00
sys Provide compat layer for OSIOCAIFADDR. 2013-11-06 19:46:20 +00:00
teken
tools
ufs UFS2: make di_extsize unsigned. 2013-10-24 00:33:29 +00:00
vm Do not coalesce if the swap object belongs to tmpfs vnode. The 2013-11-05 06:18:50 +00:00
x86 Initialize variable in sys/x86/iommu/busdma_dmar.c, to avoid possible 2013-11-08 17:27:22 +00:00
xdr
xen Remove redundant redeclaration of gdtset in sys/xen/xen-os.h, to silence 2013-10-18 17:06:13 +00:00
Makefile