Changeset 146 for trunk

Show
Ignore:
Timestamp:
05/09/07 14:04:29 (20 months ago)
Author:
jwright
Message:

Added prototype for tx80211_selfack, modified lcpf_probereq to omit dest and BSSID fields, replaced with broadcast

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/lorcon_forge.c

    r145 r146  
    218218} 
    219219 
    220 void lcpf_probereq(struct lcpa_metapack *pack, uint8_t *src, uint8_t *dst,  
    221                                    uint8_t *bssid, int framecontrol, int duration,  
    222                                    int fragment, int sequence) { 
     220void lcpf_probereq(struct lcpa_metapack *pack, uint8_t *src, int framecontrol, 
     221                int duration, int fragment, int sequence) { 
     222 
    223223        uint8_t chunk[6] = "\xFF\xFF\xFF\xFF\xFF\xFF"; 
    224  
    225224        lcpf_80211headers(pack, 0, 4, framecontrol, duration, 
    226                                           dst, src, bssid, NULL, fragment, sequence); 
     225                        chunk, src, chunk, NULL, fragment, sequence); 
    227226} 
    228227 
  • trunk/lorcon_forge.h

    r145 r146  
    9797 
    9898/* Generate a probereq frame */ 
    99 void lcpf_probereq(struct lcpa_metapack *pack, uint8_t *src, uint8_t *dst,  
    100                                    uint8_t *bssid, int framecontrol, int duration, int fragment,  
    101                                    int sequence); 
     99void lcpf_probereq(struct lcpa_metapack *pack, uint8_t *src, int framecontrol, 
     100                                int duration, int fragment, int sequence); 
     101 
    102102/* Generate a proberesp frame */ 
    103103void lcpf_proberesp(struct lcpa_metapack *pack, uint8_t *dst, uint8_t *src,  
  • trunk/tx80211.h

    r144 r146  
    388388int tx80211_txpacket(struct tx80211 *in_tx, struct tx80211_packet *in_packet); 
    389389 
     390/* Selfack */ 
     391int tx80211_selfack(struct tx80211 *in_tx, uint8_t *address); 
     392 
    390393#endif