[wtp] prepare message elements for vendor element handling

convert message element type into a struct{ vendor, type }.
Vendor will be 0 for all RFC types.
This commit is contained in:
Andreas Schultz
2016-03-08 10:21:51 +01:00
parent 140be9b143
commit 471d1058c4
82 changed files with 451 additions and 201 deletions

View File

@ -5,7 +5,10 @@
#define VENDOR_TRAVELPING_ELEMENT_80211N_RADIO_CONF 123
#define VENDOR_TRAVELPING_ELEMENT_80211N_STATION_INFO 124
#define CAPWAP_ELEMENT_VENDORPAYLOAD 37
#define CAPWAP_ELEMENT_VENDORPAYLOAD_VENDOR 0
#define CAPWAP_ELEMENT_VENDORPAYLOAD_TYPE 37
#define CAPWAP_ELEMENT_VENDORPAYLOAD (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_VENDORPAYLOAD_VENDOR, .type = CAPWAP_ELEMENT_VENDORPAYLOAD_TYPE }
#define CAPWAP_VENDORPAYLOAD_MAXLENGTH 2048