Lines Matching refs:resp

124 void wifi_get_mac_address_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint8_t *get_mac_addr);
125 void wifi_get_value1_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint32_t *dev_value1);
126 void wifi_get_firmware_ver_ext_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint8_t *fw_ver_ext);
815 static mlan_status do_wlan_ret_11n_addba_resp(HostCmd_DS_COMMAND *resp) in do_wlan_ret_11n_addba_resp() argument
820 dump_addba_req_rsp_packet(resp); in do_wlan_ret_11n_addba_resp()
823 if (resp->result != HostCmd_RESULT_OK) in do_wlan_ret_11n_addba_resp()
825 wifi_d("Failed: ADDBA RESULT: %d", resp->result); in do_wlan_ret_11n_addba_resp()
829 int bss_type = HostCmd_GET_BSS_TYPE(resp->seq_num); in do_wlan_ret_11n_addba_resp()
834 rv = wlan_ret_11n_addba_resp(pmpriv, resp); in do_wlan_ret_11n_addba_resp()
837 wmprintf("ADDBA RESP RESP: %d\n\r", resp->result); in do_wlan_ret_11n_addba_resp()
842 rv = wlan_ret_11n_addba_resp(pmpriv, resp); in do_wlan_ret_11n_addba_resp()
848 static mlan_status do_wlan_ret_11n_addba_req(mlan_private *priv, HostCmd_DS_COMMAND *resp) in do_wlan_ret_11n_addba_req() argument
851 HostCmd_DS_11N_ADDBA_RSP *padd_ba_rsp = (HostCmd_DS_11N_ADDBA_RSP *)&resp->params.add_ba_rsp; in do_wlan_ret_11n_addba_req()
918 static mlan_status do_wlan_ret_11n_delba(mlan_private *priv, HostCmd_DS_COMMAND *resp) in do_wlan_ret_11n_delba() argument
920 HostCmd_DS_11N_DELBA *pdel_ba = (HostCmd_DS_11N_DELBA *)&resp->params.del_ba; in do_wlan_ret_11n_delba()
2819 static void wifi_set_hostcmd_resp(const HostCmd_DS_COMMAND *resp) in wifi_set_hostcmd_resp() argument
2830 *hcmd_cfg->reqd_resp_len = resp->size; in wifi_set_hostcmd_resp()
2832 if (hcmd_cfg->resp_buf_len >= resp->size) in wifi_set_hostcmd_resp()
2834 (void)memcpy((void *)hcmd_cfg->resp_buf, (const void *)resp, resp->size); in wifi_set_hostcmd_resp()
2899 static void load_ver_ext(HostCmd_DS_COMMAND *resp) in load_ver_ext() argument
2906 HostCmd_DS_VERSION_EXT *ver_ext = &resp->params.verext; in load_ver_ext()
2909 …(void)memcpy((void *)user_ver_ext->version_str, (const void *)ver_ext->version_str, resp->size - 1… in load_ver_ext()
2915 int wifi_process_cmd_response(HostCmd_DS_COMMAND *resp) in wifi_process_cmd_response() argument
2922 t_u16 command = (resp->command & HostCmd_CMD_ID_MASK); in wifi_process_cmd_response()
2928 if ((resp->command & 0x0fffU) != HostCmd_CMD_802_11_PS_MODE_ENH) in wifi_process_cmd_response()
2930 …wcmdr_d("CMD_RESP - : 0x%x, result %d, len %d, seqno 0x%x", resp->command, resp->result, resp->siz… in wifi_process_cmd_response()
2931 resp->seq_num); in wifi_process_cmd_response()
2934 …d("CMD_RESP - : 0x%x, result %d, len %d, seqno 0x%x", resp->command, resp->result, resp->size, res… in wifi_process_cmd_response()
2941 mlan_bss_type bss_type = (mlan_bss_type)HostCmd_GET_BSS_TYPE(resp->seq_num); in wifi_process_cmd_response()
2961 wifi_set_hostcmd_resp(resp); in wifi_process_cmd_response()
2971 … HostCmd_DS_SYS_CONFIG *sys_config_cmd = (HostCmd_DS_SYS_CONFIG *)&resp->params.sys_config; in wifi_process_cmd_response()
2974 dump_hex(resp, resp->size); in wifi_process_cmd_response()
2980 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
2983 bss_type = (mlan_bss_type)HostCmd_GET_BSS_TYPE(resp->seq_num); in wifi_process_cmd_response()
3008 HostCmd_DS_ACS_CONFIG *acs_scan = (HostCmd_DS_ACS_CONFIG *)&resp->params.acs_scan; in wifi_process_cmd_response()
3010 … HostCMD_DS_APCMD_ACS_SCAN *acs_scan = (HostCMD_DS_APCMD_ACS_SCAN *)&resp->params.acs_scan; in wifi_process_cmd_response()
3013 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3015 bss_type = (mlan_bss_type)HostCmd_GET_BSS_TYPE(resp->seq_num); in wifi_process_cmd_response()
3097 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3099 bss_type = (mlan_bss_type)HostCmd_GET_BSS_TYPE(resp->seq_num); in wifi_process_cmd_response()
3123 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3125 const HostCmd_DS_STA_LIST *sta_list = &resp->params.sta_list; in wifi_process_cmd_response()
3137 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3139 int bss_type = HostCmd_GET_BSS_TYPE(resp->seq_num); in wifi_process_cmd_response()
3145 … rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, ds_rate); in wifi_process_cmd_response()
3165 tbtt_offset = (HostCmd_DS_TBTT_OFFSET *)&resp->params.tbtt_offset; in wifi_process_cmd_response()
3166 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3189 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3201 const HostCmd_DS_802_11_RF_TX_POWER *txp = &resp->params.txp; in wifi_process_cmd_response()
3218 (HostCmd_DS_802_11D_DOMAIN_INFO *)&resp->params.domain_info; in wifi_process_cmd_response()
3219 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3236 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, NULL); in wifi_process_cmd_response()
3246 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, NULL); in wifi_process_cmd_response()
3256 if (resp->result != HostCmd_RESULT_OK) in wifi_process_cmd_response()
3258 if (resp->result == HostCmd_RESULT_BUSY) in wifi_process_cmd_response()
3277 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, NULL); in wifi_process_cmd_response()
3294 if (resp->result != 0) in wifi_process_cmd_response()
3306 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, NULL); in wifi_process_cmd_response()
3314 (void)wlan_ret_802_11_deauthenticate(pmpriv, resp, NULL); in wifi_process_cmd_response()
3319 wifi_process_hs_cfg_resp((t_u8 *)resp); in wifi_process_cmd_response()
3331 result = wifi_process_ps_enh_response((t_u8 *)resp, &ps_event, ps_action_p); in wifi_process_cmd_response()
3381 resp); in wifi_process_cmd_response()
3386 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, wm_wifi.cmd_resp_priv); in wifi_process_cmd_response()
3393 const HostCmd_DS_802_11_RF_CHANNEL *ch = &resp->params.rf_channel; in wifi_process_cmd_response()
3405 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, NULL); in wifi_process_cmd_response()
3411 const HostCmd_DS_ExtBLECoex_Config_t *coex = &resp->params.ext_ble_coex_cfg; in wifi_process_cmd_response()
3428 rv = wlan_ret_11n_cfg(pmpriv, resp, NULL); in wifi_process_cmd_response()
3431 (void)do_wlan_ret_11n_addba_req(pmpriv, resp); in wifi_process_cmd_response()
3434 (void)do_wlan_ret_11n_delba(pmpriv, resp); in wifi_process_cmd_response()
3437 (void)do_wlan_ret_11n_addba_resp(resp); in wifi_process_cmd_response()
3441 rv = wlan_ret_amsdu_aggr_ctrl(pmpriv, resp, NULL); in wifi_process_cmd_response()
3449 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, NULL); in wifi_process_cmd_response()
3462 IEEEtypes_AssocRsp_t *passoc_rsp1 = (IEEEtypes_AssocRsp_t *)(void *)&resp->params; in wifi_process_cmd_response()
3465 (IEEEtypes_AssocRsp_t *)((t_u8 *)(&resp->params) + sizeof(IEEEtypes_MgmtHdr_t)); in wifi_process_cmd_response()
3470 assoc_resp->frame.frame_len = resp->size - S_DS_GEN; in wifi_process_cmd_response()
3496 IEEEtypes_AssocRsp_t *passoc_rsp = (IEEEtypes_AssocRsp_t *)(void *)&resp->params; in wifi_process_cmd_response()
3526 HostCmd_DS_802_11_MAC_ADDRESS *pmac_addr = &resp->params.mac_addr; in wifi_process_cmd_response()
3566 reg = (HostCmd_DS_MAC_REG_ACCESS *)&resp->params.mac_reg; in wifi_process_cmd_response()
3581 reg = (HostCmd_DS_BBP_REG_ACCESS *)&resp->params.bbp_reg; in wifi_process_cmd_response()
3596 reg = (HostCmd_DS_RF_REG_ACCESS *)&resp->params.rf_reg; in wifi_process_cmd_response()
3611 reg = (HostCmd_DS_RF_REG_ACCESS *)&resp->params.rf_reg; in wifi_process_cmd_response()
3626 eeprom = (HostCmd_DS_802_11_EEPROM_ACCESS *)&resp->params.eeprom; in wifi_process_cmd_response()
3638 mem = (HostCmd_DS_MEM_ACCESS *)&resp->params.mem; in wifi_process_cmd_response()
3653 ie_list_cfg = (HostCmd_DS_MGMT_IE_LIST_CFG *)&resp->params.mgmt_ie_list; in wifi_process_cmd_response()
3664 load_ver_ext(resp); in wifi_process_cmd_response()
3670 rf_antenna_ctrl = (HostCmd_DS_802_11_RF_ANTENNA *)&resp->params.antenna; in wifi_process_cmd_response()
3671 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3698 cw_mode_ctrl = (HostCmd_DS_CW_MODE_CTRL *)&resp->params.cwmode; in wifi_process_cmd_response()
3699 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3725 (HostCmd_DS_802_11_RSSI_INFO_RSP *)(void *)&resp->params; in wifi_process_cmd_response()
3738 wifi_uap_handle_cmd_resp(resp); in wifi_process_cmd_response()
3741 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, wm_wifi.cmd_resp_ioctl); in wifi_process_cmd_response()
3749 const HostCmd_DS_TX_RATE_CFG *tx_rate_cfg = &resp->params.tx_rate_cfg; in wifi_process_cmd_response()
3750 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3757 … rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, ds_rate); in wifi_process_cmd_response()
3777 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3780 t_u8 *tlv = (t_u8 *)((t_u8 *)resp + S_DS_GEN); in wifi_process_cmd_response()
3793 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, NULL); in wifi_process_cmd_response()
3801 const HostCmd_DS_OTP_USER_DATA *user_data = &resp->params.otp_user_data; in wifi_process_cmd_response()
3802 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3822 const HostCmd_DS_802_11_CFG_DATA *cfg_data = &resp->params.cfg_data; in wifi_process_cmd_response()
3823 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3857 const HostCmd_DS_AUTO_RECONNECT *auto_reconn = &resp->params.auto_reconnect; in wifi_process_cmd_response()
3858 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3882 … const HostCmd_DS_HS_WAKEUP_REASON *hs_wakeup_reason = &resp->params.hs_wakeup_reason; in wifi_process_cmd_response()
3883 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3901 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3913 HostCmd_DS_CHAN_TRPC_CONFIG *chan_trpc_cfg = &resp->params.chan_trpc_cfg; in wifi_process_cmd_response()
3914 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
3931 left_len = resp->size - (t_u16)S_DS_GEN - 4U; in wifi_process_cmd_response()
3996 const HostCmd_DS_802_11_GET_LOG *get_log = &resp->params.get_log; in wifi_process_cmd_response()
3997 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4015 const HostCmd_BRIDGE_MODE *bridge_mode = &resp->params.bridge_mode; in wifi_process_cmd_response()
4016 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4031 … tlv = (t_u8 *)resp + sizeof(HostCmd_BRIDGE_MODE) + S_DS_GEN; in wifi_process_cmd_response()
4032 hostcmd = (HostCmd_DS_GEN *)resp; in wifi_process_cmd_response()
4068 if (hostcmd->size > ((char *)autolink - (char *)resp)) in wifi_process_cmd_response()
4086 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4097 const HostCmd_DS_PMF_PARAMS *get_pmf_params = &resp->params.pmf_params; in wifi_process_cmd_response()
4098 … if ((resp->result == HostCmd_RESULT_OK) && (get_pmf_params->action == HostCmd_ACT_GEN_GET)) in wifi_process_cmd_response()
4118 if ((resp->result == HostCmd_RESULT_OK) && wm_wifi.cmd_resp_priv) in wifi_process_cmd_response()
4120 rv = wlan_ret_mfg(pmpriv, resp, wm_wifi.cmd_resp_priv); in wifi_process_cmd_response()
4139 const HostCmd_DS_TSF *tsf_pointer = (HostCmd_DS_TSF *)&resp->params.tsf_cfg; in wifi_process_cmd_response()
4140 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4163 … const HostCmd_DS_BOOT_SLEEP *boot_sleep_pointer = (HostCmd_DS_BOOT_SLEEP *)&resp->params.tsf_cfg; in wifi_process_cmd_response()
4164 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4188 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4190 … rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, wm_wifi.cmd_resp_ioctl); in wifi_process_cmd_response()
4207 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4210 … const HostCmd_DS_AUTO_TX *auto_tx = (HostCmd_DS_AUTO_TX *)&resp->params.auto_tx; in wifi_process_cmd_response()
4236 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4238 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, NULL); in wifi_process_cmd_response()
4258 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4263 rv = wlan_ret_11ax_cfg(pmpriv, resp, cfg); in wifi_process_cmd_response()
4280 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4284 if (resp->params.twtcfg.sub_id == MLAN_11AX_TWT_SETUP_SUBID) in wifi_process_cmd_response()
4287 … (void)memcpy(cfg, &resp->params.twtcfg.param.twt_setup, sizeof(mlan_ds_twt_setup)); in wifi_process_cmd_response()
4289 else if (resp->params.twtcfg.sub_id == MLAN_11AX_TWT_REPORT_SUBID) in wifi_process_cmd_response()
4292 … (void)memcpy(cfg, &resp->params.twtcfg.param.twt_report, sizeof(mlan_ds_twt_report)); in wifi_process_cmd_response()
4307 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4309 … rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, wm_wifi.cmd_resp_ioctl); in wifi_process_cmd_response()
4325 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4330 … HostCmd_DS_MMSF_CFG *MMSF_CFG = (HostCmd_DS_MMSF_CFG *)&resp->params.mmsf_cfg; in wifi_process_cmd_response()
4350 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4353 const HostCmd_DS_TX_RX_HISTOGRAM *txrx_histogram = &resp->params.histogram; in wifi_process_cmd_response()
4356 t_u16 cmdsize = wlan_le16_to_cpu(resp->size); in wifi_process_cmd_response()
4370 pos = (t_u8 *)resp + S_DS_GEN + sizeof(HostCmd_DS_TX_RX_HISTOGRAM); in wifi_process_cmd_response()
4392 HostCmd_DS_802_11_BG_SCAN_CONFIG *bg_scan = &resp->params.bg_scan_config; in wifi_process_cmd_response()
4394 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4406 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4408 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, NULL); in wifi_process_cmd_response()
4426 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4428 rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, wm_wifi.cmd_resp_priv); in wifi_process_cmd_response()
4441 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4447 (HostCmd_DS_EU_AES_CRYPTO *)&resp->params.eu_aes_crypto; in wifi_process_cmd_response()
4448 … HostCmd_DS_EU_CRYPTO *cmd_eu_crypto = (HostCmd_DS_EU_CRYPTO *)&resp->params.eu_crypto; in wifi_process_cmd_response()
4476 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4478 wlan_ops_sta_process_cmdresp(pmpriv, command, resp, wm_wifi.cmd_resp_ioctl); in wifi_process_cmd_response()
4490 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4492 wlan_ops_sta_process_cmdresp(pmpriv, command, resp, wm_wifi.cmd_resp_ioctl); in wifi_process_cmd_response()
4505 const HostCmd_DS_REMAIN_ON_CHANNEL *remain_channel = &resp->params.remain_on_chan; in wifi_process_cmd_response()
4550 cfg = (HostCmd_DS_RX_ABORT_CFG *)&resp->params.rx_abort_cfg; in wifi_process_cmd_response()
4551 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4577 cfg = (HostCmd_DS_RX_ABORT_CFG_EXT *)&resp->params.rx_abort_cfg_ext; in wifi_process_cmd_response()
4578 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4605 cfg_cmd = (HostCmd_DS_CCK_DESENSE_CFG *)&resp->params.cck_desense_cfg; in wifi_process_cmd_response()
4606 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4638 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4640 … const HostCmd_DS_CMD_TX_AMPDU_PROT_MODE *data = &resp->params.tx_ampdu_prot_mode; in wifi_process_cmd_response()
4657 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4660 HostCmd_DS_TSP_CFG *data = &resp->params.tsp_cfg; in wifi_process_cmd_response()
4682 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4685 wifi_ftm_process_cfg_resp(resp); in wifi_process_cmd_response()
4691 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4694 wifi_ftm_process_ctrl_resp(resp); in wifi_process_cmd_response()
4702 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4711 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4713 … rv = wlan_ops_sta_process_cmdresp(pmpriv, command, resp, wm_wifi.cmd_resp_ioctl); in wifi_process_cmd_response()
4730 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4732 const HostCmd_DS_INACTIVITY_TIMEOUT_EXT *data = &resp->params.inactivity_to; in wifi_process_cmd_response()
4753 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
4764 if (resp->result == HostCmd_RESULT_OK) in wifi_process_cmd_response()
6962 void wifi_get_value1_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint32_t *dev_value1) in wifi_get_value1_from_cmdresp() argument
6964 if (resp->params.mac_reg.offset == wlan_cpu_to_le16((t_u16)WLAN_VALUE1)) in wifi_get_value1_from_cmdresp()
6966 *dev_value1 = resp->params.mac_reg.value; in wifi_get_value1_from_cmdresp()
6973 void wifi_get_mac_address_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint8_t *get_mac_addr) in wifi_get_mac_address_from_cmdresp() argument
6975 …(void)memcpy((void *)get_mac_addr, (const void *)&resp->params.mac_addr.mac_addr, MLAN_MAC_ADDR_LE… in wifi_get_mac_address_from_cmdresp()
6978 void wifi_get_firmware_ver_ext_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint8_t *fw_ver_ext) in wifi_get_firmware_ver_ext_from_cmdresp() argument
6982 …uint8_t ver_str_len = resp->size - WIFI_HOST_CMD_FIXED_HEADER_LEN - sizeof(resp->params.verext.ver… in wifi_get_firmware_ver_ext_from_cmdresp()
6985 if (!resp->params.verext.version_str_sel) in wifi_get_firmware_ver_ext_from_cmdresp()
6989 if (strstr((const char *)&resp->params.verext.version_str, "w8978o") != NULL) in wifi_get_firmware_ver_ext_from_cmdresp()
6993 (const void *)&resp->params.verext.version_str[6], in wifi_get_firmware_ver_ext_from_cmdresp()
6994 … strlen((const char *)(&resp->params.verext.version_str)) - strlen((const char *)fw_ver_ext)); in wifi_get_firmware_ver_ext_from_cmdresp()
6998 (void)memcpy((void *)fw_ver_ext, (const void *)&resp->params.verext.version_str, in wifi_get_firmware_ver_ext_from_cmdresp()
7002 strlen((const char *)(&resp->params.verext.version_str)) in wifi_get_firmware_ver_ext_from_cmdresp()
7007 …else if (resp->params.verext.version_str_sel == 3U && strlen((const char *)(&resp->params.verext.v… in wifi_get_firmware_ver_ext_from_cmdresp()
7012 (const void *)&resp->params.verext.version_str, in wifi_get_firmware_ver_ext_from_cmdresp()
7016 strlen((const char *)(&resp->params.verext.version_str)) in wifi_get_firmware_ver_ext_from_cmdresp()
7020 …else if (resp->params.verext.version_str_sel == 4U && strlen((const char *)(&resp->params.verext.v… in wifi_get_firmware_ver_ext_from_cmdresp()
7025 (const void *)&resp->params.verext.version_str, in wifi_get_firmware_ver_ext_from_cmdresp()
7029 strlen((const char *)(&resp->params.verext.version_str)) in wifi_get_firmware_ver_ext_from_cmdresp()
8508 HostCmd_DS_COMMAND *resp = (HostCmd_DS_COMMAND *)resp_buff; in wifi_ftm_process_cfg_resp() local
8510 …if ((wlan_cpu_to_le16(resp->params.ftm_session_cfg.tlv.cfg_11az.range_tlv.type) == FTM_NTB_RANGING… in wifi_ftm_process_cfg_resp()
8511 …(wlan_cpu_to_le16(resp->params.ftm_session_cfg.tlv.cfg_11az.range_tlv.type) == FTM_TB_RANGING_CFG_… in wifi_ftm_process_cfg_resp()
8513 if (resp->params.ftm_session_cfg.action == MLAN_ACT_SET) in wifi_ftm_process_cfg_resp()
8518 … wifi_d("format_bw:%d \r\n", resp->params.ftm_session_cfg.tlv.cfg_11az.range_tlv.val.format_bw); in wifi_ftm_process_cfg_resp()
8520 resp->params.ftm_session_cfg.tlv.cfg_11az.range_tlv.val.az_measurement_freq); in wifi_ftm_process_cfg_resp()
8522 resp->params.ftm_session_cfg.tlv.cfg_11az.range_tlv.val.az_number_of_measurements); in wifi_ftm_process_cfg_resp()
8524 resp->params.ftm_session_cfg.tlv.cfg_11az.range_tlv.val.max_i2r_sts_upto80); in wifi_ftm_process_cfg_resp()
8526 resp->params.ftm_session_cfg.tlv.cfg_11az.range_tlv.val.max_r2i_sts_upto80); in wifi_ftm_process_cfg_resp()
8527 …wifi_d("i2r_lmr_feedback:%d \r\n", resp->params.ftm_session_cfg.tlv.cfg_11az.range_tlv.val.i2r_lmr… in wifi_ftm_process_cfg_resp()
8529 else if (wlan_cpu_to_le16(resp->params.ftm_session_cfg.tlv.cfg_11mc.sess_tlv.type) == in wifi_ftm_process_cfg_resp()
8532 if (resp->params.ftm_session_cfg.action == BG_SCAN_ACT_SET) in wifi_ftm_process_cfg_resp()
8538 …wifi_d("burst_exponent:%d \r\n", resp->params.ftm_session_cfg.tlv.cfg_11mc.sess_tlv.val.burst_expo… in wifi_ftm_process_cfg_resp()
8539 …wifi_d("burst_duration:%d \r\n", resp->params.ftm_session_cfg.tlv.cfg_11mc.sess_tlv.val.burst_dura… in wifi_ftm_process_cfg_resp()
8540 …wifi_d("min_delta_FTM:%d \r\n", resp->params.ftm_session_cfg.tlv.cfg_11mc.sess_tlv.val.min_delta_F… in wifi_ftm_process_cfg_resp()
8541 wifi_d("is_ASAP:%d \r\n", resp->params.ftm_session_cfg.tlv.cfg_11mc.sess_tlv.val.is_ASAP); in wifi_ftm_process_cfg_resp()
8542 …wifi_d("per_burst_FTM:%d \r\n", resp->params.ftm_session_cfg.tlv.cfg_11mc.sess_tlv.val.per_burst_F… in wifi_ftm_process_cfg_resp()
8543 …wifi_d("channel_spacing:%d \r\n", resp->params.ftm_session_cfg.tlv.cfg_11mc.sess_tlv.val.channel_s… in wifi_ftm_process_cfg_resp()
8544 …wifi_d("burst_period:%d \n\n", resp->params.ftm_session_cfg.tlv.cfg_11mc.sess_tlv.val.burst_period… in wifi_ftm_process_cfg_resp()
8552 HostCmd_DS_COMMAND *resp = (HostCmd_DS_COMMAND *)resp_buff; in wifi_ftm_process_ctrl_resp() local
8554 if (resp->result == HostCmd_RESULT_OK) in wifi_ftm_process_ctrl_resp()
8556 if (resp->params.ftm_session_ctrl.action == FTM_ACTION_START) in wifi_ftm_process_ctrl_resp()
8559 resp->params.ftm_session_ctrl.chan, resp->params.ftm_session_ctrl.peer_mac[0], in wifi_ftm_process_ctrl_resp()
8560resp->params.ftm_session_ctrl.peer_mac[1], resp->params.ftm_session_ctrl.peer_mac[2], in wifi_ftm_process_ctrl_resp()
8561resp->params.ftm_session_ctrl.peer_mac[3], resp->params.ftm_session_ctrl.peer_mac[4], in wifi_ftm_process_ctrl_resp()
8562 resp->params.ftm_session_ctrl.peer_mac[5]); in wifi_ftm_process_ctrl_resp()
8564 else if (resp->params.ftm_session_ctrl.action == FTM_ACTION_STOP) in wifi_ftm_process_ctrl_resp()
8571 …wifi_d("[ERROR] Hostcmd failed: ReturnCode=%#04x, Result=%#04x\n", wlan_cpu_to_le16(resp->command), in wifi_ftm_process_ctrl_resp()
8572 wlan_cpu_to_le16(resp->result)); in wifi_ftm_process_ctrl_resp()