[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:
@ -1,7 +1,10 @@
|
||||
#ifndef __CAPWAP_ELEMENT_RADIOADMSTATE_HEADER__
|
||||
#define __CAPWAP_ELEMENT_RADIOADMSTATE_HEADER__
|
||||
|
||||
#define CAPWAP_ELEMENT_RADIOADMSTATE 31
|
||||
#define CAPWAP_ELEMENT_RADIOADMSTATE_VENDOR 0
|
||||
#define CAPWAP_ELEMENT_RADIOADMSTATE_TYPE 31
|
||||
#define CAPWAP_ELEMENT_RADIOADMSTATE (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_RADIOADMSTATE_VENDOR, .type = CAPWAP_ELEMENT_RADIOADMSTATE_TYPE }
|
||||
|
||||
|
||||
#define CAPWAP_RADIO_ADMIN_STATE_ENABLED 1
|
||||
#define CAPWAP_RADIO_ADMIN_STATE_DISABLED 2
|
||||
|
Reference in New Issue
Block a user