~ubuntu-branches/ubuntu/natty/linux-backports-modules-2.6.38/natty-proposed

« back to all changes in this revision

Viewing changes to updates/cw-2.6.39/drivers/net/wireless/libertas/decl.h

  • Committer: Bazaar Package Importer
  • Author(s): Tim Gardner, Tim Gardner
  • Date: 2011-06-08 10:44:09 UTC
  • Revision ID: james.westby@ubuntu.com-20110608104409-fnl8carkdo15bwsz
Tags: 2.6.38-10.6
[ Tim Gardner ]

Shorten compat-wireless package name to cw to accomodate
CDROM file name length restrictions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/**
 
3
  *  This file contains declaration referring to
 
4
  *  functions defined in other source files
 
5
  */
 
6
 
 
7
#ifndef _LBS_DECL_H_
 
8
#define _LBS_DECL_H_
 
9
 
 
10
#include <linux/netdevice.h>
 
11
#include <linux/firmware.h>
 
12
 
 
13
/* Should be terminated by a NULL entry */
 
14
struct lbs_fw_table {
 
15
        int model;
 
16
        const char *helper;
 
17
        const char *fwname;
 
18
};
 
19
 
 
20
struct lbs_private;
 
21
struct sk_buff;
 
22
struct net_device;
 
23
struct cmd_ds_command;
 
24
 
 
25
 
 
26
/* ethtool.c */
 
27
extern const struct ethtool_ops lbs_ethtool_ops;
 
28
 
 
29
 
 
30
/* tx.c */
 
31
void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count);
 
32
netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb,
 
33
                                struct net_device *dev);
 
34
 
 
35
/* rx.c */
 
36
int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *);
 
37
 
 
38
 
 
39
/* main.c */
 
40
struct lbs_private *lbs_add_card(void *card, struct device *dmdev);
 
41
void lbs_remove_card(struct lbs_private *priv);
 
42
int lbs_start_card(struct lbs_private *priv);
 
43
void lbs_stop_card(struct lbs_private *priv);
 
44
void lbs_host_to_card_done(struct lbs_private *priv);
 
45
 
 
46
int lbs_rtap_supported(struct lbs_private *priv);
 
47
 
 
48
int lbs_set_mac_address(struct net_device *dev, void *addr);
 
49
void lbs_set_multicast_list(struct net_device *dev);
 
50
 
 
51
int lbs_suspend(struct lbs_private *priv);
 
52
int lbs_resume(struct lbs_private *priv);
 
53
 
 
54
void lbs_queue_event(struct lbs_private *priv, u32 event);
 
55
void lbs_notify_command_response(struct lbs_private *priv, u8 resp_idx);
 
56
 
 
57
int lbs_enter_auto_deep_sleep(struct lbs_private *priv);
 
58
int lbs_exit_auto_deep_sleep(struct lbs_private *priv);
 
59
 
 
60
u32 lbs_fw_index_to_data_rate(u8 index);
 
61
u8 lbs_data_rate_to_fw_index(u32 rate);
 
62
 
 
63
int lbs_get_firmware(struct device *dev, const char *user_helper,
 
64
                        const char *user_mainfw, u32 card_model,
 
65
                        const struct lbs_fw_table *fw_table,
 
66
                        const struct firmware **helper,
 
67
                        const struct firmware **mainfw);
 
68
 
 
69
#endif