/* * To use the debug system; * * If you are defining a new debug classification, simply add it to the #define * list here in the form of: * * #define IPW_DL_xxxx VALUE * * shifting value to the left one bit from the previous entry. xxxx should be * the name of the classification (for example, WEP) * * You then need to either add a IPW2100_xxxx_DEBUG() macro definition for your * classification, or use IPW_DEBUG(IPW_DL_xxxx, ...) whenever you want * to send output to that classification. * * To add your debug level to the list of levels seen when you perform * * % cat /proc/net/ipw2100/debug_level * * you simply need to add your entry to the ipw2100_debug_levels array. * * If you do not see debug_level in /proc/net/ipw2100 then you do not have * CONFIG_IPW2100_DEBUG defined in your kernel configuration *
*/
struct ipw2100_bd {
u32 host_addr;
u32 buf_length; struct bd_status status; /* number of fragments for frame (should be set only for
* 1st TBD) */
u8 num_fragments;
u8 reserved[6];
} __packed;
/* Host Notification header */ struct ipw2100_notification {
u32 hnhdr_subtype; /* type of host notification */
u32 hnhdr_size; /* size in bytes of data or number of entries, if table.
Does NOT include header */
} __packed;
u32 channel_mask;
u32 fatal_error;
u32 fatal_errors[IPW2100_ERROR_QUEUE];
u32 fatal_index; int eeprom_version; int firmware_version; unsignedlong hw_features; int hangs;
u32 last_rtc; int dump_raw; /* 1 to dump raw bytes in /sys/.../memory */
u8 *snapshot[0x30];
/********************************************************* * Host Command -> From Driver to FW
*********************************************************/
IPW_ORD_STAT_NULL_DATA = 21, // # of successful NULL data Tx's
IPW_ORD_STAT_TX_RTS, // # of successful Tx RTS
IPW_ORD_STAT_TX_CTS, // # of successful Tx CTS
IPW_ORD_STAT_TX_ACK, // # of successful Tx ACK
IPW_ORD_STAT_TX_ASSN, // # of successful Association Tx's
IPW_ORD_STAT_TX_ASSN_RESP, // # of successful Association response Tx's
IPW_ORD_STAT_TX_REASSN, // # of successful Reassociation Tx's
IPW_ORD_STAT_TX_REASSN_RESP, // # of successful Reassociation response Tx's
IPW_ORD_STAT_TX_PROBE, // # of probes successfully transmitted
IPW_ORD_STAT_TX_PROBE_RESP, // # of probe responses successfully transmitted
IPW_ORD_STAT_TX_BEACON, // # of tx beacon
IPW_ORD_STAT_TX_ATIM, // # of Tx ATIM
IPW_ORD_STAT_TX_DISASSN, // # of successful Disassociation TX
IPW_ORD_STAT_TX_AUTH, // # of successful Authentication Tx
IPW_ORD_STAT_TX_DEAUTH, // # of successful Deauthentication TX
IPW_ORD_STAT_TX_TOTAL_BYTES = 41, // Total successful Tx data bytes
IPW_ORD_STAT_TX_RETRIES, // # of Tx retries
IPW_ORD_STAT_TX_RETRY1, // # of Tx retries at 1MBPS
IPW_ORD_STAT_TX_RETRY2, // # of Tx retries at 2MBPS
IPW_ORD_STAT_TX_RETRY5_5, // # of Tx retries at 5.5MBPS
IPW_ORD_STAT_TX_RETRY11, // # of Tx retries at 11MBPS
IPW_ORD_STAT_TX_FAILURES = 51, // # of Tx Failures
IPW_ORD_STAT_TX_ABORT_AT_HOP, //NS // # of Tx's aborted at hop time
IPW_ORD_STAT_TX_MAX_TRIES_IN_HOP, // # of times max tries in a hop failed
IPW_ORD_STAT_TX_ABORT_LATE_DMA, //NS // # of times tx aborted due to late dma setup
IPW_ORD_STAT_TX_ABORT_STX, //NS // # of times backoff aborted
IPW_ORD_STAT_TX_DISASSN_FAIL, // # of times disassociation failed
IPW_ORD_STAT_TX_ERR_CTS, // # of missed/bad CTS frames
IPW_ORD_STAT_TX_BPDU, //NS // # of spanning tree BPDUs sent
IPW_ORD_STAT_TX_ERR_ACK, // # of tx err due to acks
// Receive statistics
IPW_ORD_STAT_RX_HOST = 61, // # of packets passed to host
IPW_ORD_STAT_RX_DIR_DATA, // # of directed packets
IPW_ORD_STAT_RX_DIR_DATA1, // # of directed packets at 1MB
IPW_ORD_STAT_RX_DIR_DATA2, // # of directed packets at 2MB
IPW_ORD_STAT_RX_DIR_DATA5_5, // # of directed packets at 5.5MB
IPW_ORD_STAT_RX_DIR_DATA11, // # of directed packets at 11MB
IPW_ORD_STAT_RX_DIR_DATA22, // # of directed packets at 22MB
IPW_ORD_STAT_RX_NODIR_DATA = 71, // # of nondirected packets
IPW_ORD_STAT_RX_NODIR_DATA1, // # of nondirected packets at 1MB
IPW_ORD_STAT_RX_NODIR_DATA2, // # of nondirected packets at 2MB
IPW_ORD_STAT_RX_NODIR_DATA5_5, // # of nondirected packets at 5.5MB
IPW_ORD_STAT_RX_NODIR_DATA11, // # of nondirected packets at 11MB
IPW_ORD_STAT_RX_NULL_DATA = 80, // # of null data rx's
IPW_ORD_STAT_RX_POLL, //NS // # of poll rx
IPW_ORD_STAT_RX_RTS, // # of Rx RTS
IPW_ORD_STAT_RX_CTS, // # of Rx CTS
IPW_ORD_STAT_RX_ACK, // # of Rx ACK
IPW_ORD_STAT_RX_CFEND, // # of Rx CF End
IPW_ORD_STAT_RX_CFEND_ACK, // # of Rx CF End + CF Ack
IPW_ORD_STAT_RX_ASSN, // # of Association Rx's
IPW_ORD_STAT_RX_ASSN_RESP, // # of Association response Rx's
IPW_ORD_STAT_RX_REASSN, // # of Reassociation Rx's
IPW_ORD_STAT_RX_REASSN_RESP, // # of Reassociation response Rx's
IPW_ORD_STAT_RX_PROBE, // # of probe Rx's
IPW_ORD_STAT_RX_PROBE_RESP, // # of probe response Rx's
IPW_ORD_STAT_RX_BEACON, // # of Rx beacon
IPW_ORD_STAT_RX_ATIM, // # of Rx ATIM
IPW_ORD_STAT_RX_DISASSN, // # of disassociation Rx
IPW_ORD_STAT_RX_AUTH, // # of authentication Rx
IPW_ORD_STAT_RX_DEAUTH, // # of deauthentication Rx
IPW_ORD_STAT_RX_TOTAL_BYTES = 101, // Total rx data bytes received
IPW_ORD_STAT_RX_ERR_CRC, // # of packets with Rx CRC error
IPW_ORD_STAT_RX_ERR_CRC1, // # of Rx CRC errors at 1MB
IPW_ORD_STAT_RX_ERR_CRC2, // # of Rx CRC errors at 2MB
IPW_ORD_STAT_RX_ERR_CRC5_5, // # of Rx CRC errors at 5.5MB
IPW_ORD_STAT_RX_ERR_CRC11, // # of Rx CRC errors at 11MB
IPW_ORD_STAT_RX_DUPLICATE1 = 112, // # of duplicate rx packets at 1MB
IPW_ORD_STAT_RX_DUPLICATE2, // # of duplicate rx packets at 2MB
IPW_ORD_STAT_RX_DUPLICATE5_5, // # of duplicate rx packets at 5.5MB
IPW_ORD_STAT_RX_DUPLICATE11, // # of duplicate rx packets at 11MB
IPW_ORD_STAT_RX_DUPLICATE = 119, // # of duplicate rx packets
IPW_ORD_PERS_DB_LOCK = 120, // # locking fw permanent db
IPW_ORD_PERS_DB_SIZE, // # size of fw permanent db
IPW_ORD_PERS_DB_ADDR, // # address of fw permanent db
IPW_ORD_STAT_RX_INVALID_PROTOCOL, // # of rx frames with invalid protocol
IPW_ORD_SYS_BOOT_TIME, // # Boot time
IPW_ORD_STAT_RX_NO_BUFFER, // # of rx frames rejected due to no buffer
IPW_ORD_STAT_RX_ABORT_LATE_DMA, //NS // # of rx frames rejected due to dma setup too late
IPW_ORD_STAT_RX_ABORT_AT_HOP, //NS // # of rx frames aborted due to hop
IPW_ORD_STAT_RX_MISSING_FRAG, // # of rx frames dropped due to missing fragment
IPW_ORD_STAT_RX_ORPHAN_FRAG, // # of rx frames dropped due to non-sequential fragment
IPW_ORD_STAT_RX_ORPHAN_FRAME, // # of rx frames dropped due to unmatched 1st frame
IPW_ORD_STAT_RX_FRAG_AGEOUT, // # of rx frames dropped due to uncompleted frame
IPW_ORD_STAT_RX_BAD_SSID, //NS // Bad SSID (unused)
IPW_ORD_STAT_RX_ICV_ERRORS, // # of ICV errors during decryption
// PSP Statistics
IPW_ORD_STAT_PSP_SUSPENSION = 137, // # of times adapter suspended
IPW_ORD_STAT_PSP_BCN_TIMEOUT, // # of beacon timeout
IPW_ORD_STAT_PSP_POLL_TIMEOUT, // # of poll response timeouts
IPW_ORD_STAT_PSP_NONDIR_TIMEOUT, // # of timeouts waiting for last broadcast/muticast pkt
IPW_ORD_STAT_PSP_RX_DTIMS, // # of PSP DTIMs received
IPW_ORD_STAT_PSP_RX_TIMS, // # of PSP TIMs received
IPW_ORD_STAT_PSP_STATION_ID, // PSP Station ID
// Association and roaming
IPW_ORD_LAST_ASSN_TIME = 147, // RTC time of last association
IPW_ORD_STAT_PERCENT_MISSED_BCNS, // current calculation of % missed beacons
IPW_ORD_STAT_PERCENT_RETRIES, // current calculation of % missed tx retries
IPW_ORD_ASSOCIATED_AP_PTR, // If associated, this is ptr to the associated // AP table entry. set to 0 if not associated
IPW_ORD_AVAILABLE_AP_CNT, // # of AP's described in the AP table
IPW_ORD_AP_LIST_PTR, // Ptr to list of available APs
IPW_ORD_STAT_AP_ASSNS, // # of associations
IPW_ORD_STAT_ASSN_FAIL, // # of association failures
IPW_ORD_STAT_ASSN_RESP_FAIL, // # of failuresdue to response fail
IPW_ORD_STAT_FULL_SCANS, // # of full scans
IPW_ORD_CARD_DISABLED, // # Card Disabled
IPW_ORD_STAT_ROAM_INHIBIT, // # of times roaming was inhibited due to ongoing activity
IPW_FILLER_40,
IPW_ORD_RSSI_AT_ASSN = 160, // RSSI of associated AP at time of association
IPW_ORD_STAT_ASSN_CAUSE1, // # of reassociations due to no tx from AP in last N // hops or no prob_ responses in last 3 minutes
IPW_ORD_STAT_ASSN_CAUSE2, // # of reassociations due to poor tx/rx quality
IPW_ORD_STAT_ASSN_CAUSE3, // # of reassociations due to tx/rx quality with excessive // load at the AP
IPW_ORD_STAT_ASSN_CAUSE4, // # of reassociations due to AP RSSI level fell below // eligible group
IPW_ORD_STAT_ASSN_CAUSE5, // # of reassociations due to load leveling
IPW_ORD_STAT_ASSN_CAUSE6, //NS // # of reassociations due to dropped by Ap
IPW_FILLER_41,
IPW_FILLER_42,
IPW_FILLER_43,
IPW_ORD_STAT_AUTH_FAIL, // # of times authentication failed
IPW_ORD_STAT_AUTH_RESP_FAIL, // # of times authentication response failed
IPW_ORD_STATION_TABLE_CNT, // # of entries in association table
// Other statistics
IPW_ORD_RSSI_AVG_CURR = 173, // Current avg RSSI
IPW_ORD_STEST_RESULTS_CURR, //NS // Current self test results word
IPW_ORD_STEST_RESULTS_CUM, //NS // Cummulative self test results word
IPW_ORD_SELF_TEST_STATUS, //NS //
IPW_ORD_POWER_MGMT_MODE, // Power mode - 0=CAM, 1=PSP
IPW_ORD_POWER_MGMT_INDEX, //NS //
IPW_ORD_COUNTRY_CODE, // IEEE country code as recv'd from beacon
IPW_ORD_COUNTRY_CHANNELS, // channels supported by country // IPW_ORD_COUNTRY_CHANNELS: // For 11b the lower 2-byte are used for channels from 1-14 // and the higher 2-byte are not used.
IPW_ORD_RESET_CNT, // # of adapter resets (warm)
IPW_ORD_BEACON_INTERVAL, // Beacon interval
IPW_ORD_PRINCETON_VERSION = 184, //NS // Princeton Version
IPW_ORD_ANTENNA_DIVERSITY, // TRUE if antenna diversity is disabled
IPW_ORD_CCA_RSSI, //NS // CCA RSSI value (factory programmed)
IPW_ORD_STAT_EEPROM_UPDATE, //NS // # of times config EEPROM updated
IPW_ORD_DTIM_PERIOD, // # of beacon intervals between DTIMs
IPW_ORD_OUR_FREQ, // current radio freq lower digits - channel ID
IPW_ORD_RTC_TIME = 190, // current RTC time
IPW_ORD_PORT_TYPE, // operating mode
IPW_ORD_CURRENT_TX_RATE, // current tx rate
IPW_ORD_SUPPORTED_RATES, // Bitmap of supported tx rates
IPW_ORD_ATIM_WINDOW, // current ATIM Window
IPW_ORD_BASIC_RATES, // bitmap of basic tx rates
IPW_ORD_NIC_HIGHEST_RATE, // bitmap of basic tx rates
IPW_ORD_AP_HIGHEST_RATE, // bitmap of basic tx rates
IPW_ORD_CAPABILITIES, // Management frame capability field
IPW_ORD_AUTH_TYPE, // Type of authentication
IPW_ORD_RADIO_TYPE, // Adapter card platform type
IPW_ORD_RTS_THRESHOLD = 201, // Min length of packet after which RTS handshaking is used
IPW_ORD_INT_MODE, // International mode
IPW_ORD_FRAGMENTATION_THRESHOLD, // protocol frag threshold
IPW_ORD_EEPROM_SRAM_DB_BLOCK_START_ADDRESS, // EEPROM offset in SRAM
IPW_ORD_EEPROM_SRAM_DB_BLOCK_SIZE, // EEPROM size in SRAM
IPW_ORD_EEPROM_SKU_CAPABILITY, // EEPROM SKU Capability 206 =
IPW_ORD_EEPROM_IBSS_11B_CHANNELS, // EEPROM IBSS 11b channel set
IPW_ORD_MAC_VERSION = 209, // MAC Version
IPW_ORD_MAC_REVISION, // MAC Revision
IPW_ORD_RADIO_VERSION, // Radio Version
IPW_ORD_NIC_MANF_DATE_TIME, // MANF Date/Time STAMP
IPW_ORD_UCODE_VERSION, // Ucode Version
IPW_ORD_HW_RF_SWITCH_STATE = 214, // HW RF Kill Switch State
} ORDINALTABLE1;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.