Lines Matching refs:rsp
447 "SMD command (req %d, rsp %d) completed in %dms\n",
489 struct wcn36xx_fw_msg_status_rsp *rsp;
495 rsp = (struct wcn36xx_fw_msg_status_rsp *)
498 if (WCN36XX_FW_MSG_RESULT_SUCCESS != rsp->status)
499 return rsp->status;
574 struct wcn36xx_hal_mac_start_rsp_msg *rsp;
576 if (len < sizeof(*rsp))
579 rsp = (struct wcn36xx_hal_mac_start_rsp_msg *)buf;
581 if (WCN36XX_FW_MSG_RESULT_SUCCESS != rsp->start_rsp_params.status)
584 memcpy(wcn->crm_version, rsp->start_rsp_params.crm_version,
586 memcpy(wcn->wlan_version, rsp->start_rsp_params.wlan_version,
593 wcn->fw_revision = rsp->start_rsp_params.version.revision;
594 wcn->fw_version = rsp->start_rsp_params.version.version;
595 wcn->fw_minor = rsp->start_rsp_params.version.minor;
596 wcn->fw_major = rsp->start_rsp_params.version.major;
606 rsp->start_rsp_params.stations,
607 rsp->start_rsp_params.bssids);
1022 struct wcn36xx_hal_switch_channel_rsp_msg *rsp;
1028 rsp = (struct wcn36xx_hal_switch_channel_rsp_msg *)buf;
1030 rsp->channel_number, rsp->status);
1068 struct wcn36xx_hal_process_ptt_msg_rsp_msg *rsp;
1075 rsp = (struct wcn36xx_hal_process_ptt_msg_rsp_msg *)buf;
1078 rsp->header.len);
1079 wcn36xx_dbg_dump(WCN36XX_DBG_HAL_DUMP, "HAL_PTT_MSG_RSP:", rsp->ptt_msg,
1080 rsp->header.len - sizeof(rsp->ptt_msg_resp_status));
1082 if (rsp->header.len > 0) {
1083 *p_ptt_rsp_msg = kmemdup(rsp->ptt_msg, rsp->header.len,
1132 struct wcn36xx_hal_update_scan_params_resp *rsp;
1134 rsp = (struct wcn36xx_hal_update_scan_params_resp *)buf;
1137 rsp->status &= (~(WCN36XX_FW_MSG_PNO_VERSION_MASK));
1139 if (WCN36XX_FW_MSG_RESULT_SUCCESS != rsp->status) {
1141 return rsp->status;
1195 struct wcn36xx_hal_add_sta_self_rsp_msg *rsp;
1198 if (len < sizeof(*rsp))
1201 rsp = (struct wcn36xx_hal_add_sta_self_rsp_msg *)buf;
1203 if (rsp->status != WCN36XX_FW_MSG_RESULT_SUCCESS) {
1205 rsp->status);
1206 return rsp->status;
1211 rsp->status, rsp->self_sta_index, rsp->dpu_index);
1213 vif_priv->self_sta_index = rsp->self_sta_index;
1214 vif_priv->self_dpu_desc_index = rsp->dpu_index;
1314 struct wcn36xx_hal_join_rsp_msg *rsp;
1319 rsp = (struct wcn36xx_hal_join_rsp_msg *)buf;
1322 "hal rsp join status %d tx_mgmt_power %d\n",
1323 rsp->status, rsp->tx_mgmt_power);
1477 struct wcn36xx_hal_config_sta_rsp_msg *rsp;
1481 if (len < sizeof(*rsp))
1484 rsp = (struct wcn36xx_hal_config_sta_rsp_msg *)buf;
1485 params = &rsp->params;
1498 "hal config sta rsp status %d sta_index %d bssid_index %d uc_ucast_sig %d p2p %d\n",
1845 struct wcn36xx_hal_config_bss_rsp_msg *rsp;
1849 if (len < sizeof(*rsp))
1852 rsp = (struct wcn36xx_hal_config_bss_rsp_msg *)buf;
1853 params = &rsp->bss_rsp_params;
1862 "hal config bss rsp status %d bss_idx %d dpu_desc_index %d"
2048 "hal update probe rsp len %d bssid %pM\n",
2437 struct wcn36xx_hal_feat_caps_msg msg_body, *rsp;
2458 if (wcn->hal_rsp_len != sizeof(*rsp)) {
2463 rsp = (struct wcn36xx_hal_feat_caps_msg *) wcn->hal_buf;
2466 wcn->fw_feat_caps[i] = rsp->feat_caps[i];
2474 struct wcn36xx_hal_add_ba_session_rsp_msg *rsp;
2476 if (len < sizeof(*rsp))
2479 rsp = (struct wcn36xx_hal_add_ba_session_rsp_msg *)buf;
2480 if (rsp->status != WCN36XX_FW_MSG_RESULT_SUCCESS)
2481 return rsp->status;
2483 *session = rsp->ba_session_id;
2596 struct wcn36xx_hal_stats_rsp_msg *rsp;
2626 rsp = (struct wcn36xx_hal_stats_rsp_msg *)wcn->hal_buf;
2629 if (rsp->stats_mask != stats_mask) {
2631 rsp->stats_mask, stats_mask);
2635 if (rsp->stats_mask & HAL_GLOBAL_CLASS_A_STATS_INFO) {
2651 struct wcn36xx_hal_trigger_ba_rsp_msg *rsp;
2654 if (len < sizeof(*rsp))
2657 rsp = (struct wcn36xx_hal_trigger_ba_rsp_msg *) buf;
2659 if (rsp->candidate_cnt < 1)
2660 return rsp->status ? rsp->status : -EINVAL;
2662 candidate = (struct wcn36xx_hal_trigger_ba_rsp_candidate *)(buf + sizeof(*rsp));
2668 return rsp->status;
2715 struct wcn36xx_hal_tx_compl_ind_msg *rsp = buf;
2717 if (len != sizeof(*rsp)) {
2722 wcn36xx_dxe_tx_ack_ind(wcn, rsp->status);
2729 struct wcn36xx_hal_scan_offload_ind *rsp = buf;
2732 if (len != sizeof(*rsp)) {
2737 wcn36xx_dbg(WCN36XX_DBG_HAL, "scan indication (type %x)\n", rsp->type);
2739 switch (rsp->type) {
2758 wcn36xx_warn("Unknown scan indication type %x\n", rsp->type);
2768 struct wcn36xx_hal_missed_beacon_ind_msg *rsp = buf;
2783 if (len != sizeof(*rsp)) {
2789 if (tmp->bss_index == rsp->bss_index) {
2791 rsp->bss_index);
2798 wcn36xx_warn("BSS index %d not found\n", rsp->bss_index);
2806 struct wcn36xx_hal_delete_sta_context_ind_msg *rsp = buf;
2813 if (len != sizeof(*rsp)) {
2820 rsp->addr2, rsp->sta_id, rsp->reason_code);
2832 !memcmp(bss_conf->bssid, rsp->addr2, ETH_ALEN)) {
2840 sta = ieee80211_find_sta(vif, rsp->addr2);
2852 wcn36xx_warn("BSS or STA with addr %pM not found\n", rsp->addr2);
2860 struct wcn36xx_hal_print_reg_info_ind *rsp = buf;
2863 if (len < sizeof(*rsp)) {
2870 rsp->scenario, rsp->reason);
2872 for (i = 0; i < rsp->count; i++) {
2874 rsp->regs[i].addr, rsp->regs[i].value);
2943 wcn36xx_err("HAL_8023_MULTICAST_LIST rsp failed err=%d\n", ret);
3093 struct wcn36xx_hal_gtk_offload_get_info_rsp_msg *rsp;
3099 rsp = (struct wcn36xx_hal_gtk_offload_get_info_rsp_msg *)wcn->hal_buf;
3101 if (rsp->bss_index != vif_priv->bss_index) {
3103 rsp->bss_index);
3107 if (vif_priv->rekey_data.replay_ctr != cpu_to_le64(rsp->key_replay_counter)) {
3108 replay_ctr = cpu_to_be64(rsp->key_replay_counter);
3110 cpu_to_le64(rsp->key_replay_counter);
3115 rsp->key_replay_counter);
3122 rsp->status, rsp->last_rekey_status,
3123 rsp->key_replay_counter, rsp->total_rekey_count,
3124 rsp->gtk_rekey_count, rsp->igtk_rekey_count,
3125 rsp->bss_index);
3183 struct wcn36xx_hal_host_resume_rsp_msg *rsp;
3204 rsp = (struct wcn36xx_hal_host_resume_rsp_msg *)wcn->hal_buf;
3205 if (rsp->status)
3206 wcn36xx_warn("wlan_host_resume status=%d\n", rsp->status);