1/* 2 * EXTLOG Module log ID to log Format String mapping table 3 * 4 * Copyright (C) 2010, Broadcom Corporation 5 * All Rights Reserved. 6 * 7 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation; 8 * the contents of this file may not be disclosed to third parties, copied 9 * or duplicated in any form, in whole or in part, without the prior 10 * written permission of Broadcom Corporation. 11 * 12 * $Id: wlc_extlog_idstr.h,v 13.5 2009/10/23 00:52:18 Exp $ 13 */ 14#ifndef _WLC_EXTLOG_IDSTR_H_ 15#define _WLC_EXTLOG_IDSTR_H_ 16 17#include "wlioctl.h" 18 19/* Strings corresponding to the IDs defined in wlioctl.h 20 * This file is only included by the apps and not included by the external driver 21 * Formats of pre-existing ids should NOT be changed 22 */ 23log_idstr_t extlog_fmt_str[ ] = { 24 {FMTSTR_DRIVER_UP_ID, 0, LOG_ARGTYPE_NULL, 25 "Driver is Up\n"}, 26 27 {FMTSTR_DRIVER_DOWN_ID, 0, LOG_ARGTYPE_NULL, 28 "Driver is Down\n"}, 29 30 {FMTSTR_SUSPEND_MAC_FAIL_ID, 0, LOG_ARGTYPE_INT, 31 "wlc_suspend_mac_and_wait() failed with psmdebug 0x%08x\n"}, 32 33 {FMTSTR_NO_PROGRESS_ID, 0, LOG_ARGTYPE_INT, 34 "No Progress on TX for %d seconds\n"}, 35 36 {FMTSTR_RFDISABLE_ID, 0, LOG_ARGTYPE_INT, 37 "Detected a change in RF Disable Input 0x%x\n"}, 38 39 {FMTSTR_REG_PRINT_ID, 0, LOG_ARGTYPE_STR_INT, 40 "Register %s = 0x%x\n"}, 41 42 {FMTSTR_EXPTIME_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 43 "Strong RF interference detected\n"}, 44 45 {FMTSTR_JOIN_START_ID, FMTSTRF_USER, LOG_ARGTYPE_STR, 46 "Searching for networks with ssid %s\n"}, 47 48 {FMTSTR_JOIN_COMPLETE_ID, FMTSTRF_USER, LOG_ARGTYPE_STR, 49 "Successfully joined network with BSSID %s\n"}, 50 51 {FMTSTR_NO_NETWORKS_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 52 "No networks found. Please check if the network exists and is in range\n"}, 53 54 {FMTSTR_SECURITY_MISMATCH_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 55 "AP rejected due to security mismatch. Change the security settings and try again...\n"}, 56 57 {FMTSTR_RATE_MISMATCH_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 58 "AP rejected due to rate mismatch\n"}, 59 60 {FMTSTR_AP_PRUNED_ID, 0, LOG_ARGTYPE_INT, 61 "AP rejected due to reason %d\n"}, 62 63 {FMTSTR_KEY_INSERTED_ID, 0, LOG_ARGTYPE_INT, 64 "Inserting keys for algorithm %d\n"}, 65 66 {FMTSTR_DEAUTH_ID, FMTSTRF_USER, LOG_ARGTYPE_STR_INT, 67 "Received Deauth from %s with Reason %d\n"}, 68 69 {FMTSTR_DISASSOC_ID, FMTSTRF_USER, LOG_ARGTYPE_STR_INT, 70 "Received Disassoc from %s with Reason %d\n"}, 71 72 {FMTSTR_LINK_UP_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 73 "Link Up\n"}, 74 75 {FMTSTR_LINK_DOWN_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 76 "Link Down\n"}, 77 78 {FMTSTR_RADIO_HW_OFF_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 79 "Radio button is turned OFF. Please turn it on...\n"}, 80 81 {FMTSTR_RADIO_HW_ON_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 82 "Hardware Radio button is turned ON\n"}, 83 84 {FMTSTR_EVENT_DESC_ID, 0, LOG_ARGTYPE_INT_STR, 85 "Generated event id %d: (result status) is (%s)\n"}, 86 87 {FMTSTR_PNP_SET_POWER_ID, 0, LOG_ARGTYPE_INT, 88 "Device going into power state %d\n"}, 89 90 {FMTSTR_RADIO_SW_OFF_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 91 "Software Radio is disabled. Please enable it through the UI...\n"}, 92 93 {FMTSTR_RADIO_SW_ON_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 94 "Software Radio is enabled\n"}, 95 96 {FMTSTR_PWD_MISMATCH_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 97 "Potential passphrase mismatch. Please try a different one...\n"}, 98 99 {FMTSTR_FATAL_ERROR_ID, 0, LOG_ARGTYPE_INT, 100 "Fatal Error: intstatus 0x%x\n"}, 101 102 {FMTSTR_AUTH_FAIL_ID, 0, LOG_ARGTYPE_STR_INT, 103 "Authentication to %s Failed with status %d\n"}, 104 105 {FMTSTR_ASSOC_FAIL_ID, 0, LOG_ARGTYPE_STR_INT, 106 "Association to %s Failed with status %d\n"}, 107 108 {FMTSTR_IBSS_FAIL_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 109 "Unable to start IBSS since PeerNet is already active\n"}, 110 111 {FMTSTR_EXTAP_FAIL_ID, FMTSTRF_USER, LOG_ARGTYPE_NULL, 112 "Unable to start Ext-AP since PeerNet is already active\n"}, 113 114 {FMTSTR_MAX_ID, 0, 0, "\0"} 115}; 116 117#endif /* _WLC_EXTLOG_IDSTR_H_ */ 118