Cisco AP Core Dump element added.

FossilOrigin-Name: 200d2355c0d6a4ea109d90eaefe696d93eff518be6acf3fc33d8ddd5117188f7
This commit is contained in:
7u83@mail.ru 2016-04-05 06:35:35 +00:00
parent 5a1257fdb8
commit d60aab7350
5 changed files with 17 additions and 2 deletions

View File

@ -341,6 +341,16 @@ AP = RAD = WTP
ResetBtnState: 1 = Enabeled ResetBtnState: 1 = Enabeled
0 = Disabled (?) 0 = Disabled (?)
135. Cisco AP Cordump
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TFTP IP Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
... zeros until pos 16
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
16:| Compression | Filename ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
151. Cisco AP Time Sync 151. Cisco AP Time Sync
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

View File

@ -118,7 +118,7 @@ int ac_global_init()
ac_status.max_wtps = 200; ac_status.max_wtps = 200;
ac_status.security = CW_FLAG_AC_SECURITY_X | CW_FLAG_AC_SECURITY_S; ac_status.security = CW_FLAG_AC_SECURITY_X | CW_FLAG_AC_SECURITY_S;
ac_status.rmac_field = CW_FLAG_RMAC_SUPPORTED; ac_status.rmac_field = CW_FLAG_RMAC_SUPPORTED;
ac_status.dtls_policy = CW_FLAG_DTLS_POLICY_C | CW_FLAG_DTLS_POLICY_D; ac_status.dtls_policy = CW_FLAG_DTLS_POLICY_C; // | CW_FLAG_DTLS_POLICY_D;
mbag_set_bstrv(ac_config, CW_ITEM_AC_HARDWARE_VERSION, 0, mbag_set_bstrv(ac_config, CW_ITEM_AC_HARDWARE_VERSION, 0,

View File

@ -84,6 +84,7 @@
#define CW_CISCO_AP_REGULATORY_DOMAIN 126 #define CW_CISCO_AP_REGULATORY_DOMAIN 126
#define CW_CISCO_LWAPP_CHANNEL_POWER 134 #define CW_CISCO_LWAPP_CHANNEL_POWER 134
#define CW_CISCO_AP_CORE_DUMP 135
#define CW_CISCO_AP_PRE_STD_SWITCH_CONFIG 137 #define CW_CISCO_AP_PRE_STD_SWITCH_CONFIG 137
#define CW_CISCO_AP_POWER_INJECTOR_CONFIG 138 #define CW_CISCO_AP_POWER_INJECTOR_CONFIG 138

View File

@ -140,6 +140,9 @@ const char * cw_cisco_id_to_str(int elem_id)
case CW_CISCO_CAPWAP_TIMERS: case CW_CISCO_CAPWAP_TIMERS:
return "Capwap Timers"; return "Capwap Timers";
case CW_CISCO_AP_CORE_DUMP:
return "AP Core Dump";
default: default:
return "Unknown"; return "Unknown";

View File

@ -97,7 +97,8 @@ static int init_config(mbag_t config)
mbag_set_dword(board_data, CW_ITEM_WTP_BOARD_VENDOR,CW_VENDOR_ID_CISCO); mbag_set_dword(board_data, CW_ITEM_WTP_BOARD_VENDOR,CW_VENDOR_ID_CISCO);
mbag_set_bstr16(board_data, CW_ITEM_WTP_BOARD_MODELNO,bstr16_create_from_str("AIR-LAP1131AG-E-K9")); // mbag_set_bstr16(board_data, CW_ITEM_WTP_BOARD_MODELNO,bstr16_create_from_str("AIR-LAP1131AG-E-K9"));
mbag_set_bstr16(board_data, CW_ITEM_WTP_BOARD_MODELNO,bstr16_create_from_str("AIR-LAP1142N-E-K9"));
mbag_set_bstr16(board_data, CW_ITEM_WTP_BOARD_SERIALNO,bstr16_create_from_str("FCZ1441Q0XZ")); mbag_set_bstr16(board_data, CW_ITEM_WTP_BOARD_SERIALNO,bstr16_create_from_str("FCZ1441Q0XZ"));
mbag_set_bstr16(board_data, CW_ITEM_WTP_BOARD_ID,bstr16_create_from_cfgstr(".x0000")); mbag_set_bstr16(board_data, CW_ITEM_WTP_BOARD_ID,bstr16_create_from_cfgstr(".x0000"));
mbag_set_bstr16(board_data, CW_ITEM_WTP_BOARD_REVISION,bstr16_create_from_cfgstr(".x4230")); mbag_set_bstr16(board_data, CW_ITEM_WTP_BOARD_REVISION,bstr16_create_from_cfgstr(".x4230"));