Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 78) sorted by relevance

1234

/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_sysfs_direct_link_ut_cmd.c34 char *sptr, *token; in __hdd_sysfs_direct_link_ut_cmd_store() local
58 token = strsep(&sptr, " "); in __hdd_sysfs_direct_link_ut_cmd_store()
59 if (!token) in __hdd_sysfs_direct_link_ut_cmd_store()
61 if (kstrtou32(token, 0, (uint32_t *)&cmd_info.cmd)) in __hdd_sysfs_direct_link_ut_cmd_store()
70 token = strsep(&sptr, " "); in __hdd_sysfs_direct_link_ut_cmd_store()
71 if (!token) in __hdd_sysfs_direct_link_ut_cmd_store()
73 if (kstrtou32(token, 0, &cmd_info.duration)) in __hdd_sysfs_direct_link_ut_cmd_store()
76 token = strsep(&sptr, " "); in __hdd_sysfs_direct_link_ut_cmd_store()
77 if (!token) in __hdd_sysfs_direct_link_ut_cmd_store()
79 if (kstrtou32(token, 0, &cmd_info.flush_period)) in __hdd_sysfs_direct_link_ut_cmd_store()
[all …]
Dwlan_hdd_sysfs_thermal_cfg.c61 char *sptr, *token; in __hdd_sysfs_thermal_cfg_store() local
91 token = strsep(&sptr, " "); in __hdd_sysfs_thermal_cfg_store()
92 if (!token) in __hdd_sysfs_thermal_cfg_store()
94 if (kstrtou32(token, 0, &val1)) in __hdd_sysfs_thermal_cfg_store()
98 token = strsep(&sptr, " "); in __hdd_sysfs_thermal_cfg_store()
99 if (!token) in __hdd_sysfs_thermal_cfg_store()
101 if (kstrtou32(token, 0, &val2)) in __hdd_sysfs_thermal_cfg_store()
105 token = strsep(&sptr, " "); in __hdd_sysfs_thermal_cfg_store()
106 if (!token) in __hdd_sysfs_thermal_cfg_store()
108 if (kstrtou32(token, 0, &val3)) in __hdd_sysfs_thermal_cfg_store()
[all …]
Dwlan_hdd_sysfs_dp_trace.c40 char *sptr, *token; in __hdd_sysfs_dp_trace_store() local
61 token = strsep(&sptr, " "); in __hdd_sysfs_dp_trace_store()
62 if (!token) in __hdd_sysfs_dp_trace_store()
64 if (kstrtou32(token, 0, &val1)) in __hdd_sysfs_dp_trace_store()
68 token = strsep(&sptr, " "); in __hdd_sysfs_dp_trace_store()
69 if (!token) in __hdd_sysfs_dp_trace_store()
71 if (kstrtou8(token, 0, &val2)) in __hdd_sysfs_dp_trace_store()
75 token = strsep(&sptr, " "); in __hdd_sysfs_dp_trace_store()
76 if (!token) in __hdd_sysfs_dp_trace_store()
78 if (kstrtou8(token, 0, &val3)) in __hdd_sysfs_dp_trace_store()
[all …]
Dwlan_hdd_debugfs.c107 char *sptr, *token; in __wcnss_wowpattern_write() local
147 token = strsep(&sptr, " "); in __wcnss_wowpattern_write()
148 if (!token) in __wcnss_wowpattern_write()
151 if (kstrtou8(token, 0, &pattern_idx)) in __wcnss_wowpattern_write()
155 token = strsep(&sptr, " "); in __wcnss_wowpattern_write()
158 if (!token) { in __wcnss_wowpattern_write()
164 if (kstrtou8(token, 0, &pattern_offset)) in __wcnss_wowpattern_write()
168 token = strsep(&sptr, " "); in __wcnss_wowpattern_write()
169 if (!token) in __wcnss_wowpattern_write()
172 pattern_buf = token; in __wcnss_wowpattern_write()
[all …]
Dwlan_hdd_sysfs_motion_detection.c45 char *sptr, *token; in __hdd_sysfs_mt_bl_config_store() local
73 token = strsep(&sptr, " "); in __hdd_sysfs_mt_bl_config_store()
74 if (!token) in __hdd_sysfs_mt_bl_config_store()
76 if (kstrtou32(token, 0, &bl_time_t)) in __hdd_sysfs_mt_bl_config_store()
80 token = strsep(&sptr, " "); in __hdd_sysfs_mt_bl_config_store()
81 if (!token) in __hdd_sysfs_mt_bl_config_store()
83 if (kstrtou32(token, 0, &bl_packet_gap)) in __hdd_sysfs_mt_bl_config_store()
87 token = strsep(&sptr, " "); in __hdd_sysfs_mt_bl_config_store()
88 if (!token) in __hdd_sysfs_mt_bl_config_store()
90 if (kstrtou32(token, 0, &bl_n)) in __hdd_sysfs_mt_bl_config_store()
[all …]
Dwlan_hdd_sysfs_wlan_dbg.c34 char *sptr, *token; in __hdd_sysfs_wlan_dbg_store() local
53 token = strsep(&sptr, " "); in __hdd_sysfs_wlan_dbg_store()
54 if (!token) in __hdd_sysfs_wlan_dbg_store()
56 if (kstrtou32(token, 0, &val1)) in __hdd_sysfs_wlan_dbg_store()
60 token = strsep(&sptr, " "); in __hdd_sysfs_wlan_dbg_store()
61 if (!token) in __hdd_sysfs_wlan_dbg_store()
63 if (kstrtou32(token, 0, &val2)) in __hdd_sysfs_wlan_dbg_store()
67 token = strsep(&sptr, " "); in __hdd_sysfs_wlan_dbg_store()
68 if (!token) in __hdd_sysfs_wlan_dbg_store()
70 if (kstrtou32(token, 0, &val3)) in __hdd_sysfs_wlan_dbg_store()
Dwlan_hdd_sysfs_dl_modes.c58 char *sptr, *token; in __hdd_sysfs_dl_loglevel_store() local
86 token = strsep(&sptr, " "); in __hdd_sysfs_dl_loglevel_store()
87 if (!token) in __hdd_sysfs_dl_loglevel_store()
89 if (kstrtou32(token, 0, &value)) in __hdd_sysfs_dl_loglevel_store()
129 char *sptr, *token; in __hdd_sysfs_dl_mod_loglevel_store() local
157 token = strsep(&sptr, " "); in __hdd_sysfs_dl_mod_loglevel_store()
158 if (!token) in __hdd_sysfs_dl_mod_loglevel_store()
160 if (kstrtou32(token, 0, &value)) in __hdd_sysfs_dl_mod_loglevel_store()
200 char *sptr, *token; in __hdd_sysfs_dl_modoff_store() local
228 token = strsep(&sptr, " "); in __hdd_sysfs_dl_modoff_store()
[all …]
Dwlan_hdd_sysfs_scan_config.c37 char *sptr, *token; in __hdd_sysfs_scan_config_store() local
58 token = strsep(&sptr, " "); in __hdd_sysfs_scan_config_store()
59 if (!token) in __hdd_sysfs_scan_config_store()
61 if (kstrtou8(token, 0, &val1)) in __hdd_sysfs_scan_config_store()
65 token = strsep(&sptr, " "); in __hdd_sysfs_scan_config_store()
66 if (!token) in __hdd_sysfs_scan_config_store()
68 if (kstrtou8(token, 0, &val2)) in __hdd_sysfs_scan_config_store()
72 token = strsep(&sptr, " "); in __hdd_sysfs_scan_config_store()
73 if (!token) in __hdd_sysfs_scan_config_store()
75 if (kstrtou8(token, 0, &val3)) in __hdd_sysfs_scan_config_store()
Dwlan_hdd_sysfs_modify_acl.c38 char *sptr, *token; in __hdd_sysfs_modify_acl_store() local
73 token = strsep(&sptr, " "); in __hdd_sysfs_modify_acl_store()
74 if (!token) in __hdd_sysfs_modify_acl_store()
76 if (kstrtou8(token, 0, &peer_mac[i])) in __hdd_sysfs_modify_acl_store()
81 token = strsep(&sptr, " "); in __hdd_sysfs_modify_acl_store()
82 if (!token) in __hdd_sysfs_modify_acl_store()
84 if (kstrtou32(token, 0, &list_type)) in __hdd_sysfs_modify_acl_store()
88 token = strsep(&sptr, " "); in __hdd_sysfs_modify_acl_store()
89 if (!token) in __hdd_sysfs_modify_acl_store()
91 if (kstrtou32(token, 0, &cmd_type)) in __hdd_sysfs_modify_acl_store()
Dwlan_hdd_sysfs_unit_test.c42 char *sptr, *token; in __hdd_sysfs_unit_test_target_store() local
81 token = strsep(&sptr, " "); in __hdd_sysfs_unit_test_target_store()
82 if (!token) in __hdd_sysfs_unit_test_target_store()
84 if (kstrtou32(token, 0, &module_id)) in __hdd_sysfs_unit_test_target_store()
88 token = strsep(&sptr, " "); in __hdd_sysfs_unit_test_target_store()
89 if (!token) in __hdd_sysfs_unit_test_target_store()
91 if (kstrtou32(token, 0, &args_num)) in __hdd_sysfs_unit_test_target_store()
105 token = strsep(&sptr, " "); in __hdd_sysfs_unit_test_target_store()
106 if (!token) { in __hdd_sysfs_unit_test_target_store()
111 if (kstrtou32(token, 0, &apps_args[i])) in __hdd_sysfs_unit_test_target_store()
Dwlan_hdd_sysfs_dp_traffic_end_indication.c99 char *sptr, *token; in __hdd_sysfs_dp_traffic_end_indication_store() local
122 token = strsep(&sptr, " "); in __hdd_sysfs_dp_traffic_end_indication_store()
123 if (!token) in __hdd_sysfs_dp_traffic_end_indication_store()
125 if (kstrtou8(token, 0, &value)) in __hdd_sysfs_dp_traffic_end_indication_store()
129 token = strsep(&sptr, " "); in __hdd_sysfs_dp_traffic_end_indication_store()
130 if (!token) in __hdd_sysfs_dp_traffic_end_indication_store()
132 if (kstrtou8(token, 0, &defdscp)) in __hdd_sysfs_dp_traffic_end_indication_store()
136 token = strsep(&sptr, " "); in __hdd_sysfs_dp_traffic_end_indication_store()
137 if (!token) in __hdd_sysfs_dp_traffic_end_indication_store()
139 if (kstrtou8(token, 0, &spldscp)) in __hdd_sysfs_dp_traffic_end_indication_store()
Dwlan_hdd_sysfs_pktlog.c28 char *sptr, *token; in __hdd_sysfs_pkt_log_cmd_store() local
44 token = strsep(&sptr, " "); in __hdd_sysfs_pkt_log_cmd_store()
45 if (!token) in __hdd_sysfs_pkt_log_cmd_store()
47 if (kstrtou32(token, 0, &val1)) in __hdd_sysfs_pkt_log_cmd_store()
52 token = strsep(&sptr, " "); in __hdd_sysfs_pkt_log_cmd_store()
53 if (!token) in __hdd_sysfs_pkt_log_cmd_store()
55 if (kstrtou32(token, 0, &val2)) in __hdd_sysfs_pkt_log_cmd_store()
Dwlan_hdd_sysfs_monitor_mode_channel.c37 char *sptr, *token; in __hdd_sysfs_monitor_mode_channel_store() local
65 token = strsep(&sptr, " "); in __hdd_sysfs_monitor_mode_channel_store()
66 if (!token) in __hdd_sysfs_monitor_mode_channel_store()
68 if (kstrtou32(token, 0, &val1)) in __hdd_sysfs_monitor_mode_channel_store()
72 token = strsep(&sptr, " "); in __hdd_sysfs_monitor_mode_channel_store()
73 if (!token) in __hdd_sysfs_monitor_mode_channel_store()
75 if (kstrtou32(token, 0, &val2)) in __hdd_sysfs_monitor_mode_channel_store()
Dwlan_hdd_sysfs_crash_inject.c35 char *sptr, *token; in __hdd_sysfs_crash_inject_store() local
62 token = strsep(&sptr, " "); in __hdd_sysfs_crash_inject_store()
63 if (!token) in __hdd_sysfs_crash_inject_store()
65 if (kstrtou32(token, 0, &val1)) in __hdd_sysfs_crash_inject_store()
69 token = strsep(&sptr, " "); in __hdd_sysfs_crash_inject_store()
70 if (!token) in __hdd_sysfs_crash_inject_store()
72 if (kstrtou32(token, 0, &val2)) in __hdd_sysfs_crash_inject_store()
Dwlan_hdd_sysfs_fw_mode_config.c39 char *sptr, *token; in __wlan_hdd_store_fw_mode_config_sysfs() local
63 token = strsep(&sptr, " "); in __wlan_hdd_store_fw_mode_config_sysfs()
64 if (!token) in __wlan_hdd_store_fw_mode_config_sysfs()
66 if (kstrtou32(token, 0, &val1)) in __wlan_hdd_store_fw_mode_config_sysfs()
70 token = strsep(&sptr, " "); in __wlan_hdd_store_fw_mode_config_sysfs()
71 if (!token) in __wlan_hdd_store_fw_mode_config_sysfs()
73 if (kstrtou32(token, 0, &val2)) in __wlan_hdd_store_fw_mode_config_sysfs()
Dwlan_hdd_sysfs_bitrates.c224 char *sptr, *token; in __hdd_sysfs_sta_bitrates_store() local
250 token = strsep(&sptr, " "); in __hdd_sysfs_sta_bitrates_store()
251 if (!token) in __hdd_sysfs_sta_bitrates_store()
253 if (kstrtoint(token, 0, &rate)) in __hdd_sysfs_sta_bitrates_store()
257 token = strsep(&sptr, " "); in __hdd_sysfs_sta_bitrates_store()
258 if (!token) in __hdd_sysfs_sta_bitrates_store()
260 if (kstrtoint(token, 0, &rate_code)) in __hdd_sysfs_sta_bitrates_store()
300 char *sptr, *token; in __hdd_sysfs_sap_bitrates_store() local
326 token = strsep(&sptr, " "); in __hdd_sysfs_sap_bitrates_store()
327 if (!token) in __hdd_sysfs_sap_bitrates_store()
[all …]
Dwlan_hdd_sysfs_txrx_stats.c43 char *sptr, *token; in __hdd_sysfs_txrx_stats_store() local
73 token = strsep(&sptr, " "); in __hdd_sysfs_txrx_stats_store()
74 if (!token) in __hdd_sysfs_txrx_stats_store()
76 if (kstrtou32(token, 0, &val1)) in __hdd_sysfs_txrx_stats_store()
80 token = strsep(&sptr, " "); in __hdd_sysfs_txrx_stats_store()
81 if (!token) in __hdd_sysfs_txrx_stats_store()
83 if (kstrtou8(token, 0, &val2)) in __hdd_sysfs_txrx_stats_store()
Dwlan_hdd_sysfs_txrx_stats_console.c51 char *sptr, *token; in __hdd_wlan_txrx_stats_store() local
76 token = strsep(&sptr, " "); in __hdd_wlan_txrx_stats_store()
77 if (!token) in __hdd_wlan_txrx_stats_store()
79 if (kstrtou32(token, 0, &stat_type_requested)) in __hdd_wlan_txrx_stats_store()
83 token = strsep(&sptr, " "); in __hdd_wlan_txrx_stats_store()
84 if (!token) in __hdd_wlan_txrx_stats_store()
86 if (kstrtou32(token, 0, &mac_id)) in __hdd_wlan_txrx_stats_store()
Dwlan_hdd_sysfs_suspend_resume.c36 char *sptr, *token; in __hdd_sysfs_suspend_store() local
62 token = strsep(&sptr, " "); in __hdd_sysfs_suspend_store()
63 if (!token) in __hdd_sysfs_suspend_store()
65 if (kstrtou32(token, 0, &pause_setting)) in __hdd_sysfs_suspend_store()
69 token = strsep(&sptr, " "); in __hdd_sysfs_suspend_store()
70 if (!token) in __hdd_sysfs_suspend_store()
72 if (kstrtou32(token, 0, &resume_setting)) in __hdd_sysfs_suspend_store()
Dwlan_hdd_sysfs_get_freq_for_pwr.c36 char *sptr, *token; in __hdd_sysfs_power_level_store() local
53 token = strsep(&sptr, " "); in __hdd_sysfs_power_level_store()
54 if (!token) in __hdd_sysfs_power_level_store()
57 if (!strncasecmp(token, "VLP", strlen("VLP"))) in __hdd_sysfs_power_level_store()
59 else if (!strncasecmp(token, "LP", strlen("LP"))) in __hdd_sysfs_power_level_store()
61 else if (!strncasecmp(token, "SP", strlen("SP"))) in __hdd_sysfs_power_level_store()
66 hdd_debug("power level %s(%d)", token, in __hdd_sysfs_power_level_store()
/wlan-driver/qcacld-3.0/components/action_oui/core/src/
Dwlan_action_oui_parse.c47 static bool action_oui_string_to_hex(uint8_t *token, uint8_t *hex, in action_oui_string_to_hex() argument
51 uint32_t token_len = qdf_str_len(token); in action_oui_string_to_hex()
72 ret = qdf_hex_str_to_binary(hex, token, hex_str_len); in action_oui_string_to_hex()
122 bool validate_and_convert_oui(uint8_t *token, in validate_and_convert_oui() argument
129 valid = action_oui_string_to_hex(token, ext->oui, 2, in validate_and_convert_oui()
134 ext->oui_length = qdf_str_len(token) / 2; in validate_and_convert_oui()
155 validate_and_convert_data_length(uint8_t *token, in validate_and_convert_data_length() argument
159 uint32_t token_len = qdf_str_len(token); in validate_and_convert_data_length()
168 ret = kstrtou8(token, 16, &len); in validate_and_convert_data_length()
204 validate_and_convert_data(uint8_t *token, in validate_and_convert_data() argument
[all …]
/wlan-driver/platform/icnss2/
Ddebug.c28 char *sptr, *token; in icnss_regwrite_write() local
45 token = strsep(&sptr, delim); in icnss_regwrite_write()
46 if (!token) in icnss_regwrite_write()
52 if (kstrtou32(token, 0, &mem_type)) in icnss_regwrite_write()
55 token = strsep(&sptr, delim); in icnss_regwrite_write()
56 if (!token) in icnss_regwrite_write()
62 if (kstrtou32(token, 0, &reg_offset)) in icnss_regwrite_write()
65 token = strsep(&sptr, delim); in icnss_regwrite_write()
66 if (!token) in icnss_regwrite_write()
69 if (kstrtou32(token, 0, &reg_val)) in icnss_regwrite_write()
[all …]
/wlan-driver/qcacld-3.0/components/umac/mlme/mlo_mgr/inc/
Dwlan_t2lm_api.h104 uint8_t *token);
117 void *event_data, uint8_t *token);
132 void *event_data, uint8_t *token);
149 uint8_t *token);
297 void *event_data, uint32_t frame_len, uint8_t *token) in t2lm_handle_rx_req() argument
304 void *event_data, uint8_t *token) in t2lm_handle_tx_resp() argument
312 void *event_data, uint8_t *token) in t2lm_handle_tx_req() argument
320 void *event_data, uint32_t frame_len, uint8_t *token) in t2lm_handle_rx_resp() argument
/wlan-driver/platform/cnss2/
Ddebug.c242 char *sptr, *token; in cnss_dev_boot_debug_write() local
256 token = strsep(&sptr, delim); in cnss_dev_boot_debug_write()
257 if (!token) in cnss_dev_boot_debug_write()
259 cmd = token; in cnss_dev_boot_debug_write()
400 char *sptr, *token; in cnss_reg_read_debug_write() local
415 token = strsep(&sptr, delim); in cnss_reg_read_debug_write()
416 if (!token) in cnss_reg_read_debug_write()
422 if (kstrtou32(token, 0, &mem_type)) in cnss_reg_read_debug_write()
425 token = strsep(&sptr, delim); in cnss_reg_read_debug_write()
426 if (!token) in cnss_reg_read_debug_write()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/utf/src/
Dwlan_cm_utf_main.c782 char *token; in wlan_cm_utf_update_connect_param() local
785 token = qdf_str_sep(&buffer, "\n"); in wlan_cm_utf_update_connect_param()
787 if (!token) { in wlan_cm_utf_update_connect_param()
803 if (sscanf(token, "%2x:%2x:%2x:%2x:%2x:%2x ,%2x:%2x:%2x:%2x:%2x:%2x " in wlan_cm_utf_update_connect_param()
843 while ((token = qdf_str_sep(&buffer, ",")) != NULL) { in wlan_cm_utf_update_connect_param()
846 if (sscanf(token, "%u", &cm_utf->req.assoc_ie.len) != 1) in wlan_cm_utf_update_connect_param()
861 qdf_mem_copy(cm_utf->req.assoc_ie.ptr, token, in wlan_cm_utf_update_connect_param()
866 if (sscanf(token, "%u", in wlan_cm_utf_update_connect_param()
880 qdf_mem_copy(cm_utf->req.crypto.wep_keys.key, token, in wlan_cm_utf_update_connect_param()
899 char *token; in wlan_cm_utf_start_test() local
[all …]

1234