diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-sta.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.h b/drivers/net/wireless/iwlwifi/iwl-sta.h index 2dc35fe28f5..87a34997a75 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.h +++ b/drivers/net/wireless/iwlwifi/iwl-sta.h | |||
@@ -32,6 +32,12 @@ | |||
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 | #define IWL_STA_DRIVER_ACTIVE BIT(0) /* driver entry is active */ | ||
36 | #define IWL_STA_UCODE_ACTIVE BIT(1) /* ucode entry is active */ | ||
37 | #define IWL_STA_UCODE_INPROGRESS BIT(2) /* ucode entry is in process of | ||
38 | being activated */ | ||
39 | |||
40 | |||
35 | /** | 41 | /** |
36 | * iwl_find_station - Find station id for a given BSSID | 42 | * iwl_find_station - Find station id for a given BSSID |
37 | * @bssid: MAC address of station ID to find | 43 | * @bssid: MAC address of station ID to find |
@@ -51,18 +57,22 @@ void iwl_update_tkip_key(struct iwl_priv *priv, | |||
51 | struct ieee80211_key_conf *keyconf, | 57 | struct ieee80211_key_conf *keyconf, |
52 | const u8 *addr, u32 iv32, u16 *phase1key); | 58 | const u8 *addr, u32 iv32, u16 *phase1key); |
53 | 59 | ||
54 | int iwl_rxon_add_station(struct iwl_priv *priv, const u8 *addr, bool is_ap); | ||
55 | void iwl_add_bcast_station(struct iwl_priv *priv); | 60 | void iwl_add_bcast_station(struct iwl_priv *priv); |
56 | void iwl3945_add_bcast_station(struct iwl_priv *priv); | 61 | void iwl3945_add_bcast_station(struct iwl_priv *priv); |
57 | int iwl_remove_station(struct iwl_priv *priv, const u8 *addr, bool is_ap); | 62 | void iwl_restore_stations(struct iwl_priv *priv); |
58 | void iwl_clear_stations_table(struct iwl_priv *priv); | 63 | void iwl_clear_ucode_stations(struct iwl_priv *priv, bool force); |
59 | int iwl_get_free_ucode_key_index(struct iwl_priv *priv); | 64 | int iwl_get_free_ucode_key_index(struct iwl_priv *priv); |
60 | int iwl_get_sta_id(struct iwl_priv *priv, struct ieee80211_hdr *hdr); | 65 | int iwl_get_sta_id(struct iwl_priv *priv, struct ieee80211_hdr *hdr); |
61 | int iwl_get_ra_sta_id(struct iwl_priv *priv, struct ieee80211_hdr *hdr); | 66 | int iwl_get_ra_sta_id(struct iwl_priv *priv, struct ieee80211_hdr *hdr); |
62 | int iwl_send_add_sta(struct iwl_priv *priv, | 67 | int iwl_send_add_sta(struct iwl_priv *priv, |
63 | struct iwl_addsta_cmd *sta, u8 flags); | 68 | struct iwl_addsta_cmd *sta, u8 flags); |
64 | u8 iwl_add_station(struct iwl_priv *priv, const u8 *addr, bool is_ap, u8 flags, | 69 | int iwl_add_local_station(struct iwl_priv *priv, const u8 *addr, bool init_rs); |
65 | struct ieee80211_sta_ht_cap *ht_info); | 70 | int iwl_add_station_common(struct iwl_priv *priv, const u8 *addr, |
71 | bool is_ap, | ||
72 | struct ieee80211_sta_ht_cap *ht_info, | ||
73 | u8 *sta_id_r); | ||
74 | int iwl_mac_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, | ||
75 | struct ieee80211_sta *sta); | ||
66 | void iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid); | 76 | void iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid); |
67 | int iwl_sta_rx_agg_start(struct iwl_priv *priv, | 77 | int iwl_sta_rx_agg_start(struct iwl_priv *priv, |
68 | const u8 *addr, int tid, u16 ssn); | 78 | const u8 *addr, int tid, u16 ssn); |