freebsd-dev/sys/dev/bwn
Adrian Chadd 45606ae1d5 [bwn] fill out phyctl_1 fields for N-PHY (and later, eventually.)
N-PHY and later require a lot more plcp specific setup for the PHY
to know what to transmit.  I've been spoilt by the atheros, intel
and realtek parts where you don't have to hand-assemble the PLCP
but .. well, apparently Broadcom require a lot more work.

This, and PHY-N itself, was the last major missing bit to get 11a
OFDM transmit to work.  Without this, CCK transmit worked but
OFDM transmit would always fail (with stat.phy_err set to 0x80.)

I have no idea what 0x80 is, and I went mad reading the broadcom
vendor driver to try and figure it out.

Tested:

* BCM4312 (PHY-LP)
* BCM4321 (PHY-N), 11a, 11bg.
2016-05-14 23:48:26 +00:00
..
bwn_mac.c [bhnd] Initial bhnd(4) SPROM/NVRAM support. 2016-05-08 19:14:05 +00:00
if_bwn_chipid.h [bwn] add BCMA chip identifiers. 2016-05-14 20:03:24 +00:00
if_bwn_cordic.h [bwn] add an implementation of "cordic" and imaginary math. 2016-05-14 23:33:13 +00:00
if_bwn_debug.h [bwn] add more debugging bits. 2016-05-14 20:02:02 +00:00
if_bwn_misc.h [bwn] implement reset improvements in preparation for PHY-N support 2016-05-14 23:20:46 +00:00
if_bwn_pci.c [bwn] [bhnd] initial support for using bhnd for if_bwn devices. 2016-05-04 23:38:27 +00:00
if_bwn_pcivar.h [bwn] [bhnd] initial support for using bhnd for if_bwn devices. 2016-05-04 23:38:27 +00:00
if_bwn_phy_common.c [bwn] begin migrating PHY common routines into if_bwn_phy_common.[ch]. 2016-05-14 20:11:48 +00:00
if_bwn_phy_common.h [bwn] begin migrating PHY common routines into if_bwn_phy_common.[ch]. 2016-05-14 20:11:48 +00:00
if_bwn_phy_g.c [bwn] missed commit! 2016-05-14 23:38:51 +00:00
if_bwn_phy_g.h [bwn] add new types, prepare for PHY-N; prepare for rev 5xx firmware. 2016-05-14 23:38:21 +00:00
if_bwn_phy_lp.c [bwn] use the shared bwn_sqrt() routine. 2016-05-14 23:13:44 +00:00
if_bwn_phy_lp.h [bwn] break out the LP PHY code into a separate file. 2016-05-02 21:06:02 +00:00
if_bwn_util.c [bwn] migrate sqrt and add another couple of util routines. 2016-05-14 19:52:04 +00:00
if_bwn_util.h [bwn] add Q52 macros. 2016-05-14 20:09:37 +00:00
if_bwn.c [bwn] fill out phyctl_1 fields for N-PHY (and later, eventually.) 2016-05-14 23:48:26 +00:00
if_bwnreg.h [bwn] add N-PHY related register defintions. 2016-05-13 18:41:36 +00:00
if_bwnvar.h [bwn] add new types, prepare for PHY-N; prepare for rev 5xx firmware. 2016-05-14 23:38:21 +00:00