/* The DRP Availability IE that this radio controller emits will need to be updated.  */
int uwbd_evt_handle_rc_drp_avail(struct uwb_event *evt)
/* The DRP Availability IE that this radio controller emits will need to be updated.  */
int uwbd_evt_handle_rc_drp_avail(struct uwb_event *evt)
{
	int result;
	struct uwb_rc *rc = evt->rc;
	DECLARE_BITMAP(bmp, UWB_NUM_MAS);
	result = uwbd_evt_get_drp_avail(evt, bmp);
	if (result < 0)
		return result;
	mutex_lock(&rc->rsvs_mutex);
	bitmap_copy(rc->drp_avail.global, bmp, UWB_NUM_MAS);
	rc->drp_avail.ie_valid = false;
	uwb_rsv_handle_drp_avail_change(rc);
	mutex_unlock(&rc->rsvs_mutex);
	uwb_rsv_sched_update(rc);
	return 0;
}