Home
last modified time | relevance | path

Searched refs:head_len (Results 1 – 16 of 16) sorted by relevance

/drivers/net/wireless/ath/ath10k/
Dbmi.c458 u32 head_len = rounddown(length, 4); in ath10k_bmi_fast_download() local
459 u32 trailer_len = length - head_len; in ath10k_bmi_fast_download()
472 memcpy(trailer, buffer + head_len, trailer_len); in ath10k_bmi_fast_download()
475 ret = ath10k_bmi_lz_data_large(ar, buffer, head_len); in ath10k_bmi_fast_download()
477 ret = ath10k_bmi_lz_data(ar, buffer, head_len); in ath10k_bmi_fast_download()
Dhtt_rx.c2689 u16 head_len, in ath10k_htt_rx_frag_tkip_decap_nomic() argument
2695 ivp = orig_hdr + hdr_len + head_len; in ath10k_htt_rx_frag_tkip_decap_nomic()
2701 memmove(orig_hdr + IEEE80211_TKIP_IV_LEN, orig_hdr, head_len + hdr_len); in ath10k_htt_rx_frag_tkip_decap_nomic()
2708 u16 head_len, in ath10k_htt_rx_frag_tkip_decap_withmic() argument
2714 ivp = orig_hdr + hdr_len + head_len; in ath10k_htt_rx_frag_tkip_decap_withmic()
2720 memmove(orig_hdr + IEEE80211_TKIP_IV_LEN, orig_hdr, head_len + hdr_len); in ath10k_htt_rx_frag_tkip_decap_withmic()
2727 u16 head_len, in ath10k_htt_rx_frag_ccmp_decap() argument
2733 ivp = orig_hdr + hdr_len + head_len; in ath10k_htt_rx_frag_ccmp_decap()
2740 memmove(orig_hdr + IEEE80211_CCMP_HDR_LEN, orig_hdr, head_len + hdr_len); in ath10k_htt_rx_frag_ccmp_decap()
2746 u16 head_len, in ath10k_htt_rx_frag_wep_decap() argument
[all …]
/drivers/net/wireless/mediatek/mt76/
Dtestmode.c110 u32 max_len, head_len; in mt76_testmode_alloc_skb() local
120 head_len = nfrags ? MT_TXP_MAX_LEN : len; in mt76_testmode_alloc_skb()
125 head = alloc_skb(head_len, GFP_KERNEL); in mt76_testmode_alloc_skb()
135 get_random_bytes(__skb_put(head, head_len - sizeof(*hdr)), in mt76_testmode_alloc_skb()
136 head_len - sizeof(*hdr)); in mt76_testmode_alloc_skb()
/drivers/net/ethernet/cisco/enic/
Denic_main.c571 unsigned int head_len = skb_headlen(skb); in enic_queue_wq_skb_vlan() local
572 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_vlan()
577 dma_addr = dma_map_single(&enic->pdev->dev, skb->data, head_len, in enic_queue_wq_skb_vlan()
587 enic_queue_wq_desc(wq, skb, dma_addr, head_len, vlan_tag_insert, in enic_queue_wq_skb_vlan()
600 unsigned int head_len = skb_headlen(skb); in enic_queue_wq_skb_csum_l4() local
601 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_csum_l4()
608 dma_addr = dma_map_single(&enic->pdev->dev, skb->data, head_len, in enic_queue_wq_skb_csum_l4()
618 enic_queue_wq_desc_csum_l4(wq, skb, dma_addr, head_len, csum_offset, in enic_queue_wq_skb_csum_l4()
743 unsigned int head_len = skb_headlen(skb); in enic_queue_wq_skb_encap() local
744 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_encap()
[all …]
/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c432 len = mbx->head_len; in fm10k_mbx_read_copy()
485 mbx->head_len = len; in fm10k_mbx_push_tail()
641 u16 len = mbx->head_len; in fm10k_mbx_verify_remote_crc()
1084 mbx->head_len = 0; in fm10k_mbx_reset_work()
1252 mbx->head_len = 0; in fm10k_mbx_process_disconnect()
Dfm10k_mbx.h267 u16 head, head_len, pushed; member
/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c2293 static int rtw_add_beacon(struct adapter *adapter, const u8 *head, size_t head_len, const u8 *tail,… in rtw_add_beacon() argument
2303 if (head_len < 24) in rtw_add_beacon()
2306 pbuf = rtw_zmalloc(head_len+tail_len); in rtw_add_beacon()
2310 memcpy(pbuf, (void *)head+24, head_len-24);/* 24 =beacon header len. */ in rtw_add_beacon()
2311 memcpy(pbuf+head_len-24, (void *)tail, tail_len); in rtw_add_beacon()
2313 len = head_len+tail_len-24; in rtw_add_beacon()
2339 ret = rtw_add_beacon(adapter, settings->beacon.head, settings->beacon.head_len, in cfg80211_rtw_start_ap()
2362 return rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len); in cfg80211_rtw_change_beacon()
/drivers/mmc/host/
Dusdhi6rol0.c172 size_t head_len; member
318 size_t blk_head = host->head_len; in usdhi6_blk_bounce()
376 host->head_len = blk_head; in usdhi6_sg_map()
404 size_t blk_head = host->head_len; in usdhi6_sg_unmap()
444 host->offset = data->blksz - host->head_len; in usdhi6_sg_advance()
/drivers/net/wireless/microchip/wilc1000/
Dhif.c1752 wid.size = params->head_len + params->tail_len + 16; in wilc_add_beacon()
1762 put_unaligned_le32(params->head_len, cur_byte); in wilc_add_beacon()
1765 if (params->head_len > 0) in wilc_add_beacon()
1766 memcpy(cur_byte, params->head, params->head_len); in wilc_add_beacon()
1767 cur_byte += params->head_len; in wilc_add_beacon()
/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1361 u16 head_len = ETH_HLEN; in atl1e_rx_checksum() local
1372 head_len += 8; in atl1e_rx_checksum()
1373 iph = (struct iphdr *) (packet + head_len); in atl1e_rx_checksum()
/drivers/net/wireless/marvell/mwifiex/
Duap_cmd.c252 int len = params->beacon.head_len - var_offset; in mwifiex_set_uap_rates()
/drivers/net/wireless/ath/ath11k/
Ddp_rx.c3205 int head_len, tail_len, ret; in ath11k_dp_rx_h_verify_tkip_mic() local
3217 head_len = hdr_len + hal_rx_desc_sz + IEEE80211_TKIP_IV_LEN; in ath11k_dp_rx_h_verify_tkip_mic()
3227 data = msdu->data + head_len; in ath11k_dp_rx_h_verify_tkip_mic()
3228 data_len = msdu->len - head_len - tail_len; in ath11k_dp_rx_h_verify_tkip_mic()
/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c195 len += round_up(s->beacon.head_len, QLINK_ALIGN); in qtnf_cmd_start_ap_can_fit()
309 s->beacon.head, s->beacon.head_len); in qtnf_cmd_send_start_ap()
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1849 b->head, b->head_len, true); in wil_print_bcon_data()
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c2804 if (ies > info->beacon.head + info->beacon.head_len) in ath6kl_start_ap()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c4749 settings->beacon.head_len - ie_offset, in brcmf_cfg80211_start_ap()