Home
last modified time | relevance | path

Searched refs:qos (Results 1 – 25 of 38) sorted by relevance

12

/net/irda/
Dqos.c100 static __u32 irlap_requested_line_capacity(struct qos_info *qos);
279 void irda_qos_compute_intersection(struct qos_info *qos, struct qos_info *new) in irda_qos_compute_intersection() argument
281 IRDA_ASSERT(qos != NULL, return;); in irda_qos_compute_intersection()
285 qos->baud_rate.bits &= new->baud_rate.bits; in irda_qos_compute_intersection()
286 qos->window_size.bits &= new->window_size.bits; in irda_qos_compute_intersection()
287 qos->min_turn_time.bits &= new->min_turn_time.bits; in irda_qos_compute_intersection()
288 qos->max_turn_time.bits &= new->max_turn_time.bits; in irda_qos_compute_intersection()
289 qos->data_size.bits &= new->data_size.bits; in irda_qos_compute_intersection()
290 qos->link_disc_time.bits &= new->link_disc_time.bits; in irda_qos_compute_intersection()
291 qos->additional_bofs.bits &= new->additional_bofs.bits; in irda_qos_compute_intersection()
[all …]
Dirlmp_frame.c296 __u32 daddr, struct qos_info *qos, in irlmp_link_connect_indication() argument
302 self->qos = qos; in irlmp_link_connect_indication()
317 void irlmp_link_connect_confirm(struct lap_cb *self, struct qos_info *qos, in irlmp_link_connect_confirm() argument
324 IRDA_ASSERT(qos != NULL, return;); in irlmp_link_connect_confirm()
329 self->qos = qos; in irlmp_link_connect_confirm()
Dirttp.c54 struct qos_info *qos, __u32 max_sdu_size,
57 struct qos_info *qos, __u32 max_sdu_size,
1103 struct qos_info *qos, __u32 max_sdu_size, in irttp_connect_request() argument
1187 return irlmp_connect_request(self->lsap, dtsap_sel, saddr, daddr, qos, in irttp_connect_request()
1199 struct qos_info *qos, __u32 max_seg_size, in irttp_connect_confirm() argument
1223 if (qos) { in irttp_connect_confirm()
1225 qos->baud_rate.bits); in irttp_connect_confirm()
1227 qos->baud_rate.value); in irttp_connect_confirm()
1270 self->notify.connect_confirm(self->notify.instance, self, qos, in irttp_connect_confirm()
1284 struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, in irttp_connect_indication() argument
[all …]
Dirlmp.c379 struct qos_info *qos, struct sk_buff *userdata) in irlmp_connect_request() argument
496 if (qos) in irlmp_connect_request()
497 self->qos = *qos; in irlmp_connect_request()
539 self->qos = *self->lap->qos; in irlmp_connect_indication()
541 max_seg_size = self->lap->qos->data_size.value-LMP_HEADER; in irlmp_connect_indication()
552 &self->qos, max_seg_size, in irlmp_connect_indication()
606 self->qos = *self->lap->qos; in irlmp_connect_confirm()
608 max_seg_size = self->lap->qos->data_size.value-LMP_HEADER; in irlmp_connect_confirm()
622 &self->qos, max_seg_size, in irlmp_connect_confirm()
Dirlap.c109 struct irlap_cb *irlap_open(struct net_device *dev, struct qos_info *qos, in irlap_open() argument
125 self->qos_dev = qos; in irlap_open()
814 void irlap_wait_min_turn_around(struct irlap_cb *self, struct qos_info *qos) in irlap_wait_min_turn_around() argument
820 speed = qos->baud_rate.value; in irlap_wait_min_turn_around()
821 min_turn_time = qos->min_turn_time.value; in irlap_wait_min_turn_around()
DMakefile11 irlap.o irlap_event.o irlap_frame.o timer.o qos.o irqueue.o \
Diriap.c71 struct qos_info *qos, __u32 max_sdu_size,
75 struct qos_info *qos,
760 struct qos_info *qos, __u32 max_seg_size, in iriap_connect_confirm() argument
790 struct qos_info *qos, __u32 max_seg_size, in iriap_connect_indication() argument
Dirlap_frame.c120 void irlap_send_snrm_frame(struct irlap_cb *self, struct qos_info *qos) in irlap_send_snrm_frame() argument
139 if (qos) in irlap_send_snrm_frame()
150 if (qos) { in irlap_send_snrm_frame()
213 void irlap_send_ua_response_frame(struct irlap_cb *self, struct qos_info *qos) in irlap_send_ua_response_frame() argument
241 if (qos) { in irlap_send_ua_response_frame()
/net/atm/
Dcommon.c108 return (vcc->qos.txtp.max_sdu + in vcc_writable()
163 vcc->qos.txtp.max_sdu = 1 << 16; /* for meta VCs */ in vcc_create()
328 walk->vci == vci && ((walk->qos.txtp.traffic_class != in check_ci()
329 ATM_NONE && vcc->qos.txtp.traffic_class != ATM_NONE) || in check_ci()
330 (walk->qos.rxtp.traffic_class != ATM_NONE && in check_ci()
331 vcc->qos.rxtp.traffic_class != ATM_NONE))) in check_ci()
412 switch (vcc->qos.aal) { in __vcc_connect()
423 vcc->qos.aal = ATM_AAL5; in __vcc_connect()
433 error = adjust_tp(&vcc->qos.txtp, vcc->qos.aal); in __vcc_connect()
435 error = adjust_tp(&vcc->qos.rxtp, vcc->qos.aal); in __vcc_connect()
[all …]
Dmpc.c176 struct atm_mpoa_qos *atm_mpoa_add_qos(__be32 dst_ip, struct atm_qos *qos) in atm_mpoa_add_qos() argument
182 entry->qos = *qos; in atm_mpoa_add_qos()
193 entry->qos = *qos; in atm_mpoa_add_qos()
203 struct atm_mpoa_qos *qos; in atm_mpoa_search_qos() local
205 qos = qos_head; in atm_mpoa_search_qos()
206 while (qos) { in atm_mpoa_search_qos()
207 if (qos->ipaddr == dst_ip) in atm_mpoa_search_qos()
209 qos = qos->next; in atm_mpoa_search_qos()
212 return qos; in atm_mpoa_search_qos()
246 struct atm_mpoa_qos *qos; in atm_mpoa_disp_qos() local
[all …]
Dmpoa_proc.c249 struct atm_qos qos; in parse_qos() local
251 memset(&qos, 0, sizeof(struct atm_qos)); in parse_qos()
268 qos.txtp.traffic_class = ATM_CBR; in parse_qos()
269 qos.txtp.max_pcr = tx_pcr; in parse_qos()
270 qos.txtp.max_sdu = tx_sdu; in parse_qos()
271 qos.rxtp.traffic_class = ATM_CBR; in parse_qos()
272 qos.rxtp.max_pcr = rx_pcr; in parse_qos()
273 qos.rxtp.max_sdu = rx_sdu; in parse_qos()
274 qos.aal = ATM_AAL5; in parse_qos()
276 qos.txtp.max_pcr, qos.txtp.max_sdu, in parse_qos()
[all …]
Dmpoa_caches.c134 struct atm_mpoa_qos *qos; in cache_hit() local
146 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in cache_hit()
147 if (qos != NULL) in cache_hit()
148 msg.qos = qos->qos; in cache_hit()
169 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in cache_hit()
170 if (qos != NULL) in cache_hit()
171 msg.qos = qos->qos; in cache_hit()
253 struct atm_mpoa_qos *qos; in check_resolving_entries() local
287 qos = atm_mpoa_search_qos(entry->ctrl_info.in_dst_ip); in check_resolving_entries()
288 if (qos != NULL) in check_resolving_entries()
[all …]
Dsignaling.c69 msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos, in modify_qos()
114 session_vcc->qos = msg->qos; in sigd_send()
164 const struct sockaddr_atmsvc *svc, const struct atm_qos *qos, in sigd_enq2() argument
180 if (qos) in sigd_enq2()
181 msg->qos = *qos; in sigd_enq2()
204 sigd_enq2(vcc, type, listen_vcc, pvc, svc, vcc ? &vcc->qos : NULL, 0); in sigd_enq()
Dsvc.c67 sigd_enq2(NULL, as_reject, vcc, NULL, NULL, &vcc->qos, 0); in svc_disconnect()
194 if (vcc->qos.txtp.traffic_class == ATM_ANYCLASS || in svc_connect()
195 vcc->qos.rxtp.traffic_class == ATM_ANYCLASS) { in svc_connect()
199 if (!vcc->qos.txtp.traffic_class && in svc_connect()
200 !vcc->qos.rxtp.traffic_class) { in svc_connect()
267 vcc->qos.txtp.max_pcr = SELECT_TOP_PCR(vcc->qos.txtp); in svc_connect()
268 vcc->qos.txtp.pcr = 0; in svc_connect()
269 vcc->qos.txtp.min_pcr = 0; in svc_connect()
373 new_vcc->qos = msg->qos; in svc_accept()
385 &old_vcc->qos, error); in svc_accept()
[all …]
Dmpc.h43 struct atm_qos qos; member
48 struct atm_mpoa_qos *atm_mpoa_add_qos(__be32 dst_ip, struct atm_qos *qos);
50 int atm_mpoa_delete_qos(struct atm_mpoa_qos *qos);
Dproc.c166 vcc->qos.aal >= ARRAY_SIZE(aal_name) ? "err" : in pvc_info()
167 aal_name[vcc->qos.aal], vcc->qos.rxtp.min_pcr, in pvc_info()
168 class_name[vcc->qos.rxtp.traffic_class], in pvc_info()
169 vcc->qos.txtp.min_pcr, in pvc_info()
170 class_name[vcc->qos.txtp.traffic_class]); in pvc_info()
Dsignaling.h24 const struct sockaddr_atmsvc *svc,const struct atm_qos *qos,int reply);
Dcommon.h52 int svc_change_qos(struct atm_vcc *vcc,struct atm_qos *qos);
/net/irda/ircomm/
Dircomm_ttp.c43 struct qos_info *qos,
48 struct qos_info *qos,
224 struct qos_info *qos, in ircomm_ttp_connect_confirm() argument
237 IRDA_ASSERT(qos != NULL, goto out;); in ircomm_ttp_connect_confirm()
248 info.qos = qos; in ircomm_ttp_connect_confirm()
265 struct qos_info *qos, in ircomm_ttp_connect_indication() argument
278 IRDA_ASSERT(qos != NULL, goto out;); in ircomm_ttp_connect_indication()
289 info.qos = qos; in ircomm_ttp_connect_indication()
Dircomm_lmp.c247 struct qos_info *qos, in ircomm_lmp_connect_confirm() argument
260 IRDA_ASSERT(qos != NULL, return;); in ircomm_lmp_connect_confirm()
264 info.qos = qos; in ircomm_lmp_connect_confirm()
280 struct qos_info *qos, in ircomm_lmp_connect_indication() argument
293 IRDA_ASSERT(qos != NULL, return;); in ircomm_lmp_connect_indication()
297 info.qos = qos; in ircomm_lmp_connect_indication()
Dircomm_core.c254 info->qos, info->max_data_size, in ircomm_connect_indication()
296 self, info->qos, in ircomm_connect_confirm()
/net/mac80211/
Dwme.c109 bool qos = false; in ieee80211_select_queue() local
122 qos = sta->sta.wme; in ieee80211_select_queue()
133 qos = true; in ieee80211_select_queue()
149 qos = sta->sta.wme; in ieee80211_select_queue()
153 if (!qos) { in ieee80211_select_queue()
/net/irda/irlan/
Dirlan_client_event.c306 struct qos_info qos; in irlan_client_state_open() local
337 qos.link_disc_time.bits = 0x01; /* 3 secs */ in irlan_client_state_open()
341 self->saddr, self->daddr, &qos, in irlan_client_state_open()
408 struct qos_info qos; in irlan_client_state_arb() local
422 qos.link_disc_time.bits = 0x01; /* 3 secs */ in irlan_client_state_arb()
427 self->saddr, self->daddr, &qos, in irlan_client_state_arb()
Dirlan_provider.c56 struct qos_info *qos,
123 struct qos_info *qos, in irlan_provider_connect_indication() argument
Dirlan_client.c63 struct qos_info *qos,
291 struct qos_info *qos, in irlan_client_ctrl_connect_confirm() argument

12