/* To save having to free/allocate a DRP IE when its MAS changes, enough memory is allocated for the maxiumum number of DRP allocation fields. This gives an overhead per reservation of up to (UWB_NUM_ZONES - 1) * 4 = 60 octets.  */
static struct uwb_ie_drp* uwb_drp_ie_alloc(void)
/* To save having to free/allocate a DRP IE when its MAS changes, enough memory is allocated for the maxiumum number of DRP allocation fields. This gives an overhead per reservation of up to (UWB_NUM_ZONES - 1) * 4 = 60 octets.  */
static struct uwb_ie_drp* uwb_drp_ie_alloc(void)
{
	struct uwb_ie_drp *drp_ie;
	drp_ie = kzalloc(sizeof(struct uwb_ie_drp) +
			UWB_NUM_ZONES * sizeof(struct uwb_drp_alloc),
			GFP_KERNEL);
	if (drp_ie) {
		drp_ie->hdr.element_id = UWB_IE_DRP;
	}
	return drp_ie;
}