[PATCH 1/5] wcn36xx: initialize device defaults on start

Kalle Valo kvalo at qca.qualcomm.com
Mon Mar 17 04:06:06 EDT 2014


Bob Copeland <me at bobcopeland.com> writes:

>> > +       WCN36XX_CFG_VAL(WCNSS_API_VERSION, 17039618),
>
> We should figure out exactly what this setting means.

I think this is the HAL API version host driver supports and the
firmware is supposed to do something clever if the version is wrong, but
I have never figured what exactly.

17039618 = 0x01040102 -> 01.04.01.02

It corresponds to this from hal.h:

/*---------------------------------------------------------------------------
  API VERSIONING INFORMATION

  The RIVA API is versioned as MAJOR.MINOR.VERSION.REVISION
  The MAJOR is incremented for major product/architecture changes
      (and then MINOR/VERSION/REVISION are zeroed)
  The MINOR is incremented for minor product/architecture changes
      (and then VERSION/REVISION are zeroed)
  The VERSION is incremented if a significant API change occurs
      (and then REVISION is zeroed)
  The REVISION is incremented if an insignificant API change occurs
      or if a new API is added
  All values are in the range 0..255 (ie they are 8-bit values)
 ---------------------------------------------------------------------------*/
#define WCN36XX_HAL_VER_MAJOR 1
#define WCN36XX_HAL_VER_MINOR 4
#define WCN36XX_HAL_VER_VERSION 1
#define WCN36XX_HAL_VER_REVISION 2

-- 
Kalle Valo



More information about the wcn36xx mailing list