Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Side by Side Diff: chromeos/compat-wireless/drivers/net/wireless/orinoco/hw.h

Issue 5326002: Update compat-wireless to 2.6.36-5-spn (Closed) Base URL: http://git.chromium.org/git/kernel.git@master
Patch Set: Fixes for !ACK handling, missing local changes, log message fixes Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /* Encapsulate basic setting changes on Hermes hardware
2 *
3 * See copyright notice in main.c
4 */
5 #ifndef _ORINOCO_HW_H_
6 #define _ORINOCO_HW_H_
7
8 #include <linux/types.h>
9 #include <linux/wireless.h>
10 #include <net/cfg80211.h>
11
12 /* Hardware BAPs */
13 #define USER_BAP 0
14 #define IRQ_BAP 1
15
16 /* WEP key sizes */
17 #define SMALL_KEY_SIZE 5
18 #define LARGE_KEY_SIZE 13
19
20 /* Number of supported channels */
21 #define NUM_CHANNELS 14
22
23 /* Forward declarations */
24 struct orinoco_private;
25 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35))
26 struct dev_addr_list;
27 #endif
28
29 int determine_fw_capabilities(struct orinoco_private *priv, char *fw_name,
30 size_t fw_name_len, u32 *hw_ver);
31 int orinoco_hw_read_card_settings(struct orinoco_private *priv, u8 *dev_addr);
32 int orinoco_hw_allocate_fid(struct orinoco_private *priv);
33 int orinoco_get_bitratemode(int bitrate, int automatic);
34 void orinoco_get_ratemode_cfg(int ratemode, int *bitrate, int *automatic);
35
36 int orinoco_hw_program_rids(struct orinoco_private *priv);
37 int orinoco_hw_get_tkip_iv(struct orinoco_private *priv, int key, u8 *tsc);
38 int __orinoco_hw_set_bitrate(struct orinoco_private *priv);
39 int orinoco_hw_get_act_bitrate(struct orinoco_private *priv, int *bitrate);
40 int __orinoco_hw_set_wap(struct orinoco_private *priv);
41 int __orinoco_hw_setup_wepkeys(struct orinoco_private *priv);
42 int __orinoco_hw_setup_enc(struct orinoco_private *priv);
43 int __orinoco_hw_set_tkip_key(struct orinoco_private *priv, int key_idx,
44 int set_tx, u8 *key, u8 *rsc, size_t rsc_len,
45 u8 *tsc, size_t tsc_len);
46 int orinoco_clear_tkip_key(struct orinoco_private *priv, int key_idx);
47 int __orinoco_hw_set_multicast_list(struct orinoco_private *priv,
48 struct net_device *dev,
49 int mc_count, int promisc);
50 int orinoco_hw_get_essid(struct orinoco_private *priv, int *active,
51 char buf[IW_ESSID_MAX_SIZE+1]);
52 int orinoco_hw_get_freq(struct orinoco_private *priv);
53 int orinoco_hw_get_bitratelist(struct orinoco_private *priv,
54 int *numrates, s32 *rates, int max);
55 int orinoco_hw_trigger_scan(struct orinoco_private *priv,
56 const struct cfg80211_ssid *ssid);
57 int orinoco_hw_disassociate(struct orinoco_private *priv,
58 u8 *addr, u16 reason_code);
59 int orinoco_hw_get_current_bssid(struct orinoco_private *priv,
60 u8 *addr);
61
62 #endif /* _ORINOCO_HW_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698