Changeset 163 for trunk/mac80211inject.c

Show
Ignore:
Timestamp:
08/16/08 15:03:23 (5 months ago)
Author:
dragorn
Message:

Expanded d80211 into mac80211 and added multiple other cards (from diff sent on irc

by someone who I can't find in the logs, and the original diff was broken so the
actions were recreated)

Files:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/mac80211inject.c

    r157 r163  
    2525#ifdef SYS_LINUX 
    2626 
    27 #include "d80211inject.h" 
     27#include "mac80211inject.h" 
    2828#include "wtinject.h" 
    2929 
    30 int tx80211_d80211_init(struct tx80211 *in_tx) 
     30int tx80211_mac80211_init(struct tx80211 *in_tx) 
    3131{ 
    32         in_tx->capabilities = tx80211_d80211_capabilities(); 
     32        in_tx->capabilities = tx80211_mac80211_capabilities(); 
    3333        in_tx->open_callthrough = &wtinj_open; 
    3434        in_tx->close_callthrough = &wtinj_close; 
     
    3737        in_tx->getchan_callthrough = &wtinj_getchannel; 
    3838        in_tx->setchan_callthrough = &wtinj_setchannel; 
    39         in_tx->txpacket_callthrough = &tx80211_d80211_send; 
     39        in_tx->txpacket_callthrough = &tx80211_mac80211_send; 
    4040        in_tx->setfuncmode_callthrough = &wtinj_setfuncmode; 
    4141 
     
    4343} 
    4444 
    45 int tx80211_d80211_capabilities() 
     45int tx80211_mac80211_capabilities() 
    4646{ 
    4747        return (TX80211_CAP_SNIFF | TX80211_CAP_TRANSMIT | 
     
    5151} 
    5252 
    53 int tx80211_d80211_send(struct tx80211 *in_tx, struct tx80211_packet *in_pkt) 
     53int tx80211_mac80211_send(struct tx80211 *in_tx, struct tx80211_packet *in_pkt) 
    5454{ 
    5555        struct tx80211_packet mwng_pkt;