Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
rt2x00dump_hdr Struct Reference

#include <rt2x00dump.h>

Data Fields

__le32 version
 
__le32 header_length
 
__le32 desc_length
 
__le32 data_length
 
__le16 chip_rt
 
__le16 chip_rf
 
__le16 chip_rev
 
__le16 type
 
__u8 queue_index
 
__u8 entry_index
 
__le32 timestamp_sec
 
__le32 timestamp_usec
 

Detailed Description

struct rt2x00dump_hdr - Dump frame header

Each frame dumped to the debugfs file starts with this header attached. This header contains the description of the actual frame which was dumped.

New fields inside the structure must be appended to the end of the structure. This way userspace tools compiled for earlier header versions can still correctly handle the frame dump (although they will not handle all data passed to them in the dump).

Version
: Header version should always be set to DUMP_HEADER_VERSION. This field must be checked by userspace to determine if it can handle this frame. : The length of the &rt2x00dump_hdr structure. This is used for compatibility reasons so userspace can easily determine the location of the next field in the dump. : The length of the device descriptor. : The length of the frame data (including the ieee802.11 header. : RT chipset : RF chipset : Chipset revision : The frame type (&rt2x00_dump_type) : The index number of the data queue. : The index number of the entry inside the data queue. : Timestamp - seconds : Timestamp - microseconds

Definition at line 109 of file rt2x00dump.h.

Field Documentation

__le16 chip_rev

Definition at line 119 of file rt2x00dump.h.

__le16 chip_rf

Definition at line 118 of file rt2x00dump.h.

__le16 chip_rt

Definition at line 117 of file rt2x00dump.h.

__le32 data_length

Definition at line 115 of file rt2x00dump.h.

__le32 desc_length

Definition at line 114 of file rt2x00dump.h.

__u8 entry_index

Definition at line 123 of file rt2x00dump.h.

__le32 header_length

Definition at line 113 of file rt2x00dump.h.

Definition at line 122 of file rt2x00dump.h.

__le32 timestamp_sec

Definition at line 125 of file rt2x00dump.h.

__le32 timestamp_usec

Definition at line 126 of file rt2x00dump.h.

Definition at line 121 of file rt2x00dump.h.

__le32 version

Definition at line 110 of file rt2x00dump.h.


The documentation for this struct was generated from the following file: