Initializes some Cisco params, so the wtp cann join a Ciscop controller.
FossilOrigin-Name: 5de1b60f8d7d294f3ce193b8bacd753bb0a0d5dbd5d7d247b81a62c61d3d23f4
This commit is contained in:
parent
58e53b6c86
commit
af2e0eec9b
@ -91,6 +91,18 @@ static int init_config(mbag_t config)
|
||||
gname = bstr16_create_from_str("Entangled");
|
||||
mbag_set_bstr16(config,CW_ITEM_WTP_GROUP_NAME,gname);
|
||||
}
|
||||
|
||||
|
||||
mbag_t board_data = mbag_get_mbag_c(config,CW_ITEM_WTP_BOARD_DATA,mbag_create);
|
||||
|
||||
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_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_REVISION,bstr16_create_from_cfgstr(".x4230"));
|
||||
// "F8 66 F2 A3 42 FC"
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user