Ignore:
Timestamp:
09/12/06 13:46:45 (7 years ago)
Author:
smr26
Message:

Adds initial wireless support to libtrace. Applications can now use the trace_get_wireless_* functions to get wireless information such as signal strength, noise levels, frame check sequences, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/format_linux.c

    r971 r982  
    5050#include <sys/ioctl.h> 
    5151#include <errno.h> 
     52 
    5253 
    5354struct libtrace_format_data_t { 
     
    309310                case ARPHRD_PPP: 
    310311                        return TRACE_TYPE_NONE; 
     312        case ARPHRD_80211_RADIOTAP: 
     313            return TRACE_TYPE_80211_RADIO; 
    311314                default: /* shrug, beyond me! */ 
    312315                        printf("unknown Linux ARPHRD type 0x%04x\n",linktype); 
Note: See TracChangeset for help on using the changeset viewer.