Home
last modified time | relevance | path

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

/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwl_android.c398 char *command, int total_len);
484 char *command, int total_len);
617 typedef int (*PRIV_CMD_HANDLER_WITH_LEN) (struct net_device *dev, char *command, int total_len);
639 int wl_android_set_full_roam_scan_period(struct net_device *dev, char* command, int total_len);
732 static int wl_android_get_link_speed(struct net_device *net, char *command, int total_len) in wl_android_get_link_speed() argument
746 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in wl_android_get_link_speed()
751 static int wl_android_get_rssi(struct net_device *net, char *command, int total_len) in wl_android_get_rssi() argument
821 } else if (total_len <= ssid.SSID_len) { in wl_android_get_rssi()
827 if ((total_len - bytes_written) < (strlen(" rssi -XXX") + 1)) in wl_android_get_rssi()
830 bytes_written += scnprintf(&command[bytes_written], total_len in wl_android_get_rssi()
884 wl_android_get_80211_mode(struct net_device *dev, char *command, int total_len) wl_android_get_80211_mode() argument
903 wl_android_get_chanspec(struct net_device *dev, char *command, int total_len) wl_android_get_chanspec() argument
970 wl_android_get_datarate(struct net_device *dev, char *command, int total_len) wl_android_get_datarate() argument
985 wl_android_get_assoclist(struct net_device *dev, char *command, int total_len) wl_android_get_assoclist() argument
1166 wl_android_get_band(struct net_device *dev, char *command, int total_len) wl_android_get_band() argument
1216 wls_parse_batching_cmd(struct net_device *dev, char *command, int total_len) wls_parse_batching_cmd() argument
1343 wl_android_set_pno_setup(struct net_device *dev, char *command, int total_len) wl_android_set_pno_setup() argument
1447 wl_android_get_p2p_dev_addr(struct net_device *ndev, char *command, int total_len) wl_android_get_p2p_dev_addr() argument
1733 wl_android_set_fwpath(struct net_device *net, char *command, int total_len) wl_android_set_fwpath() argument
1796 wl_android_get_connection_stats(struct net_device *dev, char *command, int total_len) wl_android_get_connection_stats() argument
1946 wl_android_process_natoe_cmd(struct net_device *dev, char *command, int total_len) wl_android_process_natoe_cmd() argument
1988 uint16 total_len = cmd_info->tot_len; wlu_natoe_set_vars_cbfn() local
2556 wl_android_process_mbo_cmd(struct net_device *dev, char *command, int total_len) wl_android_process_mbo_cmd() argument
2626 uint16 total_len = cmd_info->tot_len; wl_android_mbo_resp_parse_cbfn() local
2773 uint16 total_len = cmd_info->tot_len; wl_android_mbo_non_pref_chan_parse_cbfn() local
3007 wl_android_set_auto_channel(struct net_device *dev, const char* cmd_str, char* command, int total_len) wl_android_set_auto_channel() argument
3247 wl_android_set_ibss_beacon_ouidata(struct net_device *dev, char *command, int total_len) wl_android_set_ibss_beacon_ouidata() argument
3361 wl_android_set_roampref(struct net_device *dev, char *command, int total_len) wl_android_set_roampref() argument
3824 wl_android_get_wfdie_resp(struct net_device *dev, char *command, int total_len) wl_android_get_wfdie_resp() argument
3904 wl_android_get_link_status(struct net_device *dev, char *command, int total_len) wl_android_get_link_status() argument
4260 wl_android_get_rssi_per_ant(struct net_device *dev, char *command, int total_len) wl_android_get_rssi_per_ant() argument
4333 wl_android_set_rssi_logging(struct net_device *dev, char *command, int total_len) wl_android_set_rssi_logging() argument
4386 wl_android_get_rssi_logging(struct net_device *dev, char *command, int total_len) wl_android_get_rssi_logging() argument
4471 wl_android_get_lqcm_report(struct net_device *dev, char *command, int total_len) wl_android_get_lqcm_report() argument
4496 wl_android_get_snr(struct net_device *dev, char *command, int total_len) wl_android_get_snr() argument
4552 wl_android_get_ap_basicrate(struct net_device *dev, char *command, int total_len) wl_android_get_ap_basicrate() argument
4585 wl_android_get_ap_rps(struct net_device *dev, char *command, int total_len) wl_android_get_ap_rps() argument
4619 wl_android_set_ap_rps(struct net_device *dev, char *command, int total_len) wl_android_set_ap_rps() argument
4659 wl_android_set_ap_rps_params(struct net_device *dev, char *command, int total_len) wl_android_set_ap_rps_params() argument
4774 wl_android_set_ap_suspend(struct net_device *dev, char *command, int total_len) wl_android_set_ap_suspend() argument
4818 wl_android_set_ap_bw(struct net_device *dev, char *command, int total_len) wl_android_set_ap_bw() argument
4863 wl_android_get_ap_bw(struct net_device *dev, char *command, int total_len) wl_android_get_ap_bw() argument
5227 wl_android_bcnrecv_config(struct net_device *ndev, char *cmd_argv, int total_len) wl_android_bcnrecv_config() argument
5354 wl_android_cac_ts_config(struct net_device *ndev, char *cmd_argv, int total_len) wl_android_cac_ts_config() argument
5388 wl_android_get_channel_util(struct net_device *ndev, char *command, int total_len) wl_android_get_channel_util() argument
5430 wl_android_set_softap_elna_bypass(struct net_device *dev, char *command, int total_len) wl_android_set_softap_elna_bypass() argument
5476 wl_android_get_softap_elna_bypass(struct net_device *dev, char *command, int total_len) wl_android_get_softap_elna_bypass() argument
5519 wl_android_get_nan_status(struct net_device *dev, char *command, int total_len) wl_android_get_nan_status() argument
[all...]
H A Dwl_android_ext.c316 static int wl_ext_wl_iovar(struct net_device *dev, char *command, int total_len);
784 wl_ext_channel(struct net_device *dev, char* command, int total_len) in wl_ext_channel() argument
817 wl_ext_channels(struct net_device *dev, char* command, int total_len) in wl_ext_channels() argument
834 bytes_written = snprintf(command, total_len, "channels"); in wl_ext_channels()
836 bytes_written += snprintf(command+bytes_written, total_len, " %d", in wl_ext_channels()
847 wl_ext_roam_trigger(struct net_device *dev, char* command, int total_len) in wl_ext_roam_trigger() argument
874 bytes_written = snprintf(command, total_len, "%d %d", trigger[0], trigger[1]); in wl_ext_roam_trigger()
882 wl_ext_pm(struct net_device *dev, char *command, int total_len) in wl_ext_pm() argument
908 bytes_written = snprintf(command, total_len, "PM %s", pm_local); in wl_ext_pm()
918 wl_ext_monitor(struct net_device *dev, char *command, int total_len) in wl_ext_monitor() argument
1075 wl_ext_get_sec(struct net_device *dev, int ifmode, char *sec, int total_len) wl_ext_get_sec() argument
1212 wl_ext_wlmsglevel(struct net_device *dev, char *command, int total_len) wl_ext_wlmsglevel() argument
1271 wl_ext_easymesh(struct net_device *dev, char* command, int total_len) wl_ext_easymesh() argument
2281 wl_ext_isam_param(struct net_device *dev, char *command, int total_len) wl_ext_isam_param() argument
2314 wl_ext_isam_init(struct net_device *dev, char *command, int total_len) wl_ext_isam_init() argument
2631 wl_ext_iapsta_config(struct net_device *dev, char *command, int total_len) wl_ext_iapsta_config() argument
2695 wl_ext_assoclist(struct net_device *dev, char *data, char *command, int total_len) wl_ext_assoclist() argument
2721 wl_mesh_print_peer_info(mesh_peer_info_ext_t *mpi_ext, uint32 peer_results_count, char *command, int total_len) wl_mesh_print_peer_info() argument
2782 wl_ext_mesh_peer_status(struct net_device *dev, char *data, char *command, int total_len) wl_ext_mesh_peer_status() argument
3206 wl_mesh_update_peer_path(struct wl_if_info *mesh_if, char *command, int total_len) wl_mesh_update_peer_path() argument
3259 wl_ext_isam_peer_path(struct net_device *dev, char *command, int total_len) wl_ext_isam_peer_path() argument
3309 wl_ext_isam_status(struct net_device *dev, char *command, int total_len) wl_ext_isam_status() argument
3596 wl_ext_iapsta_disable(struct net_device *dev, char *command, int total_len) wl_ext_iapsta_disable() argument
4276 wl_ext_iapsta_enable(struct net_device *dev, char *command, int total_len) wl_ext_iapsta_enable() argument
5506 wl_ext_dhcpc_dump(struct net_device *dev, char *data, char *command, int total_len) wl_ext_dhcpc_dump() argument
5553 wl_ext_dhcpc_param(struct net_device *dev, char *data, char *command, int total_len) wl_ext_dhcpc_param() argument
5608 wl_ext_mkeep_alive(struct net_device *dev, char *data, char *command, int total_len) wl_ext_mkeep_alive() argument
5669 wl_ext_tcpka_conn_add(struct net_device *dev, char *data, char *command, int total_len) wl_ext_tcpka_conn_add() argument
5751 wl_ext_tcpka_conn_enable(struct net_device *dev, char *data, char *command, int total_len) wl_ext_tcpka_conn_enable() argument
5788 wl_ext_tcpka_conn_info(struct net_device *dev, char *data, char *command, int total_len) wl_ext_tcpka_conn_info() argument
5819 wl_ext_rsdb_mode(struct net_device *dev, char *data, char *command, int total_len) wl_ext_rsdb_mode() argument
5845 wl_ext_recal(struct net_device *dev, char *data, char *command, int total_len) wl_ext_recal() argument
5940 wl_ext_event_msg(struct net_device *dev, char *data, char *command, int total_len) wl_ext_event_msg() argument
6003 wl_ext_pkt_filter_add(struct net_device *dev, char *data, char *command, int total_len) wl_ext_pkt_filter_add() argument
6058 wl_ext_pkt_filter_delete(struct net_device *dev, char *data, char *command, int total_len) wl_ext_pkt_filter_delete() argument
6112 wl_ext_pkt_filter_enable(struct net_device *dev, char *data, char *command, int total_len) wl_ext_pkt_filter_enable() argument
6153 wl_ext_send_probreq(struct net_device *dev, char *data, char *command, int total_len) wl_ext_send_probreq() argument
6192 wl_ext_send_probresp(struct net_device *dev, char *data, char *command, int total_len) wl_ext_send_probresp() argument
6227 wl_ext_recv_probreq(struct net_device *dev, char *data, char *command, int total_len) wl_ext_recv_probreq() argument
6270 wl_ext_recv_probresp(struct net_device *dev, char *data, char *command, int total_len) wl_ext_recv_probresp() argument
6323 wl_ext_gtk_key_info(struct net_device *dev, char *data, char *command, int total_len) wl_ext_gtk_key_info() argument
6365 wl_ext_wowl_pattern(struct net_device *dev, char *data, char *command, int total_len) wl_ext_wowl_pattern() argument
6533 wl_ext_wowl_wakeind(struct net_device *dev, char *data, char *command, int total_len) wl_ext_wowl_wakeind() argument
6586 wl_ext_gpio_notify(struct net_device *dev, char *data, char *command, int total_len) wl_ext_gpio_notify() argument
6673 wl_ext_csi(struct net_device *dev, char *data, char *command, int total_len) wl_ext_csi() argument
6812 wl_ext_wl_iovar(struct net_device *dev, char *command, int total_len) wl_ext_wl_iovar() argument
6883 wl_android_ext_priv_cmd(struct net_device *net, char *command, int total_len, int *bytes_written) wl_android_ext_priv_cmd() argument
[all...]
H A Dwl_android.h54 int total_len; member
61 int total_len; member
179 int wl_android_ext_priv_cmd(struct net_device *net, char *command, int total_len,
181 void wl_ext_get_sec(struct net_device *dev, int ifmode, char *sec, int total_len);
299 int total_len);
H A Dwl_iw.h141 s32 wl_iw_autochannel(struct net_device *dev, char* command, int total_len);
H A Ddhd_config.c2356 int i, len = 0, total_len = WLC_IOCTL_SMLEN; in dhd_conf_set_garp() local
2365 iovar_buf = kmalloc(total_len, GFP_KERNEL); in dhd_conf_set_garp()
2367 CONFIG_ERROR("Failed to allocate buffer of %d bytes\n", total_len); in dhd_conf_set_garp()
2370 packet = kmalloc(total_len, GFP_KERNEL); in dhd_conf_set_garp()
2372 CONFIG_ERROR("Failed to allocate buffer of %d bytes\n", total_len); in dhd_conf_set_garp()
2375 dhd_conf_get_iovar(dhd, ifidx, WLC_GET_VAR, "cur_etheraddr", iovar_buf, total_len); in dhd_conf_set_garp()
2377 len += snprintf(packet+len, total_len, "0xffffffffffff"); in dhd_conf_set_garp()
2379 len += snprintf(packet+len, total_len, "%02x", iovar_buf[i]); in dhd_conf_set_garp()
2380 len += snprintf(packet+len, total_len, "08060001080006040001"); in dhd_conf_set_garp()
2383 len += snprintf(packet+len, total_len, " in dhd_conf_set_garp()
[all...]
H A Dwl_cfg80211.h2149 int total_len);
2248 extern int wl_cfg80211_get_fbt_key(struct net_device *dev, uint8 *key, int total_len);
2278 char *command, int total_len);
2361 int wl_get_ap_basic_rate(struct net_device *dev, char* command, char *ifname, int total_len);
2364 int wl_get_ap_rps(struct net_device *dev, char* command, char *ifname, int total_len);
2447 extern int wl_get_ap_bw(struct net_device *dev, char* command, char *ifname, int total_len);
2450 s32 wl_cfg80211_autochannel(struct net_device *dev, char* command, int total_len);
H A Ddbus.c608 uint len, total_len; in dbus_get_fw_nvram() local
653 /* For Get first block of fw to calculate total_len */ in dbus_get_fw_nvram()
674 total_len = actual_fwlen + dhd_bus->nvram_len + nvram_words_pad; in dbus_get_fw_nvram()
675 dhd_bus->image = MALLOC(dhd_bus->pub.osh, total_len); in dbus_get_fw_nvram()
676 dhd_bus->image_len = total_len; in dbus_get_fw_nvram()
713 hdr->len = htol32(total_len); in dbus_get_fw_nvram()
723 for (i = SIZEOF_TRX(hdr); i < total_len; ++i) in dbus_get_fw_nvram()
H A Dwl_cfgvendor.c6207 uint total_len = 0; in wl_cfgvendor_lstats_get_info() local
6376 total_len = sizeof(wifi_radio_stat_h) + in wl_cfgvendor_lstats_get_info()
6381 total_len += sizeof(compat_wifi_iface_stat); in wl_cfgvendor_lstats_get_info()
6385 total_len += sizeof(wifi_iface_stat); in wl_cfgvendor_lstats_get_info()
6388 total_len = total_len - sizeof(wifi_peer_info) + in wl_cfgvendor_lstats_get_info()
6392 if (total_len > WLC_IOCTL_MAXLEN) { in wl_cfgvendor_lstats_get_info()
6393 WL_ERR(("Error! total_len:%d is unexpected value\n", total_len)); in wl_cfgvendor_lstats_get_info()
6397 err = wl_cfgvendor_send_cmd_reply(wiphy, outdata, total_len); in wl_cfgvendor_lstats_get_info()
[all...]
H A Ddhd_common.c6356 uint16 xtlv_len = 0, total_len = 0; in dhd_create_ecounters_params() local
6367 total_len = BCM_XTLV_HDR_SIZE + in dhd_create_ecounters_params()
6371 if ((req_xtlv = (uint8 *)MALLOCZ(dhd->osh, total_len)) == NULL) { in dhd_create_ecounters_params()
6377 bcm_xtlv_buf_init(&container_xtlvbuf, (uint8 *)req_xtlv, total_len, in dhd_create_ecounters_params()
6410 MFREE(dhd->osh, req_xtlv, total_len); in dhd_create_ecounters_params()
6868 uint32 data_len = 0, total_len = 0; in dhd_log_dump_ring_to_file() local
6918 total_len += rlen; in dhd_log_dump_ring_to_file()
6921 sec_hdr->length = total_len; in dhd_log_dump_ring_to_file()
H A Dwl_cfg80211.c20401 wl_cfg80211_get_best_channels(struct net_device *dev, char* cmd, int total_len) in wl_cfg80211_get_best_channels() argument
20410 bzero(cmd, total_len); in wl_cfg80211_get_best_channels()
20457 pos += snprintf(pos, total_len, "2g=%d ", channel); in wl_cfg80211_get_best_channels()
20493 pos += snprintf(pos, total_len, "5g=%d ", channel); in wl_cfg80211_get_best_channels()
20852 wl_cfg80211_dfs_ap_move(struct net_device *ndev, char *data, char *command, int total_len) in wl_cfg80211_dfs_ap_move() argument
20870 bytes_written = snprintf(command, total_len, "AP is not up\n"); in wl_cfg80211_dfs_ap_move()
20891 bytes_written = snprintf(command, total_len, in wl_cfg80211_dfs_ap_move()
20895 total_len - bytes_written, in wl_cfg80211_dfs_ap_move()
20899 bytes_written = snprintf(command, total_len, "dfs AP move in IDLE state\n"); in wl_cfg80211_dfs_ap_move()
21048 wl_cfg80211_get_fbt_key(struct net_device *dev, uint8 *key, int total_len) in wl_cfg80211_get_fbt_key() argument
22383 wl_get_ap_basic_rate(struct net_device *dev, char* command, char *ifname, int total_len) wl_get_ap_basic_rate() argument
22473 wl_get_ap_rps(struct net_device *dev, char* command, char *ifname, int total_len) wl_get_ap_rps() argument
24881 wl_get_ap_bw(struct net_device *dev, char* command, char *ifname, int total_len) wl_get_ap_bw() argument
25001 wl_cfg80211_autochannel(struct net_device *dev, char* command, int total_len) wl_cfg80211_autochannel() argument
[all...]
H A Ddhd_sdio.c2305 int total_len = 0; in dhdsdio_txpkt() local
2333 total_len, last_pkt, &pad_pkt_len, &new_pkt in dhdsdio_txpkt()
2344 total_len += pkt_len; in dhdsdio_txpkt()
2357 total_len += pad_pkt_len; in dhdsdio_txpkt()
2359 *(uint16*)frame = (uint16)htol16(total_len); in dhdsdio_txpkt()
2360 *(((uint16*)frame) + 1) = (uint16)htol16(~total_len); in dhdsdio_txpkt()
2378 if ((bus->dhd->conf->data_drop_mode == TXPKT_DROP) && (total_len > 500)) { in dhdsdio_txpkt()
2382 PKTDATA(osh, head_pkt), total_len, pkt_chain, NULL, NULL, TXRETRIES); in dhdsdio_txpkt()
2388 PKTDATA(osh, head_pkt), total_len, pkt_chain, NULL, NULL, TXRETRIES); in dhdsdio_txpkt()
H A Dwl_iw.c4315 wl_iw_autochannel(struct net_device *dev, char* command, int total_len) in wl_iw_autochannel() argument
4332 bytes_written = snprintf(command, total_len, "2g=%d 5g=%d", in wl_iw_autochannel()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
H A Dhcc_slave.c228 hi_u32 total_len; in hcc_slave_get_netbuf_align_len() local
235 total_len = hcc_hdr->pay_len + HCC_HDR_TOTAL_LEN; in hcc_slave_get_netbuf_align_len()
237 send_len = hi_byte_align(total_len, align_size); in hcc_slave_get_netbuf_align_len()
550 hi_u16 total_len = 0; in hcc_write_over_aggr_package() local
582 total_len += pkt_len; in hcc_write_over_aggr_package()
586 g_rx_aggr_info.rx_aggr_total_len = total_len; in hcc_write_over_aggr_package()
875 hi_u32 total_len = 0; in hcc_slave_tx_queue_sched() local
913 total_len += send_len; in hcc_slave_tx_queue_sched()
923 g_tx_aggr_info.tx_aggr_total_len = total_len; in hcc_slave_tx_queue_sched()
926 if (total_len < HISDIO_BLOCK_SIZ in hcc_slave_tx_queue_sched()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
H A Dcryp_symc.c354 hi_u32 cur, total_len; in symc_add_next_node() local
356 total_len = *total; in symc_add_next_node()
357 total_len %= ctx->block_size; in symc_add_next_node()
359 if (total_len > 0) { in symc_add_next_node()
360 total_len = ctx->block_size - total_len; in symc_add_next_node()
364 while ((total_len > 0) && (ctx->cur_nodes < ctx->total_nodes)) { in symc_add_next_node()
368 if (ctx->length_list[cur] > total_len) { in symc_add_next_node()
370 ret = drv_symc_add_inbuf(ctx->hard_chn, ctx->input_list[cur], total_len, ctx->usage_list[cur]); in symc_add_next_node()
378 ret = drv_symc_add_outbuf(ctx->hard_chn, ctx->output_list[cur], total_len, usag in symc_add_next_node()
413 hi_u32 i, nodes, cur, total_len; symc_add_buf_list() local
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
H A Dhi_wifi_driver_api.c75 hi_u32 total_len; in hi_wifi_hipriv() local
89 total_len = 0; in hi_wifi_hipriv()
91 total_len += strlen((hi_char *)argv[index]) + 1; in hi_wifi_hipriv()
93 if (total_len > WAL_HIPRIV_CMD_MAX_LEN) { in hi_wifi_hipriv()
99 pc_buffer = malloc(total_len * sizeof(hi_char)); in hi_wifi_hipriv()
101 pc_buffer = oal_memalloc(total_len * sizeof(hi_char)); in hi_wifi_hipriv()
119 pc_buffer[total_len - 1] = '\0'; in hi_wifi_hipriv()
120 if (wal_hipriv_entry(pc_buffer, (hi_u32)total_len) != total_len) { in hi_wifi_hipriv()
H A Dwal_hipriv.c6856 hi_u32 total_len = 0; in hi_wifi_at_start() local
6873 total_len += strlen((hi_char *)argv[index]) + 1; in hi_wifi_at_start()
6876 buffer = oal_memalloc(total_len); in hi_wifi_at_start()
6893 buffer[total_len - 1] = '\0'; in hi_wifi_at_start()
/device/qemu/arm_mps2_an386/liteos_m/board/driver/net/
H A Dlan9118_eth_drv.c299 uint32_t total_len; in SetTotalLen() local
303 total_len = pbuf->len; in SetTotalLen()
307 total_len += pbuf_tailing->len; in SetTotalLen()
311 pbuf->tot_len = total_len; in SetTotalLen()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/spi/
H A Dhi_spi.c99 static hi_u32 spi_host_transfer(hi_spi_idx id, const spi_trans_attr *trans_attr, hi_u32 total_len, hi_u32 read_write) in spi_host_transfer() argument
103 hi_u32 len = total_len; in spi_host_transfer()

Completed in 90 milliseconds