/* We are given a zone id and the MAS bitmap of bits that need to be set in this zone. Note that this zone may already have bits set and this only adds settings - we cannot simply assign the MAS bitmap contents to the zone contents. We iterate over the the bits (MAS) in the zone and set the bits that are set in the given MAS bitmap.  */
static void uwb_drp_ie_single_zone_to_bm(struct uwb_mas_bm *bm, u8 zone, u16 mas_bm)
/* We are given a zone id and the MAS bitmap of bits that need to be set in this zone. Note that this zone may already have bits set and this only adds settings - we cannot simply assign the MAS bitmap contents to the zone contents. We iterate over the the bits (MAS) in the zone and set the bits that are set in the given MAS bitmap.  */
static void uwb_drp_ie_single_zone_to_bm(struct uwb_mas_bm *bm, u8 zone, u16 mas_bm)
{
	int mas;
	u16 mas_mask;
	for (mas = 0; mas < UWB_MAS_PER_ZONE; mas++) {
		mas_mask = 1 << mas;
		if (mas_bm & mas_mask)
			set_bit(zone * UWB_NUM_ZONES + mas, bm->bm);
	}
}