diff options
author | Jouni Malinen <jkmaline@cc.hut.fi> | 2005-08-14 22:08:43 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-14 23:07:30 -0400 |
commit | c0f72ca8e4f1b459b5582c1c8dcaf7e53151f069 (patch) | |
tree | 4362f671ba43b48b73ac5378a1cb0954b407f09e /drivers/net/wireless/hostap/hostap_ap.h | |
parent | 3ec0f4857df4c3dd0d0455ce5b2470b4be77fc77 (diff) |
[PATCH] hostap: Replace hostap_ieee80211_hdr with ieee80211_hdr
Replace hostap-specific struct hostap_ieee80211_hdr with struct
ieee80211_hdr from net/ieee80211.h.
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_ap.h')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_ap.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/wireless/hostap/hostap_ap.h b/drivers/net/wireless/hostap/hostap_ap.h index 512abc2c83a..816a52bcea8 100644 --- a/drivers/net/wireless/hostap/hostap_ap.h +++ b/drivers/net/wireless/hostap/hostap_ap.h | |||
@@ -233,8 +233,7 @@ struct hostap_tx_data { | |||
233 | ap_tx_ret hostap_handle_sta_tx(local_info_t *local, struct hostap_tx_data *tx); | 233 | ap_tx_ret hostap_handle_sta_tx(local_info_t *local, struct hostap_tx_data *tx); |
234 | void hostap_handle_sta_release(void *ptr); | 234 | void hostap_handle_sta_release(void *ptr); |
235 | void hostap_handle_sta_tx_exc(local_info_t *local, struct sk_buff *skb); | 235 | void hostap_handle_sta_tx_exc(local_info_t *local, struct sk_buff *skb); |
236 | int hostap_update_sta_ps(local_info_t *local, | 236 | int hostap_update_sta_ps(local_info_t *local, struct ieee80211_hdr *hdr); |
237 | struct hostap_ieee80211_hdr *hdr); | ||
238 | typedef enum { | 237 | typedef enum { |
239 | AP_RX_CONTINUE, AP_RX_DROP, AP_RX_EXIT, AP_RX_CONTINUE_NOT_AUTHORIZED | 238 | AP_RX_CONTINUE, AP_RX_DROP, AP_RX_EXIT, AP_RX_CONTINUE_NOT_AUTHORIZED |
240 | } ap_rx_ret; | 239 | } ap_rx_ret; |
@@ -242,15 +241,13 @@ ap_rx_ret hostap_handle_sta_rx(local_info_t *local, struct net_device *dev, | |||
242 | struct sk_buff *skb, | 241 | struct sk_buff *skb, |
243 | struct hostap_80211_rx_status *rx_stats, | 242 | struct hostap_80211_rx_status *rx_stats, |
244 | int wds); | 243 | int wds); |
245 | int hostap_handle_sta_crypto(local_info_t *local, | 244 | int hostap_handle_sta_crypto(local_info_t *local, struct ieee80211_hdr *hdr, |
246 | struct hostap_ieee80211_hdr *hdr, | ||
247 | struct ieee80211_crypt_data **crypt, | 245 | struct ieee80211_crypt_data **crypt, |
248 | void **sta_ptr); | 246 | void **sta_ptr); |
249 | int hostap_is_sta_assoc(struct ap_data *ap, u8 *sta_addr); | 247 | int hostap_is_sta_assoc(struct ap_data *ap, u8 *sta_addr); |
250 | int hostap_is_sta_authorized(struct ap_data *ap, u8 *sta_addr); | 248 | int hostap_is_sta_authorized(struct ap_data *ap, u8 *sta_addr); |
251 | int hostap_add_sta(struct ap_data *ap, u8 *sta_addr); | 249 | int hostap_add_sta(struct ap_data *ap, u8 *sta_addr); |
252 | int hostap_update_rx_stats(struct ap_data *ap, | 250 | int hostap_update_rx_stats(struct ap_data *ap, struct ieee80211_hdr *hdr, |
253 | struct hostap_ieee80211_hdr *hdr, | ||
254 | struct hostap_80211_rx_status *rx_stats); | 251 | struct hostap_80211_rx_status *rx_stats); |
255 | void hostap_update_rates(local_info_t *local); | 252 | void hostap_update_rates(local_info_t *local); |
256 | void hostap_add_wds_links(local_info_t *local); | 253 | void hostap_add_wds_links(local_info_t *local); |