Home
last modified time | relevance | path

Searched refs:cmdresp (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dwifi-imu.c407 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()
[all …]
Dwifi-sdio.c483 HostCmd_DS_GEN *cmdresp; in wlan_handle_cmd_resp_packet() local
487 cmdresp = (HostCmd_DS_GEN *)(void *)(pmbuf + INTF_HEADER_LEN); /* size + pkttype=4 */ in wlan_handle_cmd_resp_packet()
488 cmdtype = cmdresp->command & HostCmd_CMD_ID_MASK; in wlan_handle_cmd_resp_packet()
490 bss_type = HostCmd_GET_BSS_TYPE(cmdresp->seq_num); in wlan_handle_cmd_resp_packet()
492 if ((cmdresp->command & 0xf000) != 0x8000) in wlan_handle_cmd_resp_packet()
494 wifi_io_d("cmdresp->command = (0x%x)", cmdresp->command); in wlan_handle_cmd_resp_packet()
504 if ((cmdresp->command & 0x00ff) == HostCmd_CMD_FUNC_SHUTDOWN) in wlan_handle_cmd_resp_packet()
509 if ((cmdresp->command & 0x0fffU) != last_cmd_sent) in wlan_handle_cmd_resp_packet()
511 … wifi_io_d("cmdresp->command = (0x%x) last_cmd_sent = (0x%x)", cmdresp->command, last_cmd_sent); in wlan_handle_cmd_resp_packet()
514 if (cmdresp->result != 0U) in wlan_handle_cmd_resp_packet()
[all …]