/wlan-driver/platform/cnss_genl/ |
H A D | cnss_nl.c | 78 u8 cmd_id = ops->cmd; in cld80211_pre_doit() local 81 if (cmd_id < 1 || cmd_id > CLD80211_MAX_COMMANDS) { in cld80211_pre_doit() 82 pr_err("CLD80211: Command Not supported: %u\n", cmd_id); in cld80211_pre_doit() 85 info->user_ptr[0] = nl->cld_ops[cmd_id - 1].cb; in cld80211_pre_doit() 86 info->user_ptr[1] = nl->cld_ops[cmd_id - 1].cb_ctx; in cld80211_pre_doit() 94 u8 cmd_id = ops->cmd; in cld80211_pre_doit() local 97 if (cmd_id < 1 || cmd_id > CLD80211_MAX_COMMANDS) { in cld80211_pre_doit() 98 pr_err("CLD80211: Command Not supported: %u\n", cmd_id); in cld80211_pre_doit() 101 info->user_ptr[0] = nl->cld_ops[cmd_id - 1].cb; in cld80211_pre_doit() 102 info->user_ptr[1] = nl->cld_ops[cmd_id - 1].cb_ctx; in cld80211_pre_doit() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/serialization/src/ |
H A D | wlan_serialization_utf.c | 36 uint8_t cmd_id) in wlan_ser_utf_data_alloc() argument 47 data->id = cmd_id; in wlan_ser_utf_data_alloc() 48 WLAN_SER_DATA_STR(data->str, wlan_vdev_get_id(vdev), cmd_id); in wlan_ser_utf_data_alloc() 74 uint32_t cmd_id, void *umac_cmd, in wlan_ser_utf_add_scan_cmd() argument 80 cmd.cmd_id = cmd_id; in wlan_ser_utf_add_scan_cmd() 91 uint32_t cmd_id, void *umac_cmd, in wlan_ser_utf_add_nonscan_cmd() argument 97 cmd.cmd_id = cmd_id; in wlan_ser_utf_add_nonscan_cmd() 107 uint32_t cmd_id) in wlan_ser_utf_remove_scan_cmd() argument 112 cmd.cmd_id = cmd_id; in wlan_ser_utf_remove_scan_cmd() 120 uint32_t cmd_id) in wlan_ser_utf_remove_nonscan_cmd() argument [all …]
|
H A D | wlan_serialization_internal.c | 138 cmd->cmd_id); in wlan_serialization_enqueue_cmd() 207 vdev_id, cmd->cmd_id, cmd->cmd_type); in wlan_serialization_enqueue_cmd() 218 cmd->cmd_id, cmd->cmd_type, vdev_id); in wlan_serialization_enqueue_cmd() 227 cmd->cmd_id, cmd->cmd_type, vdev_id); in wlan_serialization_enqueue_cmd() 233 cmd->cmd_type, cmd->cmd_id, vdev_id, cmd->is_high_priority, in wlan_serialization_enqueue_cmd() 263 cmd->cmd_id, cmd->cmd_type); in wlan_serialization_enqueue_cmd() 316 cmd_list->cmd.cmd_id, vdev_id); in wlan_serialization_activate_cmd() 329 cmd_list->cmd.cmd_id, vdev_id); in wlan_serialization_activate_cmd() 471 cmd->cmd_type, cmd->cmd_id, wlan_vdev_get_id(cmd->vdev), in wlan_serialization_dequeue_cmd() 531 cmd_bkup.cmd_type, cmd_bkup.cmd_id, in wlan_serialization_dequeue_cmd() [all …]
|
H A D | wlan_serialization_non_scan.c | 140 cmd_list->cmd.cmd_type, cmd_list->cmd.cmd_id); in wlan_ser_add_non_scan_cmd() 148 cmd_list->cmd.cmd_type, cmd_list->cmd.cmd_id); in wlan_ser_add_non_scan_cmd() 155 cmd_list->cmd.cmd_type, cmd_list->cmd.cmd_id); in wlan_ser_add_non_scan_cmd() 166 cmd_list->cmd.cmd_type, cmd_list->cmd.cmd_id); in wlan_ser_add_non_scan_cmd() 174 cmd_list->cmd.cmd_type, cmd_list->cmd.cmd_id); in wlan_ser_add_non_scan_cmd() 181 cmd_list->cmd.cmd_type, cmd_list->cmd.cmd_id); in wlan_ser_add_non_scan_cmd() 375 pending_cmd_list->cmd.cmd_id, in wlan_ser_move_non_scan_pending_to_active() 391 pending_cmd_list->cmd.cmd_id, in wlan_ser_move_non_scan_pending_to_active() 474 cmd->cmd_type, cmd->cmd_id); in wlan_ser_remove_non_scan_cmd() 486 cmd->cmd_type, cmd->cmd_id); in wlan_ser_remove_non_scan_cmd() [all …]
|
H A D | wlan_serialization_debug.c | 83 cmd_list->cmd.cmd_id, in wlan_ser_print_queues() 155 data->cmd_id, in wlan_ser_print_all_history() 245 ser_data_info->cmd_id = cmd->cmd_id; in wlan_ser_update_cmd_history()
|
H A D | wlan_serialization_scan.c | 119 if ((cmd_list->cmd.cmd_id == scan_id) && in wlan_ser_match_cmd_scan_id() 311 cmd_bkup.cmd_type, cmd_bkup.cmd_id, in wlan_ser_cancel_scan_cmd() 395 pending_cmd_list->cmd.cmd_id, in wlan_ser_move_scan_pending_to_active() 414 active_cmd_list->cmd.cmd_id, in wlan_ser_move_scan_pending_to_active()
|
H A D | wlan_serialization_api.c | 315 cmd.cmd_id = req->cmd_id; in wlan_serialization_cancel_request() 320 cmd.cmd_type, cmd.cmd_id, in wlan_serialization_cancel_request() 370 cmd.cmd_id = cmd_info->cmd_id; in wlan_serialization_remove_cmd() 380 cmd.cmd_id, cmd.cmd_type, in wlan_serialization_remove_cmd() 571 cmd.cmd_id = scan_id; in wlan_serialization_get_scan_cmd_using_scan_id()
|
H A D | wlan_serialization_debug_i.h | 55 cmd_id:16, /* max cmd_id = 2^16 */ member
|
H A D | wlan_serialization_utils.c | 275 cmd_list->cmd.cmd_type, cmd_list->cmd.cmd_id); in wlan_serialization_validate_cmd_list() 531 cmd_list->cmd.cmd_id); in wlan_serialization_add_cmd_to_queue() 695 if ((cmd_list->cmd.cmd_id != cmd->cmd_id) || in wlan_serialization_match_cmd_id_type()
|
/wlan-driver/qcacld-3.0/os_if/twt/src/ |
H A D | osif_twt_ext_req.c | 175 int cmd_id; in osif_twt_parse_add_dialog_attrs() local 178 cmd_id = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_FLOW_ID; in osif_twt_parse_add_dialog_attrs() 179 if (tb[cmd_id]) { in osif_twt_parse_add_dialog_attrs() 180 params->dialog_id = nla_get_u8(tb[cmd_id]); in osif_twt_parse_add_dialog_attrs() 190 cmd_id = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL_EXP; in osif_twt_parse_add_dialog_attrs() 191 if (!tb[cmd_id]) { in osif_twt_parse_add_dialog_attrs() 195 wake_intvl_exp = nla_get_u8(tb[cmd_id]); in osif_twt_parse_add_dialog_attrs() 203 cmd_id = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_BCAST; in osif_twt_parse_add_dialog_attrs() 204 params->flag_bcast = nla_get_flag(tb[cmd_id]); in osif_twt_parse_add_dialog_attrs() 206 cmd_id = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_BCAST_ID; in osif_twt_parse_add_dialog_attrs() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_mcc_quota.c | 105 uint32_t duty_cycle, cmd_id, rem_bytes, entries, if_idx; in wlan_hdd_set_mcc_fixed_quota() local 134 cmd_id = QCA_WLAN_VENDOR_ATTR_MCC_QUOTA_ENTRIES; in wlan_hdd_set_mcc_fixed_quota() 135 if (!tb[cmd_id]) { in wlan_hdd_set_mcc_fixed_quota() 141 nla_for_each_nested(curr_attr, tb[cmd_id], rem_bytes) { in wlan_hdd_set_mcc_fixed_quota() 237 uint32_t cmd_id; in wlan_hdd_set_mcc_low_latency_quota() local 250 cmd_id = QCA_WLAN_VENDOR_ATTR_MCC_QUOTA_LOW_LATENCY_MODE_ENABLE; in wlan_hdd_set_mcc_low_latency_quota() 251 if (!tb[cmd_id]) { in wlan_hdd_set_mcc_low_latency_quota() 252 hdd_err("No MCC LL mode attr id %d", cmd_id); in wlan_hdd_set_mcc_low_latency_quota() 255 ll_enable = nla_get_u8(tb[cmd_id]); in wlan_hdd_set_mcc_low_latency_quota() 276 uint32_t cmd_id, quota_type; in wlan_hdd_cfg80211_set_mcc_quota() local [all …]
|
H A D | wlan_hdd_twt.c | 389 int cmd_id; in hdd_twt_get_add_dialog_values() local 392 cmd_id = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_FLOW_ID; in hdd_twt_get_add_dialog_values() 393 if (tb[cmd_id]) { in hdd_twt_get_add_dialog_values() 394 params->dialog_id = nla_get_u8(tb[cmd_id]); in hdd_twt_get_add_dialog_values() 404 cmd_id = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL_EXP; in hdd_twt_get_add_dialog_values() 405 if (!tb[cmd_id]) { in hdd_twt_get_add_dialog_values() 409 wake_intvl_exp = nla_get_u8(tb[cmd_id]); in hdd_twt_get_add_dialog_values() 417 cmd_id = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_BCAST; in hdd_twt_get_add_dialog_values() 418 params->flag_bcast = nla_get_flag(tb[cmd_id]); in hdd_twt_get_add_dialog_values() 420 cmd_id = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_BCAST_ID; in hdd_twt_get_add_dialog_values() [all …]
|
H A D | wlan_hdd_peer_txq_flush.c | 76 uint32_t ac, tid, cmd_id; in hdd_peer_txq_flush_config() local 90 cmd_id = QCA_WLAN_VENDOR_ATTR_FLUSH_PENDING_POLICY; in hdd_peer_txq_flush_config() 91 if (!tb[cmd_id]) { in hdd_peer_txq_flush_config() 95 txq_policy = nla_get_u32(tb[cmd_id]); in hdd_peer_txq_flush_config()
|
H A D | wlan_hdd_cfg80211.c | 13925 uint32_t cmd_id; in __wlan_hdd_cfg80211_set_wifi_test_config() local 14166 cmd_id = QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_KEEP_ALIVE_FRAME_TYPE; in __wlan_hdd_cfg80211_set_wifi_test_config() 14167 if (tb[cmd_id]) { in __wlan_hdd_cfg80211_set_wifi_test_config() 14168 cfg_val = nla_get_u8(tb[cmd_id]); in __wlan_hdd_cfg80211_set_wifi_test_config() 14215 cmd_id = QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ENABLE_TX_BEAMFORMEE; in __wlan_hdd_cfg80211_set_wifi_test_config() 14216 if (tb[cmd_id]) { in __wlan_hdd_cfg80211_set_wifi_test_config() 14234 cmd_id = QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_RX_CTRL_FRAME_TO_MBSS; in __wlan_hdd_cfg80211_set_wifi_test_config() 14235 if (tb[cmd_id]) { in __wlan_hdd_cfg80211_set_wifi_test_config() 14236 cfg_val = nla_get_u8(tb[cmd_id]); in __wlan_hdd_cfg80211_set_wifi_test_config() 14239 cfg_val, cmd_id); in __wlan_hdd_cfg80211_set_wifi_test_config() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/mlme_utils/ |
H A D | wlan_vdev_mlme_ser_if.c | 160 cmd.cmd_id = vdev_id; in wlan_mlme_restart_pdev_iter_cb() 216 cmd.cmd_id = vdev_id; in wlan_mlme_cancel_pending_csa_restart() 240 cmd.cmd_id = vdev_id; in wlan_mlme_check_pdev_restart() 298 uint32_t cmd_id, in wlan_vdev_mlme_ser_remove_request() argument 306 cmd.cmd_id = cmd_id; in wlan_vdev_mlme_ser_remove_request()
|
H A D | wlan_vdev_mlme_ser_if.h | 99 uint32_t cmd_id,
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/ |
H A D | wlan_cm_disconnect.c | 75 &cmd->cmd_id); in cm_activate_disconnect_req_sched_cb() 83 CM_PREFIX_REF(wlan_vdev_get_id(vdev), cmd->cmd_id), in cm_activate_disconnect_req_sched_cb() 85 cm_send_disconnect_resp(cm_ctx, cmd->cmd_id); in cm_activate_disconnect_req_sched_cb() 113 CM_PREFIX_REF(wlan_vdev_get_id(vdev), cmd->cmd_id)); in cm_activate_disconnect_req() 118 CM_PREFIX_REF(wlan_vdev_get_id(vdev), cmd->cmd_id), in cm_activate_disconnect_req() 131 &cmd->cmd_id); in cm_activate_disconnect_req() 151 &cmd->cmd_id); in cm_sm_deliver_disconnect_event() 189 cm_send_disconnect_resp(cm_ctx, cmd->cmd_id); in cm_ser_disconnect_cb() 196 CM_PREFIX_REF(wlan_vdev_get_id(vdev), cmd->cmd_id)); in cm_ser_disconnect_cb() 198 cm_send_disconnect_resp(cm_ctx, cmd->cmd_id); in cm_ser_disconnect_cb() [all …]
|
H A D | wlan_cm_host_roam.c | 517 &cmd->cmd_id); in cm_activate_reassoc_req_sched_cb() 522 cm_reassoc_handle_event_post_fail(cm_ctx, cmd->cmd_id); in cm_activate_reassoc_req_sched_cb() 549 CM_PREFIX_REF(wlan_vdev_get_id(vdev), cmd->cmd_id)); in cm_activate_reassoc_req() 563 &cmd->cmd_id); in cm_activate_reassoc_req() 600 sizeof(wlan_cm_id), &cmd->cmd_id); in cm_ser_reassoc_cb() 611 cm_reassoc_handle_event_post_fail(cm_ctx, cmd->cmd_id); in cm_ser_reassoc_cb() 618 CM_PREFIX_REF(wlan_vdev_get_id(vdev), cmd->cmd_id)); in cm_ser_reassoc_cb() 620 cm_reassoc_cmd_timeout(cm_ctx, cmd->cmd_id); in cm_ser_reassoc_cb() 623 cm_reset_active_cm_id(vdev, cmd->cmd_id); in cm_ser_reassoc_cb() 654 cmd.cmd_id = cm_req->cm_id; in cm_ser_reassoc_req()
|
/wlan-driver/qca-wifi-host-cmn/wmi/src/ |
H A D | wmi_unified.c | 1859 static inline void wmi_log_cmd_id(uint32_t cmd_id, uint32_t tag) in wmi_log_cmd_id() argument 1862 wmi_id_to_name(cmd_id), cmd_id, tag); in wmi_log_cmd_id() 1872 static bool wmi_is_pm_resume_cmd(uint32_t cmd_id) in wmi_is_pm_resume_cmd() argument 1874 switch (cmd_id) { in wmi_is_pm_resume_cmd() 1885 static bool wmi_is_pm_resume_cmd(uint32_t cmd_id) in wmi_is_pm_resume_cmd() argument 1893 static bool wmi_is_legacy_d0wow_disable_cmd(wmi_buf_t buf, uint32_t cmd_id) in wmi_is_legacy_d0wow_disable_cmd() argument 1897 if (cmd_id == WMI_D0_WOW_ENABLE_DISABLE_CMDID) { in wmi_is_legacy_d0wow_disable_cmd() 1909 static bool wmi_is_legacy_d0wow_disable_cmd(wmi_buf_t buf, uint32_t cmd_id) in wmi_is_legacy_d0wow_disable_cmd() argument 2056 uint32_t cmd_id) in wmi_set_system_pm_pkt_tag() argument 2058 switch (cmd_id) { in wmi_set_system_pm_pkt_tag() [all …]
|
/wlan-driver/platform/inc/ |
H A D | cnss_nl.h | 91 int register_cld_cmd_cb(u8 cmd_id, cld80211_cb cb, void *cb_ctx); 98 int deregister_cld_cmd_cb(u8 cmd_id);
|
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/ |
H A D | wlan_cm_host_roam_preauth.c | 169 sizeof(wlan_cm_id), &cmd->cmd_id); in cm_ser_preauth_cb() 173 sizeof(wlan_cm_id), &cmd->cmd_id); in cm_ser_preauth_cb() 183 cm_preauth_handle_event_post_fail(cm_ctx, cmd->cmd_id); in cm_ser_preauth_cb() 190 CM_PREFIX_REF(wlan_vdev_get_id(vdev), cmd->cmd_id)); in cm_ser_preauth_cb() 193 cm_preauth_cmd_timeout(cm_ctx, cmd->cmd_id); in cm_ser_preauth_cb() 196 cm_reset_active_cm_id(vdev, cmd->cmd_id); in cm_ser_preauth_cb() 224 cmd.cmd_id = cm_req->cm_id; in cm_ser_preauth_req() 695 cmd_info.cmd_id = cm_id; in cm_remove_preauth_cmd_from_serialization()
|
H A D | wlan_cm_roam_offload_event.c | 66 cm_ctx->active_cm_id = cmd->cmd_id; in cm_fw_roam_ser_cb() 73 CM_PREFIX_REF(wlan_vdev_get_id(vdev), cmd->cmd_id)); in cm_fw_roam_ser_cb() 75 cm_abort_fw_roam(cm_ctx, cmd->cmd_id); in cm_fw_roam_ser_cb() 78 cm_reset_active_cm_id(vdev, cmd->cmd_id); in cm_fw_roam_ser_cb() 132 cmd.cmd_id = cm_req->cm_id; in cm_add_fw_roam_dummy_ser_cb()
|
/wlan-driver/qcacld-3.0/os_if/sync/src/ |
H A D | osif_vdev_sync.c | 361 void osif_vdev_cache_command(struct osif_vdev_sync *vdev_sync, uint8_t cmd_id) in osif_vdev_cache_command() argument 363 dsc_vdev_cache_command(vdev_sync->dsc_vdev, cmd_id); in osif_vdev_cache_command() 364 osif_debug("Set cache cmd to %d", cmd_id); in osif_vdev_cache_command()
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/serialization/inc/ |
H A D | wlan_serialization_api.h | 341 uint32_t cmd_id; member 367 uint32_t cmd_id; member
|
/wlan-driver/qcacld-3.0/components/dsc/inc/ |
H A D | wlan_dsc_vdev.h | 168 void dsc_vdev_cache_command(struct dsc_vdev *vdev, uint8_t cmd_id);
|