Search Linux Wireless

Re: [PATCH] WLAN: fix the path to the wl12xx firmwares

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 23, 2011 at 04:33:19PM +0200, Luciano Coelho wrote:
> Hi Sebastien,
> 
> On Wed, 2011-02-23 at 14:25 +0100, Sebastien Jan wrote:
> > Validated FW loading on a Ubuntu Natty alpha image, on a pandaboard
> > (embedding a WL1271).
> > 
> > Signed-off-by: Sebastien Jan <s-jan@xxxxxx>
> > ---
> 
> Thanks for working on getting the wl12xx driver to work on the
> pandaboard!
> 
> > diff --git a/drivers/net/wireless/wl12xx/wl12xx.h b/drivers/net/wireless/wl12xx/wl12xx.h
> > index 9050dd9..8ceb6a0 100644
> > --- a/drivers/net/wireless/wl12xx/wl12xx.h
> > +++ b/drivers/net/wireless/wl12xx/wl12xx.h
> > @@ -112,8 +112,8 @@ extern u32 wl12xx_debug_level;
> >  				  CFG_RX_CTL_EN | CFG_RX_BCN_EN |     \
> >  				  CFG_RX_AUTH_EN | CFG_RX_ASSOC_EN)
> >  
> > -#define WL1271_FW_NAME "wl1271-fw.bin"
> > -#define WL1271_NVS_NAME "wl1271-nvs.bin"
> > +#define WL1271_FW_NAME "ti-connectivity/wl1271-fw.bin"
> > +#define WL1271_NVS_NAME "ti-connectivity/wl1271-nvs.bin"
> 
> You're right.  Our firmware is (unfortunately) inside the
> ti-connectivity in linux-firmware.git.  So it would make sense to
> include the ti-connectivity/ directory when requesting for the firmware,
> but it's just damn ugly. :( The driver should not care at all where the
> firmware is to be fetched from, that should be up to the userspace.
> 
> Dunno what is the best thing to do about this.  Add the directory to the
> driver? Move the wl1271*.bin files to the root of linux-firmware? Does
> anybody have opinions about it?

I think there are a number of other drivers with embedded pathnames.

-- 
John W. Linville		Someday the world will need a hero, and you
linville@xxxxxxxxxxxxx			might be all we have.  Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux