b43-dev.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: "Gábor Stefanik" <netrolller.3d@gmail.com>
To: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linville@tuxdriver.com, linux-mips@linux-mips.org,
	linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org,
	m@bues.ch, arend@broadcom.com
Subject: [PATCH 05/11] ssb: add some missing sprom attributes
Date: Sun, 19 Feb 2012 23:16:23 +0100	[thread overview]
Message-ID: <CA+XFjipnKcDP0F00_0i81PMYkje5avAywC6DfoLkjApAHf-1qw@mail.gmail.com> (raw)
In-Reply-To: <1329676345-15856-6-git-send-email-hauke@hauke-m.de>

On Sun, Feb 19, 2012 at 7:32 PM, Hauke Mehrtens <hauke@hauke-m.de> wrote:
> This patch extends the sprom struct to contain all sprom attributes
> found in sprom version 1 to 9. This was done accordingly to the open
> source part of the Braodcom SDK.

Typo.

>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
> ---
> ?include/linux/ssb/ssb.h | ? 76 ++++++++++++++++++++++++++++++++++++++++++++++-
> ?1 files changed, 75 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h
> index 44e486e..992c47a 100644
> --- a/include/linux/ssb/ssb.h
> +++ b/include/linux/ssb/ssb.h
> @@ -32,6 +32,8 @@ struct ssb_sprom {
> ? ? ? ?u8 et0mdcport; ? ? ? ? ?/* MDIO for enet0 */
> ? ? ? ?u8 et1mdcport; ? ? ? ? ?/* MDIO for enet1 */
> ? ? ? ?u16 board_rev; ? ? ? ? ?/* Board revision number from SPROM. */
> + ? ? ? u16 board_num; ? ? ? ? ?/* Board number number from SPROM. */

Please remove the repeated repeated word.

> + ? ? ? u16 board_type; ? ? ? ? /* Board type number from SPROM. */
> ? ? ? ?u8 country_code; ? ? ? ?/* Country Code */
> ? ? ? ?char ccode[2]; ? ? ? ? ?/* Country Code as two chars like EU or US */
> ? ? ? ?u8 leddc_on_time; ? ? ? /* LED Powersave Duty Cycle On Count */
> @@ -107,7 +109,79 @@ struct ssb_sprom {
> ? ? ? ? ? ? ? ?} ghz5;
> ? ? ? ?} fem;
>
> - ? ? ? /* TODO - add any parameters needed from rev 2, 3, 4, 5 or 8 SPROMs */
> + ? ? ? u16 mcs2gpo[8];
> + ? ? ? u16 mcs5gpo[8];
> + ? ? ? u16 mcs5glpo[8];
> + ? ? ? u16 mcs5ghpo[8];
> + ? ? ? u8 opo;
> +
> + ? ? ? u8 rxgainerr2ga[3];
> + ? ? ? u8 rxgainerr5gla[3];
> + ? ? ? u8 rxgainerr5gma[3];
> + ? ? ? u8 rxgainerr5gha[3];
> + ? ? ? u8 rxgainerr5gua[3];
> +
> + ? ? ? u8 noiselvl2ga[3];
> + ? ? ? u8 noiselvl5gla[3];
> + ? ? ? u8 noiselvl5gma[3];
> + ? ? ? u8 noiselvl5gha[3];
> + ? ? ? u8 noiselvl5gua[3];
> +
> + ? ? ? u8 regrev;
> + ? ? ? u8 txchain;
> + ? ? ? u8 rxchain;
> + ? ? ? u8 antswitch;
> + ? ? ? u16 cddpo;
> + ? ? ? u16 stbcpo;
> + ? ? ? u16 bw40po;
> + ? ? ? u16 bwduppo;
> +
> + ? ? ? u8 tempthresh;
> + ? ? ? u8 tempoffset;
> + ? ? ? u16 rawtempsense;
> + ? ? ? u8 measpower;
> + ? ? ? u8 tempsense_slope;
> + ? ? ? u8 tempcorrx;
> + ? ? ? u8 tempsense_option;
> + ? ? ? u8 freqoffset_corr;
> + ? ? ? u8 iqcal_swp_dis;
> + ? ? ? u8 hw_iqcal_en;
> + ? ? ? u8 elna2g;
> + ? ? ? u8 elna5g;
> + ? ? ? u8 phycal_tempdelta;
> + ? ? ? u8 temps_period;
> + ? ? ? u8 temps_hysteresis;
> + ? ? ? u8 measpower1;
> + ? ? ? u8 measpower2;
> + ? ? ? u8 pcieingress_war;
> +
> + ? ? ? /* power per rate from sromrev 9 */
> + ? ? ? u16 cckbw202gpo;
> + ? ? ? u16 cckbw20ul2gpo;
> + ? ? ? u32 legofdmbw202gpo;
> + ? ? ? u32 legofdmbw20ul2gpo;
> + ? ? ? u32 legofdmbw205glpo;
> + ? ? ? u32 legofdmbw20ul5glpo;
> + ? ? ? u32 legofdmbw205gmpo;
> + ? ? ? u32 legofdmbw20ul5gmpo;
> + ? ? ? u32 legofdmbw205ghpo;
> + ? ? ? u32 legofdmbw20ul5ghpo;
> + ? ? ? u32 mcsbw202gpo;
> + ? ? ? u32 mcsbw20ul2gpo;
> + ? ? ? u32 mcsbw402gpo;
> + ? ? ? u32 mcsbw205glpo;
> + ? ? ? u32 mcsbw20ul5glpo;
> + ? ? ? u32 mcsbw405glpo;
> + ? ? ? u32 mcsbw205gmpo;
> + ? ? ? u32 mcsbw20ul5gmpo;
> + ? ? ? u32 mcsbw405gmpo;
> + ? ? ? u32 mcsbw205ghpo;
> + ? ? ? u32 mcsbw20ul5ghpo;
> + ? ? ? u32 mcsbw405ghpo;
> + ? ? ? u16 mcs32po;
> + ? ? ? u16 legofdm40duppo;
> + ? ? ? u8 sar2g;
> + ? ? ? u8 sar5g;
> ?};
>
> ?/* Information about the PCB the circuitry is soldered on. */
> --
> 1.7.5.4
>
>
> _______________________________________________
> b43-dev mailing list
> b43-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/b43-dev



