Home
last modified time | relevance | path

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

12345678910>>...17

/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_sysfs_connect_info.c42 ssize_t length = 0; in wlan_hdd_version_info() local
48 return length; in wlan_hdd_version_info()
49 length += ret_val; in wlan_hdd_version_info()
51 if (length >= buf_avail_len) { in wlan_hdd_version_info()
56 ret_val = scnprintf(buf + length, buf_avail_len - length, in wlan_hdd_version_info()
69 return length; in wlan_hdd_version_info()
71 length += ret_val; in wlan_hdd_version_info()
73 return length; in wlan_hdd_version_info()
88 ssize_t length = 0; in wlan_hdd_add_nss_info() local
93 return length; in wlan_hdd_add_nss_info()
[all …]
Dwlan_hdd_debugfs_roam.c293 ssize_t length = 0; in hdd_roam_scan_trigger() local
302 return length; in hdd_roam_scan_trigger()
304 length = ret; in hdd_roam_scan_trigger()
309 return length; in hdd_roam_scan_trigger()
311 if (length >= buf_avail_len) { in hdd_roam_scan_trigger()
313 length = buf_avail_len; in hdd_roam_scan_trigger()
314 return length; in hdd_roam_scan_trigger()
317 ret = scnprintf(buf + length, buf_avail_len - length, in hdd_roam_scan_trigger()
321 return length; in hdd_roam_scan_trigger()
323 length += ret; in hdd_roam_scan_trigger()
[all …]
Dwlan_hdd_debugfs_offload.c56 ssize_t length = 0; in wlan_hdd_mc_addr_list_info_debugfs() local
66 length = ret; in wlan_hdd_mc_addr_list_info_debugfs()
67 return length; in wlan_hdd_mc_addr_list_info_debugfs()
77 length = ret; in wlan_hdd_mc_addr_list_info_debugfs()
78 return length; in wlan_hdd_mc_addr_list_info_debugfs()
85 length = ret; in wlan_hdd_mc_addr_list_info_debugfs()
86 return length; in wlan_hdd_mc_addr_list_info_debugfs()
93 return length; in wlan_hdd_mc_addr_list_info_debugfs()
94 length += ret; in wlan_hdd_mc_addr_list_info_debugfs()
97 if (length >= buf_avail_len) { in wlan_hdd_mc_addr_list_info_debugfs()
[all …]
Dwlan_hdd_oemdata.c243 ani_hdr->length = in send_oem_reg_rsp_nlink_msg()
245 nlh->nlmsg_len = NLMSG_LENGTH((sizeof(tAniMsgHdr) + ani_hdr->length)); in send_oem_reg_rsp_nlink_msg()
247 skb_put(skb, NLMSG_SPACE((sizeof(tAniMsgHdr) + ani_hdr->length))); in send_oem_reg_rsp_nlink_msg()
250 ani_hdr->length, p_hdd_ctx->oem_pid); in send_oem_reg_rsp_nlink_msg()
282 ani_hdr->length = sizeof(uint8_t); in send_oem_err_rsp_nlink_msg()
283 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(tAniMsgHdr) + ani_hdr->length); in send_oem_err_rsp_nlink_msg()
289 skb_put(skb, NLMSG_SPACE(sizeof(tAniMsgHdr) + ani_hdr->length)); in send_oem_err_rsp_nlink_msg()
338 ani_hdr->length = oem_data_rsp->rsp_len; in hdd_send_oem_data_rsp_msg()
339 nlh->nlmsg_len = NLMSG_LENGTH((sizeof(tAniMsgHdr) + ani_hdr->length)); in hdd_send_oem_data_rsp_msg()
343 skb_put(skb, NLMSG_SPACE((sizeof(tAniMsgHdr) + ani_hdr->length))); in hdd_send_oem_data_rsp_msg()
[all …]
Dwlan_hdd_debugfs_csr.c39 ssize_t length; in wlan_hdd_current_time_info_debugfs() local
50 length = ret_val; in wlan_hdd_current_time_info_debugfs()
52 return length; in wlan_hdd_current_time_info_debugfs()
109 ssize_t length; in __wlan_hdd_read_debugfs_csr() local
129 info->length = wlan_hdd_debugfs_update_csr(hdd_ctx, adapter, in __wlan_hdd_read_debugfs_csr()
135 length = simple_read_from_buffer(buf, count, pos, in __wlan_hdd_read_debugfs_csr()
136 info->data, info->length); in __wlan_hdd_read_debugfs_csr()
138 length, count, *pos); in __wlan_hdd_read_debugfs_csr()
141 return length; in __wlan_hdd_read_debugfs_csr()
214 info->length = 0; in __wlan_hdd_open_debugfs_csr()
Dwlan_hdd_sysfs_mem_stats.c71 ssize_t length; in hdd_wlan_mem_stats_show() local
82 length = __hdd_wlan_mem_stats_show(buf); in hdd_wlan_mem_stats_show()
86 return length; in hdd_wlan_mem_stats_show()
95 ssize_t length; in hdd_wlan_dp_mem_stats_show() local
106 length = __hdd_wlan_dp_mem_stats_show(buf); in hdd_wlan_dp_mem_stats_show()
110 return length; in hdd_wlan_dp_mem_stats_show()
Dwlan_hdd_apf.c380 write_mem_params.length = nla_len(tb[APF_PROGRAM]); in hdd_apf_write_memory()
381 if (!write_mem_params.length) { in hdd_apf_write_memory()
387 * write_mem_params.length); in hdd_apf_write_memory()
391 write_mem_params.length); in hdd_apf_write_memory()
405 write_mem_params.buf, write_mem_params.length); in hdd_apf_write_memory()
465 (context->buf_len - pkt_offset < evt->length)) { in hdd_apf_read_memory_callback()
471 qdf_mem_copy(buf_ptr, evt->data, evt->length); in hdd_apf_read_memory_callback()
531 read_mem_params.length = nla_get_u32(tb[APF_PACKET_SIZE]); in hdd_apf_read_memory()
532 if (!read_mem_params.length) { in hdd_apf_read_memory()
536 bufptr = qdf_mem_malloc(read_mem_params.length); in hdd_apf_read_memory()
[all …]
/wlan-driver/qca-wifi-host-cmn/os_if/linux/ftm/src/
Dwlan_ioctl_ftm.c36 int length; in wlan_process_ftm_ioctl_cmd() local
38 if (get_user(length, (uint32_t *)userdata) != 0) in wlan_process_ftm_ioctl_cmd()
41 if (length > WLAN_FTM_DATA_MAX_LEN) in wlan_process_ftm_ioctl_cmd()
44 buffer = qdf_mem_malloc(length); in wlan_process_ftm_ioctl_cmd()
48 if (copy_from_user(buffer, &userdata[sizeof(length)], length)) in wlan_process_ftm_ioctl_cmd()
51 error = ucfg_wlan_ftm_testmode_cmd(pdev, buffer, length); in wlan_process_ftm_ioctl_cmd()
63 int length; in wlan_process_ftm_ioctl_rsp() local
65 length = WLAN_FTM_DATA_MAX_LEN + sizeof(u_int32_t); in wlan_process_ftm_ioctl_rsp()
67 buffer = qdf_mem_malloc(length); in wlan_process_ftm_ioctl_rsp()
73 error = copy_to_user((userdata - sizeof(int)), buffer, length); in wlan_process_ftm_ioctl_rsp()
/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_unified_apf_tlv.c113 if (apf_write_params->length) { in wmi_send_apf_write_work_memory_cmd_tlv()
114 aligned_len = roundup(apf_write_params->length, in wmi_send_apf_write_work_memory_cmd_tlv()
137 cmd->length = apf_write_params->length; in wmi_send_apf_write_work_memory_cmd_tlv()
139 if (apf_write_params->length) { in wmi_send_apf_write_work_memory_cmd_tlv()
145 apf_write_params->length); in wmi_send_apf_write_work_memory_cmd_tlv()
181 cmd->length = apf_read_params->length; in wmi_send_apf_read_work_memory_cmd_tlv()
214 if (data_event->length > param_buf->num_data) { in wmi_extract_apf_read_memory_resp_event_tlv()
216 data_event->length, in wmi_extract_apf_read_memory_resp_event_tlv()
221 if (data_event->length && param_buf->data) { in wmi_extract_apf_read_memory_resp_event_tlv()
222 resp->length = data_event->length; in wmi_extract_apf_read_memory_resp_event_tlv()
/wlan-driver/qca-wifi-host-cmn/utils/host_diag_log/src/
Dhost_diag_log.c48 uint16_t length; member
84 void host_diag_log_set_length(void *ptr, uint16_t length) in host_diag_log_set_length() argument
88 ((log_hdr_type *) ptr)->len = (uint16_t) length; in host_diag_log_set_length()
130 wmsg->length = total_len; in host_diag_log_submit()
131 wmsg->length = DIAG_SWAP16(wmsg->length); in host_diag_log_submit()
192 void host_diag_event_report_payload(uint16_t event_Id, uint16_t length, in host_diag_event_report_payload() argument
208 total_len = sizeof(tAniHdr) + sizeof(event_report_t) + length; in host_diag_event_report_payload()
217 wmsg->length = total_len; in host_diag_event_report_payload()
218 wmsg->length = DIAG_SWAP16(wmsg->length); in host_diag_event_report_payload()
224 pEvent_report->length = length; in host_diag_event_report_payload()
[all …]
/wlan-driver/qcacld-3.0/core/pld/src/
Dpld_sdio.h156 size_t length = 0; in pld_sdio_get_virt_ramdump_mem() local
159 length = TOTAL_DUMP_SIZE; in pld_sdio_get_virt_ramdump_mem()
164 *size = (unsigned long)length; in pld_sdio_get_virt_ramdump_mem()
169 return kzalloc(length, flags); in pld_sdio_get_virt_ramdump_mem()
307 size_t length = 0; in pld_hif_sdio_get_virt_ramdump_mem() local
310 length = TOTAL_DUMP_SIZE; in pld_hif_sdio_get_virt_ramdump_mem()
313 *size = (unsigned long)length; in pld_hif_sdio_get_virt_ramdump_mem()
318 return kzalloc(length, flags); in pld_hif_sdio_get_virt_ramdump_mem()
/wlan-driver/qca-wifi-host-cmn/ftm/dispatcher/src/
Dwlan_ftm_ucfg_api.c43 ftm_pdev_obj->length = 0; in ucfg_wlan_ftm_testmode_cmd()
102 ftm_pdev_obj->length = ftm_pdev_obj->offset; in wlan_ftm_process_utf_event()
110 ftm_pdev_obj->length) != QDF_STATUS_SUCCESS) { in wlan_ftm_process_utf_event()
135 if (ftm_pdev_obj->length) { in ucfg_wlan_ftm_testmode_rsp()
137 *len = ftm_pdev_obj->length; in ucfg_wlan_ftm_testmode_rsp()
139 ftm_pdev_obj->length); in ucfg_wlan_ftm_testmode_rsp()
141 ftm_pdev_obj->length = 0; in ucfg_wlan_ftm_testmode_rsp()
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/
Dmailbox.c583 uint32_t *length, uint32_t *addr) in hif_fixup_write_param() argument
609 if (*length > mboxlen) { in hif_fixup_write_param()
610 hif_err("Error (%u > %u)", *length, mboxlen); in hif_fixup_write_param()
614 taddr = taddr + (mboxlen - *length); in hif_fixup_write_param()
1480 char *buffer, uint32_t length, in hif_read_write() argument
1491 length, request, context); in hif_read_write()
1512 "WRITE", address, length); in hif_read_write()
1517 busrequest->length = length; in hif_read_write()
1631 uint32_t length, uint32_t request, void *context) in __hif_read_write() argument
1650 address, length, in __hif_read_write()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/
Dhif_bmi_reg_access.c50 char *buffer, uint32_t length) in hif_bmi_buffer_send() argument
91 status = hif_read_write(device, address, buffer, length, in hif_bmi_buffer_send()
113 char *buffer, uint32_t length) in hif_bmi_read_write() argument
118 buffer, length, in hif_bmi_read_write()
133 char *buffer, uint32_t length) in hif_bmi_read_write() argument
138 buffer, length, in hif_bmi_read_write()
162 char *buffer, uint32_t length, bool want_timeout) in hif_bmi_buffer_receive() argument
232 if (length >= 4) { /* NB: Currently, always true */ in hif_bmi_buffer_receive()
277 status = hif_read_write(device, address, buffer, length, in hif_bmi_buffer_receive()
402 uint32_t length, in hif_exchange_bmi_msg() argument
[all …]
Dhif_sdio_internal.h81 #define DEV_CALC_RECV_PADDED_LEN(pDev, length) \ argument
82 (((length) + (pDev)->BlockMask) & (~((pDev)->BlockMask)))
83 #define DEV_CALC_SEND_PADDED_LEN(pDev, length) \ argument
84 DEV_CALC_RECV_PADDED_LEN(pDev, length)
85 #define DEV_IS_LEN_BLOCK_ALIGNED(pDev, length) \ argument
86 (((length) % (pDev)->BlockSize) == 0)
/wlan-driver/qcacld-3.0/core/bmi/src/
Dbmi.c155 uint32_t cid, length; in bmi_get_target_info_message_based() local
167 length = sizeof(struct bmi_target_info); in bmi_get_target_info_message_based()
170 (uint8_t *)bmi_rsp_buff, &length, in bmi_get_target_info_message_based()
177 qdf_mem_copy(targ_info, bmi_rsp_buff, length); in bmi_get_target_info_message_based()
333 bmilz_data(uint8_t *buffer, uint32_t length, struct ol_context *ol_ctx) in bmilz_data() argument
339 const uint32_t header = sizeof(cid) + sizeof(length); in bmilz_data()
355 scn, length); in bmilz_data()
359 remaining = length; in bmilz_data()
369 &buffer[length - remaining], txlen); in bmilz_data()
388 uint32_t length, struct ol_context *ol_ctx) in bmi_sign_stream_start() argument
[all …]
Dbmi_1.c26 uint8_t *buffer, uint32_t length, struct ol_context *ol_ctx) in bmi_read_memory() argument
51 sizeof(address) + sizeof(length))); in bmi_read_memory()
53 sizeof(address) + sizeof(length)); in bmi_read_memory()
55 sizeof(address) + sizeof(length)); in bmi_read_memory()
59 remaining = length; in bmi_read_memory()
71 offset += sizeof(length); in bmi_read_memory()
82 qdf_mem_copy(&buffer[length - remaining + align], in bmi_read_memory()
86 qdf_mem_copy(&buffer[length - remaining + align], in bmi_read_memory()
96 QDF_STATUS bmi_write_memory(uint32_t address, uint8_t *buffer, uint32_t length, in bmi_write_memory() argument
104 const uint32_t header = sizeof(cid) + sizeof(address) + sizeof(length); in bmi_write_memory()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/sys/legacy/src/utils/src/
Dutils_parser.c37 pOld->length = pNew->num_ssid; in convert_ssid()
59 pOld->length = 1; in convert_qos_caps()
69 pOld->length = 1; in convert_qos_caps_station()
94 pOld->length = (uint8_t) written - 2; in convert_wpa()
95 qdf_mem_copy(pOld->info, buffer + 2, pOld->length); in convert_wpa()
105 pOld->length = pNew->num_data + 4; in convert_wpa_opaque()
122 pOld->length = pNew->num_data; in convert_wapi_opaque()
134 uint16_t curAddIELen = pOld->length; in convert_wsc_opaque()
136 pOld->length = curAddIELen + pNew->num_data + 6; in convert_wsc_opaque()
153 uint16_t curAddIELen = pOld->length; in convert_p2p_opaque()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_sme_req_utils.c66 if (rsn_ie->length && !val) { in lim_is_rsn_ie_valid_in_sme_req_message()
73 rsn_ie->length, val); in lim_is_rsn_ie_valid_in_sme_req_message()
76 if (!rsn_ie->length) { in lim_is_rsn_ie_valid_in_sme_req_message()
92 len = rsn_ie->length; in lim_is_rsn_ie_valid_in_sme_req_message()
182 if (rsn_ie->length && (!privacy || !val)) { in lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message()
190 rsn_ie->length, privacy, val); in lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message()
193 if (!rsn_ie->length) in lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message()
212 if (rsn_ie->length > rsn_ie->rsnIEdata[1] + 2) { in lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message()
220 } else if ((rsn_ie->length == rsn_ie->rsnIEdata[1] + 2) && in lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message()
231 } else if ((rsn_ie->length == rsn_ie->rsnIEdata[1] + 2) in lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message()
Dlim_process_assoc_req_frame.c73 if (assoc_req->supportedChannels.length >= in lim_convert_supported_channels()
76 assoc_req->supportedChannels.length); in lim_convert_supported_channels()
81 for (i = 0; i < (assoc_req->supportedChannels.length); i++) { in lim_convert_supported_channels()
129 assoc_req->supportedChannels.length); in lim_convert_supported_channels()
370 QDF_SSID_REF(assoc_req->ssId.length, assoc_req->ssId.ssId), in lim_chk_ssid()
371 QDF_SSID_REF(session->ssId.length, session->ssId.ssId), in lim_chk_ssid()
902 rsn_ie->info[1] = assoc_req->rsn.length; in lim_check_rsn_ie()
904 rsn_ie->length = assoc_req->rsn.length + 2; in lim_check_rsn_ie()
906 assoc_req->rsn.length); in lim_check_rsn_ie()
908 &rsn_ie->info[0], rsn_ie->length, in lim_check_rsn_ie()
[all …]
Dlim_process_fils.c349 tlv->type, tlv->length, data_len); in lim_process_fils_eap_tlv()
351 if (tlv->length > (data_len - 2)) { in lim_process_fils_eap_tlv()
353 tlv->length, data_len); in lim_process_fils_eap_tlv()
359 auth_info->keyname = qdf_mem_malloc(tlv->length); in lim_process_fils_eap_tlv()
364 tlv->data, tlv->length); in lim_process_fils_eap_tlv()
365 auth_info->keylength = tlv->length; in lim_process_fils_eap_tlv()
366 data_len -= (tlv->length + 2); in lim_process_fils_eap_tlv()
367 wrapped_data += (tlv->length + 2); in lim_process_fils_eap_tlv()
372 data_len -= (tlv->length + 2); in lim_process_fils_eap_tlv()
373 wrapped_data += (tlv->length + 2); in lim_process_fils_eap_tlv()
[all …]
/wlan-driver/qca-wifi-host-cmn/utils/ptt/src/
Dwlan_ptt_sock_svc.c127 int wmsg_length = be16_to_cpu(wmsg->length); in ptt_sock_send_msg_to_app()
189 uint16_t length; in ptt_cmd_handler() local
215 length = be16_to_cpu(payload->wmsg.length); in ptt_cmd_handler()
216 if ((USHRT_MAX - length) < (sizeof(payload->radio) + sizeof(tAniHdr))) { in ptt_cmd_handler()
219 length, in ptt_cmd_handler()
225 if (nla_len(tb[CLD80211_ATTR_DATA]) < (length + in ptt_cmd_handler()
/wlan-driver/qcacld-3.0/core/mac/inc/
Dsir_api.h583 uint16_t length; member
595 uint16_t length; member
662 uint16_t length; member
687 uint16_t length; member
699 uint16_t length; member
725 uint16_t length; member
805 uint16_t length; member
1047 uint16_t length; member
1133 uint16_t length; member
1165 uint16_t length; member
[all …]
Dani_system_defs.h120 uint8_t length; member
126 uint16_t length; member
131 uint16_t length; member
139 uint16_t length; member
/wlan-driver/qcacld-3.0/core/mac/src/pe/include/
Drrm_global.h116 uint16_t length; member
148 uint16_t length; member
164 uint16_t length; member
182 uint16_t length; member
196 uint16_t length; member
206 uint16_t length; member
247 uint16_t length; member

12345678910>>...17