freebsd-skq/sys/dev/iwn
Adrian Chadd ade5fbb745 Correctly initialise the 2-chain antenna mask in the link quality table.
The previous code simply hard-coded IWN_ANT_AB which is only correct for
some of the NICs.

Now, if the NIC is a 1-stream TX, you need to set IWN_ANT_AB and _not_
just a single antenna.  The Intel 5100 firmware panics the moment the
link quality table is updated.

So!

* no secondary antenna? Set it to IWN_ANT_AB;
* two-stream device? Transmit on the full transmit antenna configuration.

Tested:

* Intel 5100, STA
* Intel 2200 (eadler)

Obtained from:	Linux iwlwifi
2013-11-13 07:09:00 +00:00
..
if_iwn_chip_cfg.h Commit over some work to prepare the iwn(4) driver for further chipset 2013-11-12 05:58:23 +00:00
if_iwn_debug.h Add Bluetooth/PAN (personal area networking) commands. 2013-11-04 05:52:42 +00:00
if_iwn_devid.h Add device ids for the Centrino 2x00 devices. 2013-11-04 05:40:19 +00:00
if_iwn.c Correctly initialise the 2-chain antenna mask in the link quality table. 2013-11-13 07:09:00 +00:00
if_iwnreg.h Add some new driver definitions as part of the chip support updates: 2013-11-09 06:30:09 +00:00
if_iwnvar.h Commit over some work to prepare the iwn(4) driver for further chipset 2013-11-12 05:58:23 +00:00