Home
last modified time | relevance | path

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

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
Dhmac_crypto_tkip.c68 …hmac_crypto_tkip_michael_hdr(mac_ieee80211_frame_stru *frame_header, hi_u8 *auc_hdr, hi_u8 hdr_len) in hmac_crypto_tkip_michael_hdr() argument
76 if ((memcpy_s(auc_hdr, hdr_len, frame_4addr_hdr->auc_address1, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_crypto_tkip_michael_hdr()
77 … (memcpy_s(auc_hdr + WLAN_MAC_ADDR_LEN, hdr_len - WLAN_MAC_ADDR_LEN, frame_4addr_hdr->auc_address2, in hmac_crypto_tkip_michael_hdr()
82 if ((memcpy_s(auc_hdr, hdr_len, frame_4addr_hdr->auc_address3, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_crypto_tkip_michael_hdr()
83 … (memcpy_s(auc_hdr + WLAN_MAC_ADDR_LEN, hdr_len - WLAN_MAC_ADDR_LEN, frame_4addr_hdr->auc_address2, in hmac_crypto_tkip_michael_hdr()
88 if ((memcpy_s(auc_hdr, hdr_len, frame_4addr_hdr->auc_address1, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_crypto_tkip_michael_hdr()
89 … (memcpy_s(auc_hdr + WLAN_MAC_ADDR_LEN, hdr_len - WLAN_MAC_ADDR_LEN, frame_4addr_hdr->auc_address3, in hmac_crypto_tkip_michael_hdr()
94 if ((memcpy_s(auc_hdr, hdr_len, frame_4addr_hdr->auc_address3, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_crypto_tkip_michael_hdr()
95 … (memcpy_s(auc_hdr + WLAN_MAC_ADDR_LEN, hdr_len - WLAN_MAC_ADDR_LEN, frame_4addr_hdr->auc_address4, in hmac_crypto_tkip_michael_hdr()
Ddmac_ext_if.h485 hi_u8 hdr_len; /* 帧头长度 */ member
Dhmac_mgmt_bss_comm.c495 wlan_ctx_action.hdr_len = MAC_80211_FRAME_LEN; in hmac_mgmt_set_addba_req()
749 wlan_ctx_action.hdr_len = MAC_80211_FRAME_LEN; in hmac_mgmt_tx_addba_rsp()
882 wlan_ctx_action.hdr_len = MAC_80211_FRAME_LEN; in hmac_mgmt_tx_delba()
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_monitor.c214 uint8_t hdr_len; in monitor_write_header() local
216 hdr_len = sizeof(ts_hdr); in monitor_write_header()
220 hdr_len += sizeof(rtt_drops.drops_hdr); in monitor_write_header()
224 hdr.data_len = htole16(4 + hdr_len + len); // 4:byte alignment in monitor_write_header()
225 hdr.hdr_len = hdr_len; in monitor_write_header()
Dble_monitor_priv.h55 uint8_t hdr_len; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Ditp.c207 itp->hdr_len = WSM_TX_EXTRA_HEADROOM + in xradio_itp_init()
368 len = itp->hdr_len + itp->data_len; in xradio_itp_tx_start()
372 tx->hdr.len = itp->data_len + itp->hdr_len; in xradio_itp_tx_start()
395 xradio_itp_fill_pattern(&itp->data[itp->hdr_len], in xradio_itp_tx_start()
571 *tx_len = itp->data_len + itp->hdr_len; in xradio_itp_get_tx()
574 xradio_itp_fill_pattern(&itp->data[itp->hdr_len], in xradio_itp_get_tx()
707 itp->hdr_len) in xradio_itp_handle()
Ditp.h90 int hdr_len; member
Dwsm.c1667 size_t hdr_len; in wsm_receive_indication() local
1737 hdr_len = buf->data - buf->begin; in wsm_receive_indication()
1738 skb_pull(*skb_p, hdr_len); in wsm_receive_indication()
1748 skb_push(*skb_p, hdr_len); in wsm_receive_indication()
1778 skb_push(*skb_p, hdr_len); in wsm_receive_indication()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/crypto/
Daes_wrap.h42 const u8 *hdr, size_t hdr_len,
46 const u8 *hdr, size_t hdr_len,
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Dmsf.h45 uint32 hdr_len; member
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Dmsf.h44 uint32 hdr_len; member
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_wapi_sms4.c501 u8 bPNOverflow = false, bFindMatchPeer = false, hdr_len = 0; in SecSMS4HeaderFillIV() local
511 hdr_len = sMacHdrLng; in SecSMS4HeaderFillIV()
513 hdr_len += 2; in SecSMS4HeaderFillIV()
517 memmove(pos, pos + padapter->wapiInfo.extra_prefix_len, hdr_len); in SecSMS4HeaderFillIV()
519 pSecHeader = pskb->data + hdr_len; in SecSMS4HeaderFillIV()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dtx.c2952 build.hdr_len = 24; in ieee80211_check_fast_xmit()
2960 build.hdr_len = 24; in ieee80211_check_fast_xmit()
2973 build.hdr_len = 30; in ieee80211_check_fast_xmit()
2981 build.hdr_len = 24; in ieee80211_check_fast_xmit()
2992 build.hdr_len = 30; in ieee80211_check_fast_xmit()
3002 build.hdr_len = 24; in ieee80211_check_fast_xmit()
3010 build.hdr_len += 2; in ieee80211_check_fast_xmit()
3043 build.pn_offs = build.hdr_len; in ieee80211_check_fast_xmit()
3045 build.hdr_len += IEEE80211_CCMP_HDR_LEN; in ieee80211_check_fast_xmit()
3050 build.pn_offs = build.hdr_len; in ieee80211_check_fast_xmit()
[all …]
Dmesh_hwmp.c112 int hdr_len = offsetofend(struct ieee80211_mgmt, in mesh_path_sel_frame_tx() local
116 hdr_len + in mesh_path_sel_frame_tx()
121 mgmt = skb_put_zero(skb, hdr_len); in mesh_path_sel_frame_tx()
243 int hdr_len = offsetofend(struct ieee80211_mgmt, in mesh_path_error_tx() local
252 hdr_len + in mesh_path_error_tx()
257 mgmt = skb_put_zero(skb, hdr_len); in mesh_path_error_tx()
Dmesh_plink.c222 int hdr_len = offsetofend(struct ieee80211_mgmt, u.action.u.self_prot); in mesh_plink_frame_tx() local
228 hdr_len + in mesh_plink_frame_tx()
248 mgmt = skb_put_zero(skb, hdr_len); in mesh_plink_frame_tx()
Dmesh.c758 int hdr_len = offsetofend(struct ieee80211_mgmt, u.beacon); in ieee80211_mesh_build_beacon() local
768 head_len = hdr_len + in ieee80211_mesh_build_beacon()
806 mgmt = skb_put_zero(skb, hdr_len); in ieee80211_mesh_build_beacon()
837 bcn->csa_counter_offsets[0] = hdr_len + 6; in ieee80211_mesh_build_beacon()
Dutil.c3525 int hdr_len = offsetofend(struct ieee80211_mgmt, in ieee80211_send_action_csa() local
3533 skb = dev_alloc_skb(local->tx_headroom + hdr_len + in ieee80211_send_action_csa()
3542 mgmt = skb_put_zero(skb, hdr_len); in ieee80211_send_action_csa()
3608 cs->hdr_len < cs->pn_len + cs->pn_off || in ieee80211_cs_valid()
3609 cs->hdr_len <= cs->key_idx_off || in ieee80211_cs_valid()
3662 if (cs && headroom < cs->hdr_len) in ieee80211_cs_headroom()
3663 headroom = cs->hdr_len; in ieee80211_cs_headroom()
3667 if (cs && headroom < cs->hdr_len) in ieee80211_cs_headroom()
3668 headroom = cs->hdr_len; in ieee80211_cs_headroom()
Dwpa.c860 data_len = rx->skb->len - hdrlen - cs->hdr_len; in ieee80211_crypto_cs_decrypt()
887 memmove(rx->skb->data + cs->hdr_len, rx->skb->data, hdrlen); in ieee80211_crypto_cs_decrypt()
888 skb_pull(rx->skb, cs->hdr_len); in ieee80211_crypto_cs_decrypt()
Dsta_info.h309 u8 hdr_len; member
Drx.c1028 minlen = hdrlen + cs->hdr_len; in ieee80211_get_keyid()
2330 u16 hdr_len = ieee80211_hdrlen(fc); in ieee80211_drop_unencrypted() local
2338 if (!pskb_may_pull(rx->skb, hdr_len + 6)) in ieee80211_drop_unencrypted()
2341 mesh_hdr = (struct ieee80211s_hdr *)(skb->data + hdr_len); in ieee80211_drop_unencrypted()
2342 ethertype_offset = hdr_len + ieee80211_get_mesh_hdrlen(mesh_hdr) + in ieee80211_drop_unencrypted()
Dkey.c650 key->conf.iv_len = cs->hdr_len; in ieee80211_key_alloc()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
Dhcc_hmac.c260 … hcc_tx_netbuf_normal(const frw_event_mem_stru *event_mem, oal_netbuf_stru *netbuf, hi_u32 hdr_len) in hcc_tx_netbuf_normal() argument
296 (hdr_len + (hi_u32)sizeof(frw_hcc_extend_hdr_stru)), fc_type, queue_id); in hcc_tx_netbuf_normal()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dosdep_service_bsd.h265 hdr_len; member
/device/soc/rockchip/common/sdk_linux/net/bluetooth/
Dl2cap_sock.c1634 static struct sk_buff *l2cap_sock_alloc_skb_cb(struct l2cap_chan *chan, unsigned long hdr_len, unsi… in l2cap_sock_alloc_skb_cb() argument
1642 skb = bt_skb_send_alloc(sk, hdr_len + len, nb, &err); in l2cap_sock_alloc_skb_cb()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/net/
Dmac80211.h1855 u8 hdr_len; member