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.c288 __u32 daddr, struct qos_info *qos, in irlmp_link_connect_indication() argument
292 self->qos = qos; in irlmp_link_connect_indication()
307 void irlmp_link_connect_confirm(struct lap_cb *self, struct qos_info *qos, in irlmp_link_connect_confirm() argument
312 IRDA_ASSERT(qos != NULL, return;); in irlmp_link_connect_confirm()
317 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,
1089 struct qos_info *qos, __u32 max_sdu_size, in irttp_connect_request() argument
1173 return irlmp_connect_request(self->lsap, dtsap_sel, saddr, daddr, qos, in irttp_connect_request()
1185 struct qos_info *qos, __u32 max_seg_size, in irttp_connect_confirm() argument
1207 if (qos) { in irttp_connect_confirm()
1209 qos->baud_rate.bits); in irttp_connect_confirm()
1211 qos->baud_rate.value); in irttp_connect_confirm()
1254 self->notify.connect_confirm(self->notify.instance, self, qos, in irttp_connect_confirm()
1268 struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, in irttp_connect_indication() argument
[all …]
Dirlmp.c370 struct qos_info *qos, struct sk_buff *userdata) in irlmp_connect_request() argument
487 if (qos) in irlmp_connect_request()
488 self->qos = *qos; in irlmp_connect_request()
530 self->qos = *self->lap->qos; in irlmp_connect_indication()
532 max_seg_size = self->lap->qos->data_size.value-LMP_HEADER; in irlmp_connect_indication()
543 &self->qos, max_seg_size, in irlmp_connect_indication()
595 self->qos = *self->lap->qos; in irlmp_connect_confirm()
597 max_seg_size = self->lap->qos->data_size.value-LMP_HEADER; in irlmp_connect_confirm()
611 &self->qos, max_seg_size, in irlmp_connect_confirm()
Dirlap.c107 struct irlap_cb *irlap_open(struct net_device *dev, struct qos_info *qos, in irlap_open() argument
121 self->qos_dev = qos; in irlap_open()
788 void irlap_wait_min_turn_around(struct irlap_cb *self, struct qos_info *qos) in irlap_wait_min_turn_around() argument
794 speed = qos->baud_rate.value; in irlap_wait_min_turn_around()
795 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.c69 struct qos_info *qos, __u32 max_sdu_size,
73 struct qos_info *qos,
744 struct qos_info *qos, __u32 max_seg_size, in iriap_connect_confirm() argument
774 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.c48 msg->reply = vcc->dev->ops->change_qos(vcc, &msg->qos, in modify_qos()
93 session_vcc->qos = msg->qos; in sigd_send()
143 const struct sockaddr_atmsvc *svc, const struct atm_qos *qos, in sigd_enq2() argument
159 if (qos) in sigd_enq2()
160 msg->qos = *qos; in sigd_enq2()
183 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.h51 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,
216 struct qos_info *qos, in ircomm_ttp_connect_confirm() argument
227 IRDA_ASSERT(qos != NULL, goto out;); in ircomm_ttp_connect_confirm()
238 info.qos = qos; in ircomm_ttp_connect_confirm()
255 struct qos_info *qos, in ircomm_ttp_connect_indication() argument
266 IRDA_ASSERT(qos != NULL, goto out;); in ircomm_ttp_connect_indication()
277 info.qos = qos; in ircomm_ttp_connect_indication()
Dircomm_lmp.c237 struct qos_info *qos, in ircomm_lmp_connect_confirm() argument
248 IRDA_ASSERT(qos != NULL, return;); in ircomm_lmp_connect_confirm()
252 info.qos = qos; in ircomm_lmp_connect_confirm()
268 struct qos_info *qos, in ircomm_lmp_connect_indication() argument
279 IRDA_ASSERT(qos != NULL, return;); in ircomm_lmp_connect_indication()
283 info.qos = qos; in ircomm_lmp_connect_indication()
Dircomm_core.c245 info->qos, info->max_data_size, in ircomm_connect_indication()
283 self, info->qos, in ircomm_connect_confirm()
/net/mac80211/
Dwme.c151 bool qos = false; in ieee80211_select_queue() local
165 qos = sta->sta.wme; in ieee80211_select_queue()
176 qos = true; in ieee80211_select_queue()
183 qos = sta->sta.wme; in ieee80211_select_queue()
192 qos = true; in ieee80211_select_queue()
201 qos = sta->sta.wme; in ieee80211_select_queue()
204 if (!qos) { in ieee80211_select_queue()
/net/irda/irlan/
Dirlan_client_event.c296 struct qos_info qos; in irlan_client_state_open() local
325 qos.link_disc_time.bits = 0x01; /* 3 secs */ in irlan_client_state_open()
329 self->saddr, self->daddr, &qos, in irlan_client_state_open()
394 struct qos_info qos; in irlan_client_state_arb() local
406 qos.link_disc_time.bits = 0x01; /* 3 secs */ in irlan_client_state_arb()
411 self->saddr, self->daddr, &qos, in irlan_client_state_arb()
Dirlan_provider.c56 struct qos_info *qos,
121 struct qos_info *qos, in irlan_provider_connect_indication() argument
Dirlan_client.c63 struct qos_info *qos,
279 struct qos_info *qos, in irlan_client_ctrl_connect_confirm() argument

12