On Nov 01 12:56:26, s...@stsp.name wrote: > This patch adds 802.11n 40MHz support to the iwn(4) driver. > > This driver supports many different devices. Please try to be precise > about which device you have tested so I can maintain a record of our > test coverage.
This is current/amd64 on a Thinkpad T400 with iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5300" rev 0x00: msi, MIMO 3T3R, MoW, address 00:21:6a:01:9f:ce > I have tested on a 6205 device. More tests are needed, especially on > the old 4965AGN generation because those chips require the driver to > do specific calibration work which newer chips perform in firmware. > I suspect you will find 4965 devices in older thinkpads which first > introduced 11n wifi to these laptops (the x60/x61 generation probably). I only had a 4965 in a Thinkpad R61 which I got rid of, sorry. > Because iwn(4) does not support MIMO yet, this pushes maximum throughput > from about 50 Mbit/s up to about 100 Mbit/s. Adding MIMO support would > probably double the speed again, but that is left for the future. > > To check whether your access point uses a 40MHz channel, run this command > while associated to the access point: > tcpdump -n -i iwn0 -v -y IEEE802_11_RADIO -s 4096 type mgt and subtype beacon 21:48:50.970252 802.11 flags=0<>: beacon, caps=2061<ESS,PRIVACY,SHORT_PREAMBLE,SHORT_SLOTTIME>, ssid (doma), rates 1M* 2M* 5M* 11M* 6M 9M 12M 18M, ds (chan 9), tim 0x00010000, erp 0x00, rsn=<version 1,groupcipher ccmp,cipher ccmp,akm PSK,rsncap 0x0>, xrates 24M 36M 48M 54M, htcaps=<20/40MHz,LDPC,SGI@20MHz,SGI@40MHz,TXSTBC,RXSTBC 1 stream,A-MSDU 3839,DSSS/CCK@40MHz,A-MPDU max 65535,A-MPDU spacing 8.00us,RxMCS 0xffff0000000000000000>, htop=<40MHz chan 9:8,RIFS,htprot 20MHz,non-greenfield STA,basic MCS set 0x0000000000000000>, 127:8 0x0000000000000040, vendor 0x0050f20101000050f20401000050f20401000050f202, vendor 0x0050f2020101800003a4000027a4000042435e0062322f00, vendor 0x00037f01010000ff7f, <radiotap v0, 1Mbit/s, chan 9, 11n, sig -38dBm, noise -97dBm> The wifi connection seems fine, everything works as before. As a naive test of speed, I am downloading a 100MB file from a http server just behind the AP with ftp -o /dev/null http://stare.cz/.tmp/file An average of ten runs is 5.31 MB/s without the diff and 3.37 MB/s with the (updated) diff. Jan