Home
last modified time | relevance | path

Searched refs:drp_ie (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/uwb/
Ddrp-ie.c126 struct uwb_ie_drp *drp_ie; in uwb_drp_ie_alloc() local
128 drp_ie = kzalloc(sizeof(struct uwb_ie_drp) + in uwb_drp_ie_alloc()
131 if (drp_ie) { in uwb_drp_ie_alloc()
132 drp_ie->hdr.element_id = UWB_IE_DRP; in uwb_drp_ie_alloc()
134 return drp_ie; in uwb_drp_ie_alloc()
141 static void uwb_drp_ie_from_bm(struct uwb_ie_drp *drp_ie, in uwb_drp_ie_from_bm() argument
150 zones = drp_ie->allocs; in uwb_drp_ie_from_bm()
179 drp_ie->allocs[i].zone_bm = cpu_to_le16(zones[i].zone_bm); in uwb_drp_ie_from_bm()
180 drp_ie->allocs[i].mas_bm = cpu_to_le16(zones[i].mas_bm); in uwb_drp_ie_from_bm()
183 drp_ie->hdr.length = sizeof(struct uwb_ie_drp) - sizeof(struct uwb_ie_hdr) in uwb_drp_ie_from_bm()
[all …]
Ddrp.c112 if (rsv->drp_ie != NULL) { in uwb_rc_send_all_drp_ie()
113 num_bytes += rsv->drp_ie->hdr.length + 2; in uwb_rc_send_all_drp_ie()
137 if (rsv->drp_ie != NULL) { in uwb_rc_send_all_drp_ie()
138 memcpy(IEDataptr, rsv->drp_ie, in uwb_rc_send_all_drp_ie()
139 rsv->drp_ie->hdr.length + 2); in uwb_rc_send_all_drp_ie()
140 IEDataptr += rsv->drp_ie->hdr.length + 2; in uwb_rc_send_all_drp_ie()
246 static void handle_conflict_normal(struct uwb_ie_drp *drp_ie, in handle_conflict_normal() argument
256 action = evaluate_conflict_action(drp_ie, ext_beacon_slot, rsv, uwb_rsv_status(rsv)); in handle_conflict_normal()
289 static void handle_conflict_expanding(struct uwb_ie_drp *drp_ie, int ext_beacon_slot, in handle_conflict_expanding() argument
300 action = evaluate_conflict_action(drp_ie, ext_beacon_slot, rsv, 0); in handle_conflict_expanding()
[all …]
Drsv.c706 struct uwb_ie_drp *drp_ie) in uwb_rsv_match() argument
711 stream = uwb_ie_drp_stream_index(drp_ie); in uwb_rsv_match()
720 if (uwb_ie_drp_owner(drp_ie)) in uwb_rsv_match()
731 struct uwb_ie_drp *drp_ie) in uwb_rsv_new_target() argument
747 rsv->type = uwb_ie_drp_type(drp_ie); in uwb_rsv_new_target()
748 rsv->stream = uwb_ie_drp_stream_index(drp_ie); in uwb_rsv_new_target()
749 uwb_drp_ie_to_bm(&rsv->mas, drp_ie); in uwb_rsv_new_target()
806 struct uwb_ie_drp *drp_ie) in uwb_rsv_find() argument
811 if (uwb_rsv_match(rsv, src, drp_ie)) in uwb_rsv_find()
815 if (uwb_ie_drp_owner(drp_ie)) in uwb_rsv_find()
[all …]
Duwb-internal.h338 struct uwb_ie_drp *drp_ie);
343 void uwb_drp_ie_to_bm(struct uwb_mas_bm *bm, const struct uwb_ie_drp *drp_ie);
/linux-2.6.39/include/linux/
Duwb.h260 struct uwb_ie_drp *drp_ie; member