diff options
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/pci.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c index 34c3bab90b9a..973223f5de8e 100644 --- a/drivers/ssb/pci.c +++ b/drivers/ssb/pci.c | |||
@@ -607,6 +607,29 @@ static void sprom_extract_r8(struct ssb_sprom *out, const u16 *in) | |||
607 | memcpy(&out->antenna_gain.ghz5, &out->antenna_gain.ghz24, | 607 | memcpy(&out->antenna_gain.ghz5, &out->antenna_gain.ghz24, |
608 | sizeof(out->antenna_gain.ghz5)); | 608 | sizeof(out->antenna_gain.ghz5)); |
609 | 609 | ||
610 | /* Extract FEM info */ | ||
611 | SPEX(fem.ghz2.tssipos, SSB_SPROM8_FEM2G, | ||
612 | SSB_SROM8_FEM_TSSIPOS, SSB_SROM8_FEM_TSSIPOS_SHIFT); | ||
613 | SPEX(fem.ghz2.extpa_gain, SSB_SPROM8_FEM2G, | ||
614 | SSB_SROM8_FEM_EXTPA_GAIN, SSB_SROM8_FEM_EXTPA_GAIN_SHIFT); | ||
615 | SPEX(fem.ghz2.pdet_range, SSB_SPROM8_FEM2G, | ||
616 | SSB_SROM8_FEM_PDET_RANGE, SSB_SROM8_FEM_PDET_RANGE_SHIFT); | ||
617 | SPEX(fem.ghz2.tr_iso, SSB_SPROM8_FEM2G, | ||
618 | SSB_SROM8_FEM_TR_ISO, SSB_SROM8_FEM_TR_ISO_SHIFT); | ||
619 | SPEX(fem.ghz2.antswlut, SSB_SPROM8_FEM2G, | ||
620 | SSB_SROM8_FEM_ANTSWLUT, SSB_SROM8_FEM_ANTSWLUT_SHIFT); | ||
621 | |||
622 | SPEX(fem.ghz5.tssipos, SSB_SPROM8_FEM5G, | ||
623 | SSB_SROM8_FEM_TSSIPOS, SSB_SROM8_FEM_TSSIPOS_SHIFT); | ||
624 | SPEX(fem.ghz5.extpa_gain, SSB_SPROM8_FEM5G, | ||
625 | SSB_SROM8_FEM_EXTPA_GAIN, SSB_SROM8_FEM_EXTPA_GAIN_SHIFT); | ||
626 | SPEX(fem.ghz5.pdet_range, SSB_SPROM8_FEM5G, | ||
627 | SSB_SROM8_FEM_PDET_RANGE, SSB_SROM8_FEM_PDET_RANGE_SHIFT); | ||
628 | SPEX(fem.ghz5.tr_iso, SSB_SPROM8_FEM5G, | ||
629 | SSB_SROM8_FEM_TR_ISO, SSB_SROM8_FEM_TR_ISO_SHIFT); | ||
630 | SPEX(fem.ghz5.antswlut, SSB_SPROM8_FEM5G, | ||
631 | SSB_SROM8_FEM_ANTSWLUT, SSB_SROM8_FEM_ANTSWLUT_SHIFT); | ||
632 | |||
610 | sprom_extract_r458(out, in); | 633 | sprom_extract_r458(out, in); |
611 | 634 | ||
612 | /* TODO - get remaining rev 8 stuff needed */ | 635 | /* TODO - get remaining rev 8 stuff needed */ |