Home
last modified time | relevance | path

Searched refs:tx_hdr (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/ti/wl1251/
Dtx.c83 static void wl1251_tx_control(struct tx_double_buffer_desc *tx_hdr, in wl1251_tx_control() argument
86 *(u16 *)&tx_hdr->control = 0; in wl1251_tx_control()
88 tx_hdr->control.rate_policy = 0; in wl1251_tx_control()
91 tx_hdr->control.packet_type = 0; in wl1251_tx_control()
96 tx_hdr->control.rate_policy = 1; in wl1251_tx_control()
97 tx_hdr->control.ack_policy = 1; in wl1251_tx_control()
100 tx_hdr->control.tx_complete = 1; in wl1251_tx_control()
105 tx_hdr->control.qos = 1; in wl1251_tx_control()
115 static void wl1251_tx_frag_block_num(struct tx_double_buffer_desc *tx_hdr) in wl1251_tx_frag_block_num() argument
121 tx_hdr->frag_threshold = cpu_to_le16(frag_threshold); in wl1251_tx_frag_block_num()
[all …]
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c269 struct tx_frame_hdr tx_hdr; in ath9k_htc_tx_data() local
278 memset(&tx_hdr, 0, sizeof(struct tx_frame_hdr)); in ath9k_htc_tx_data()
280 tx_hdr.node_idx = sta_idx; in ath9k_htc_tx_data()
281 tx_hdr.vif_idx = vif_idx; in ath9k_htc_tx_data()
282 tx_hdr.cookie = slot; in ath9k_htc_tx_data()
294 tx_hdr.data_type = ATH9K_HTC_AMPDU; in ath9k_htc_tx_data()
297 tx_hdr.data_type = ATH9K_HTC_NORMAL; in ath9k_htc_tx_data()
302 tx_hdr.tidno = qc[0] & IEEE80211_QOS_CTL_TID_MASK; in ath9k_htc_tx_data()
315 tx_hdr.flags = cpu_to_be32(flags); in ath9k_htc_tx_data()
316 tx_hdr.key_type = ath9k_cmn_get_hw_crypto_keytype(skb); in ath9k_htc_tx_data()
[all …]
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c62 u8 rx_hdr[16], tx_hdr[16]; member
571 michael_mic_hdr(skb, tkey->tx_hdr); in ieee80211_michael_mic_add()
576 tkey->tx_hdr[12] = *(skb->data + hdr_len - 2) & 0x07; in ieee80211_michael_mic_add()
581 if (michael_mic(tkey->tx_tfm_michael, &tkey->key[16], tkey->tx_hdr, in ieee80211_michael_mic_add()
/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c55 u8 rx_hdr[16], tx_hdr[16]; member
566 michael_mic_hdr(skb, tkey->tx_hdr); in rtllib_michael_mic_add()
569 tkey->tx_hdr[12] = *(skb->data + hdr_len - 2) & 0x07; in rtllib_michael_mic_add()
571 if (michael_mic(tkey->tx_tfm_michael, &tkey->key[16], tkey->tx_hdr, in rtllib_michael_mic_add()
/drivers/net/wireless/zd1211rw/
Dzd_mac.c516 struct ieee80211_hdr *tx_hdr; in zd_mac_tx_failed() local
532 tx_hdr = (struct ieee80211_hdr *)skb->data; in zd_mac_tx_failed()
535 if (unlikely(!ether_addr_equal(tx_hdr->addr1, tx_status->mac))) in zd_mac_tx_failed()
991 struct ieee80211_hdr *tx_hdr; in filter_ack() local
998 tx_hdr = (struct ieee80211_hdr *)skb->data; in filter_ack()
999 if (likely(ether_addr_equal(tx_hdr->addr2, rx_hdr->addr1))) in filter_ack()
/drivers/net/wireless/rtl818x/rtl8187/
Ddev.c236 struct ieee80211_hdr *tx_hdr = (struct ieee80211_hdr *)(skb->data); in rtl8187_tx() local
254 if (ieee80211_has_morefrags(tx_hdr->frame_control)) in rtl8187_tx()
276 tx_hdr->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG); in rtl8187_tx()
277 tx_hdr->seq_ctrl |= cpu_to_le16(priv->seqno); in rtl8187_tx()
293 u16 fc = le16_to_cpu(tx_hdr->frame_control); in rtl8187_tx()
/drivers/ntb/
Dntb_transport.c86 struct ntb_payload_header __iomem *tx_hdr; member
1241 struct ntb_payload_header __iomem *hdr = entry->tx_hdr; in ntb_tx_copy_callback()
1288 entry->tx_hdr = hdr; in ntb_async_tx()