/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.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->flags & IEEE80211_SDATA_OPERATING_GMODE) 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 | 14 ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx); 19 ieee80211_crypto_tkip_encrypt(struct ieee80211_tx_data *tx); 24 ieee80211_crypto_ccmp_encrypt(struct ieee80211_tx_data *tx, 31 ieee80211_crypto_aes_cmac_encrypt(struct ieee80211_tx_data *tx); 33 ieee80211_crypto_aes_cmac_256_encrypt(struct ieee80211_tx_data *tx); 39 ieee80211_crypto_aes_gmac_encrypt(struct ieee80211_tx_data *tx); 43 ieee80211_crypto_hw_encrypt(struct ieee80211_tx_data *tx); 48 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() 272 u16 buf_size, bool tx, bool auto_seq, in ___ieee80211_start_rx_ba_session() argument 455 if (tx) in ___ieee80211_start_rx_ba_session() 464 u16 tid, u16 buf_size, bool tx, in __ieee80211_start_rx_ba_session() argument 471 buf_size, tx, auto_seq, addbaext); in __ieee80211_start_rx_ba_session()
|
D | Makefile | 13 ht.o agg-tx.o agg-rx.o \ 29 tx.o \
|
D | main.c | 434 .tx = 0xffff, 441 .tx = 0xffff, 459 .tx = 0xffff, 470 .tx = 0xffff, 480 .tx = 0xffff, 485 .tx = 0xffff, 495 .tx = 0xffff, 501 .tx = 0xffff, 552 if (WARN_ON(!ops->tx || !ops->start || !ops->stop || !ops->config || in ieee80211_alloc_hw_nm()
|
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 | wep.h | 28 ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx);
|
D | debugfs_sta.c | 363 bool start, tx; in sta_agg_status_write() local 381 tx = true; in sta_agg_status_write() 383 tx = false; in sta_agg_status_write() 392 if (!tx) in sta_agg_status_write() 405 if (!buf || !tx || !start) in sta_agg_status_write() 413 if (tx) { in sta_agg_status_write()
|
/net/tipc/ |
D | crypto.c | 286 static struct tipc_aead *tipc_crypto_key_pick_tx(struct tipc_crypto *tx, 850 struct tipc_crypto *tx = aead->crypto; in tipc_aead_encrypt_done() local 851 struct net *net = tx->net; in tipc_aead_encrypt_done() 855 this_cpu_inc(tx->stats->stat[STAT_ASYNC_OK]); in tipc_aead_encrypt_done() 866 this_cpu_inc(tx->stats->stat[STAT_ASYNC_NOK]); in tipc_aead_encrypt_done() 1215 struct tipc_crypto *tx, *rx; in tipc_crypto_key_flush() local 1222 tx = tipc_net(rx->net)->crypto_tx; in tipc_crypto_key_flush() 1232 tipc_aead_users_dec(tx->aead[k], 0); in tipc_crypto_key_flush() 1234 tx->timer1 = jiffies; in tipc_crypto_key_flush() 1321 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/can/ |
D | isotp.c | 152 struct tpcon rx, tx; member 352 if (so->tx.state != ISOTP_WAIT_FC && in isotp_rcv_fc() 353 so->tx.state != ISOTP_WAIT_FIRST_FC) in isotp_rcv_fc() 366 so->tx.state = ISOTP_IDLE; in isotp_rcv_fc() 372 if (so->tx.state == ISOTP_WAIT_FIRST_FC) { in isotp_rcv_fc() 395 so->tx.state = ISOTP_WAIT_FC; in isotp_rcv_fc() 400 so->tx.bs = 0; in isotp_rcv_fc() 401 so->tx.state = ISOTP_SENDING; in isotp_rcv_fc() 423 so->tx.state = ISOTP_IDLE; in isotp_rcv_fc() 649 if ((so->tx.state != ISOTP_IDLE && n_pci_type != N_PCI_FC) || in isotp_rcv() [all …]
|
/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.is_app_limited = tp->app_limited ? 1 : 0; in tcp_rate_skb_sent() 86 if (!scb->tx.delivered_mstamp) in tcp_rate_skb_delivered() 93 rs->prior_delivered = scb->tx.delivered; in tcp_rate_skb_delivered() 94 rs->prior_mstamp = scb->tx.delivered_mstamp; in tcp_rate_skb_delivered() 95 rs->is_app_limited = scb->tx.is_app_limited; in tcp_rate_skb_delivered() 103 scb->tx.first_tx_mstamp); in tcp_rate_skb_delivered() 111 scb->tx.delivered_mstamp = 0; in tcp_rate_skb_delivered()
|
/net/xdp/ |
D | xsk.c | 56 xs->tx->ring->flags |= XDP_RING_NEED_WAKEUP; in xsk_set_tx_need_wakeup() 83 xs->tx->ring->flags &= ~XDP_RING_NEED_WAKEUP; in xsk_clear_tx_need_wakeup() 216 if (xskq_cons_present_entries(xs->tx) > xs->tx->nentries / 2) in xsk_tx_writeable() 323 __xskq_cons_release(xs->tx); in xsk_tx_release() 337 if (!xskq_cons_peek_desc(xs->tx, desc, pool)) { in xsk_tx_peek_desc() 338 xs->tx->queue_empty_descs++; in xsk_tx_peek_desc() 350 xskq_cons_release(xs->tx); in xsk_tx_peek_desc() 392 nb_pkts = xskq_cons_peek_desc_batch(xs->tx, descs, pool, max_entries); in xsk_tx_peek_release_desc_batch() 394 xs->tx->queue_empty_descs++; in xsk_tx_peek_release_desc_batch() 408 xskq_cons_release_n(xs->tx, 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.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 | 118 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_D, tx, _len, _rc); \ 120 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_R, tx, _len, _rc); \ 166 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_D, tx, l); \ 170 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_R, tx, l); \ 183 SMC_STAT_RMB_SUB(_smc_stats, type, SMC_TYPE_D, tx); \ 187 SMC_STAT_RMB_SUB(_smc_stats, type, SMC_TYPE_R, tx); \
|
/net/tls/ |
D | tls_main.c | 282 kfree(ctx->tx.rec_seq); in tls_sk_proto_cleanup() 283 kfree(ctx->tx.iv); in tls_sk_proto_cleanup() 337 int __user *optlen, int tx) in do_tls_getsockopt_conf() argument 359 if (tx) { in do_tls_getsockopt_conf() 361 cctx = &ctx->tx; in do_tls_getsockopt_conf() 467 unsigned int optlen, int tx) in do_tls_setsockopt_conf() argument 481 if (tx) { in do_tls_setsockopt_conf() 549 if (tx) { in do_tls_setsockopt_conf() 580 if (tx) in do_tls_setsockopt_conf() 585 if (tx) { in do_tls_setsockopt_conf()
|
D | tls_device.c | 60 kfree(ctx->tx.rec_seq); in tls_device_free_ctx() 61 kfree(ctx->tx.iv); in tls_device_free_ctx() 229 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx() 286 tls_advance_record_sn(sk, prot, &ctx->tx); in tls_push_record() 1064 ctx->tx.iv = kmalloc(iv_size + TLS_CIPHER_AES_GCM_128_SALT_SIZE, in tls_set_device_offload() 1066 if (!ctx->tx.iv) { in tls_set_device_offload() 1071 memcpy(ctx->tx.iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, iv, iv_size); in tls_set_device_offload() 1074 ctx->tx.rec_seq = kmemdup(rec_seq, rec_seq_size, GFP_KERNEL); in tls_set_device_offload() 1075 if (!ctx->tx.rec_seq) { in tls_set_device_offload() 1085 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 \
|