Subject: Re: wl1251: NVS firmware data

From: Pali Rohár <[email-masked]>
Date: Tue, 9 Dec 2014 00:52:50 +0100

On Tuesday 09 December 2014 00:42:17 Dan Williams wrote:
> On Tue, 2014-12-09 at 00:23 +0100, Pali Rohár wrote:
> > On Monday 08 December 2014 23:51:07 Dan Williams wrote:
> > > Is the CAL data format generic to all wl1251 devices?  Or
> > > is the stuff in the CAL partition Nokia-specific?
> > 
> > Specific for Nokia devices.
> 
> Ok, but then something must transform that data into a format
> that the wl1251 chip can consume, correct?  What do other
> wl1251 platforms do to retrieve this information and set
> regulatory region?
> 
> Dan

It looks like wl1251 driver supports standard way to set 
regulatory settings. There is application which reads CAL data, 
cellular network info, ... and sent it to kernel (via Nokia 
specific netlink interface patch). And binary data which are sent 
are in same format as file wl1251-nvs.bin. And some bits which 
deterministically send to kernl depends on fcc.

-- 
Pali Rohár
[email-masked]