ieee80211_input.h (9c79794016d679440487dea61b3b986397c9ecbb) ieee80211_input.h (519f677aff17ce417e74f2f2727313b5b3fed687)
1/*-
2 * Copyright (c) 2007-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 132 unchanged lines hidden (view full) ---

141{
142 return frm[1] > 3 && LE_READ_4(frm+2) == ((BCM_OUI_HTINFO<<24)|BCM_OUI);
143}
144
145void ieee80211_deliver_data(struct ieee80211vap *,
146 struct ieee80211_node *, struct mbuf *);
147struct mbuf *ieee80211_defrag(struct ieee80211_node *,
148 struct mbuf *, int);
1/*-
2 * Copyright (c) 2007-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 132 unchanged lines hidden (view full) ---

141{
142 return frm[1] > 3 && LE_READ_4(frm+2) == ((BCM_OUI_HTINFO<<24)|BCM_OUI);
143}
144
145void ieee80211_deliver_data(struct ieee80211vap *,
146 struct ieee80211_node *, struct mbuf *);
147struct mbuf *ieee80211_defrag(struct ieee80211_node *,
148 struct mbuf *, int);
149struct mbuf *ieee80211_realign(struct ieee80211vap *, struct mbuf *, size_t);
149struct mbuf *ieee80211_decap(struct ieee80211vap *, struct mbuf *, int);
150struct mbuf *ieee80211_decap1(struct mbuf *, int *);
151int ieee80211_setup_rates(struct ieee80211_node *ni,
152 const uint8_t *rates, const uint8_t *xrates, int flags);
153void ieee80211_send_error(struct ieee80211_node *,
154 const uint8_t mac[IEEE80211_ADDR_LEN], int subtype, int arg);
155int ieee80211_alloc_challenge(struct ieee80211_node *);
156int ieee80211_parse_beacon(struct ieee80211_node *, struct mbuf *,
157 struct ieee80211_scanparams *);
158int ieee80211_parse_action(struct ieee80211_node *, struct mbuf *);
159#endif /* _NET80211_IEEE80211_INPUT_H_ */
150struct mbuf *ieee80211_decap(struct ieee80211vap *, struct mbuf *, int);
151struct mbuf *ieee80211_decap1(struct mbuf *, int *);
152int ieee80211_setup_rates(struct ieee80211_node *ni,
153 const uint8_t *rates, const uint8_t *xrates, int flags);
154void ieee80211_send_error(struct ieee80211_node *,
155 const uint8_t mac[IEEE80211_ADDR_LEN], int subtype, int arg);
156int ieee80211_alloc_challenge(struct ieee80211_node *);
157int ieee80211_parse_beacon(struct ieee80211_node *, struct mbuf *,
158 struct ieee80211_scanparams *);
159int ieee80211_parse_action(struct ieee80211_node *, struct mbuf *);
160#endif /* _NET80211_IEEE80211_INPUT_H_ */