Lines Matching refs:cmdresp
407 HostCmd_DS_GEN *cmdresp; in wlan_handle_cmd_resp_packet() local
412 cmdresp = (HostCmd_DS_GEN *)(pmbuf + INTF_HEADER_LEN); /* size + pkttype=4 */ in wlan_handle_cmd_resp_packet()
413 cmdtype = cmdresp->command & HostCmd_CMD_ID_MASK; in wlan_handle_cmd_resp_packet()
414 cmdsize = cmdresp->size; in wlan_handle_cmd_resp_packet()
416 HAL_ImuGdmaCopyData(inbuf, cmdresp, cmdsize); in wlan_handle_cmd_resp_packet()
418 memcpy(inbuf, cmdresp, cmdsize); in wlan_handle_cmd_resp_packet()
420 cmdresp = (HostCmd_DS_GEN *)inbuf; in wlan_handle_cmd_resp_packet()
421 bss_type = HostCmd_GET_BSS_TYPE(cmdresp->seq_num); in wlan_handle_cmd_resp_packet()
425 if ((cmdresp->command & 0xf000) != 0x8000) in wlan_handle_cmd_resp_packet()
427 wifi_io_d("cmdresp->command = (0x%x)", cmdresp->command); in wlan_handle_cmd_resp_packet()
437 if ((cmdresp->command & 0x00ff) == HostCmd_CMD_FUNC_SHUTDOWN) in wlan_handle_cmd_resp_packet()
440 if ((cmdresp->command & 0x0fff) != last_cmd_sent) in wlan_handle_cmd_resp_packet()
442 … wifi_io_d("cmdresp->command = (0x%x) last_cmd_sent = (0x%x)", cmdresp->command, last_cmd_sent); in wlan_handle_cmd_resp_packet()
445 if (cmdresp->result != 0U) in wlan_handle_cmd_resp_packet()
447 wifi_io_d("cmdresp->result = (0x%x)", cmdresp->result); in wlan_handle_cmd_resp_packet()
458 wifi_get_value1_from_cmdresp(cmdresp, &dev_value1); in wlan_handle_cmd_resp_packet()
463 wifi_get_mac_address_from_cmdresp(cmdresp, dev_mac_addr_uap); in wlan_handle_cmd_resp_packet()
467 wifi_get_mac_address_from_cmdresp(cmdresp, dev_mac_addr); in wlan_handle_cmd_resp_packet()
472 … wlan_ret_chan_region_cfg((mlan_private *)mlan_adap->priv[0], (HostCmd_DS_COMMAND *)cmdresp, NULL); in wlan_handle_cmd_resp_packet()
476 … wlan_ret_get_hw_spec((mlan_private *)mlan_adap->priv[0], (HostCmd_DS_COMMAND *)cmdresp, NULL); in wlan_handle_cmd_resp_packet()
488 wifi_get_firmware_ver_ext_from_cmdresp(cmdresp, dev_fw_ver_ext); in wlan_handle_cmd_resp_packet()
494 … wlan_ret_amsdu_aggr_ctrl((mlan_private *)mlan_adap->priv[0], (HostCmd_DS_COMMAND *)cmdresp, NULL); in wlan_handle_cmd_resp_packet()
508 mlan_adap->tx_buffer_size = ((HostCmd_DS_COMMAND *)cmdresp)->params.tx_buf.buff_size; in wlan_handle_cmd_resp_packet()