libertas: [usb] use new firmware locations
[deliverable/linux.git] / drivers / net / wireless / libertas / decl.h
CommitLineData
e86dc1ca 1
876c9d3a
MT
2/**
3 * This file contains declaration referring to
4 * functions defined in other source files
5 */
6
10078321
HS
7#ifndef _LBS_DECL_H_
8#define _LBS_DECL_H_
876c9d3a 9
d0cf9c0d 10#include <linux/netdevice.h>
7732ca45 11
876c9d3a 12
10078321 13struct lbs_private;
876c9d3a
MT
14struct sk_buff;
15struct net_device;
1047d5ed 16struct cmd_ds_command;
876c9d3a 17
876c9d3a 18
e93156e7
HS
19/* ethtool.c */
20extern const struct ethtool_ops lbs_ethtool_ops;
7919b89c 21
876c9d3a 22
e93156e7
HS
23/* tx.c */
24void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count);
d0cf9c0d
SH
25netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb,
26 struct net_device *dev);
876c9d3a 27
e93156e7 28/* rx.c */
69f9032d 29int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *);
876c9d3a 30
876c9d3a 31
876c9d3a 32/* main.c */
69f9032d 33struct lbs_private *lbs_add_card(void *card, struct device *dmdev);
a63e5cb2 34void lbs_remove_card(struct lbs_private *priv);
69f9032d 35int lbs_start_card(struct lbs_private *priv);
a63e5cb2 36void lbs_stop_card(struct lbs_private *priv);
e775ed7c 37void lbs_host_to_card_done(struct lbs_private *priv);
10078321 38
e86dc1ca
KD
39int lbs_rtap_supported(struct lbs_private *priv);
40
e0e42da3
HS
41int lbs_set_mac_address(struct net_device *dev, void *addr);
42void lbs_set_multicast_list(struct net_device *dev);
43
e93156e7 44int lbs_suspend(struct lbs_private *priv);
66fceb69 45int lbs_resume(struct lbs_private *priv);
e93156e7
HS
46
47void lbs_queue_event(struct lbs_private *priv, u32 event);
48void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx);
49
50int lbs_enter_auto_deep_sleep(struct lbs_private *priv);
51int lbs_exit_auto_deep_sleep(struct lbs_private *priv);
52
53u32 lbs_fw_index_to_data_rate(u8 index);
54u8 lbs_data_rate_to_fw_index(u32 rate);
55
10078321 56#endif
This page took 0.506373 seconds and 5 git commands to generate.