From 53daa9cd9ce42c7b5c1b3f9ab3dc8882d667f0e4 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Mon, 9 May 2016 06:05:23 +0000 Subject: [PATCH] [siba] add FEM variables from the r8 SPROM layout. This will eventually be used the bwn(4) N-PHY code that I'm (slowly) writing. Obtained from: Linux b43 --- sys/dev/siba/sibareg.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/dev/siba/sibareg.h b/sys/dev/siba/sibareg.h index c2a4fdbfbd79..786985029d96 100644 --- a/sys/dev/siba/sibareg.h +++ b/sys/dev/siba/sibareg.h @@ -414,6 +414,13 @@ #define SIBA_SPROM8_RXPO 0x10ac #define SIBA_SPROM8_RXPO2G 0x00ff #define SIBA_SPROM8_RXPO5G 0xff00 +#define SIBA_SPROM8_FEM2G 0x00AE +#define SIBA_SPROM8_FEM5G 0x00B0 +#define SSB_SROM8_FEM_TSSIPOS 0x0001 +#define SSB_SROM8_FEM_EXTPA_GAIN 0x0006 +#define SSB_SROM8_FEM_PDET_RANGE 0x00F8 +#define SSB_SROM8_FEM_TR_ISO 0x0700 +#define SSB_SROM8_FEM_ANTSWLUT 0xF800 #define SIBA_SPROM8_MAXP_BG 0x10c0 #define SIBA_SPROM8_MAXP_BG_MASK 0x00ff #define SIBA_SPROM8_TSSI_BG 0xff00