Lines Matching refs:rsp

485 	struct wcn36xx_fw_msg_status_rsp *rsp;  in wcn36xx_smd_rsp_status_check()  local
491 rsp = (struct wcn36xx_fw_msg_status_rsp *) in wcn36xx_smd_rsp_status_check()
494 if (WCN36XX_FW_MSG_RESULT_SUCCESS != rsp->status) in wcn36xx_smd_rsp_status_check()
495 return rsp->status; in wcn36xx_smd_rsp_status_check()
570 struct wcn36xx_hal_mac_start_rsp_msg *rsp; in wcn36xx_smd_start_rsp() local
572 if (len < sizeof(*rsp)) in wcn36xx_smd_start_rsp()
575 rsp = (struct wcn36xx_hal_mac_start_rsp_msg *)buf; in wcn36xx_smd_start_rsp()
577 if (WCN36XX_FW_MSG_RESULT_SUCCESS != rsp->start_rsp_params.status) in wcn36xx_smd_start_rsp()
580 memcpy(wcn->crm_version, rsp->start_rsp_params.crm_version, in wcn36xx_smd_start_rsp()
582 memcpy(wcn->wlan_version, rsp->start_rsp_params.wlan_version, in wcn36xx_smd_start_rsp()
589 wcn->fw_revision = rsp->start_rsp_params.version.revision; in wcn36xx_smd_start_rsp()
590 wcn->fw_version = rsp->start_rsp_params.version.version; in wcn36xx_smd_start_rsp()
591 wcn->fw_minor = rsp->start_rsp_params.version.minor; in wcn36xx_smd_start_rsp()
592 wcn->fw_major = rsp->start_rsp_params.version.major; in wcn36xx_smd_start_rsp()
602 rsp->start_rsp_params.stations, in wcn36xx_smd_start_rsp()
603 rsp->start_rsp_params.bssids); in wcn36xx_smd_start_rsp()
1014 struct wcn36xx_hal_switch_channel_rsp_msg *rsp; in wcn36xx_smd_switch_channel_rsp() local
1020 rsp = (struct wcn36xx_hal_switch_channel_rsp_msg *)buf; in wcn36xx_smd_switch_channel_rsp()
1022 rsp->channel_number, rsp->status); in wcn36xx_smd_switch_channel_rsp()
1060 struct wcn36xx_hal_process_ptt_msg_rsp_msg *rsp; in wcn36xx_smd_process_ptt_msg_rsp() local
1067 rsp = (struct wcn36xx_hal_process_ptt_msg_rsp_msg *)buf; in wcn36xx_smd_process_ptt_msg_rsp()
1070 rsp->header.len); in wcn36xx_smd_process_ptt_msg_rsp()
1071 wcn36xx_dbg_dump(WCN36XX_DBG_HAL_DUMP, "HAL_PTT_MSG_RSP:", rsp->ptt_msg, in wcn36xx_smd_process_ptt_msg_rsp()
1072 rsp->header.len - sizeof(rsp->ptt_msg_resp_status)); in wcn36xx_smd_process_ptt_msg_rsp()
1074 if (rsp->header.len > 0) { in wcn36xx_smd_process_ptt_msg_rsp()
1075 *p_ptt_rsp_msg = kmemdup(rsp->ptt_msg, rsp->header.len, in wcn36xx_smd_process_ptt_msg_rsp()
1124 struct wcn36xx_hal_update_scan_params_resp *rsp; in wcn36xx_smd_update_scan_params_rsp() local
1126 rsp = (struct wcn36xx_hal_update_scan_params_resp *)buf; in wcn36xx_smd_update_scan_params_rsp()
1129 rsp->status &= (~(WCN36XX_FW_MSG_PNO_VERSION_MASK)); in wcn36xx_smd_update_scan_params_rsp()
1131 if (WCN36XX_FW_MSG_RESULT_SUCCESS != rsp->status) { in wcn36xx_smd_update_scan_params_rsp()
1133 return rsp->status; in wcn36xx_smd_update_scan_params_rsp()
1187 struct wcn36xx_hal_add_sta_self_rsp_msg *rsp; in wcn36xx_smd_add_sta_self_rsp() local
1190 if (len < sizeof(*rsp)) in wcn36xx_smd_add_sta_self_rsp()
1193 rsp = (struct wcn36xx_hal_add_sta_self_rsp_msg *)buf; in wcn36xx_smd_add_sta_self_rsp()
1195 if (rsp->status != WCN36XX_FW_MSG_RESULT_SUCCESS) { in wcn36xx_smd_add_sta_self_rsp()
1197 rsp->status); in wcn36xx_smd_add_sta_self_rsp()
1198 return rsp->status; in wcn36xx_smd_add_sta_self_rsp()
1203 rsp->status, rsp->self_sta_index, rsp->dpu_index); in wcn36xx_smd_add_sta_self_rsp()
1205 vif_priv->self_sta_index = rsp->self_sta_index; in wcn36xx_smd_add_sta_self_rsp()
1206 vif_priv->self_dpu_desc_index = rsp->dpu_index; in wcn36xx_smd_add_sta_self_rsp()
1306 struct wcn36xx_hal_join_rsp_msg *rsp; in wcn36xx_smd_join_rsp() local
1311 rsp = (struct wcn36xx_hal_join_rsp_msg *)buf; in wcn36xx_smd_join_rsp()
1315 rsp->status, rsp->tx_mgmt_power); in wcn36xx_smd_join_rsp()
1469 struct wcn36xx_hal_config_sta_rsp_msg *rsp; in wcn36xx_smd_config_sta_rsp() local
1473 if (len < sizeof(*rsp)) in wcn36xx_smd_config_sta_rsp()
1476 rsp = (struct wcn36xx_hal_config_sta_rsp_msg *)buf; in wcn36xx_smd_config_sta_rsp()
1477 params = &rsp->params; in wcn36xx_smd_config_sta_rsp()
1837 struct wcn36xx_hal_config_bss_rsp_msg *rsp; in wcn36xx_smd_config_bss_rsp() local
1841 if (len < sizeof(*rsp)) in wcn36xx_smd_config_bss_rsp()
1844 rsp = (struct wcn36xx_hal_config_bss_rsp_msg *)buf; in wcn36xx_smd_config_bss_rsp()
1845 params = &rsp->bss_rsp_params; in wcn36xx_smd_config_bss_rsp()
2472 struct wcn36xx_hal_feat_caps_msg msg_body, *rsp; in wcn36xx_smd_feature_caps_exchange() local
2492 if (wcn->hal_rsp_len != sizeof(*rsp)) { in wcn36xx_smd_feature_caps_exchange()
2497 rsp = (struct wcn36xx_hal_feat_caps_msg *) wcn->hal_buf; in wcn36xx_smd_feature_caps_exchange()
2500 wcn->fw_feat_caps[i] = rsp->feat_caps[i]; in wcn36xx_smd_feature_caps_exchange()
2508 struct wcn36xx_hal_add_ba_session_rsp_msg *rsp; in wcn36xx_smd_add_ba_session_rsp() local
2510 if (len < sizeof(*rsp)) in wcn36xx_smd_add_ba_session_rsp()
2513 rsp = (struct wcn36xx_hal_add_ba_session_rsp_msg *)buf; in wcn36xx_smd_add_ba_session_rsp()
2514 if (rsp->status != WCN36XX_FW_MSG_RESULT_SUCCESS) in wcn36xx_smd_add_ba_session_rsp()
2515 return rsp->status; in wcn36xx_smd_add_ba_session_rsp()
2517 *session = rsp->ba_session_id; in wcn36xx_smd_add_ba_session_rsp()
2627 struct wcn36xx_hal_trigger_ba_rsp_msg *rsp; in wcn36xx_smd_trigger_ba_rsp() local
2629 if (len < sizeof(*rsp)) in wcn36xx_smd_trigger_ba_rsp()
2632 rsp = (struct wcn36xx_hal_trigger_ba_rsp_msg *) buf; in wcn36xx_smd_trigger_ba_rsp()
2633 return rsp->status; in wcn36xx_smd_trigger_ba_rsp()
2672 struct wcn36xx_hal_tx_compl_ind_msg *rsp = buf; in wcn36xx_smd_tx_compl_ind() local
2674 if (len != sizeof(*rsp)) { in wcn36xx_smd_tx_compl_ind()
2679 wcn36xx_dxe_tx_ack_ind(wcn, rsp->status); in wcn36xx_smd_tx_compl_ind()
2686 struct wcn36xx_hal_scan_offload_ind *rsp = buf; in wcn36xx_smd_hw_scan_ind() local
2689 if (len != sizeof(*rsp)) { in wcn36xx_smd_hw_scan_ind()
2694 wcn36xx_dbg(WCN36XX_DBG_HAL, "scan indication (type %x)\n", rsp->type); in wcn36xx_smd_hw_scan_ind()
2696 switch (rsp->type) { in wcn36xx_smd_hw_scan_ind()
2715 wcn36xx_warn("Unknown scan indication type %x\n", rsp->type); in wcn36xx_smd_hw_scan_ind()
2725 struct wcn36xx_hal_missed_beacon_ind_msg *rsp = buf; in wcn36xx_smd_missed_beacon_ind() local
2740 if (len != sizeof(*rsp)) { in wcn36xx_smd_missed_beacon_ind()
2746 if (tmp->bss_index == rsp->bss_index) { in wcn36xx_smd_missed_beacon_ind()
2748 rsp->bss_index); in wcn36xx_smd_missed_beacon_ind()
2755 wcn36xx_warn("BSS index %d not found\n", rsp->bss_index); in wcn36xx_smd_missed_beacon_ind()
2763 struct wcn36xx_hal_delete_sta_context_ind_msg *rsp = buf; in wcn36xx_smd_delete_sta_context_ind() local
2770 if (len != sizeof(*rsp)) { in wcn36xx_smd_delete_sta_context_ind()
2777 rsp->addr2, rsp->sta_id, rsp->reason_code); in wcn36xx_smd_delete_sta_context_ind()
2789 !memcmp(bss_conf->bssid, rsp->addr2, ETH_ALEN)) { in wcn36xx_smd_delete_sta_context_ind()
2797 sta = ieee80211_find_sta(vif, rsp->addr2); in wcn36xx_smd_delete_sta_context_ind()
2809 wcn36xx_warn("BSS or STA with addr %pM not found\n", rsp->addr2); in wcn36xx_smd_delete_sta_context_ind()
2817 struct wcn36xx_hal_print_reg_info_ind *rsp = buf; in wcn36xx_smd_print_reg_info_ind() local
2820 if (len < sizeof(*rsp)) { in wcn36xx_smd_print_reg_info_ind()
2827 rsp->scenario, rsp->reason); in wcn36xx_smd_print_reg_info_ind()
2829 for (i = 0; i < rsp->count; i++) { in wcn36xx_smd_print_reg_info_ind()
2831 rsp->regs[i].addr, rsp->regs[i].value); in wcn36xx_smd_print_reg_info_ind()
3050 struct wcn36xx_hal_gtk_offload_get_info_rsp_msg *rsp; in wcn36xx_smd_gtk_offload_get_info_rsp() local
3056 rsp = (struct wcn36xx_hal_gtk_offload_get_info_rsp_msg *)wcn->hal_buf; in wcn36xx_smd_gtk_offload_get_info_rsp()
3058 if (rsp->bss_index != vif_priv->bss_index) { in wcn36xx_smd_gtk_offload_get_info_rsp()
3060 rsp->bss_index); in wcn36xx_smd_gtk_offload_get_info_rsp()
3064 if (vif_priv->rekey_data.replay_ctr != cpu_to_le64(rsp->key_replay_counter)) { in wcn36xx_smd_gtk_offload_get_info_rsp()
3065 replay_ctr = cpu_to_be64(rsp->key_replay_counter); in wcn36xx_smd_gtk_offload_get_info_rsp()
3067 cpu_to_le64(rsp->key_replay_counter); in wcn36xx_smd_gtk_offload_get_info_rsp()
3072 rsp->key_replay_counter); in wcn36xx_smd_gtk_offload_get_info_rsp()
3079 rsp->status, rsp->last_rekey_status, in wcn36xx_smd_gtk_offload_get_info_rsp()
3080 rsp->key_replay_counter, rsp->total_rekey_count, in wcn36xx_smd_gtk_offload_get_info_rsp()
3081 rsp->gtk_rekey_count, rsp->igtk_rekey_count, in wcn36xx_smd_gtk_offload_get_info_rsp()
3082 rsp->bss_index); in wcn36xx_smd_gtk_offload_get_info_rsp()
3140 struct wcn36xx_hal_host_resume_rsp_msg *rsp; in wcn36xx_smd_host_resume() local
3161 rsp = (struct wcn36xx_hal_host_resume_rsp_msg *)wcn->hal_buf; in wcn36xx_smd_host_resume()
3162 if (rsp->status) in wcn36xx_smd_host_resume()
3163 wcn36xx_warn("wlan_host_resume status=%d\n", rsp->status); in wcn36xx_smd_host_resume()