2015-03-29 01:58:01 +01:00
|
|
|
|
|
|
|
#include "lwapp.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const char * lw_elem_id_to_str(int elem_id)
|
|
|
|
{
|
|
|
|
|
|
|
|
switch (elem_id){
|
2018-03-24 07:56:05 +01:00
|
|
|
case LWAPP_ELEM_AC_ADDRESS:
|
2015-03-29 01:58:01 +01:00
|
|
|
return "AC Address";
|
|
|
|
|
2018-03-24 07:56:05 +01:00
|
|
|
case LWAPP_ELEM_WTP_DESCRIPTOR:
|
2015-03-29 01:58:01 +01:00
|
|
|
return "WTP Descriptor";
|
|
|
|
|
2018-03-24 07:56:05 +01:00
|
|
|
case LWAPP_ELEM_WTP_NAME:
|
2015-03-29 01:58:01 +01:00
|
|
|
return "WTP Name";
|
|
|
|
|
2018-03-24 07:56:05 +01:00
|
|
|
case LWAPP_ELEM_AC_DESCRIPTOR:
|
2015-03-29 01:58:01 +01:00
|
|
|
return "AC Descriptor";
|
|
|
|
|
|
|
|
case LW_ELEM_AC_NAME:
|
|
|
|
return "AC Name";
|
|
|
|
|
|
|
|
|
|
|
|
case LW_ELEM_SUPPORTED_RATES:
|
|
|
|
return "Supported Rates";
|
|
|
|
|
|
|
|
case LW_ELEM_TEST:
|
|
|
|
return "Test";
|
|
|
|
|
|
|
|
|
|
|
|
case LW_ELEM_CERTIFICATE:
|
|
|
|
return "Certificate";
|
|
|
|
|
|
|
|
case LW_ELEM_WTP_BOARD_DATA:
|
|
|
|
return "WTP Board Data";
|
|
|
|
|
|
|
|
case LW_ELEM_AP_IP_ADDR:
|
|
|
|
return "AP IP Addr";
|
|
|
|
|
|
|
|
case LW_ELEM_VENDOR_SPECIFIC:
|
|
|
|
return "Vendor Specific";
|
|
|
|
|
|
|
|
|
|
|
|
case LW_ELEM_80211_WTP_WLAN_RADIO_CONFIGURATION:
|
2015-03-29 15:36:23 +02:00
|
|
|
return "80.211 WTP Wlan Radio Configuration";
|
|
|
|
|
|
|
|
case LW_ELEM_80211_WTP_MODE_AND_TYPE:
|
|
|
|
return "802.11 WTP Mode and Type";
|
2015-03-29 01:58:01 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
return "Unknown";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|