aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_ap.h
diff options
context:
space:
mode:
authorJouni Malinen <jkmaline@cc.hut.fi>2005-08-14 22:08:43 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-14 23:07:30 -0400
commitc0f72ca8e4f1b459b5582c1c8dcaf7e53151f069 (patch)
tree4362f671ba43b48b73ac5378a1cb0954b407f09e /drivers/net/wireless/hostap/hostap_ap.h
parent3ec0f4857df4c3dd0d0455ce5b2470b4be77fc77 (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.h9
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 {
233ap_tx_ret hostap_handle_sta_tx(local_info_t *local, struct hostap_tx_data *tx); 233ap_tx_ret hostap_handle_sta_tx(local_info_t *local, struct hostap_tx_data *tx);
234void hostap_handle_sta_release(void *ptr); 234void hostap_handle_sta_release(void *ptr);
235void hostap_handle_sta_tx_exc(local_info_t *local, struct sk_buff *skb); 235void hostap_handle_sta_tx_exc(local_info_t *local, struct sk_buff *skb);
236int hostap_update_sta_ps(local_info_t *local, 236int hostap_update_sta_ps(local_info_t *local, struct ieee80211_hdr *hdr);
237 struct hostap_ieee80211_hdr *hdr);
238typedef enum { 237typedef 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);
245int hostap_handle_sta_crypto(local_info_t *local, 244int 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);
249int hostap_is_sta_assoc(struct ap_data *ap, u8 *sta_addr); 247int hostap_is_sta_assoc(struct ap_data *ap, u8 *sta_addr);
250int hostap_is_sta_authorized(struct ap_data *ap, u8 *sta_addr); 248int hostap_is_sta_authorized(struct ap_data *ap, u8 *sta_addr);
251int hostap_add_sta(struct ap_data *ap, u8 *sta_addr); 249int hostap_add_sta(struct ap_data *ap, u8 *sta_addr);
252int hostap_update_rx_stats(struct ap_data *ap, 250int 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);
255void hostap_update_rates(local_info_t *local); 252void hostap_update_rates(local_info_t *local);
256void hostap_add_wds_links(local_info_t *local); 253void hostap_add_wds_links(local_info_t *local);