162306a36Sopenharmony_ci/* Firmware file reading and download helpers 262306a36Sopenharmony_ci * 362306a36Sopenharmony_ci * See copyright notice in main.c 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci#ifndef _ORINOCO_FW_H_ 662306a36Sopenharmony_ci#define _ORINOCO_FW_H_ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci/* Forward declations */ 962306a36Sopenharmony_cistruct orinoco_private; 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciint orinoco_download(struct orinoco_private *priv); 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#if defined(CONFIG_HERMES_CACHE_FW_ON_INIT) || defined(CONFIG_PM_SLEEP) 1462306a36Sopenharmony_civoid orinoco_cache_fw(struct orinoco_private *priv, int ap); 1562306a36Sopenharmony_civoid orinoco_uncache_fw(struct orinoco_private *priv); 1662306a36Sopenharmony_ci#else 1762306a36Sopenharmony_ci#define orinoco_cache_fw(priv, ap) do { } while (0) 1862306a36Sopenharmony_ci#define orinoco_uncache_fw(priv) do { } while (0) 1962306a36Sopenharmony_ci#endif 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci#endif /* _ORINOCO_FW_H_ */ 22