Home
last modified time | relevance | path

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

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
H A Dhcc_hmac.c425 hi_u32 headroom_add; in hcc_check_headroom_add_length() local
429 headroom_add = HI_MAX_DEV_CB_LEN + WLAN_MAX_MAC_HDR_LEN - tx_ctrl->frame_header_length; in hcc_check_headroom_add_length()
432 headroom_add = HI_MAX_DEV_CB_LEN + WLAN_MAX_MAC_HDR_LEN; in hcc_check_headroom_add_length()
435 return headroom_add; in hcc_check_headroom_add_length()
441 hi_u32 headroom_add; in hcc_host_tx_data_adapt() local
453 headroom_add = hcc_check_headroom_add_length(tx_ctrl); in hcc_host_tx_data_adapt()
454 if (headroom_add > oal_netbuf_headroom(netbuf)) { in hcc_host_tx_data_adapt()
455 err_code = oal_netbuf_expand_head(netbuf, (hi_s32)headroom_add - (hi_s32)oal_netbuf_headroom(netbuf), in hcc_host_tx_data_adapt()
468 oal_netbuf_push(netbuf, headroom_add); in hcc_host_tx_data_adapt()

Completed in 2 milliseconds