Home
last modified time | relevance | path

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

123

/net/bluetooth/
Dl2cap_core.c60 static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
999 static void __unpack_enhanced_control(u16 enh, struct l2cap_ctrl *control) in __unpack_enhanced_control() argument
1001 control->reqseq = (enh & L2CAP_CTRL_REQSEQ) >> L2CAP_CTRL_REQSEQ_SHIFT; in __unpack_enhanced_control()
1002 control->final = (enh & L2CAP_CTRL_FINAL) >> L2CAP_CTRL_FINAL_SHIFT; in __unpack_enhanced_control()
1006 control->sframe = 1; in __unpack_enhanced_control()
1007 control->poll = (enh & L2CAP_CTRL_POLL) >> L2CAP_CTRL_POLL_SHIFT; in __unpack_enhanced_control()
1008 control->super = (enh & L2CAP_CTRL_SUPERVISE) >> L2CAP_CTRL_SUPER_SHIFT; in __unpack_enhanced_control()
1010 control->sar = 0; in __unpack_enhanced_control()
1011 control->txseq = 0; in __unpack_enhanced_control()
1014 control->sframe = 0; in __unpack_enhanced_control()
[all …]
/net/mac80211/
Drate.c357 info->control.rates[0].flags |= IEEE80211_TX_RC_S1G_MCS; in __rate_control_send_low()
358 info->control.rates[0].idx = 0; in __rate_control_send_low()
366 info->control.rates[0].idx = 0; in __rate_control_send_low()
377 info->control.rates[0].idx = i; in __rate_control_send_low()
387 info->control.rates[0].count = in __rate_control_send_low()
391 info->control.skip_table = 1; in __rate_control_send_low()
411 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low()
422 rc_send_low_basicrate(&info->control.rates[0], in rate_control_send_low()
653 info->control.rts_cts_rate_idx = baserate; in rate_fixup_ratelist()
679 info->control.use_cts_prot) 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.c525 info->control.jiffies = jiffies; in ieee80211_tx_h_unicast_ps_buf()
526 info->control.vif = &tx->sdata->vif; in ieee80211_tx_h_unicast_ps_buf()
527 info->control.flags |= IEEE80211_TX_INTCFL_NEED_TXPROCESSING; in ieee80211_tx_h_unicast_ps_buf()
573 info->control.flags |= IEEE80211_TX_CTRL_PORT_CTRL_PROTO; in ieee80211_tx_h_check_control_port_protocol()
588 link_id = u32_get_bits(info->control.flags, IEEE80211_TX_CTRL_MLO_LINK); in ieee80211_select_link_key()
674 info->control.hw_key = &tx->key->conf; in ieee80211_tx_h_select_key()
709 if (unlikely(info->control.flags & IEEE80211_TX_CTRL_SCAN_TX)) { in ieee80211_tx_h_rate_ctrl()
729 info->control.use_rts = txrc.rts; in ieee80211_tx_h_rate_ctrl()
730 info->control.use_cts_prot = tx->sdata->vif.bss_conf.use_cts_prot; in ieee80211_tx_h_rate_ctrl()
743 info->control.short_preamble = txrc.short_preamble; in ieee80211_tx_h_rate_ctrl()
[all …]
Dstatus.c67 memset(&info->control, 0, sizeof(info->control)); in ieee80211_handle_filtered_frame()
69 info->control.jiffies = jiffies; in ieee80211_handle_filtered_frame()
70 info->control.vif = &sta->sdata->vif; in ieee80211_handle_filtered_frame()
71 info->control.flags |= IEEE80211_TX_INTCFL_NEED_TXPROCESSING; in ieee80211_handle_filtered_frame()
981 u16 control; in __ieee80211_tx_status() local
989 control = le16_to_cpu(bar->control); in __ieee80211_tx_status()
990 if (!(control & IEEE80211_BAR_CTRL_MULTI_TID)) { in __ieee80211_tx_status()
993 tid = (control & in __ieee80211_tx_status()
Dwep.c83 if (info->control.hw_key && in ieee80211_wep_add_iv()
84 (info->control.hw_key->flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE)) in ieee80211_wep_add_iv()
273 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"
Dutil.c222 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx]; in ieee80211_rts_duration()
266 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx]; in ieee80211_ctstoself_duration()
295 struct ieee80211_tx_control control = { in wake_tx_push_queue() local
305 drv_tx(local, &control, skb); in wake_tx_push_queue()
553 if (WARN_ON(!info->control.vif)) { in ieee80211_add_pending_skb()
579 if (WARN_ON(!info->control.vif)) { in ieee80211_add_pending_skbs()
988 switch (le16_get_bits(mle->control, in ieee80211_parse_extension_element()
1488 if (le16_get_bits(ml->control, IEEE80211_ML_CONTROL_TYPE) != in ieee80211_mle_get_sta_prof()
1495 u16 control; in ieee80211_mle_get_sta_prof() local
1504 control = le16_to_cpu(prof->control); in ieee80211_mle_get_sta_prof()
[all …]
Ds1g.c106 if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) { in ieee80211_s1g_rx_twt_setup()
116 twt->control |= IEEE80211_TWT_CONTROL_RX_DISABLED; in ieee80211_s1g_rx_twt_setup()
/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/nfc/hci/
Dllc_shdlc.c456 u8 control; in llc_shdlc_handle_rcv_queue() local
466 control = skb->data[0]; in llc_shdlc_handle_rcv_queue()
468 switch (control & SHDLC_CONTROL_HEAD_MASK) { in llc_shdlc_handle_rcv_queue()
474 ns = (control & SHDLC_CONTROL_NS_MASK) >> 3; in llc_shdlc_handle_rcv_queue()
475 nr = control & SHDLC_CONTROL_NR_MASK; in llc_shdlc_handle_rcv_queue()
482 s_frame_type = (control & SHDLC_CONTROL_TYPE_MASK) >> 3; in llc_shdlc_handle_rcv_queue()
483 nr = control & SHDLC_CONTROL_NR_MASK; in llc_shdlc_handle_rcv_queue()
488 u_frame_modifier = control & SHDLC_CONTROL_M_MASK; in llc_shdlc_handle_rcv_queue()
492 pr_err("UNKNOWN Control=%d\n", control); in llc_shdlc_handle_rcv_queue()
/net/tls/
Dtls_sw.c182 tlm->control = content_type; in tls_padding_length()
1558 tls_ctx->rx.rec_seq, tlm->control, prot); in tls_decrypt_sg()
1697 tls_msg(darg->skb)->control != TLS_RECORD_TYPE_DATA); in tls_decrypt_device()
1753 u8 *control) in tls_record_content_type() argument
1757 if (!*control) { in tls_record_content_type()
1758 *control = tlm->control; in tls_record_content_type()
1759 if (!*control) in tls_record_content_type()
1763 sizeof(*control), control); in tls_record_content_type()
1764 if (*control != TLS_RECORD_TYPE_DATA) { in tls_record_content_type()
1768 } else if (*control != tlm->control) { in tls_record_content_type()
[all …]
/net/ipv4/
DKconfig21 control about the routing process.
470 bool "TCP: advanced congestion control"
472 Support for selection of various TCP congestion control
483 tristate "Binary Increase Congestion (BIC) control"
510 control. It is based on end-to-end bandwidth estimation to set
524 congestion control for high speed network links. It uses a
533 Sally Floyd's High Speed TCP (RFC 3649) congestion control.
534 A modification to TCP's congestion control mechanism for use
540 tristate "TCP-Hybla congestion control algorithm"
568 queued grows) cannot coexist with congestion control (cwnd decreased only
[all …]
Droute.c1928 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_outer()
1940 *p_has_inner = !!(keys.control.flags & FLOW_DIS_ENCAPSULATION); in fib_multipath_custom_hash_outer()
1964 if (!(keys.control.flags & FLOW_DIS_ENCAPSULATION)) in fib_multipath_custom_hash_inner()
1967 if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in fib_multipath_custom_hash_inner()
1968 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_inner()
1973 } else if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) { in fib_multipath_custom_hash_inner()
1974 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS; in fib_multipath_custom_hash_inner()
2015 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_custom_hash_fl4()
2041 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
2067 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS; in fib_multipath_hash()
[all …]
/net/netfilter/
Dxt_ipvs.c109 if ((cp->control != NULL && in ipvs_mt()
110 cp->control->vport == data->vportctl) ^ in ipvs_mt()
/net/dccp/ccids/
DKconfig19 rate-controlled congestion control mechanism. TFRC is designed to
31 The TFRC congestion control algorithms were initially described in
/net/core/
Dflow_dissector.c1686 switch (flow->control.addr_type) { in flow_keys_hash_length()
1702 switch (flow->control.addr_type) { in flow_get_u32_src()
1718 switch (flow->control.addr_type) { in flow_get_u32_dst()
1737 switch (keys->control.addr_type) { in __flow_hash_consistentify()
1874 u32 poff = keys->control.thoff; in __skb_get_poff()
1877 if ((keys->control.flags & FLOW_DIS_IS_FRAGMENT) && in __skb_get_poff()
1878 !(keys->control.flags & FLOW_DIS_FIRST_FRAG)) in __skb_get_poff()
1950 keys->control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS; in __get_hash_from_flowi6()
1964 .offset = offsetof(struct flow_keys, control),
2003 .offset = offsetof(struct flow_keys, control),
[all …]
Dpktgen.c464 u32 control; member
1930 t->control |= T_REMDEVALL; in pktgen_thread_write()
1975 t->control |= T_REMDEV; in __pktgen_NN_threads()
3166 t->control &= ~(T_STOP); in pktgen_run()
3176 t->control |= (flags); in pktgen_handle_all_threads()
3241 t->control |= (T_STOP); in pktgen_wait_all_threads_run()
3620 if (unlikely(!pkt_dev && t->control == 0)) { in pktgen_thread_worker()
3624 t->control != 0, in pktgen_thread_worker()
3639 if (t->control & T_STOP) { in pktgen_thread_worker()
3641 t->control &= ~(T_STOP); in pktgen_thread_worker()
[all …]
/net/openvswitch/
DKconfig24 programmatic extension and flow-based control of the network. This
25 control is useful in a wide variety of applications but is
/net/netfilter/ipvs/
Dip_vs_conn.c826 if (cp->control) in ip_vs_conn_del()
837 if (cp->control) in ip_vs_conn_del_put()
859 struct ip_vs_conn *ct = cp->control; in ip_vs_conn_expire()
990 cp->control = NULL; in ip_vs_conn_new()
1384 cp_c = cp->control; in ip_vs_conn_flush()
1424 cp_c = cp->control; in ip_vs_expire_nodest_conn_flush()
/net/phonet/
DKconfig13 supported). It can also be used to control Nokia phones
/net/wireless/
Dscan.c2136 switch (u8_get_bits(he_6ghz_oper->control, in cfg80211_6ghz_power_type_valid()
2844 u16 control; in cfg80211_parse_ml_elem_sta_data() local
2858 control = le16_to_cpu(ml_elem->control); in cfg80211_parse_ml_elem_sta_data()
2862 if (!(control & IEEE80211_MLC_BASIC_PRES_BSS_PARAM_CH_CNT) || in cfg80211_parse_ml_elem_sta_data()
2863 !(control & IEEE80211_MLC_BASIC_PRES_LINK_ID) || in cfg80211_parse_ml_elem_sta_data()
2864 !(control & IEEE80211_MLC_BASIC_PRES_MLD_CAPA_OP)) in cfg80211_parse_ml_elem_sta_data()
2892 u16_get_bits(control, in cfg80211_parse_ml_elem_sta_data()
2912 control = le16_to_cpu(mle->sta_prof[i]->control); in cfg80211_parse_ml_elem_sta_data()
2914 if (!(control & IEEE80211_MLE_STA_CONTROL_COMPLETE_PROFILE)) in cfg80211_parse_ml_elem_sta_data()
2917 link_id = u16_get_bits(control, in cfg80211_parse_ml_elem_sta_data()
[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/netlink/
Daf_netlink.c2320 struct netlink_dump_control *control) in __netlink_dump_start() argument
2343 if (!try_module_get(control->module)) { in __netlink_dump_start()
2350 cb->dump = control->dump; in __netlink_dump_start()
2351 cb->done = control->done; in __netlink_dump_start()
2353 cb->data = control->data; in __netlink_dump_start()
2354 cb->module = control->module; in __netlink_dump_start()
2355 cb->min_dump_alloc = control->min_dump_alloc; in __netlink_dump_start()
2360 if (control->start) { in __netlink_dump_start()
2361 cb->extack = control->extack; in __netlink_dump_start()
2362 ret = control->start(cb); in __netlink_dump_start()
[all …]
/net/rfkill/
DKconfig8 Say Y here if you want to have control over RF switches

123