Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ath/ath10k/
A 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()
A Dhtt_rx.c2567 u16 head_len, in ath10k_htt_rx_frag_tkip_decap_nomic() argument
2573 ivp = orig_hdr + hdr_len + head_len; in ath10k_htt_rx_frag_tkip_decap_nomic()
2579 memmove(orig_hdr + IEEE80211_TKIP_IV_LEN, orig_hdr, head_len + hdr_len); in ath10k_htt_rx_frag_tkip_decap_nomic()
2586 u16 head_len, in ath10k_htt_rx_frag_tkip_decap_withmic() argument
2592 ivp = orig_hdr + hdr_len + head_len; in ath10k_htt_rx_frag_tkip_decap_withmic()
2598 memmove(orig_hdr + IEEE80211_TKIP_IV_LEN, orig_hdr, head_len + hdr_len); in ath10k_htt_rx_frag_tkip_decap_withmic()
2605 u16 head_len, in ath10k_htt_rx_frag_ccmp_decap() argument
2611 ivp = orig_hdr + hdr_len + head_len; in ath10k_htt_rx_frag_ccmp_decap()
2618 memmove(orig_hdr + IEEE80211_CCMP_HDR_LEN, orig_hdr, head_len + hdr_len); in ath10k_htt_rx_frag_ccmp_decap()
2624 u16 head_len, in ath10k_htt_rx_frag_wep_decap() argument
[all …]
/linux/include/trace/events/
A Dsunrpc.h64 __field(size_t, head_len)
77 __entry->head_len = xdr->head[0].iov_len;
88 __entry->head_base, __entry->head_len,
648 __field(size_t, head_len)
692 __entry->head_base, __entry->head_len,
715 __field(size_t, head_len)
751 __entry->head_base, __entry->head_len,
1469 __field(size_t, head_len)
1481 __entry->head_len = xdr->head[0].iov_len;
1517 __field(size_t, head_len)
[all …]
/linux/net/ipv4/
A Dicmp.c109 int head_len; member
375 icmp_param->data_len+icmp_param->head_len, in icmp_push_reply()
376 icmp_param->head_len, in icmp_push_reply()
387 icmp_param->head_len); in icmp_push_reply()
760 icmp_param.head_len = sizeof(struct icmphdr); in __icmp_send()
1008 icmp_param.head_len = sizeof(struct icmphdr); in icmp_echo()
1157 icmp_param.head_len = sizeof(struct icmphdr) + 12; in icmp_timestamp()
/linux/net/mac80211/
A Dmesh.c809 int head_len, tail_len; in ieee80211_mesh_build_beacon() local
828 head_len = hdr_len + in ieee80211_mesh_build_beacon()
853 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon()
855 skb = dev_alloc_skb(max(head_len, tail_len)); in ieee80211_mesh_build_beacon()
952 bcn->head_len = skb->len; in ieee80211_mesh_build_beacon()
953 memcpy(bcn->head, skb->data, bcn->head_len); in ieee80211_mesh_build_beacon()
957 bcn->tail = bcn->head + bcn->head_len; in ieee80211_mesh_build_beacon()
1285 bcn->head_len + bcn->tail_len); in ieee80211_mesh_rx_probe_req()
1290 skb_put_data(presp, bcn->head, bcn->head_len); in ieee80211_mesh_rx_probe_req()
A Dtx.c4809 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn()
4813 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn()
4934 beacon_data_len = beacon->head_len; in ieee80211_beacon_cntdwn_is_complete()
4943 beacon_data_len = beacon->head_len; in ieee80211_beacon_cntdwn_is_complete()
5076 skb_put_data(skb, beacon->head, beacon->head_len); in ieee80211_beacon_get_ap()
5081 offs->tim_offset = beacon->head_len; in ieee80211_beacon_get_ap()
5082 offs->tim_length = skb->len - beacon->head_len; in ieee80211_beacon_get_ap()
5152 skb_put_data(skb, beacon->head, beacon->head_len); in __ieee80211_beacon_get()
5183 beacon->head_len + in __ieee80211_beacon_get()
5194 offs->tim_offset = beacon->head_len; in __ieee80211_beacon_get()
[all …]
A Dibss.c208 presp->head_len = pos - presp->head; in ieee80211_ibss_build_presp()
209 if (WARN_ON(presp->head_len > frame_len)) in ieee80211_ibss_build_presp()
390 presp->head_len, GFP_KERNEL); in __ieee80211_sta_join_ibss()
1568 skb = dev_alloc_skb(local->tx_headroom + presp->head_len); in ieee80211_rx_mgmt_probe_req()
1573 skb_put_data(skb, presp->head, presp->head_len); in ieee80211_rx_mgmt_probe_req()
A Dcfg.c1011 new_head_len = params->head_len; in ieee80211_assign_beacon()
1013 new_head_len = old->head_len; in ieee80211_assign_beacon()
1036 new->head_len = new_head_len; in ieee80211_assign_beacon()
3131 len = beacon->head_len + beacon->tail_len + beacon->beacon_ies_len + in cfg80211_beacon_dup()
3140 if (beacon->head_len) { in cfg80211_beacon_dup()
3141 new_beacon->head_len = beacon->head_len; in cfg80211_beacon_dup()
3143 memcpy(pos, beacon->head, beacon->head_len); in cfg80211_beacon_dup()
3144 pos += beacon->head_len; in cfg80211_beacon_dup()
A Dieee80211_i.h256 int head_len, tail_len; member
/linux/drivers/net/wireless/mediatek/mt76/
A Dtestmode.c108 u32 max_len, head_len; in mt76_testmode_alloc_skb() local
118 head_len = nfrags ? MT_TXP_MAX_LEN : len; in mt76_testmode_alloc_skb()
123 head = alloc_skb(head_len, GFP_KERNEL); in mt76_testmode_alloc_skb()
127 hdr = __skb_put_zero(head, head_len); in mt76_testmode_alloc_skb()
/linux/drivers/net/ethernet/cisco/enic/
A 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()
744 unsigned int head_len = skb_headlen(skb); in enic_queue_wq_skb_encap() local
745 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_encap()
756 dma_addr = dma_map_single(&enic->pdev->dev, skb->data, head_len, in enic_queue_wq_skb_encap()
[all …]
/linux/drivers/net/ethernet/intel/fm10k/
A Dfm10k_mbx.h267 u16 head, head_len, pushed; member
A 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()
/linux/drivers/staging/rtl8723bs/os_dep/
A Dioctl_cfg80211.c2410 static int rtw_add_beacon(struct adapter *adapter, const u8 *head, size_t head_len, const u8 *tail,… in rtw_add_beacon() argument
2420 if (head_len < 24) in rtw_add_beacon()
2423 pbuf = rtw_zmalloc(head_len+tail_len); in rtw_add_beacon()
2427 memcpy(pbuf, (void *)head+24, head_len-24);/* 24 =beacon header len. */ in rtw_add_beacon()
2428 memcpy(pbuf+head_len-24, (void *)tail, tail_len); in rtw_add_beacon()
2430 len = head_len+tail_len-24; in rtw_add_beacon()
2457 ret = rtw_add_beacon(adapter, settings->beacon.head, settings->beacon.head_len, in cfg80211_rtw_start_ap()
2480 return rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len); in cfg80211_rtw_change_beacon()
/linux/net/ceph/
A Dmessenger_v2.c391 int head_len; in head_onwire_len() local
395 head_len = CEPH_PREAMBLE_SECURE_LEN; in head_onwire_len()
398 head_len += padded_len(rem_len) + CEPH_GCM_TAG_LEN; in head_onwire_len()
401 head_len = CEPH_PREAMBLE_PLAIN_LEN; in head_onwire_len()
403 head_len += ctrl_len + CEPH_CRC_LEN; in head_onwire_len()
405 return head_len; in head_onwire_len()
1683 int head_len; in prepare_read_control() local
1689 head_len = head_onwire_len(ctrl_len, false); in prepare_read_control()
1690 buf = alloc_conn_buf(con, head_len); in prepare_read_control()
1699 add_in_sign_kvec(con, buf, head_len); in prepare_read_control()
/linux/drivers/mmc/host/
A 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()
/linux/drivers/net/wireless/microchip/wilc1000/
A Dhif.c1770 wid.size = params->head_len + params->tail_len + 16; in wilc_add_beacon()
1780 put_unaligned_le32(params->head_len, cur_byte); in wilc_add_beacon()
1783 if (params->head_len > 0) in wilc_add_beacon()
1784 memcpy(cur_byte, params->head, params->head_len); in wilc_add_beacon()
1785 cur_byte += params->head_len; in wilc_add_beacon()
/linux/drivers/net/ethernet/atheros/atl1e/
A Datl1e_main.c1358 u16 head_len = ETH_HLEN; in atl1e_rx_checksum() local
1369 head_len += 8; in atl1e_rx_checksum()
1370 iph = (struct iphdr *) (packet + head_len); in atl1e_rx_checksum()
/linux/drivers/net/wireless/marvell/mwifiex/
A Duap_cmd.c264 int len = params->beacon.head_len - var_offset; in mwifiex_set_uap_rates()
/linux/drivers/net/wireless/ath/ath11k/
A Ddp_rx.c3216 int head_len, tail_len, ret; in ath11k_dp_rx_h_verify_tkip_mic() local
3228 head_len = hdr_len + hal_rx_desc_sz + IEEE80211_TKIP_IV_LEN; in ath11k_dp_rx_h_verify_tkip_mic()
3238 data = msdu->data + head_len; in ath11k_dp_rx_h_verify_tkip_mic()
3239 data_len = msdu->len - head_len - tail_len; in ath11k_dp_rx_h_verify_tkip_mic()
/linux/drivers/net/wireless/quantenna/qtnfmac/
A Dcommands.c195 len += round_up(s->beacon.head_len, QLINK_ALIGN); in qtnf_cmd_start_ap_can_fit()
307 s->beacon.head, s->beacon.head_len); in qtnf_cmd_send_start_ap()
/linux/net/wireless/
A Dtrace.h605 __dynamic_array(u8, head, info ? info->head_len : 0)
620 info->head_len);
/linux/include/net/
A Dcfg80211.h1128 size_t head_len, tail_len; member
/linux/drivers/net/wireless/ath/wil6210/
A Dcfg80211.c1850 b->head, b->head_len, true); in wil_print_bcon_data()
/linux/drivers/net/wireless/ath/ath6kl/
A Dcfg80211.c2804 if (ies > info->beacon.head + info->beacon.head_len) in ath6kl_start_ap()

Completed in 184 milliseconds

12