Changeset 163 for trunk/mac80211inject.c
- Timestamp:
- 08/16/08 15:03:23 (5 months ago)
- Files:
-
- 1 moved
-
trunk/mac80211inject.c (moved) (moved from trunk/d80211inject.c) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/mac80211inject.c
r157 r163 25 25 #ifdef SYS_LINUX 26 26 27 #include " d80211inject.h"27 #include "mac80211inject.h" 28 28 #include "wtinject.h" 29 29 30 int tx80211_ d80211_init(struct tx80211 *in_tx)30 int tx80211_mac80211_init(struct tx80211 *in_tx) 31 31 { 32 in_tx->capabilities = tx80211_ d80211_capabilities();32 in_tx->capabilities = tx80211_mac80211_capabilities(); 33 33 in_tx->open_callthrough = &wtinj_open; 34 34 in_tx->close_callthrough = &wtinj_close; … … 37 37 in_tx->getchan_callthrough = &wtinj_getchannel; 38 38 in_tx->setchan_callthrough = &wtinj_setchannel; 39 in_tx->txpacket_callthrough = &tx80211_ d80211_send;39 in_tx->txpacket_callthrough = &tx80211_mac80211_send; 40 40 in_tx->setfuncmode_callthrough = &wtinj_setfuncmode; 41 41 … … 43 43 } 44 44 45 int tx80211_ d80211_capabilities()45 int tx80211_mac80211_capabilities() 46 46 { 47 47 return (TX80211_CAP_SNIFF | TX80211_CAP_TRANSMIT | … … 51 51 } 52 52 53 int tx80211_ d80211_send(struct tx80211 *in_tx, struct tx80211_packet *in_pkt)53 int tx80211_mac80211_send(struct tx80211 *in_tx, struct tx80211_packet *in_pkt) 54 54 { 55 55 struct tx80211_packet mwng_pkt;
