Home
last modified time | relevance | path

Searched refs:ip_pkt_len (Results 1 – 21 of 21) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_cfgvendor.c2997 uint16 ip_pkt_len = 0; in wl_cfgvendor_start_mkeep_alive() local
3013 ip_pkt_len = nla_get_u16(iter); in wl_cfgvendor_start_mkeep_alive()
3014 if (ip_pkt_len > MKEEP_ALIVE_IP_PKT_MAX) { in wl_cfgvendor_start_mkeep_alive()
3020 if (!ip_pkt_len) { in wl_cfgvendor_start_mkeep_alive()
3025 ip_pkt = (u8 *)kzalloc(ip_pkt_len, kflags); in wl_cfgvendor_start_mkeep_alive()
3031 memcpy(ip_pkt, (u8*)nla_data(iter), ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
3055 ret = dhd_dev_start_mkeep_alive(dhd_pub, mkeep_alive_id, ip_pkt, ip_pkt_len, src_mac, in wl_cfgvendor_start_mkeep_alive()
H A Ddhd.h1715 uint16 ip_pkt_len, uint8* src_mac_addr, uint8* dst_mac_addr, uint32 period_msec);
H A Ddhd_linux.c15673 uint16 ip_pkt_len, uint8* src_mac, uint8* dst_mac, uint32 period_msec) in dhd_dev_start_mkeep_alive() argument
15783 memcpy(pmac_frame, ip_pkt, ip_pkt_len); in dhd_dev_start_mkeep_alive()
15784 pmac_frame += ip_pkt_len; in dhd_dev_start_mkeep_alive()
15790 len_bytes = ETHER_ADDR_LEN*2 + ETHERTYPE_LEN + ip_pkt_len; in dhd_dev_start_mkeep_alive()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/
H A Dmoal_cfg80211_util.c3826 t_u16 ip_pkt_len = 0; in woal_cfg80211_subcmd_start_keep_alive() local
3858 ip_pkt_len = nla_get_u16(iter); in woal_cfg80211_subcmd_start_keep_alive()
3859 if (ip_pkt_len > MKEEP_ALIVE_IP_PKT_MAX) { in woal_cfg80211_subcmd_start_keep_alive()
3865 if (ip_pkt_len) { in woal_cfg80211_subcmd_start_keep_alive()
3870 ip_pkt = (u8 *)kzalloc(ip_pkt_len, GFP_ATOMIC); in woal_cfg80211_subcmd_start_keep_alive()
3879 nla_len(iter), ip_pkt_len); in woal_cfg80211_subcmd_start_keep_alive()
3907 priv, mkeep_alive_id, true, ether_type, ip_pkt, ip_pkt_len, in woal_cfg80211_subcmd_start_keep_alive()
H A Dmoal_main.h3864 t_u8 *ip_pkt, t_u16 ip_pkt_len, t_u8 *src_mac,
3871 t_u8 *ip_pkt, t_u16 ip_pkt_len, t_u8 *src_mac, t_u8 *dst_mac,
H A Dmoal_eth_ioctl.c17407 t_u8 *ip_pkt, t_u16 ip_pkt_len, t_u8 *src_mac, in woal_start_mkeep_alive() argument
17452 MIN(ip_pkt_len, MKEEP_ALIVE_IP_PKT_MAX); in woal_start_mkeep_alive()
17454 ip_pkt_len, MKEEP_ALIVE_IP_PKT_MAX); in woal_start_mkeep_alive()
17583 t_u16 ip_pkt_len, t_u8 *src_mac, in woal_priv_save_cloud_keep_alive_params() argument
17648 keep_alive->pkt_len = MIN(ip_pkt_len, MKEEP_ALIVE_IP_PKT_MAX); in woal_priv_save_cloud_keep_alive_params()
17649 moal_memcpy_ext(phandle, keep_alive->packet, ip_pkt, ip_pkt_len, in woal_priv_save_cloud_keep_alive_params()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfgvendor.c7527 uint16 ip_pkt_len = 0; in wl_cfgvendor_start_mkeep_alive() local
7542 ip_pkt_len = nla_get_u16(iter); in wl_cfgvendor_start_mkeep_alive()
7543 if (ip_pkt_len > MKEEP_ALIVE_IP_PKT_MAX) { in wl_cfgvendor_start_mkeep_alive()
7554 if (!ip_pkt_len) { in wl_cfgvendor_start_mkeep_alive()
7559 ip_pkt = (u8 *)MALLOCZ(cfg->osh, ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
7565 memcpy(ip_pkt, (u8*)nla_data(iter), ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
7589 ret = dhd_dev_start_mkeep_alive(dhd_pub, mkeep_alive_id, ip_pkt, ip_pkt_len, src_mac, in wl_cfgvendor_start_mkeep_alive()
7597 MFREE(cfg->osh, ip_pkt, ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
H A Ddhd.h2205 uint16 ip_pkt_len, uint8* src_mac_addr, uint8* dst_mac_addr, uint32 period_msec);
H A Ddhd_linux.c15019 uint16 ip_pkt_len, uint8* src_mac, uint8* dst_mac, uint32 period_msec)
15129 memcpy(pmac_frame, ip_pkt, ip_pkt_len);
15130 pmac_frame += ip_pkt_len;
15136 len_bytes = ETHER_ADDR_LEN*2 + ETHERTYPE_LEN + ip_pkt_len;
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfgvendor.c7609 uint16 ip_pkt_len = 0; in wl_cfgvendor_start_mkeep_alive() local
7624 ip_pkt_len = nla_get_u16(iter); in wl_cfgvendor_start_mkeep_alive()
7625 if (ip_pkt_len > MKEEP_ALIVE_IP_PKT_MAX) { in wl_cfgvendor_start_mkeep_alive()
7636 if (!ip_pkt_len) { in wl_cfgvendor_start_mkeep_alive()
7641 ip_pkt = (u8 *)MALLOCZ(cfg->osh, ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
7647 memcpy(ip_pkt, (u8*)nla_data(iter), ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
7671 ret = dhd_dev_start_mkeep_alive(dhd_pub, mkeep_alive_id, ip_pkt, ip_pkt_len, src_mac, in wl_cfgvendor_start_mkeep_alive()
7679 MFREE(cfg->osh, ip_pkt, ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
H A Ddhd.h2203 uint16 ip_pkt_len, uint8* src_mac_addr, uint8* dst_mac_addr, uint32 period_msec);
H A Ddhd_linux.c14892 uint16 ip_pkt_len, uint8* src_mac, uint8* dst_mac, uint32 period_msec)
15002 memcpy(pmac_frame, ip_pkt, ip_pkt_len);
15003 pmac_frame += ip_pkt_len;
15009 len_bytes = ETHER_ADDR_LEN*2 + ETHERTYPE_LEN + ip_pkt_len;
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfgvendor.c7609 uint16 ip_pkt_len = 0; in wl_cfgvendor_start_mkeep_alive() local
7624 ip_pkt_len = nla_get_u16(iter); in wl_cfgvendor_start_mkeep_alive()
7625 if (ip_pkt_len > MKEEP_ALIVE_IP_PKT_MAX) { in wl_cfgvendor_start_mkeep_alive()
7636 if (!ip_pkt_len) { in wl_cfgvendor_start_mkeep_alive()
7641 ip_pkt = (u8 *)MALLOCZ(cfg->osh, ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
7647 memcpy(ip_pkt, (u8*)nla_data(iter), ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
7671 ret = dhd_dev_start_mkeep_alive(dhd_pub, mkeep_alive_id, ip_pkt, ip_pkt_len, src_mac, in wl_cfgvendor_start_mkeep_alive()
7679 MFREE(cfg->osh, ip_pkt, ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
H A Ddhd.h2203 uint16 ip_pkt_len, uint8* src_mac_addr, uint8* dst_mac_addr, uint32 period_msec);
H A Ddhd_linux.c14827 uint16 ip_pkt_len, uint8* src_mac, uint8* dst_mac, uint32 period_msec)
14937 memcpy(pmac_frame, ip_pkt, ip_pkt_len);
14938 pmac_frame += ip_pkt_len;
14944 len_bytes = ETHER_ADDR_LEN*2 + ETHERTYPE_LEN + ip_pkt_len;
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_cfgvendor.c8532 uint16 ip_pkt_len = 0; in wl_cfgvendor_start_mkeep_alive() local
8547 ip_pkt_len = nla_get_u16(iter); in wl_cfgvendor_start_mkeep_alive()
8548 if (ip_pkt_len > MKEEP_ALIVE_IP_PKT_MAX) { in wl_cfgvendor_start_mkeep_alive()
8559 if (!ip_pkt_len) { in wl_cfgvendor_start_mkeep_alive()
8564 ip_pkt = (u8 *)MALLOCZ(cfg->osh, ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
8570 memcpy(ip_pkt, (u8*)nla_data(iter), ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
8604 ether_type, ip_pkt, ip_pkt_len, src_mac, dst_mac, period_msec); in wl_cfgvendor_start_mkeep_alive()
8611 MFREE(cfg->osh, ip_pkt, ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
H A Dwl_cfg80211.h3008 uint16 ether_type, uint8 *ip_pkt, uint16 ip_pkt_len, uint8* src_mac_addr,
H A Dwl_cfg80211.c22174 uint16 ether_type, uint8 *ip_pkt, uint16 ip_pkt_len, in wl_cfg80211_start_mkeep_alive() argument
22267 len_bytes = (ETHER_ADDR_LEN*2) + ETHERTYPE_LEN + ip_pkt_len; in wl_cfg80211_start_mkeep_alive()
22305 res = memcpy_s(pmac_frame, pmac_frame_len, ip_pkt, ip_pkt_len); in wl_cfg80211_start_mkeep_alive()
22309 pmac_frame += ip_pkt_len; in wl_cfg80211_start_mkeep_alive()
22310 pmac_frame_len -= ip_pkt_len; in wl_cfg80211_start_mkeep_alive()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_cfgvendor.c8559 uint16 ip_pkt_len = 0; in wl_cfgvendor_start_mkeep_alive() local
8574 ip_pkt_len = nla_get_u16(iter); in wl_cfgvendor_start_mkeep_alive()
8575 if (ip_pkt_len > MKEEP_ALIVE_IP_PKT_MAX) { in wl_cfgvendor_start_mkeep_alive()
8586 if (!ip_pkt_len) { in wl_cfgvendor_start_mkeep_alive()
8591 ip_pkt = (u8 *)MALLOCZ(cfg->osh, ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
8597 memcpy(ip_pkt, (u8*)nla_data(iter), ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
8631 ether_type, ip_pkt, ip_pkt_len, src_mac, dst_mac, period_msec); in wl_cfgvendor_start_mkeep_alive()
8638 MFREE(cfg->osh, ip_pkt, ip_pkt_len); in wl_cfgvendor_start_mkeep_alive()
H A Dwl_cfg80211.h3011 uint16 ether_type, uint8 *ip_pkt, uint16 ip_pkt_len, uint8* src_mac_addr,
H A Dwl_cfg80211.c22419 uint16 ether_type, uint8 *ip_pkt, uint16 ip_pkt_len, in wl_cfg80211_start_mkeep_alive() argument
22512 len_bytes = (ETHER_ADDR_LEN*2) + ETHERTYPE_LEN + ip_pkt_len; in wl_cfg80211_start_mkeep_alive()
22550 res = memcpy_s(pmac_frame, pmac_frame_len, ip_pkt, ip_pkt_len); in wl_cfg80211_start_mkeep_alive()
22554 pmac_frame += ip_pkt_len; in wl_cfg80211_start_mkeep_alive()
22555 pmac_frame_len -= ip_pkt_len; in wl_cfg80211_start_mkeep_alive()