Home
last modified time | relevance | path

Searched refs:control (Results 1 – 25 of 52) sorted by relevance

123

/net/bluetooth/
Dl2cap_core.c61 static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
958 static void __unpack_enhanced_control(u16 enh, struct l2cap_ctrl *control) in __unpack_enhanced_control() argument
960 control->reqseq = (enh & L2CAP_CTRL_REQSEQ) >> L2CAP_CTRL_REQSEQ_SHIFT; in __unpack_enhanced_control()
961 control->final = (enh & L2CAP_CTRL_FINAL) >> L2CAP_CTRL_FINAL_SHIFT; in __unpack_enhanced_control()
965 control->sframe = 1; in __unpack_enhanced_control()
966 control->poll = (enh & L2CAP_CTRL_POLL) >> L2CAP_CTRL_POLL_SHIFT; in __unpack_enhanced_control()
967 control->super = (enh & L2CAP_CTRL_SUPERVISE) >> L2CAP_CTRL_SUPER_SHIFT; in __unpack_enhanced_control()
969 control->sar = 0; in __unpack_enhanced_control()
970 control->txseq = 0; in __unpack_enhanced_control()
973 control->sframe = 0; in __unpack_enhanced_control()
[all …]
/net/mac80211/
Drate.c335 info->control.rates[0].idx = 0; in __rate_control_send_low()
346 info->control.rates[0].idx = i; in __rate_control_send_low()
356 info->control.rates[0].count = in __rate_control_send_low()
360 info->control.skip_table = 1; in __rate_control_send_low()
380 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low()
391 rc_send_low_basicrate(&info->control.rates[0].idx, in rate_control_send_low()
622 info->control.rts_cts_rate_idx = baserate; in rate_fixup_ratelist()
648 info->control.use_cts_prot) in rate_fixup_ratelist()
660 if (info->control.use_rts) { in rate_fixup_ratelist()
662 info->control.use_cts_prot = false; in rate_fixup_ratelist()
[all …]
Dwpa.c54 info->control.hw_key = NULL; in ieee80211_tx_h_michael_mic_add()
57 if (info->control.hw_key && in ieee80211_tx_h_michael_mic_add()
67 if (!info->control.hw_key) in ieee80211_tx_h_michael_mic_add()
204 if (info->control.hw_key && in tkip_encrypt_skb()
205 !(info->control.hw_key->flags & IEEE80211_KEY_FLAG_GENERATE_IV) && in tkip_encrypt_skb()
206 !(info->control.hw_key->flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE)) { in tkip_encrypt_skb()
214 if (info->control.hw_key) in tkip_encrypt_skb()
228 if (info->control.hw_key && in tkip_encrypt_skb()
229 (info->control.hw_key->flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE)) in tkip_encrypt_skb()
237 if (info->control.hw_key) in tkip_encrypt_skb()
[all …]
Dtx.c531 info->control.jiffies = jiffies; in ieee80211_tx_h_unicast_ps_buf()
532 info->control.vif = &tx->sdata->vif; in ieee80211_tx_h_unicast_ps_buf()
579 info->control.flags |= IEEE80211_TX_CTRL_PORT_CTRL_PROTO; in ieee80211_tx_h_check_control_port_protocol()
660 info->control.hw_key = &tx->key->conf; in ieee80211_tx_h_select_key()
709 info->control.use_rts = txrc.rts; in ieee80211_tx_h_rate_ctrl()
710 info->control.use_cts_prot = tx->sdata->vif.bss_conf.use_cts_prot; in ieee80211_tx_h_rate_ctrl()
723 info->control.short_preamble = txrc.short_preamble; in ieee80211_tx_h_rate_ctrl()
726 if (info->control.flags & IEEE80211_TX_CTRL_RATE_INJECT) in ieee80211_tx_h_rate_ctrl()
751 if (tx->sta && !info->control.skip_table) in ieee80211_tx_h_rate_ctrl()
754 if (unlikely(info->control.rates[0].idx < 0)) { in ieee80211_tx_h_rate_ctrl()
[all …]
Dstatus.c65 memset(&info->control, 0, sizeof(info->control)); in ieee80211_handle_filtered_frame()
67 info->control.jiffies = jiffies; in ieee80211_handle_filtered_frame()
68 info->control.vif = &sta->sdata->vif; in ieee80211_handle_filtered_frame()
933 u16 control; in __ieee80211_tx_status() local
941 control = le16_to_cpu(bar->control); in __ieee80211_tx_status()
942 if (!(control & IEEE80211_BAR_CTRL_MULTI_TID)) { in __ieee80211_tx_status()
945 tid = (control & in __ieee80211_tx_status()
Dwep.c85 if (info->control.hw_key && in ieee80211_wep_add_iv()
86 (info->control.hw_key->flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE)) in ieee80211_wep_add_iv()
275 struct ieee80211_key_conf *hw_key = info->control.hw_key; in wep_encrypt_skb()
DKconfig29 This option enables the 'minstrel' TX rate control algorithm
32 prompt "Default rate control algorithm"
36 This option selects the default rate control algorithm
45 Select Minstrel as the default rate control algorithm.
57 comment "Some wireless drivers require a rate control algorithm"
Drc80211_minstrel.c298 if (info->control.use_rts) in minstrel_get_retry_count()
300 else if (info->control.use_cts_prot) in minstrel_get_retry_count()
329 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in minstrel_get_rate()
356 (info->control.flags & IEEE80211_TX_CTRL_PORT_CTRL_PROTO)) in minstrel_get_rate()
/net/lapb/
Dlapb_subr.c158 frame->control[0] = skb->data[0]; in lapb_decode()
159 frame->control[1] = skb->data[1]; in lapb_decode()
170 frame->control[0] = skb->data[0]; in lapb_decode()
171 frame->control[1] = skb->data[1]; in lapb_decode()
179 frame->control[0] = skb->data[0]; in lapb_decode()
180 frame->control[1] = 0x00; in lapb_decode()
207 frame->control[0] = skb->data[0]; in lapb_decode()
271 *dptr++ = lapb->frmr_data.control[0]; in lapb_transmit_frmr()
272 *dptr++ = lapb->frmr_data.control[1]; in lapb_transmit_frmr()
286 *dptr++ = lapb->frmr_data.control[0]; in lapb_transmit_frmr()
/net/decnet/
DTODO20 [maybe this should be done at socket level... the control data in the
34 o Add session control message flow control
36 o Add NSP message flow control
/net/tls/
Dtls_sw.c156 ctx->control = content_type; in padding_length()
1498 ctx->control, prot->version); in decrypt_internal()
1638 u8 *control, in process_rx_list() argument
1646 u8 ctrl = *control; in process_rx_list()
1654 ctrl = tlm->control; in process_rx_list()
1662 if (ctrl != tlm->control) in process_rx_list()
1680 if (ctrl != tlm->control) in process_rx_list()
1736 *control = ctrl; in process_rx_list()
1752 unsigned char control = 0; in tls_sw_recvmsg() local
1775 err = process_rx_list(ctx, msg, &control, &cmsg, 0, len, false, in tls_sw_recvmsg()
[all …]
/net/nfc/hci/
Dllc_shdlc.c462 u8 control; in llc_shdlc_handle_rcv_queue() local
472 control = skb->data[0]; in llc_shdlc_handle_rcv_queue()
474 switch (control & SHDLC_CONTROL_HEAD_MASK) { in llc_shdlc_handle_rcv_queue()
480 ns = (control & SHDLC_CONTROL_NS_MASK) >> 3; in llc_shdlc_handle_rcv_queue()
481 nr = control & SHDLC_CONTROL_NR_MASK; in llc_shdlc_handle_rcv_queue()
488 s_frame_type = (control & SHDLC_CONTROL_TYPE_MASK) >> 3; in llc_shdlc_handle_rcv_queue()
489 nr = control & SHDLC_CONTROL_NR_MASK; in llc_shdlc_handle_rcv_queue()
494 u_frame_modifier = control & SHDLC_CONTROL_M_MASK; in llc_shdlc_handle_rcv_queue()
498 pr_err("UNKNOWN Control=%d\n", control); in llc_shdlc_handle_rcv_queue()
/net/ipv4/
DKconfig21 control about the routing process.
457 bool "TCP: advanced congestion control"
459 Support for selection of various TCP congestion control
470 tristate "Binary Increase Congestion (BIC) control"
497 control. It is based on end-to-end bandwidth estimation to set
511 congestion control for high speed network links. It uses a
520 Sally Floyd's High Speed TCP (RFC 3649) congestion control.
521 A modification to TCP's congestion control mechanism for use
527 tristate "TCP-Hybla congestion control algorithm"
555 queued grows) cannot coexist with congestion control (cwnd decreased only
[all …]
/net/core/
Dflow_dissector.c1421 switch (flow->control.addr_type) { in flow_keys_hash_length()
1437 switch (flow->control.addr_type) { in flow_get_u32_src()
1453 switch (flow->control.addr_type) { in flow_get_u32_dst()
1469 switch (keys->control.addr_type) { in __flow_hash_consistentify()
1607 u32 poff = keys->control.thoff; in __skb_get_poff()
1610 if ((keys->control.flags & FLOW_DIS_IS_FRAGMENT) && in __skb_get_poff()
1611 !(keys->control.flags & FLOW_DIS_FIRST_FRAG)) in __skb_get_poff()
1683 keys->control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS; in __get_hash_from_flowi6()
1697 .offset = offsetof(struct flow_keys, control),
1736 .offset = offsetof(struct flow_keys, control),
[all …]
Dpktgen.c448 u32 control; member
1823 t->control |= T_REMDEVALL; in pktgen_thread_write()
1868 t->control |= T_REMDEV; in __pktgen_NN_threads()
3027 t->control &= ~(T_STOP); in pktgen_run()
3039 t->control |= T_STOP; in pktgen_stop_all_threads_ifs()
3097 t->control |= (T_STOP); in pktgen_wait_all_threads_run()
3113 t->control |= (T_RUN); in pktgen_run_all_threads()
3132 t->control |= (T_REMDEVALL); in pktgen_reset_all_threads()
3480 if (unlikely(!pkt_dev && t->control == 0)) { in pktgen_thread_worker()
3484 t->control != 0, in pktgen_thread_worker()
[all …]
/net/dccp/ccids/
DKconfig19 rate-controlled congestion control mechanism. TFRC is designed to
31 The TFRC congestion control algorithms were initially described in
/net/netfilter/
Dxt_ipvs.c109 if ((cp->control != NULL && in ipvs_mt()
110 cp->control->vport == data->vportctl) ^ in ipvs_mt()
Dnf_tables_offload.c43 key->control.addr_type = addr_type; in nft_flow_rule_set_addr_type()
44 mask->control.addr_type = 0xffff; in nft_flow_rule_set_addr_type()
47 offsetof(struct nft_flow_key, control); in nft_flow_rule_set_addr_type()
/net/openvswitch/
DKconfig22 programmatic extension and flow-based control of the network. This
23 control is useful in a wide variety of applications but is
/net/phonet/
DKconfig13 supported). It can also be used to control Nokia phones
/net/sched/
Dcls_flower.c33 struct flow_dissector_key_control control; member
307 flow_dissector_init_keys(&skb_key.control, &skb_key.basic); in fl_classify()
1144 key->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fl_set_key()
1145 mask->control.addr_type = ~0; in fl_set_key()
1153 key->control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS; in fl_set_key()
1154 mask->control.addr_type = ~0; in fl_set_key()
1296 ret = fl_set_key_flags(tb, &key->control.flags, &mask->control.flags); in fl_set_key()
1354 FL_KEY_SET(keys, cnt, FLOW_DISSECTOR_KEY_CONTROL, control); in fl_init_dissector()
2324 if (key->control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS && in fl_dump_key()
2332 else if (key->control.addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS && in fl_dump_key()
[all …]
/net/l2tp/
DKconfig30 userland daemon handles L2TP the control protocol (tunnel
97 used as a control protocol and for data encapsulation to set
/net/rfkill/
DKconfig8 Say Y here if you want to have control over RF switches
/net/netlink/
Daf_netlink.c2304 struct netlink_dump_control *control) in __netlink_dump_start() argument
2327 if (!try_module_get(control->module)) { in __netlink_dump_start()
2334 cb->dump = control->dump; in __netlink_dump_start()
2335 cb->done = control->done; in __netlink_dump_start()
2337 cb->data = control->data; in __netlink_dump_start()
2338 cb->module = control->module; in __netlink_dump_start()
2339 cb->min_dump_alloc = control->min_dump_alloc; in __netlink_dump_start()
2345 if (control->start) { in __netlink_dump_start()
2346 ret = control->start(cb); in __netlink_dump_start()
2369 module_put(control->module); in __netlink_dump_start()
/net/dcb/
DKconfig19 Priority-based Flow Control (PFC) - a MAC control pause frame which

123