diff options
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/hw_ops.h')
| -rw-r--r-- | drivers/net/wireless/ti/wlcore/hw_ops.h | 18 | 
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/hw_ops.h b/drivers/net/wireless/ti/wlcore/hw_ops.h index 7fd260c02a0..1555ff97005 100644 --- a/drivers/net/wireless/ti/wlcore/hw_ops.h +++ b/drivers/net/wireless/ti/wlcore/hw_ops.h @@ -106,6 +106,15 @@ wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif)  	return 0;  } +static inline void +wlcore_hw_convert_fw_status(struct wl1271 *wl, void *raw_fw_status, +			    struct wl_fw_status *fw_status) +{ +	BUG_ON(!wl->ops->convert_fw_status); + +	wl->ops->convert_fw_status(wl, raw_fw_status, fw_status); +} +  static inline u32  wlcore_hw_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif)  { @@ -222,6 +231,15 @@ wlcore_hw_set_peer_cap(struct wl1271 *wl,  	return 0;  } +static inline u32 +wlcore_hw_convert_hwaddr(struct wl1271 *wl, u32 hwaddr) +{ +	if (!wl->ops->convert_hwaddr) +		BUG_ON(1); + +	return wl->ops->convert_hwaddr(wl, hwaddr); +} +  static inline bool  wlcore_hw_lnk_high_prio(struct wl1271 *wl, u8 hlid,  			struct wl1271_link *lnk)  | 
