2 * EXTLOG Module log ID to log Format String mapping table
4 * Copyright (C) 2013, Broadcom Corporation
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.
12 * $Id: wlc_extlog_idstr.h 419467 2013-08-21 09:19:48Z $
14 #ifndef _WLC_EXTLOG_IDSTR_H_
15 #define _WLC_EXTLOG_IDSTR_H_
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
23 log_idstr_t extlog_fmt_str
[ ] = {
24 {FMTSTR_DRIVER_UP_ID
, 0, LOG_ARGTYPE_NULL
,
27 {FMTSTR_DRIVER_DOWN_ID
, 0, LOG_ARGTYPE_NULL
,
30 {FMTSTR_SUSPEND_MAC_FAIL_ID
, 0, LOG_ARGTYPE_INT
,
31 "wlc_suspend_mac_and_wait() failed with psmdebug 0x%08x\n"},
33 {FMTSTR_NO_PROGRESS_ID
, 0, LOG_ARGTYPE_INT
,
34 "No Progress on TX for %d seconds\n"},
36 {FMTSTR_RFDISABLE_ID
, 0, LOG_ARGTYPE_INT
,
37 "Detected a change in RF Disable Input 0x%x\n"},
39 {FMTSTR_REG_PRINT_ID
, 0, LOG_ARGTYPE_STR_INT
,
40 "Register %s = 0x%x\n"},
42 {FMTSTR_EXPTIME_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
43 "Strong RF interference detected\n"},
45 {FMTSTR_JOIN_START_ID
, FMTSTRF_USER
, LOG_ARGTYPE_STR
,
46 "Searching for networks with ssid %s\n"},
48 {FMTSTR_JOIN_COMPLETE_ID
, FMTSTRF_USER
, LOG_ARGTYPE_STR
,
49 "Successfully joined network with BSSID %s\n"},
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"},
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"},
57 {FMTSTR_RATE_MISMATCH_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
58 "AP rejected due to rate mismatch\n"},
60 {FMTSTR_AP_PRUNED_ID
, 0, LOG_ARGTYPE_INT
,
61 "AP rejected due to reason %d\n"},
63 {FMTSTR_KEY_INSERTED_ID
, 0, LOG_ARGTYPE_INT
,
64 "Inserting keys for algorithm %d\n"},
66 {FMTSTR_DEAUTH_ID
, FMTSTRF_USER
, LOG_ARGTYPE_STR_INT
,
67 "Received Deauth from %s with Reason %d\n"},
69 {FMTSTR_DISASSOC_ID
, FMTSTRF_USER
, LOG_ARGTYPE_STR_INT
,
70 "Received Disassoc from %s with Reason %d\n"},
72 {FMTSTR_LINK_UP_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
75 {FMTSTR_LINK_DOWN_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
78 {FMTSTR_RADIO_HW_OFF_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
79 "Radio button is turned OFF. Please turn it on...\n"},
81 {FMTSTR_RADIO_HW_ON_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
82 "Hardware Radio button is turned ON\n"},
84 {FMTSTR_EVENT_DESC_ID
, 0, LOG_ARGTYPE_INT_STR
,
85 "Generated event id %d: (result status) is (%s)\n"},
87 {FMTSTR_PNP_SET_POWER_ID
, 0, LOG_ARGTYPE_INT
,
88 "Device going into power state %d\n"},
90 {FMTSTR_RADIO_SW_OFF_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
91 "Software Radio is disabled. Please enable it through the UI...\n"},
93 {FMTSTR_RADIO_SW_ON_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
94 "Software Radio is enabled\n"},
96 {FMTSTR_PWD_MISMATCH_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
97 "Potential passphrase mismatch. Please try a different one...\n"},
99 {FMTSTR_FATAL_ERROR_ID
, 0, LOG_ARGTYPE_INT
,
100 "Fatal Error: intstatus 0x%x\n"},
102 {FMTSTR_AUTH_FAIL_ID
, 0, LOG_ARGTYPE_STR_INT
,
103 "Authentication to %s Failed with status %d\n"},
105 {FMTSTR_ASSOC_FAIL_ID
, 0, LOG_ARGTYPE_STR_INT
,
106 "Association to %s Failed with status %d\n"},
108 {FMTSTR_IBSS_FAIL_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
109 "Unable to start IBSS since PeerNet is already active\n"},
111 {FMTSTR_EXTAP_FAIL_ID
, FMTSTRF_USER
, LOG_ARGTYPE_NULL
,
112 "Unable to start Ext-AP since PeerNet is already active\n"},
114 {FMTSTR_MAX_ID
, 0, 0, "\0"}
117 #endif /* _WLC_EXTLOG_IDSTR_H_ */