Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 25 of 32) sorted by relevance

12

/net/mac80211/
Dtx.c50 static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, in ieee80211_duration() argument
56 struct ieee80211_local *local = tx->local; in ieee80211_duration()
64 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); in ieee80211_duration()
72 if (tx->rate.flags & (IEEE80211_TX_RC_MCS | IEEE80211_TX_RC_VHT_MCS)) in ieee80211_duration()
76 if (WARN_ON_ONCE(tx->rate.idx < 0)) in ieee80211_duration()
80 txrate = &sband->bitrates[tx->rate.idx]; in ieee80211_duration()
149 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) in ieee80211_duration()
155 if (tx->sdata->flags & IEEE80211_SDATA_OPERATING_GMODE) in ieee80211_duration()
189 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration()
199 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration()
[all …]
Dwpa.h17 ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx);
22 ieee80211_crypto_tkip_encrypt(struct ieee80211_tx_data *tx);
27 ieee80211_crypto_ccmp_encrypt(struct ieee80211_tx_data *tx,
34 ieee80211_crypto_aes_cmac_encrypt(struct ieee80211_tx_data *tx);
36 ieee80211_crypto_aes_cmac_256_encrypt(struct ieee80211_tx_data *tx);
42 ieee80211_crypto_aes_gmac_encrypt(struct ieee80211_tx_data *tx);
46 ieee80211_crypto_hw_encrypt(struct ieee80211_tx_data *tx);
51 ieee80211_crypto_gcmp_encrypt(struct ieee80211_tx_data *tx);
Dwpa.c31 ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx) in ieee80211_tx_h_michael_mic_add() argument
37 struct sk_buff *skb = tx->skb; in ieee80211_tx_h_michael_mic_add()
42 if (!tx->key || tx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_tx_h_michael_mic_add()
60 tx->local->ops->set_frag_threshold) && in ieee80211_tx_h_michael_mic_add()
61 !(tx->key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_MMIC)) { in ieee80211_tx_h_michael_mic_add()
77 key = &tx->key->conf.key[NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY]; in ieee80211_tx_h_michael_mic_add()
188 static int tkip_encrypt_skb(struct ieee80211_tx_data *tx, struct sk_buff *skb) in tkip_encrypt_skb() argument
191 struct ieee80211_key *key = tx->key; in tkip_encrypt_skb()
227 key->u.tkip.tx.iv16++; in tkip_encrypt_skb()
228 if (key->u.tkip.tx.iv16 == 0) in tkip_encrypt_skb()
[all …]
Dwep.c304 static int wep_encrypt_skb(struct ieee80211_tx_data *tx, struct sk_buff *skb) in wep_encrypt_skb() argument
310 if (ieee80211_wep_encrypt(tx->local, skb, tx->key->conf.key, in wep_encrypt_skb()
311 tx->key->conf.keylen, in wep_encrypt_skb()
312 tx->key->conf.keyidx)) in wep_encrypt_skb()
316 if (!ieee80211_wep_add_iv(tx->local, skb, in wep_encrypt_skb()
317 tx->key->conf.keylen, in wep_encrypt_skb()
318 tx->key->conf.keyidx)) in wep_encrypt_skb()
326 ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx) in ieee80211_crypto_wep_encrypt() argument
330 ieee80211_tx_set_protected(tx); in ieee80211_crypto_wep_encrypt()
332 skb_queue_walk(&tx->skbs, skb) { in ieee80211_crypto_wep_encrypt()
[all …]
Dtkip.c149 pos = write_tkip_iv(pos, key->u.tkip.tx.iv16); in ieee80211_tkip_add_iv()
151 put_unaligned_le32(key->u.tkip.tx.iv32, pos); in ieee80211_tkip_add_iv()
158 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_compute_tkip_p1k()
179 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_get_tkip_p1k_iv()
205 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_get_tkip_p2k()
Dagg-rx.c61 u16 initiator, u16 reason, bool tx) in ___ieee80211_stop_rx_ba_session() argument
96 if (initiator == WLAN_BACK_RECIPIENT && tx) in ___ieee80211_stop_rx_ba_session()
112 u16 initiator, u16 reason, bool tx) in __ieee80211_stop_rx_ba_session() argument
115 ___ieee80211_stop_rx_ba_session(sta, tid, initiator, reason, tx); in __ieee80211_stop_rx_ba_session()
244 u16 buf_size, bool tx, bool auto_seq) in __ieee80211_start_rx_ba_session() argument
378 if (tx) in __ieee80211_start_rx_ba_session()
DMakefile11 ht.o agg-tx.o agg-rx.o \
26 tx.o \
Ddebugfs_sta.c156 bool start, tx; in sta_agg_status_write() local
170 tx = true; in sta_agg_status_write()
173 tx = false; in sta_agg_status_write()
180 if (!tx) in sta_agg_status_write()
195 if (tx) { in sta_agg_status_write()
Dmain.c401 .tx = 0xffff,
408 .tx = 0xffff,
413 .tx = 0xffff,
424 .tx = 0xffff,
434 .tx = 0xffff,
439 .tx = 0xffff,
449 .tx = 0xffff,
455 .tx = 0xffff,
504 if (WARN_ON(!ops->tx || !ops->start || !ops->stop || !ops->config || in ieee80211_alloc_hw_nm()
Ddriver-ops.h29 local->ops->tx(&local->hw, control, skb); in drv_tx()
696 u32 tx, u32 rx) in drv_set_ringparam() argument
702 trace_drv_set_ringparam(local, tx, rx); in drv_set_ringparam()
704 ret = local->ops->set_ringparam(&local->hw, tx, rx); in drv_set_ringparam()
711 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in drv_get_ringparam() argument
715 trace_drv_get_ringparam(local, tx, tx_max, rx, rx_max); in drv_get_ringparam()
717 local->ops->get_ringparam(&local->hw, tx, tx_max, rx, rx_max); in drv_get_ringparam()
Dwep.h32 ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx);
Dtrace.h1178 TP_PROTO(struct ieee80211_local *local, u32 tx, u32 rx),
1180 TP_ARGS(local, tx, rx),
1184 __field(u32, tx)
1190 __entry->tx = tx;
1196 LOCAL_PR_ARG, __entry->tx, __entry->rx
1201 TP_PROTO(struct ieee80211_local *local, u32 *tx, u32 *tx_max,
1204 TP_ARGS(local, tx, tx_max, rx, rx_max),
1208 __field(u32, tx)
1216 __entry->tx = *tx;
1225 __entry->tx, __entry->tx_max, __entry->rx, __entry->rx_max
Dkey.h71 struct tkip_ctx tx; member
Dmesh_ps.c537 bool tx, bool acked) in ieee80211_mpsp_trigger_process() argument
542 if (tx) { in ieee80211_mpsp_trigger_process()
Dmlme.c2070 u16 stype, u16 reason, bool tx, in ieee80211_set_disassoc() argument
2079 if (WARN_ON_ONCE(tx && !frame_buf)) in ieee80211_set_disassoc()
2113 if (tx) in ieee80211_set_disassoc()
2117 if (tx || frame_buf) in ieee80211_set_disassoc()
2119 reason, tx, frame_buf); in ieee80211_set_disassoc()
2122 if (tx) in ieee80211_set_disassoc()
2456 const u8 *buf, size_t len, bool tx, in ieee80211_report_disconnect() argument
2461 .u.mlme.data = tx ? DEAUTH_TX_EVENT : DEAUTH_RX_EVENT, in ieee80211_report_disconnect()
2465 if (tx) in ieee80211_report_disconnect()
3769 u8 *bssid, u8 reason, bool tx) in ieee80211_sta_connection_lost() argument
[all …]
Ddebugfs_key.c136 key->u.tkip.tx.iv32, in key_tx_spec_read()
137 key->u.tkip.tx.iv16); in key_tx_spec_read()
Dkey.c960 seq->tkip.iv32 = key->u.tkip.tx.iv32; in ieee80211_get_key_tx_seq()
961 seq->tkip.iv16 = key->u.tkip.tx.iv16; in ieee80211_get_key_tx_seq()
1054 key->u.tkip.tx.iv32 = seq->tkip.iv32; in ieee80211_set_key_tx_seq()
1055 key->u.tkip.tx.iv16 = seq->tkip.iv16; in ieee80211_set_key_tx_seq()
Dmesh.h259 bool tx, bool acked);
/net/nfc/nci/
Dspi.c190 struct spi_transfer tx, rx; in __nci_spi_read() local
196 memset(&tx, 0, sizeof(struct spi_transfer)); in __nci_spi_read()
199 tx.tx_buf = req; in __nci_spi_read()
200 tx.len = 2; in __nci_spi_read()
201 tx.cs_change = 0; in __nci_spi_read()
202 tx.speed_hz = nspi->xfer_speed_hz; in __nci_spi_read()
203 spi_message_add_tail(&tx, &m); in __nci_spi_read()
/net/dccp/
Dfeat.c1453 } tx, rx; in dccp_feat_init() local
1479 if (ccid_get_builtin_ccids(&tx.val, &tx.len)) in dccp_feat_init()
1482 kfree(tx.val); in dccp_feat_init()
1486 if (!dccp_feat_prefer(sysctl_dccp_tx_ccid, tx.val, tx.len) || in dccp_feat_init()
1490 rc = __feat_register_sp(fn, DCCPF_CCID, true, false, tx.val, tx.len); in dccp_feat_init()
1497 kfree(tx.val); in dccp_feat_init()
/net/rxrpc/
Dar-ack.c639 u32 hard, tx; in rxrpc_process_rx_queue() local
681 tx = atomic_read(&call->sequence); in rxrpc_process_rx_queue()
714 _debug("Tx=%d H=%u S=%d", tx, call->acks_hard, call->state); in rxrpc_process_rx_queue()
717 if (hard - 1 > tx) { in rxrpc_process_rx_queue()
720 hard - 1, tx); in rxrpc_process_rx_queue()
726 hard > tx) { in rxrpc_process_rx_queue()
727 call->acks_hard = tx; in rxrpc_process_rx_queue()
736 if (hard - 1 + ack.nAcks > tx) { in rxrpc_process_rx_queue()
739 hard - 1, ack.nAcks, tx); in rxrpc_process_rx_queue()
/net/wireless/
Dtrace.h1470 TP_PROTO(struct wiphy *wiphy, int ret, u32 tx, u32 rx),
1471 TP_ARGS(wiphy, ret, tx, rx),
1475 __field(u32, tx)
1481 __entry->tx = tx;
1485 WIPHY_PR_ARG, __entry->ret, __entry->tx, __entry->rx)
1489 TP_PROTO(struct wiphy *wiphy, u32 tx, u32 tx_max,
1491 TP_ARGS(wiphy, tx, tx_max, rx, rx_max),
1494 __field(u32, tx)
1501 __entry->tx = tx;
1507 WIPHY_PR_ARG, __entry->tx, __entry->tx_max, __entry->rx,
[all …]
/net/ieee802154/6lowpan/
DMakefile3 ieee802154_6lowpan-y := core.o rx.o reassembly.o tx.o
/net/mac802154/
DMakefile2 mac802154-objs := main.o rx.o tx.o mac_cmd.o mib.o \
/net/irda/ircomm/
Dircomm_tty_ioctl.c397 put_user(cnow.tx, &p_cuser->tx) || in ircomm_tty_ioctl()

12