Home
last modified time | relevance | path

Searched refs:buf_len (Results 1 – 25 of 89) sorted by relevance

1234

/wlan-driver/qca-wifi-host-cmn/os_if/linux/ftm/src/
Dwlan_cfg80211_ftm.c44 int buf_len; in wlan_cfg80211_process_ftm_cmd() local
54 buf_len = nla_len(tb[WLAN_CFG80211_FTM_ATTR_DATA]); in wlan_cfg80211_process_ftm_cmd()
56 if (buf_len > WLAN_FTM_DATA_MAX_LEN) in wlan_cfg80211_process_ftm_cmd()
59 ftm_debug("****FTM Tx cmd len = %d*****", buf_len); in wlan_cfg80211_process_ftm_cmd()
61 status = ucfg_wlan_ftm_testmode_cmd(pdev, buf, buf_len); in wlan_cfg80211_process_ftm_cmd()
/wlan-driver/qcacld-3.0/components/target_if/pkt_capture/src/
Dtarget_if_pkt_capture.c223 if (params.buf_len < sizeof(struct ieee80211_hdr_3addr) || in target_if_mgmt_offload_data_event_handler()
224 params.buf_len > data_len) { in target_if_mgmt_offload_data_event_handler()
229 data_len, params.buf_len); in target_if_mgmt_offload_data_event_handler()
236 roundup(params.buf_len + RESERVE_BYTES, 4), in target_if_mgmt_offload_data_event_handler()
240 params.buf_len); in target_if_mgmt_offload_data_event_handler()
244 qdf_nbuf_put_tail(wbuf, params.buf_len); in target_if_mgmt_offload_data_event_handler()
246 qdf_mem_copy(qdf_nbuf_data(wbuf), params.buf, params.buf_len); in target_if_mgmt_offload_data_event_handler()
/wlan-driver/qca-wifi-host-cmn/os_if/linux/wifi_pos/src/
Dos_if_wifi_pos.c500 uint32_t buf_len) in os_if_send_oem_data_nl_resp() argument
521 chnk_len = buf_len; in os_if_send_oem_data_nl_resp()
522 remain_len = buf_len; in os_if_send_oem_data_nl_resp()
587 enum wifi_pos_cmd_ids cmd, uint32_t buf_len, in os_if_wifi_pos_send_rsp() argument
601 os_if_send_nl_resp(pid, buf, cmd, buf_len); in os_if_wifi_pos_send_rsp()
603 skb = alloc_skb(NLMSG_SPACE(sizeof(tAniMsgHdr) + buf_len), in os_if_wifi_pos_send_rsp()
615 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(tAniMsgHdr) + buf_len); in os_if_wifi_pos_send_rsp()
619 qdf_mem_copy(&aniHdr[1], buf, buf_len); in os_if_wifi_pos_send_rsp()
620 aniHdr->length = buf_len; in os_if_wifi_pos_send_rsp()
622 skb_put(skb, NLMSG_SPACE(sizeof(tAniMsgHdr) + buf_len)); in os_if_wifi_pos_send_rsp()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/
Dwlan_scan_11d.c343 uint32_t i, buf_len, num = 0; in scm_11d_dump_cc_db() local
349 buf_len = QDF_MIN(cc_db->num_country_codes, SCAN_MAX_NUM_COUNTRY_CODE); in scm_11d_dump_cc_db()
350 buf_len = buf_len * CC_VOTE_CHAR_LEN + 1; in scm_11d_dump_cc_db()
351 cc_buf = qdf_mem_malloc(buf_len); in scm_11d_dump_cc_db()
357 num += qdf_scnprintf(cc_buf + num, buf_len - num, " %c%c:%d", in scm_11d_dump_cc_db()
/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_unified_11be_tlv.c1042 uint32_t buf_len = 0; in send_mlo_link_removal_cmd_tlv() local
1053 buf_len = sizeof(wmi_mlo_link_removal_cmd_fixed_param) + in send_mlo_link_removal_cmd_tlv()
1056 buf = wmi_buf_alloc(wmi_handle, buf_len); in send_mlo_link_removal_cmd_tlv()
1085 ret = wmi_unified_cmd_send(wmi_handle, buf, buf_len, in send_mlo_link_removal_cmd_tlv()
1108 uint32_t buf_len = 0; in send_mlo_vdev_pause_cmd_tlv() local
1116 buf_len = sizeof(*fixed_params); in send_mlo_vdev_pause_cmd_tlv()
1118 buf = wmi_buf_alloc(wmi_handle, buf_len); in send_mlo_vdev_pause_cmd_tlv()
1138 ret = wmi_unified_cmd_send(wmi_handle, buf, buf_len, in send_mlo_vdev_pause_cmd_tlv()
1459 uint32_t buf_len = 0; in find_buf_len_pref_link() local
1461 buf_len = sizeof(wmi_peer_tid_to_link_map_fixed_param); in find_buf_len_pref_link()
[all …]
/wlan-driver/qcacld-3.0/components/p2p/core/src/
Dwlan_p2p_off_chan_tx.c281 if (tx_ctx->buf_len <= PROBE_RSP_IE_OFFSET) { in p2p_get_p2pie_from_probe_rsp()
287 ie_len = tx_ctx->buf_len - PROBE_RSP_IE_OFFSET; in p2p_get_p2pie_from_probe_rsp()
291 ie_len = tx_ctx->buf_len - (p2p_ie - tx_ctx->buf); in p2p_get_p2pie_from_probe_rsp()
536 uint32_t buf_len = *total_len; in p2p_update_noa_stream() local
548 buf_len -= (noa_len + 1 + 2); in p2p_update_noa_stream()
563 *total_len = buf_len; in p2p_update_noa_stream()
567 noa_len, orig_len, p2p_ie, buf_len, nbytes_copy); in p2p_update_noa_stream()
1106 tx_cnf.buf_len = tx_ctx->buf_len; in p2p_send_tx_conf()
1111 tx_cnf.action_cookie, tx_cnf.buf_len, in p2p_send_tx_conf()
1198 uint32_t buf_len, qdf_nbuf_t packet, uint8_t *frame) in p2p_mgmt_tx() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/inc/
Dcdp_txrx_stats.h49 unsigned int buf_len) in cdp_stats() argument
61 return soc->ops->mob_stats_ops->stats(vdev_id, buffer, buf_len); in cdp_stats()
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_sysfs_stats.c39 char *buffer, size_t buf_len) in hdd_sysfs_get_stats() argument
94 len = scnprintf(buffer, buf_len, in hdd_sysfs_get_stats()
128 len += scnprintf(buffer + len, buf_len - len, in hdd_sysfs_get_stats()
137 len += scnprintf(buffer + len, buf_len - len, in hdd_sysfs_get_stats()
149 (buf_len - len)); in hdd_sysfs_get_stats()
Dwlan_hdd_apf.c464 if ((pkt_offset > context->buf_len) || in hdd_apf_read_memory_callback()
465 (context->buf_len - pkt_offset < evt->length)) { in hdd_apf_read_memory_callback()
544 context->buf_len = read_mem_params.length; in hdd_apf_read_memory()
567 nl_buf_len += context->buf_len + NLA_HDRLEN; in hdd_apf_read_memory()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/interface_mgr/inc/
Dwlan_if_mgr_main.h69 #define ifmgr_hex_dump(level, data, buf_len) \ argument
70 qdf_trace_hex_dump(QDF_MODULE_ID_IFMGR, level, data, buf_len)
/wlan-driver/qca-wifi-host-cmn/iot_sim/core/
Diot_sim_utils.c156 qdf_size_t buf_len = 0; in iot_sim_apply_content_change_rule() local
163 buf_len = qdf_nbuf_len(nbuf); in iot_sim_apply_content_change_rule()
177 while (((offset + 1) < buf_len) && in iot_sim_apply_content_change_rule()
183 if (offset <= buf_len) { in iot_sim_apply_content_change_rule()
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_process_fils.c883 int buf_len; in lim_create_fils_wrapper_data() local
893 buf_len = in lim_create_fils_wrapper_data()
907 fils_info->fils_erp_reauth_pkt = qdf_mem_malloc(buf_len); in lim_create_fils_wrapper_data()
918 lim_copy_u16_be(buf, buf_len); in lim_create_fils_wrapper_data()
977 fils_info->fils_erp_reauth_pkt_len = buf_len; in lim_create_fils_wrapper_data()
992 return buf_len; in lim_create_fils_wrapper_data()
1934 uint32_t buf_len, in find_ie_data_after_fils_session_ie() argument
1938 uint32_t left = buf_len; in find_ie_data_after_fils_session_ie()
1942 if (!buf || 0 == buf_len) in find_ie_data_after_fils_session_ie()
2141 size_t buf_len; in fils_aead_decrypt() local
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/wifi_pos/src/
Dwifi_pos_main.c210 req->pid, req->buf_len); in wifi_pos_process_data_req()
265 req->buf_len); in wifi_pos_process_data_req()
272 req->buf_len); in wifi_pos_process_data_req()
302 data_req.data_len = req->buf_len; in wifi_pos_process_data_req()
331 req->pid, req->buf_len); in wifi_pos_process_set_cap_req()
360 req->pid, req->buf_len); in wifi_pos_process_get_cap_req()
638 uint32_t num_ch = req->buf_len; in wifi_pos_process_ch_info_req()
658 req->pid, req->buf_len); in wifi_pos_process_ch_info_req()
870 req->pid, req->buf_len); in wifi_pos_process_app_reg_req()
874 if ((OEM_APP_SIGNATURE_LEN != req->buf_len) || in wifi_pos_process_app_reg_req()
/wlan-driver/qcacld-3.0/components/tdls/core/src/
Dwlan_tdls_main.c388 int buf_len; in __tdls_get_all_peers_from_list() local
395 buf_len = get_tdls_peers->buf_len; in __tdls_get_all_peers_from_list()
398 len = qdf_scnprintf(buf, buf_len, in __tdls_get_all_peers_from_list()
406 len = qdf_scnprintf(buf, buf_len, "TDLS not enabled\n"); in __tdls_get_all_peers_from_list()
410 init_len = buf_len; in __tdls_get_all_peers_from_list()
411 len = qdf_scnprintf(buf, buf_len, in __tdls_get_all_peers_from_list()
415 buf_len -= len; in __tdls_get_all_peers_from_list()
416 len = qdf_scnprintf(buf, buf_len, in __tdls_get_all_peers_from_list()
419 buf_len -= len; in __tdls_get_all_peers_from_list()
427 if (buf_len < 32 + 1) in __tdls_get_all_peers_from_list()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/
Dadma.c384 static qdf_nbuf_t hif_sdio_get_nbuf(struct hif_sdio_dev *dev, uint16_t buf_len) in hif_sdio_get_nbuf() argument
415 static qdf_nbuf_t hif_sdio_get_nbuf(struct hif_sdio_dev *dev, uint16_t buf_len) in hif_sdio_get_nbuf() argument
419 if (!buf_len) in hif_sdio_get_nbuf()
420 buf_len = HIF_SDIO_RX_BUFFER_SIZE; in hif_sdio_get_nbuf()
422 nbuf = qdf_nbuf_alloc(NULL, buf_len, 0, 4, false); in hif_sdio_get_nbuf()
/wlan-driver/qcacld-3.0/core/hdd/inc/
Dwlan_hdd_wext.h212 char *buffer, uint16_t buf_len);
215 char *buffer, uint16_t buf_len);
/wlan-driver/qca-wifi-host-cmn/utils/epping/inc/
Depping_internal.h60 data, buf_len)
149 void epping_hex_dump(void *data, int buf_len, const char *str);
/wlan-driver/qcacld-3.0/components/tdls/dispatcher/src/
Dwlan_tdls_tgt_api.c284 mgmt_rx_params->buf_len); in tgt_tdls_mgmt_frame_process_rx_cb()
292 rx_mgmt->frame_len = mgmt_rx_params->buf_len; in tgt_tdls_mgmt_frame_process_rx_cb()
300 qdf_mem_copy(rx_mgmt->buf, pdata, mgmt_rx_params->buf_len); in tgt_tdls_mgmt_frame_process_rx_cb()
/wlan-driver/qca-wifi-host-cmn/utils/epping/src/
Depping_helper.c128 void epping_hex_dump(void *data, int buf_len, const char *str) in epping_hex_dump() argument
132 EPPING_HEX_DUMP(QDF_TRACE_LEVEL_INFO, data, buf_len); in epping_hex_dump()
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/
Dwlan_pkt_capture_mgmt_txrx.c646 int buf_len; in pkt_capture_mgmt_rx_data_cb() local
690 buf_len = qdf_nbuf_len(wbuf); in pkt_capture_mgmt_rx_data_cb()
692 buf_len + RESERVE_BYTES, 4), in pkt_capture_mgmt_rx_data_cb()
700 qdf_nbuf_put_tail(nbuf, buf_len); in pkt_capture_mgmt_rx_data_cb()
701 qdf_mem_copy(qdf_nbuf_data(nbuf), qdf_nbuf_data(wbuf), buf_len); in pkt_capture_mgmt_rx_data_cb()
/wlan-driver/qcacld-3.0/components/p2p/dispatcher/src/
Dwlan_p2p_tgt_api.c340 mgmt_rx_params->buf_len); in tgt_p2p_mgmt_frame_rx_cb()
348 rx_mgmt->frame_len = mgmt_rx_params->buf_len; in tgt_p2p_mgmt_frame_rx_cb()
356 qdf_mem_copy(rx_mgmt->buf, pdata, mgmt_rx_params->buf_len); in tgt_p2p_mgmt_frame_rx_cb()
/wlan-driver/qcacld-3.0/core/wma/src/
Dwma_mgmt.c2824 params->buf_len = hdr->buf_len; in wma_extract_mgmt_offload_event_params()
2889 uint32_t i, buf_len; in wma_mgmt_tx_bundle_completion_handler() local
2910 buf_len = cmpl_params->num_reports * (2 * sizeof(uint32_t)); in wma_mgmt_tx_bundle_completion_handler()
2913 buf_len))) { in wma_mgmt_tx_bundle_completion_handler()
3654 rx_pkt->pkt_meta.mpdu_len = mgmt_rx_params->buf_len; in wma_form_rx_packet()
3659 if (mgmt_rx_params->buf_len < rx_pkt->pkt_meta.mpdu_hdr_len) { in wma_form_rx_packet()
3661 mgmt_rx_params->buf_len, in wma_form_rx_packet()
3668 rx_pkt->pkt_meta.mpdu_data_len = mgmt_rx_params->buf_len - in wma_form_rx_packet()
3744 if (mgmt_rx_params->buf_len <= in wma_form_rx_packet()
3841 if (mgmt_rx_params->buf_len > data_len || in wma_mgmt_rx_process()
[all …]
Dwma_scan_roam.c1644 uint32_t buf_len; in wma_extscan_hotlist_match_event_handler() local
1677 buf_len = sizeof(wmi_extscan_hotlist_match_event_fixed_param) + in wma_extscan_hotlist_match_event_handler()
1681 if (buf_len > len) { in wma_extscan_hotlist_match_event_handler()
1951 int i, moredata, scan_ids_cnt, buf_len, status; in wma_extscan_cached_results_event_handler() local
2036 buf_len = sizeof(*dest_result) * scan_ids_cnt; in wma_extscan_cached_results_event_handler()
2037 dest_cachelist->result = qdf_mem_malloc(buf_len); in wma_extscan_cached_results_event_handler()
2103 uint32_t buf_len; in wma_extscan_change_results_event_handler() local
2159 buf_len = in wma_extscan_change_results_event_handler()
2164 (WMI_SVC_MSG_MAX_SIZE - buf_len)/sizeof(int32_t)) { in wma_extscan_change_results_event_handler()
2239 uint32_t buf_len = 0; in wma_passpoint_match_event_handler() local
[all …]
/wlan-driver/qca-wifi-host-cmn/iot_sim/dispatcher/inc/
Dwlan_iot_sim_public_structs.h51 u32 buf_len; member
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_stats.c5448 size_t pos, buf_len; in dp_vdev_print_tx_delay_stats() local
5451 buf_len = DP_TX_DELAY_STATS_STR_LEN; in dp_vdev_print_tx_delay_stats()
5461 pos += qdf_scnprintf(buf + pos, buf_len - pos, "%6s", ""); in dp_vdev_print_tx_delay_stats()
5464 pos += qdf_scnprintf(buf + pos, buf_len - pos, "%7s", in dp_vdev_print_tx_delay_stats()
5467 pos += qdf_scnprintf(buf + pos, buf_len - pos, "%9s", in dp_vdev_print_tx_delay_stats()
5479 pos += qdf_scnprintf(buf + pos, buf_len - pos, "%4u ", tid); in dp_vdev_print_tx_delay_stats()
5483 pos += qdf_scnprintf(buf + pos, buf_len - pos, in dp_vdev_print_tx_delay_stats()
5486 pos += qdf_scnprintf(buf + pos, buf_len - pos, in dp_vdev_print_tx_delay_stats()
5489 pos += qdf_scnprintf(buf + pos, buf_len - pos, in dp_vdev_print_tx_delay_stats()
6043 char *buf, int buf_len) in dp_fill_rx_interrupt_ctx_stats() argument
[all …]

1234