Home
last modified time | relevance | path

Searched refs:tx_info (Results 1 – 25 of 42) sorted by relevance

12

/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c73 ring->tx_info = vmalloc(tmp); in mlx4_en_create_tx_ring()
74 if (!ring->tx_info) in mlx4_en_create_tx_ring()
78 ring->tx_info, tmp); in mlx4_en_create_tx_ring()
133 vfree(ring->tx_info); in mlx4_en_create_tx_ring()
134 ring->tx_info = NULL; in mlx4_en_create_tx_ring()
153 vfree(ring->tx_info); in mlx4_en_destroy_tx_ring()
154 ring->tx_info = NULL; in mlx4_en_destroy_tx_ring()
170 memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info)); in mlx4_en_activate_tx_ring()
201 struct mlx4_en_tx_info *tx_info = &ring->tx_info[index]; in mlx4_en_free_tx_desc() local
203 struct mlx4_wqe_data_seg *data = (void *) tx_desc + tx_info->data_offset; in mlx4_en_free_tx_desc()
[all …]
/linux-3.4.99/drivers/net/wireless/iwmc3200wifi/
Dtx.c311 struct iwm_tx_info *tx_info = skb_to_tx_info(skb); in iwm_tx_build_packet() local
319 udma_cmd.ra_tid = tx_info->sta << 4 | tx_info->tid; in iwm_tx_build_packet()
324 umac_cmd.color = tx_info->color; in iwm_tx_build_packet()
362 struct iwm_tx_info *tx_info = NULL; in iwm_tx_worker() local
381 tx_info = skb_to_tx_info(skb); in iwm_tx_worker()
382 sta_info = &iwm->sta_table[tx_info->sta]; in iwm_tx_worker()
389 tid_info = &sta_info->tid_info[tx_info->tid]; in iwm_tx_worker()
402 tx_info->sta, tx_info->tid); in iwm_tx_worker()
414 "%d, color: %d\n", txq->id, skb, tx_info->sta, in iwm_tx_worker()
415 tx_info->color); in iwm_tx_worker()
[all …]
Ddebugfs.c140 struct iwm_tx_info *tx_info; in iwm_debugfs_txq_read() local
143 tx_info = skb_to_tx_info(skb); in iwm_debugfs_txq_read()
148 "\t\tsta: %d\n", tx_info->sta); in iwm_debugfs_txq_read()
150 "\t\tcolor: %d\n", tx_info->color); in iwm_debugfs_txq_read()
152 "\t\ttid: %d\n", tx_info->tid); in iwm_debugfs_txq_read()
163 struct iwm_tx_info *tx_info; in iwm_debugfs_txq_read() local
166 tx_info = skb_to_tx_info(skb); in iwm_debugfs_txq_read()
171 "\t\tsta: %d\n", tx_info->sta); in iwm_debugfs_txq_read()
173 "\t\tcolor: %d\n", tx_info->color); in iwm_debugfs_txq_read()
175 "\t\ttid: %d\n", tx_info->tid); in iwm_debugfs_txq_read()
Dcommands.c474 struct iwm_tx_info *tx_info = skb_to_tx_info(skb); in iwm_send_packet() local
478 udma_cmd.ra_tid = tx_info->sta << 4 | tx_info->tid; in iwm_send_packet()
482 umac_cmd.color = tx_info->color; in iwm_send_packet()
/linux-3.4.99/drivers/net/wireless/brcm80211/brcmsmac/
Dampdu.c533 struct ieee80211_tx_info *tx_info; in brcms_c_sendampdu() local
563 tx_info = IEEE80211_SKB_CB(p); in brcms_c_sendampdu()
564 txrate = tx_info->status.rates; in brcms_c_sendampdu()
566 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) { in brcms_c_sendampdu()
668 sta = tx_info->control.sta; in brcms_c_sendampdu()
739 tx_info = IEEE80211_SKB_CB(p); in brcms_c_sendampdu()
742 if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) && in brcms_c_sendampdu()
881 struct ieee80211_tx_info *tx_info, in brcms_c_ampdu_rate_status() argument
884 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_rate_status()
915 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(p); in brcms_c_ampdu_dotxstatus_complete() local
[all …]
/linux-3.4.99/drivers/net/wireless/rt2x00/
Drt2x00queue.c207 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00queue_create_tx_descriptor_seq() local
209 struct rt2x00_intf *intf = vif_to_intf(tx_info->control.vif); in rt2x00queue_create_tx_descriptor_seq()
212 if (!(tx_info->flags & IEEE80211_TX_CTL_ASSIGN_SEQ)) in rt2x00queue_create_tx_descriptor_seq()
245 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00queue_create_tx_descriptor_plcp() local
246 struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; in rt2x00queue_create_tx_descriptor_plcp()
309 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00queue_create_tx_descriptor_ht() local
310 struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; in rt2x00queue_create_tx_descriptor_ht()
314 if (tx_info->control.sta) { in rt2x00queue_create_tx_descriptor_ht()
316 tx_info->control.sta->ht_cap.ampdu_density; in rt2x00queue_create_tx_descriptor_ht()
318 sta_priv = sta_to_rt2x00_sta(tx_info->control.sta); in rt2x00queue_create_tx_descriptor_ht()
[all …]
Drt2x00mac.c36 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(frag_skb); in rt2x00mac_tx_rts_cts() local
42 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
70 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
84 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
85 ieee80211_ctstoself_get(rt2x00dev->hw, tx_info->control.vif, in rt2x00mac_tx_rts_cts()
86 frag_skb->data, data_length, tx_info, in rt2x00mac_tx_rts_cts()
89 ieee80211_rts_get(rt2x00dev->hw, tx_info->control.vif, in rt2x00mac_tx_rts_cts()
90 frag_skb->data, data_length, tx_info, in rt2x00mac_tx_rts_cts()
105 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00mac_tx() local
121 if (tx_info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM && in rt2x00mac_tx()
[all …]
Drt2x00dev.c277 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(entry->skb); in rt2x00lib_txdone() local
346 memset(&tx_info->status, 0, sizeof(tx_info->status)); in rt2x00lib_txdone()
347 tx_info->status.ack_signal = 0; in rt2x00lib_txdone()
356 tx_info->status.rates[i].idx = rate_idx - i; in rt2x00lib_txdone()
357 tx_info->status.rates[i].flags = rate_flags; in rt2x00lib_txdone()
364 tx_info->status.rates[i].count = retry_rates - i; in rt2x00lib_txdone()
368 tx_info->status.rates[i].count = 1; in rt2x00lib_txdone()
371 tx_info->status.rates[i].idx = -1; /* terminate */ in rt2x00lib_txdone()
373 if (!(tx_info->flags & IEEE80211_TX_CTL_NO_ACK)) { in rt2x00lib_txdone()
375 tx_info->flags |= IEEE80211_TX_STAT_ACK; in rt2x00lib_txdone()
[all …]
Drt2x00crypto.c52 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00crypto_create_tx_descriptor() local
53 struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; in rt2x00crypto_create_tx_descriptor()
79 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rt2x00crypto_tx_overhead() local
80 struct ieee80211_key_conf *key = tx_info->control.hw_key; in rt2x00crypto_tx_overhead()
/linux-3.4.99/drivers/net/wireless/mwifiex/
Dsta_tx.c49 struct mwifiex_txinfo *tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_process_sta_txpd() local
54 tx_info->status_code = -1; in mwifiex_process_sta_txpd()
123 struct mwifiex_txinfo *tx_info = NULL; in mwifiex_send_null_packet() local
138 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_send_null_packet()
139 tx_info->bss_num = priv->bss_num; in mwifiex_send_null_packet()
140 tx_info->bss_type = priv->bss_type; in mwifiex_send_null_packet()
Dtxrx.c126 struct mwifiex_txinfo *tx_info; in mwifiex_write_data_complete() local
132 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_write_data_complete()
133 priv = mwifiex_get_priv_by_id(adapter, tx_info->bss_num, in mwifiex_write_data_complete()
134 tx_info->bss_type); in mwifiex_write_data_complete()
Dwmm.c1009 struct mwifiex_txinfo *tx_info; in mwifiex_send_single_packet() local
1020 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_send_single_packet()
1049 tx_info->flags |= MWIFIEX_BUF_FLAG_REQUEUED_PKT; in mwifiex_send_single_packet()
1079 struct mwifiex_txinfo *tx_info; in mwifiex_is_ptr_processed() local
1086 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_is_ptr_processed()
1087 if (tx_info->flags & MWIFIEX_BUF_FLAG_REQUEUED_PKT) in mwifiex_is_ptr_processed()
1107 struct mwifiex_txinfo *tx_info; in mwifiex_send_processed_packet() local
1122 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_send_processed_packet()
1144 tx_info->flags |= MWIFIEX_BUF_FLAG_REQUEUED_PKT; in mwifiex_send_processed_packet()
Dmain.c424 struct mwifiex_txinfo *tx_info; in mwifiex_hard_start_xmit() local
459 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_hard_start_xmit()
460 tx_info->bss_num = priv->bss_num; in mwifiex_hard_start_xmit()
461 tx_info->bss_type = priv->bss_type; in mwifiex_hard_start_xmit()
/linux-3.4.99/drivers/net/wireless/ath/ath9k/
Drc.c727 struct ieee80211_tx_info *tx_info) in ath_rc_rate_set_rtscts() argument
729 struct ieee80211_tx_rate *rates = tx_info->control.rates; in ath_rc_rate_set_rtscts()
751 if ((tx_info->control.vif && in ath_rc_rate_set_rtscts()
752 tx_info->control.vif->bss_conf.use_cts_prot) && in ath_rc_rate_set_rtscts()
759 tx_info->control.rts_cts_rate_idx = cix; in ath_rc_rate_set_rtscts()
769 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_get_rate() local
770 struct ieee80211_tx_rate *rates = tx_info->control.rates; in ath_get_rate()
803 tx_info->flags |= IEEE80211_TX_CTL_LDPC; in ath_get_rate()
807 tx_info->flags |= (1 << IEEE80211_TX_CTL_STBC_SHIFT); in ath_get_rate()
822 tx_info->flags |= IEEE80211_TX_CTL_RATE_CTRL_PROBE; in ath_get_rate()
[all …]
Dxmit.c173 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in get_frame_info() local
175 sizeof(tx_info->rate_driver_data)); in get_frame_info()
176 return (struct ath_frame_info *) &tx_info->rate_driver_data[0]; in get_frame_info()
414 struct ieee80211_tx_info *tx_info; in ath_tx_complete_aggr() local
434 tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete_aggr()
436 memcpy(rates, tx_info->control.rates, sizeof(rates)); in ath_tx_complete_aggr()
509 tx_info = IEEE80211_SKB_CB(skb); in ath_tx_complete_aggr()
557 memcpy(tx_info->control.rates, rates, sizeof(rates)); in ath_tx_complete_aggr()
638 struct ieee80211_tx_info *tx_info; in ath_lookup_legacy() local
643 tx_info = IEEE80211_SKB_CB(skb); in ath_lookup_legacy()
[all …]
Dcommon.c46 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath9k_cmn_get_hw_crypto_keytype() local
48 if (tx_info->control.hw_key) { in ath9k_cmn_get_hw_crypto_keytype()
49 switch (tx_info->control.hw_key->cipher) { in ath9k_cmn_get_hw_crypto_keytype()
Dhtc_drv_txrx.c219 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_mgmt() local
253 mgmt_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_mgmt()
266 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_data() local
292 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) { in ath9k_htc_tx_data()
320 tx_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_data()
340 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_start() local
341 struct ieee80211_sta *sta = tx_info->control.sta; in ath9k_htc_tx_start()
342 struct ieee80211_vif *vif = tx_info->control.vif; in ath9k_htc_tx_start()
446 struct ieee80211_tx_info *tx_info; in ath9k_htc_tx_process() local
461 tx_info = IEEE80211_SKB_CB(skb); in ath9k_htc_tx_process()
[all …]
Dmain.c400 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in ath_paprd_send_frame() local
409 memset(tx_info, 0, sizeof(*tx_info)); in ath_paprd_send_frame()
410 tx_info->band = hw->conf.channel->band; in ath_paprd_send_frame()
411 tx_info->flags |= IEEE80211_TX_CTL_NO_ACK; in ath_paprd_send_frame()
412 tx_info->control.rates[0].idx = 0; in ath_paprd_send_frame()
413 tx_info->control.rates[0].count = 1; in ath_paprd_send_frame()
414 tx_info->control.rates[0].flags = IEEE80211_TX_RC_MCS; in ath_paprd_send_frame()
415 tx_info->control.rates[1].idx = -1; in ath_paprd_send_frame()
Dhtc.h310 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in HTC_SKB_CB() local
314 return (struct ath9k_htc_tx_ctl *) &tx_info->driver_data; in HTC_SKB_CB()
/linux-3.4.99/drivers/net/ethernet/brocade/bna/
Dbnad.c263 tcb = bnad->tx_info[i].tcb[j]; in bnad_tx_free_tasklet()
647 tcb = bnad->tx_info[i].tcb[j]; in bnad_isr()
649 bnad_tx(bnad, bnad->tx_info[i].tcb[j]); in bnad_isr()
775 bnad->tx_info[tx_id].tcb[tcb_id]; in bnad_cb_ethport_link_status()
827 struct bnad_tx_info *tx_info = in bnad_cb_tcb_setup() local
831 tx_info->tcb[tcb->id] = tcb; in bnad_cb_tcb_setup()
840 struct bnad_tx_info *tx_info = in bnad_cb_tcb_destroy() local
855 tx_info->tcb[tcb->id] = NULL; in bnad_cb_tcb_destroy()
896 struct bnad_tx_info *tx_info = in bnad_cb_tx_stall() local
903 tcb = tx_info->tcb[i]; in bnad_cb_tx_stall()
[all …]
Dbnad_ethtool.c493 if (!bnad->tx_info[i].tx) in bnad_set_ringparam()
690 if (!bnad->tx_info[i].tx) in bnad_get_strings()
753 if (!bnad->tx_info[i].tx) in bnad_get_stats_count_locked()
829 if (!bnad->tx_info[i].tx) in bnad_per_q_stats_fill()
832 if (bnad->tx_info[i].tcb[j] && in bnad_per_q_stats_fill()
833 bnad->tx_info[i].tcb[j]->txq) { in bnad_per_q_stats_fill()
834 tcb = bnad->tx_info[i].tcb[j]; in bnad_per_q_stats_fill()
/linux-3.4.99/drivers/net/ethernet/adaptec/
Dstarfire.c552 struct tx_ring_info tx_info[TX_RING_SIZE]; member
1209 memset(&np->tx_info[i], 0, sizeof(np->tx_info[i])); in init_ring()
1242 np->tx_info[entry].skb = skb; in start_tx()
1258 np->tx_info[entry].mapping = in start_tx()
1263 np->tx_info[entry].mapping = in start_tx()
1270 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); in start_tx()
1277 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()
1278 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1281 np->tx_info[entry].used_slots = 1; in start_tx()
1282 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
[all …]
/linux-3.4.99/drivers/net/wireless/rtlwifi/
Drc.c138 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in rtl_get_rate() local
139 struct ieee80211_tx_rate *rates = tx_info->control.rates; in rtl_get_rate()
/linux-3.4.99/drivers/usb/musb/
Dcppi_dma.h29 u32 tx_info; /* flags, remaining buflen */ member
/linux-3.4.99/drivers/net/wireless/ath/carl9170/
Dtx.c1239 struct ieee80211_tx_info *tx_info; in carl9170_tx_ps_drop() local
1247 tx_info = IEEE80211_SKB_CB(skb); in carl9170_tx_ps_drop()
1250 !(tx_info->flags & (IEEE80211_TX_CTL_NO_PS_BUFFER | in carl9170_tx_ps_drop()
1254 if (tx_info->flags & IEEE80211_TX_CTL_AMPDU) in carl9170_tx_ps_drop()
1257 tx_info->flags |= IEEE80211_TX_STAT_TX_FILTERED; in carl9170_tx_ps_drop()

12