diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2008-06-11 21:47:18 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-14 12:18:10 -0400 |
commit | be1f3ab6e5e9788fd2985117b40755130058a2be (patch) | |
tree | bfb3f526195076f866723880dc59dba4a82a49b0 /drivers/net/wireless/iwlwifi/iwl-sta.h | |
parent | 808e72a088d164cf0030f593d9a5fc23306fb6b6 (diff) |
iwlwifi: general code clean up
This patch cleans up iwlwifi's code: Add missing include, remove empty
lines etc...
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-sta.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.h b/drivers/net/wireless/iwlwifi/iwl-sta.h index 3d55716f5301..b6bb209fdd58 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.h +++ b/drivers/net/wireless/iwlwifi/iwl-sta.h | |||
@@ -32,18 +32,24 @@ | |||
32 | #define HW_KEY_DYNAMIC 0 | 32 | #define HW_KEY_DYNAMIC 0 |
33 | #define HW_KEY_DEFAULT 1 | 33 | #define HW_KEY_DEFAULT 1 |
34 | 34 | ||
35 | int iwl_get_free_ucode_key_index(struct iwl_priv *priv); | 35 | /** |
36 | * iwl_find_station - Find station id for a given BSSID | ||
37 | * @bssid: MAC address of station ID to find | ||
38 | */ | ||
39 | u8 iwl_find_station(struct iwl_priv *priv, const u8 *bssid); | ||
40 | |||
36 | int iwl_send_static_wepkey_cmd(struct iwl_priv *priv, u8 send_if_empty); | 41 | int iwl_send_static_wepkey_cmd(struct iwl_priv *priv, u8 send_if_empty); |
37 | int iwl_remove_default_wep_key(struct iwl_priv *priv, | 42 | int iwl_remove_default_wep_key(struct iwl_priv *priv, |
38 | struct ieee80211_key_conf *key); | 43 | struct ieee80211_key_conf *key); |
39 | int iwl_set_default_wep_key(struct iwl_priv *priv, | 44 | int iwl_set_default_wep_key(struct iwl_priv *priv, |
40 | struct ieee80211_key_conf *key); | 45 | struct ieee80211_key_conf *key); |
41 | int iwl_set_dynamic_key(struct iwl_priv *priv, | 46 | int iwl_set_dynamic_key(struct iwl_priv *priv, |
42 | struct ieee80211_key_conf *key, u8 sta_id); | 47 | struct ieee80211_key_conf *key, u8 sta_id); |
43 | int iwl_remove_dynamic_key(struct iwl_priv *priv, | 48 | int iwl_remove_dynamic_key(struct iwl_priv *priv, |
44 | struct ieee80211_key_conf *key, u8 sta_id); | 49 | struct ieee80211_key_conf *key, u8 sta_id); |
45 | int iwl_rxon_add_station(struct iwl_priv *priv, const u8 *addr, int is_ap); | 50 | int iwl_rxon_add_station(struct iwl_priv *priv, const u8 *addr, int is_ap); |
46 | u8 iwl_remove_station(struct iwl_priv *priv, const u8 *addr, int is_ap); | 51 | u8 iwl_remove_station(struct iwl_priv *priv, const u8 *addr, int is_ap); |
47 | int iwl_get_sta_id(struct iwl_priv *priv, struct ieee80211_hdr *hdr); | 52 | int iwl_get_sta_id(struct iwl_priv *priv, struct ieee80211_hdr *hdr); |
48 | void iwl_sta_modify_enable_tid_tx(struct iwl_priv *priv, int sta_id, int tid); | 53 | void iwl_sta_modify_enable_tid_tx(struct iwl_priv *priv, int sta_id, int tid); |
54 | int iwl_get_ra_sta_id(struct iwl_priv *priv, struct ieee80211_hdr *hdr); | ||
49 | #endif /* __iwl_sta_h__ */ | 55 | #endif /* __iwl_sta_h__ */ |