-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

  reply	other threads:[~2012-02-19 22:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-19 18:32 [PATCH 00/11] ssb/bcma/BCM47XX: sprom fixes and extensions Hauke Mehrtens
2012-02-19 18:32 ` [PATCH 01/11] ssb: sprom fix some sizes / signedness Hauke Mehrtens
2012-02-23 18:14   ` Rafał Miłecki
2012-02-23 21:27     ` Hauke Mehrtens
2012-02-19 18:32 ` [PATCH 02/11] ssb: remove 5GHz antenna gain from sprom Hauke Mehrtens
2012-02-19 19:14   ` Larry Finger
2012-02-19 19:17     ` Hauke Mehrtens
2012-02-19 18:32 ` [PATCH 03/11] ssb: fix per path sprom vars Hauke Mehrtens
2012-02-19 18:32 ` [PATCH 04/11] ssb: add ccode Hauke Mehrtens
2012-02-19 18:49   ` Michael Büsch
2012-02-19 19:28     ` Hauke Mehrtens
2012-02-19 19:50       ` Michael Büsch
2012-02-19 20:01         ` Hauke Mehrtens
2012-02-19 18:32 ` [PATCH 05/11] ssb: add some missing sprom attributes Hauke Mehrtens
2012-02-19 22:16   ` Gábor Stefanik [this message]
2012-02-19 18:32 ` [PATCH 06/11] bcma: export bcma_find_core Hauke Mehrtens
2012-02-19 18:32 ` [PATCH 07/11] bcma: add support for sprom not found on the device Hauke Mehrtens
2012-02-19 18:32 ` [PATCH 08/11] MIPS: BCM47XX: return number of written bytes in nvram_getenv Hauke Mehrtens
2012-02-19 18:32 ` [PATCH 09/11] MIPS: BCM47XX: fix signature of nvram_parse_macaddr Hauke Mehrtens
2012-02-19 18:32 ` [PATCH 10/11] MIPS: BCM47XX: move and extend sprom parsing Hauke Mehrtens
2012-02-19 18:32 ` [PATCH 11/11] MIPS: BCM47XX: provide sprom to bcma bus Hauke Mehrtens
2012-02-20 11:08   ` Sergei Shtylyov
2012-02-21 19:37 ` [PATCH 00/11] ssb/bcma/BCM47XX: sprom fixes and extensions John W. Linville
2012-02-21 19:52   ` Hauke Mehrtens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+XFjipnKcDP0F00_0i81PMYkje5avAywC6DfoLkjApAHf-1qw@mail.gmail.com \
    --to=netrolller.3d@gmail.com \
    --cc=arend@broadcom.com \
    --cc=b43-dev@lists.infradead.org \
    --cc=hauke@hauke-m.de \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=m@bues.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).