Searched refs:apf_set_offload (Results 1 – 4 of 4) sorted by relevance
225 struct sir_apf_set_offload apf_set_offload = {0}; in hdd_set_reset_apf_offload() local242 apf_set_offload.session_id = adapter->deflink->vdev_id; in hdd_set_reset_apf_offload()243 apf_set_offload.total_length = nla_get_u32(tb[APF_PACKET_SIZE]); in hdd_set_reset_apf_offload()245 if (!apf_set_offload.total_length) { in hdd_set_reset_apf_offload()258 apf_set_offload.program = qdf_mem_malloc(sizeof(uint8_t) * prog_len); in hdd_set_reset_apf_offload()260 if (!apf_set_offload.program) { in hdd_set_reset_apf_offload()265 apf_set_offload.current_length = prog_len; in hdd_set_reset_apf_offload()266 nla_memcpy(apf_set_offload.program, tb[APF_PROGRAM], prog_len); in hdd_set_reset_apf_offload()274 apf_set_offload.filter_id = nla_get_u32(tb[APF_FILTER_ID]); in hdd_set_reset_apf_offload()282 apf_set_offload.current_offset = nla_get_u32(tb[APF_CURRENT_OFFSET]); in hdd_set_reset_apf_offload()[all …]
4760 struct sir_apf_set_offload *apf_set_offload) in wma_set_apf_instructions() argument4781 if (!apf_set_offload) { in wma_set_apf_instructions()4786 if (apf_set_offload->session_id >= wma->max_bssid) { in wma_set_apf_instructions()4787 wma_err("Invalid vdev_id: %d", apf_set_offload->session_id); in wma_set_apf_instructions()4791 if (!wma_is_vdev_up(apf_set_offload->session_id)) { in wma_set_apf_instructions()4793 apf_set_offload->session_id); in wma_set_apf_instructions()4797 if (apf_set_offload->total_length) { in wma_set_apf_instructions()4798 len_aligned = roundup(apf_set_offload->current_length, in wma_set_apf_instructions()4815 cmd->vdev_id = apf_set_offload->session_id; in wma_set_apf_instructions()4816 cmd->filter_id = apf_set_offload->filter_id; in wma_set_apf_instructions()[all …]
1642 struct sir_apf_set_offload *apf_set_offload);1701 struct sir_apf_set_offload *apf_set_offload) in wma_set_apf_instructions() argument
2069 *apf_set_offload);