/net/mac80211/ |
D | tx.c | 42 static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, in ieee80211_duration() argument 48 struct ieee80211_local *local = tx->local; in ieee80211_duration() 56 if (tx->rate.flags & (IEEE80211_TX_RC_MCS | IEEE80211_TX_RC_VHT_MCS)) in ieee80211_duration() 60 chanctx_conf = rcu_dereference(tx->sdata->vif.bss_conf.chanctx_conf); in ieee80211_duration() 68 if (WARN_ON_ONCE(tx->rate.idx < 0)) in ieee80211_duration() 72 txrate = &sband->bitrates[tx->rate.idx]; in ieee80211_duration() 145 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) in ieee80211_duration() 152 if (tx->sdata->deflink.operating_11g_mode) in ieee80211_duration() 188 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration() 198 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration() [all …]
|
D | wpa.h | 15 ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx); 20 ieee80211_crypto_tkip_encrypt(struct ieee80211_tx_data *tx); 25 ieee80211_crypto_ccmp_encrypt(struct ieee80211_tx_data *tx, 32 ieee80211_crypto_aes_cmac_encrypt(struct ieee80211_tx_data *tx); 34 ieee80211_crypto_aes_cmac_256_encrypt(struct ieee80211_tx_data *tx); 40 ieee80211_crypto_aes_gmac_encrypt(struct ieee80211_tx_data *tx); 45 ieee80211_crypto_gcmp_encrypt(struct ieee80211_tx_data *tx);
|
D | wpa.c | 30 ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx) in ieee80211_tx_h_michael_mic_add() argument 36 struct sk_buff *skb = tx->skb; in ieee80211_tx_h_michael_mic_add() 41 if (!tx->key || tx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_tx_h_michael_mic_add() 59 ieee80211_hw_check(&tx->local->hw, SUPPORTS_TX_FRAG)) && in ieee80211_tx_h_michael_mic_add() 60 !(tx->key->conf.flags & (IEEE80211_KEY_FLAG_GENERATE_MMIC | in ieee80211_tx_h_michael_mic_add() 79 if (tx->key->conf.flags & IEEE80211_KEY_FLAG_PUT_MIC_SPACE) { in ieee80211_tx_h_michael_mic_add() 85 key = &tx->key->conf.key[NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY]; in ieee80211_tx_h_michael_mic_add() 194 static int tkip_encrypt_skb(struct ieee80211_tx_data *tx, struct sk_buff *skb) in tkip_encrypt_skb() argument 197 struct ieee80211_key *key = tx->key; in tkip_encrypt_skb() 243 return ieee80211_tkip_encrypt_data(&tx->local->wep_tx_ctx, in tkip_encrypt_skb() [all …]
|
D | wep.c | 270 static int wep_encrypt_skb(struct ieee80211_tx_data *tx, struct sk_buff *skb) in wep_encrypt_skb() argument 276 if (ieee80211_wep_encrypt(tx->local, skb, tx->key->conf.key, in wep_encrypt_skb() 277 tx->key->conf.keylen, in wep_encrypt_skb() 278 tx->key->conf.keyidx)) in wep_encrypt_skb() 282 if (!ieee80211_wep_add_iv(tx->local, skb, in wep_encrypt_skb() 283 tx->key->conf.keylen, in wep_encrypt_skb() 284 tx->key->conf.keyidx)) in wep_encrypt_skb() 292 ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx) in ieee80211_crypto_wep_encrypt() argument 296 ieee80211_tx_set_protected(tx); in ieee80211_crypto_wep_encrypt() 298 skb_queue_walk(&tx->skbs, skb) { in ieee80211_crypto_wep_encrypt() [all …]
|
D | agg-rx.c | 59 u16 initiator, u16 reason, bool tx) in ___ieee80211_stop_rx_ba_session() argument 95 if (initiator == WLAN_BACK_RECIPIENT && tx) in ___ieee80211_stop_rx_ba_session() 118 u16 initiator, u16 reason, bool tx) in __ieee80211_stop_rx_ba_session() argument 121 ___ieee80211_stop_rx_ba_session(sta, tid, initiator, reason, tx); in __ieee80211_stop_rx_ba_session() 256 u16 buf_size, bool tx, bool auto_seq, in ___ieee80211_start_rx_ba_session() argument 441 if (tx) in ___ieee80211_start_rx_ba_session() 450 u16 tid, u16 buf_size, bool tx, in __ieee80211_start_rx_ba_session() argument 457 buf_size, tx, auto_seq, addbaext); in __ieee80211_start_rx_ba_session()
|
D | Makefile | 13 ht.o agg-tx.o agg-rx.o \ 30 tx.o \
|
D | tkip.c | 155 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_compute_tkip_p1k() 176 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_get_tkip_p1k_iv() 202 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_get_tkip_p2k()
|
D | main.c | 539 .tx = 0xffff, 546 .tx = 0xffff, 564 .tx = 0xffff, 575 .tx = 0xffff, 585 .tx = 0xffff, 590 .tx = 0xffff, 600 .tx = 0xffff, 606 .tx = 0xffff, 657 if (WARN_ON(!ops->tx || !ops->start || !ops->stop || !ops->config || in ieee80211_alloc_hw_nm()
|
D | wep.h | 28 ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx);
|
/net/can/ |
D | isotp.c | 165 struct tpcon rx, tx; member 365 if (so->tx.state != ISOTP_WAIT_FC && in isotp_rcv_fc() 366 so->tx.state != ISOTP_WAIT_FIRST_FC) in isotp_rcv_fc() 379 so->tx.state = ISOTP_IDLE; in isotp_rcv_fc() 385 if (so->tx.state == ISOTP_WAIT_FIRST_FC) { in isotp_rcv_fc() 408 so->tx.state = ISOTP_WAIT_FC; in isotp_rcv_fc() 413 so->tx.bs = 0; in isotp_rcv_fc() 414 so->tx.state = ISOTP_SENDING; in isotp_rcv_fc() 436 so->tx.state = ISOTP_IDLE; in isotp_rcv_fc() 672 if ((so->tx.state != ISOTP_IDLE && n_pci_type != N_PCI_FC) || in isotp_rcv() [all …]
|
/net/tipc/ |
D | crypto.c | 286 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx, 839 struct tipc_crypto *tx = aead->crypto; in tipc_aead_encrypt_done() local 840 struct net *net = tx->net; in tipc_aead_encrypt_done() 844 this_cpu_inc(tx->stats->stat[STAT_ASYNC_OK]); in tipc_aead_encrypt_done() 855 this_cpu_inc(tx->stats->stat[STAT_ASYNC_NOK]); in tipc_aead_encrypt_done() 1204 struct tipc_crypto *tx, *rx; in tipc_crypto_key_flush() local 1211 tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_key_flush() 1221 tipc_aead_users_dec(tx->aead[k], 0); in tipc_crypto_key_flush() 1223 tx->timer1 = jiffies; in tipc_crypto_key_flush() 1310 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx, in tipc_crypto_key_pick_tx() argument [all …]
|
D | crypto.h | 171 int tipc_crypto_key_distr(struct tipc_crypto *tx, u8 key, 174 void tipc_crypto_rekeying_sched(struct tipc_crypto *tx, bool changed,
|
/net/ipv4/ |
D | tcp_rate.c | 65 TCP_SKB_CB(skb)->tx.first_tx_mstamp = tp->first_tx_mstamp; in tcp_rate_skb_sent() 66 TCP_SKB_CB(skb)->tx.delivered_mstamp = tp->delivered_mstamp; in tcp_rate_skb_sent() 67 TCP_SKB_CB(skb)->tx.delivered = tp->delivered; in tcp_rate_skb_sent() 68 TCP_SKB_CB(skb)->tx.delivered_ce = tp->delivered_ce; in tcp_rate_skb_sent() 69 TCP_SKB_CB(skb)->tx.is_app_limited = tp->app_limited ? 1 : 0; in tcp_rate_skb_sent() 87 if (!scb->tx.delivered_mstamp) in tcp_rate_skb_delivered() 94 rs->prior_delivered_ce = scb->tx.delivered_ce; in tcp_rate_skb_delivered() 95 rs->prior_delivered = scb->tx.delivered; in tcp_rate_skb_delivered() 96 rs->prior_mstamp = scb->tx.delivered_mstamp; in tcp_rate_skb_delivered() 97 rs->is_app_limited = scb->tx.is_app_limited; in tcp_rate_skb_delivered() [all …]
|
/net/xdp/ |
D | xsk.c | 58 xs->tx->ring->flags |= XDP_RING_NEED_WAKEUP; in xsk_set_tx_need_wakeup() 85 xs->tx->ring->flags &= ~XDP_RING_NEED_WAKEUP; in xsk_clear_tx_need_wakeup() 297 if (xskq_cons_present_entries(xs->tx) > xs->tx->nentries / 2) in xsk_tx_writeable() 410 __xskq_cons_release(xs->tx); in xsk_tx_release() 424 if (!xskq_cons_peek_desc(xs->tx, desc, pool)) { in xsk_tx_peek_desc() 425 if (xskq_has_descs(xs->tx)) in xsk_tx_peek_desc() 426 xskq_cons_release(xs->tx); in xsk_tx_peek_desc() 438 xskq_cons_release(xs->tx); in xsk_tx_peek_desc() 478 nb_pkts = xskq_cons_nb_entries(xs->tx, nb_pkts); in xsk_tx_peek_release_desc_batch() 490 nb_pkts = xskq_cons_read_desc_batch(xs->tx, pool, nb_pkts); in xsk_tx_peek_release_desc_batch() [all …]
|
D | xsk_diag.c | 42 if (!err && xs->tx) in xsk_diag_put_rings_cfg() 43 err = xsk_diag_put_ring(xs->tx, XDP_DIAG_TX_RING, nlskb); in xsk_diag_put_rings_cfg() 87 du.n_tx_invalid = xskq_nb_invalid_descs(xs->tx); in xsk_diag_put_stats() 88 du.n_tx_ring_empty = xskq_nb_queue_empty_descs(xs->tx); in xsk_diag_put_stats()
|
D | xsk_buff_pool.c | 15 if (!xs->tx) in xp_add_xsk() 27 if (!xs->tx) in xp_del_xsk() 47 pool->tx_descs = kvcalloc(xs->tx->nentries, sizeof(*pool->tx_descs), in xp_alloc_tx_descs() 72 if (xs->tx) in xp_create_and_assign_umem()
|
D | xsk.h | 22 struct xdp_ring_offset_v1 tx; member
|
/net/nfc/nci/ |
D | spi.c | 180 struct spi_transfer tx, rx; in __nci_spi_read() local 186 memset(&tx, 0, sizeof(struct spi_transfer)); in __nci_spi_read() 189 tx.tx_buf = req; in __nci_spi_read() 190 tx.len = 2; in __nci_spi_read() 191 tx.cs_change = 0; in __nci_spi_read() 192 tx.speed_hz = nspi->xfer_speed_hz; in __nci_spi_read() 193 spi_message_add_tail(&tx, &m); in __nci_spi_read()
|
/net/smc/ |
D | smc_stats.h | 117 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_D, tx, _len, _rc); \ 119 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_R, tx, _len, _rc); \ 165 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_D, tx, l); \ 169 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_R, tx, l); \ 182 SMC_STAT_RMB_SUB(_smc_stats, type, SMC_TYPE_D, tx); \ 186 SMC_STAT_RMB_SUB(_smc_stats, type, SMC_TYPE_R, tx); \
|
/net/tls/ |
D | tls_main.c | 351 kfree(ctx->tx.rec_seq); in tls_sk_proto_cleanup() 352 kfree(ctx->tx.iv); in tls_sk_proto_cleanup() 439 int __user *optlen, int tx) in do_tls_getsockopt_conf() argument 462 if (tx) { in do_tls_getsockopt_conf() 464 cctx = &ctx->tx; in do_tls_getsockopt_conf() 589 unsigned int optlen, int tx) in do_tls_setsockopt_conf() argument 601 if (tx) { in do_tls_setsockopt_conf() 664 if (tx) { in do_tls_setsockopt_conf() 695 if (tx) in do_tls_setsockopt_conf() 700 if (tx) { in do_tls_setsockopt_conf() [all …]
|
D | tls_device.c | 61 kfree(ctx->tx.rec_seq); in tls_device_free_ctx() 62 kfree(ctx->tx.iv); in tls_device_free_ctx() 244 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx() 301 tls_advance_record_sn(sk, prot, &ctx->tx); in tls_push_record() 1098 ctx->tx.iv = kmalloc(cipher_desc->iv + cipher_desc->salt, GFP_KERNEL); in tls_set_device_offload() 1099 if (!ctx->tx.iv) { in tls_set_device_offload() 1104 memcpy(ctx->tx.iv + cipher_desc->salt, iv, cipher_desc->iv); in tls_set_device_offload() 1107 ctx->tx.rec_seq = kmemdup(rec_seq, cipher_desc->rec_seq, GFP_KERNEL); in tls_set_device_offload() 1108 if (!ctx->tx.rec_seq) { in tls_set_device_offload() 1130 memcpy(&rcd_sn, ctx->tx.rec_seq, sizeof(rcd_sn)); in tls_set_device_offload() [all …]
|
/net/dccp/ |
D | feat.c | 1461 } tx, rx; in dccp_feat_init() local 1487 if (ccid_get_builtin_ccids(&tx.val, &tx.len)) in dccp_feat_init() 1490 kfree(tx.val); in dccp_feat_init() 1494 if (!dccp_feat_prefer(sysctl_dccp_tx_ccid, tx.val, tx.len) || in dccp_feat_init() 1498 rc = __feat_register_sp(fn, DCCPF_CCID, true, false, tx.val, tx.len); in dccp_feat_init() 1505 kfree(tx.val); in dccp_feat_init()
|
/net/can/j1939/ |
D | transport.c | 735 session->pkt.tx = 0; in j1939_session_tx_rts() 784 session->pkt.tx = session->pkt.tx_acked; in j1939_session_tx_dpo() 802 se_skb = j1939_session_skb_get_by_offset(session, session->pkt.tx * 7); in j1939_session_tx_dat() 816 while (session->pkt.tx < pkt_end) { in j1939_session_tx_dat() 817 dat[0] = session->pkt.tx - session->pkt.dpo + 1; in j1939_session_tx_dat() 818 offset = (session->pkt.tx * 7) - se_skcb->offset; in j1939_session_tx_dat() 827 se_skb->len , session->pkt.tx); in j1939_session_tx_dat() 850 session->pkt.tx++; in j1939_session_tx_dat() 854 if (session->pkt.tx < session->pkt.total && pdelay) { in j1939_session_tx_dat() 1451 session->pkt.tx = session->pkt.tx_acked; in j1939_xtp_rx_cts_one() [all …]
|
/net/ieee802154/6lowpan/ |
D | Makefile | 4 ieee802154_6lowpan-y := core.o rx.o reassembly.o tx.o
|
/net/mac802154/ |
D | Makefile | 3 mac802154-objs := main.o rx.o tx.o mac_cmd.o mib.o \
|