Search Linux Wireless

Re: [PATCH 2/3] iwmc3200wifi: shrink calibration lmac name

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

 



On Tue, 2009-05-26 at 12:43 +0800, Marcel Holtmann wrote:
> Hi guys,
> 
> > Firmware names can not be longer than 30 characters, and
> > iwmc3200wifi-lmac-calib-sdio.bin is too long.
> > Renaming it to iwmc3200wifi-calib-sdio.bin.
> 
> hold on with this one. This limit should _NOT_ exist. Is this an issue
> in the driver model?

It should be FW_LOADER framework implementation limitation.

request_firmware()
  -> fw_setup_device()
       -> fw_register_device()

fw_register_device()
{
	...
	strlcpy(fw_priv->fw_id, fw_name, FIRMWARE_NAME_MAX);
	...
}

FIRMWARE_NAME_MAX is defined 30 at this time.

Thanks,
-yi

--
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