Home
last modified time | relevance | path

Searched refs:tx_ctrl (Results 1 - 2 of 2) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
H A Dhcc_hmac.c423 hi_u32 hcc_check_headroom_add_length(const hmac_tx_ctl_stru *tx_ctrl) in hcc_check_headroom_add_length() argument
427 if (tx_ctrl->mac_head_type == 1) { in hcc_check_headroom_add_length()
429 headroom_add = HI_MAX_DEV_CB_LEN + WLAN_MAX_MAC_HDR_LEN - tx_ctrl->frame_header_length; in hcc_check_headroom_add_length()
440 hmac_tx_ctl_stru *tx_ctrl = HI_NULL; in hcc_host_tx_data_adapt() local
447 tx_ctrl = (hmac_tx_ctl_stru *)oal_netbuf_cb(netbuf); in hcc_host_tx_data_adapt()
448 if (OAL_WARN_ON(tx_ctrl->use_4_addr)) { in hcc_host_tx_data_adapt()
453 headroom_add = hcc_check_headroom_add_length(tx_ctrl); in hcc_host_tx_data_adapt()
462 if (tx_ctrl->mac_head_type == 1) { in hcc_host_tx_data_adapt()
463 tx_ctrl->frame_header = (mac_ieee80211_frame_stru *)oal_netbuf_data(netbuf); in hcc_host_tx_data_adapt()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Ddmac_ext_if.h950 static inline hi_u16 dmac_get_seqnum_by_txcb(const dmac_tx_ctl_stru *tx_ctrl) in dmac_get_seqnum_by_txcb() argument
952 return ((mac_ieee80211_frame_stru *)((hi_u8 *)tx_ctrl + HI_MAX_DEV_CB_LEN))->seq_num; in dmac_get_seqnum_by_txcb()
958 static inline mac_ieee80211_frame_stru *dmac_get_mac_hdr_by_txcb(dmac_tx_ctl_stru *tx_ctrl) in dmac_get_mac_hdr_by_txcb() argument
960 return (mac_ieee80211_frame_stru *)((hi_u8 *)tx_ctrl + HI_MAX_DEV_CB_LEN); in dmac_get_mac_hdr_by_txcb()

Completed in 5 milliseconds