Home
last modified time | relevance | path

Searched refs:buf_local (Results 1 – 25 of 44) sorted by relevance

12

/wlan-driver/qcacld-3.0/core/hdd/src/
H A Dwlan_hdd_sysfs_dl_modes.c56 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_dl_loglevel_store() local
73 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_dl_loglevel_store()
81 sptr = buf_local; in __hdd_sysfs_dl_loglevel_store()
83 count, buf_local, net_dev->name); in __hdd_sysfs_dl_loglevel_store()
127 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_dl_mod_loglevel_store() local
144 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_dl_mod_loglevel_store()
152 sptr = buf_local; in __hdd_sysfs_dl_mod_loglevel_store()
154 count, buf_local, net_dev->name); in __hdd_sysfs_dl_mod_loglevel_store()
198 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_dl_modoff_store() local
215 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_dl_modoff_store()
[all …]
H A Dwlan_hdd_sysfs_wowl_del_ptrn.c37 char *buf_local = NULL; in __hdd_sysfs_wowl_del_ptrn_store() local
54 buf_local = (char *)qdf_mem_malloc(sizeof(char) * count); in __hdd_sysfs_wowl_del_ptrn_store()
55 if (!buf_local) in __hdd_sysfs_wowl_del_ptrn_store()
58 strlcpy(buf_local, buf, count); in __hdd_sysfs_wowl_del_ptrn_store()
60 buf_local[count - 1] = '\0'; in __hdd_sysfs_wowl_del_ptrn_store()
63 count, buf_local); in __hdd_sysfs_wowl_del_ptrn_store()
65 if (!hdd_del_wowl_ptrn(adapter, buf_local)) { in __hdd_sysfs_wowl_del_ptrn_store()
67 qdf_mem_free(buf_local); in __hdd_sysfs_wowl_del_ptrn_store()
71 qdf_mem_free(buf_local); in __hdd_sysfs_wowl_del_ptrn_store()
H A Dwlan_hdd_sysfs_wowl_add_ptrn.c39 char *buf_local = NULL; in __hdd_sysfs_wowl_add_ptrn_store() local
56 buf_local = (char *)qdf_mem_malloc(sizeof(char) * count); in __hdd_sysfs_wowl_add_ptrn_store()
57 if (!buf_local) in __hdd_sysfs_wowl_add_ptrn_store()
60 strlcpy(buf_local, buf, count); in __hdd_sysfs_wowl_add_ptrn_store()
62 buf_local[count - 1] = '\0'; in __hdd_sysfs_wowl_add_ptrn_store()
65 count, buf_local); in __hdd_sysfs_wowl_add_ptrn_store()
67 if (!hdd_add_wowl_ptrn(adapter, buf_local)) { in __hdd_sysfs_wowl_add_ptrn_store()
69 qdf_mem_free(buf_local); in __hdd_sysfs_wowl_add_ptrn_store()
73 qdf_mem_free(buf_local); in __hdd_sysfs_wowl_add_ptrn_store()
H A Dwlan_hdd_sysfs_motion_detection.c43 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_mt_bl_config_store() local
60 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_mt_bl_config_store()
68 sptr = buf_local; in __hdd_sysfs_mt_bl_config_store()
70 count, buf_local, net_dev->name); in __hdd_sysfs_mt_bl_config_store()
137 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_mt_bl_start_store() local
155 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_mt_bl_start_store()
169 sptr = buf_local; in __hdd_sysfs_mt_bl_start_store()
171 count, buf_local, net_dev->name); in __hdd_sysfs_mt_bl_start_store()
222 char buf_local[MAX_SYSFS_MT_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_mt_config_store() local
240 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_mt_config_store()
[all …]
H A Dwlan_hdd_sysfs_dp_trace.c39 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_dp_trace_store() local
48 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_dp_trace_store()
56 sptr = buf_local; in __hdd_sysfs_dp_trace_store()
58 count, buf_local); in __hdd_sysfs_dp_trace_store()
125 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_dump_dp_trace_store() local
132 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_dump_dp_trace_store()
139 sptr = buf_local; in __hdd_sysfs_dump_dp_trace_store()
242 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_clear_dp_trace_store() local
249 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_clear_dp_trace_store()
256 sptr = buf_local; in __hdd_sysfs_clear_dp_trace_store()
H A Dwlan_hdd_sysfs_pktlog.c27 char buf_local[MAX_USER_COMMAND_SIZE_PKT_LOG_CMD + 1]; in __hdd_sysfs_pkt_log_cmd_store() local
37 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_pkt_log_cmd_store()
42 sptr = buf_local; in __hdd_sysfs_pkt_log_cmd_store()
50 sptr = buf_local; in __hdd_sysfs_pkt_log_cmd_store()
H A Dwlan_hdd_sysfs_scan_disable.c35 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_scan_disable_store() local
46 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_scan_disable_store()
53 sptr = buf_local; in __hdd_sysfs_scan_disable_store()
55 count, buf_local); in __hdd_sysfs_scan_disable_store()
H A Dwlan_hdd_sysfs_wow_ito.c37 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_wow_ito_store() local
48 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_wow_ito_store()
55 sptr = buf_local; in __hdd_sysfs_wow_ito_store()
57 count, buf_local); in __hdd_sysfs_wow_ito_store()
H A Dwlan_hdd_sysfs_crash_inject.c34 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_crash_inject_store() local
50 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_crash_inject_store()
58 count, buf_local, net_dev->name); in __hdd_sysfs_crash_inject_store()
60 sptr = buf_local; in __hdd_sysfs_crash_inject_store()
H A Dwlan_hdd_sysfs_monitor_mode_channel.c35 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_monitor_mode_channel_store() local
52 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_monitor_mode_channel_store()
60 sptr = buf_local; in __hdd_sysfs_monitor_mode_channel_store()
62 count, buf_local, net_dev->name); in __hdd_sysfs_monitor_mode_channel_store()
H A Dwlan_hdd_sysfs_wlan_dbg.c33 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_wlan_dbg_store() local
41 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_wlan_dbg_store()
48 sptr = buf_local; in __hdd_sysfs_wlan_dbg_store()
50 count, buf_local); in __hdd_sysfs_wlan_dbg_store()
H A Dwlan_hdd_sysfs_radar.c36 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_radar_store() local
55 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_radar_store()
63 sptr = buf_local; in __hdd_sysfs_radar_store()
65 count, buf_local, net_dev->name); in __hdd_sysfs_radar_store()
H A Dwlan_hdd_sysfs_fw_mode_config.c38 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __wlan_hdd_store_fw_mode_config_sysfs() local
51 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __wlan_hdd_store_fw_mode_config_sysfs()
59 count, buf_local); in __wlan_hdd_store_fw_mode_config_sysfs()
61 sptr = buf_local; in __wlan_hdd_store_fw_mode_config_sysfs()
H A Dwlan_hdd_sysfs_txrx_fw_st_rst.c54 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_txrx_fw_st_rst_store() local
71 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_txrx_fw_st_rst_store()
79 sptr = buf_local; in __hdd_sysfs_txrx_fw_st_rst_store()
81 count, buf_local, net_dev->name); in __hdd_sysfs_txrx_fw_st_rst_store()
H A Dwlan_hdd_sysfs_txrx_fw_stats.c54 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_txrx_fw_stats_store() local
71 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_txrx_fw_stats_store()
79 sptr = buf_local; in __hdd_sysfs_txrx_fw_stats_store()
81 count, buf_local, net_dev->name); in __hdd_sysfs_txrx_fw_stats_store()
H A Dwlan_hdd_sysfs_scan_config.c36 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_scan_config_store() local
45 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_scan_config_store()
53 sptr = buf_local; in __hdd_sysfs_scan_config_store()
55 count, buf_local); in __hdd_sysfs_scan_config_store()
H A Dwlan_hdd_sysfs_bitrates.c222 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_sta_bitrates_store() local
238 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_sta_bitrates_store()
246 sptr = buf_local; in __hdd_sysfs_sta_bitrates_store()
247 hdd_debug("sta_bitrates: count %zu buf_local:(%s)", count, buf_local); in __hdd_sysfs_sta_bitrates_store()
298 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_sap_bitrates_store() local
314 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_sap_bitrates_store()
322 sptr = buf_local; in __hdd_sysfs_sap_bitrates_store()
323 hdd_debug("sta_bitrates: count %zu buf_local:(%s)", count, buf_local); in __hdd_sysfs_sap_bitrates_store()
H A Dwlan_hdd_sysfs_modify_acl.c37 char buf_local[MAX_USER_COMMAND_SIZE_MODIFY_ACL + 1]; in __hdd_sysfs_modify_acl_store() local
61 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_modify_acl_store()
69 count, buf_local, net_dev->name); in __hdd_sysfs_modify_acl_store()
71 sptr = buf_local; in __hdd_sysfs_modify_acl_store()
H A Dwlan_hdd_sysfs_txrx_stats.c38 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_txrx_stats_store() local
60 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_txrx_stats_store()
68 sptr = buf_local; in __hdd_sysfs_txrx_stats_store()
70 count, buf_local, net_dev->name); in __hdd_sysfs_txrx_stats_store()
H A Dwlan_hdd_sysfs_unit_test.c41 char buf_local[MAX_USER_COMMAND_SIZE_UNIT_TEST_TARGET + 1]; in __hdd_sysfs_unit_test_target_store() local
69 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_unit_test_target_store()
77 count, buf_local, net_dev->name); in __hdd_sysfs_unit_test_target_store()
79 sptr = buf_local; in __hdd_sysfs_unit_test_target_store()
H A Dwlan_hdd_sysfs_range_ext.c80 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_range_ext_store() local
97 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_range_ext_store()
105 sptr = buf_local; in __hdd_sysfs_range_ext_store()
107 count, buf_local, net_dev->name); in __hdd_sysfs_range_ext_store()
H A Dwlan_hdd_sysfs_dfsnol.c84 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_dfsnol_store() local
107 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_dfsnol_store()
114 sptr = buf_local; in __hdd_sysfs_dfsnol_store()
116 count, buf_local, net_dev->name); in __hdd_sysfs_dfsnol_store()
H A Dwlan_hdd_sysfs_eht_rate.c37 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_set_11be_fixed_rate() local
59 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_set_11be_fixed_rate()
66 sptr = buf_local; in __hdd_sysfs_set_11be_fixed_rate()
H A Dwlan_hdd_sysfs_he_bss_color.c35 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_he_bss_color_store() local
52 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_he_bss_color_store()
60 sptr = buf_local; in __hdd_sysfs_he_bss_color_store()
H A Dwlan_hdd_sysfs_suspend_resume.c35 char buf_local[MAX_SYSFS_USER_COMMAND_SIZE_LENGTH + 1]; in __hdd_sysfs_suspend_store() local
50 ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local), in __hdd_sysfs_suspend_store()
58 count, buf_local, net_dev->name); in __hdd_sysfs_suspend_store()
60 sptr = buf_local; in __hdd_sysfs_suspend_store()

12