Lines Matching refs:params

133     HostCmd_DS_802_11_DEAUTHENTICATE *pdeauth = &cmd->params.deauth;  in wifi_nxp_deauthenticate()
2213 int wifi_send_sched_scan_cmd(nxp_wifi_trigger_sched_scan_t *params) in wifi_send_sched_scan_cmd() argument
2220 if (params->num_ssids != 0U) in wifi_send_sched_scan_cmd()
2222 for (i = 0; i < params->num_ssids; i++) in wifi_send_sched_scan_cmd()
2224 … memcpy((void *)pmpriv->scan_cfg.ssid_list[i].ssid, (const void *)params->scan_ssids[i].ssid, in wifi_send_sched_scan_cmd()
2225 (size_t)params->scan_ssids[i].ssid_len); in wifi_send_sched_scan_cmd()
2234 for (i = 0; params->num_chans; i++) in wifi_send_sched_scan_cmd()
2236 pmpriv->scan_cfg.chan_list[i].chan_number = params->chan_list[i]; in wifi_send_sched_scan_cmd()
2262 if (params->extra_ies.ie_len) in wifi_send_sched_scan_cmd()
2265 … (void *)params->extra_ies.ie, params->extra_ies.ie_len); in wifi_send_sched_scan_cmd()
2274 pmpriv->scan_cfg.report_condition = params->report_condition; in wifi_send_sched_scan_cmd()
2275 pmpriv->scan_cfg.rssi_threshold = params->filter_rssi; in wifi_send_sched_scan_cmd()
2276 pmpriv->scan_cfg.repeat_count = params->repeat_count; in wifi_send_sched_scan_cmd()
2277 pmpriv->scan_cfg.scan_interval = params->scan_interval; in wifi_send_sched_scan_cmd()
2278 pmpriv->scan_cfg.chan_per_scan = params->chan_per_scan; in wifi_send_sched_scan_cmd()
3485 cmd->params.ext_ble_coex_cfg.action = action; in wifi_config_ext_coex()
3486 cmd->params.ext_ble_coex_cfg.reserved = 0; in wifi_config_ext_coex()
3487 cmd->params.ext_ble_coex_cfg.coex_cfg_data.header.type = TLV_TYPE_EXT_BLE_COEX_CFG; in wifi_config_ext_coex()
3488 cmd->params.ext_ble_coex_cfg.coex_cfg_data.header.len = in wifi_config_ext_coex()
3493 cmd->params.ext_ble_coex_cfg.coex_cfg_data.Enabled = ext_coex_config->Enabled; in wifi_config_ext_coex()
3494 … cmd->params.ext_ble_coex_cfg.coex_cfg_data.IgnorePriority = ext_coex_config->IgnorePriority; in wifi_config_ext_coex()
3495 … cmd->params.ext_ble_coex_cfg.coex_cfg_data.DefaultPriority = ext_coex_config->DefaultPriority; in wifi_config_ext_coex()
3496 cmd->params.ext_ble_coex_cfg.coex_cfg_data.EXT_RADIO_REQ_ip_gpio_num = in wifi_config_ext_coex()
3498 cmd->params.ext_ble_coex_cfg.coex_cfg_data.EXT_RADIO_REQ_ip_gpio_polarity = in wifi_config_ext_coex()
3500 cmd->params.ext_ble_coex_cfg.coex_cfg_data.EXT_RADIO_PRI_ip_gpio_num = in wifi_config_ext_coex()
3502 cmd->params.ext_ble_coex_cfg.coex_cfg_data.EXT_RADIO_PRI_ip_gpio_polarity = in wifi_config_ext_coex()
3504 …cmd->params.ext_ble_coex_cfg.coex_cfg_data.WLAN_GRANT_op_gpio_num = ext_coex_config->WLAN_GRANT_op… in wifi_config_ext_coex()
3505 cmd->params.ext_ble_coex_cfg.coex_cfg_data.WLAN_GRANT_op_gpio_polarity = in wifi_config_ext_coex()
3507 cmd->params.ext_ble_coex_cfg.coex_cfg_data.reserved_1 = ext_coex_config->reserved_1; in wifi_config_ext_coex()
3508 cmd->params.ext_ble_coex_cfg.coex_cfg_data.reserved_2 = ext_coex_config->reserved_2; in wifi_config_ext_coex()
5105 cmd->params.eu_crypto.Algorithm = Algorithm; in wifi_set_eu_crypto()
5106 cmd->params.eu_crypto.KeyLength = Crypto_Data->KeyLength; in wifi_set_eu_crypto()
5107 memcpy(cmd->params.eu_crypto.Key, Crypto_Data->Key, Crypto_Data->KeyLength); in wifi_set_eu_crypto()
5108 cmd->params.eu_crypto.KeyIVLength = Crypto_Data->KeyIVLength; in wifi_set_eu_crypto()
5109 memcpy(cmd->params.eu_crypto.KeyIV, Crypto_Data->KeyIV, Crypto_Data->KeyIVLength); in wifi_set_eu_crypto()
5110 cmd->params.eu_crypto.DataLength = *DataLength; in wifi_set_eu_crypto()
5111 memcpy(cmd->params.eu_crypto.Data, Crypto_Data->Data, *DataLength); in wifi_set_eu_crypto()
5112 cmd_size += cmd->params.eu_crypto.DataLength; in wifi_set_eu_crypto()
5113 cmd->params.eu_crypto.EncDec = EncDec; in wifi_set_eu_crypto()
5114 cmd->params.eu_crypto.DataType = 0x0111; in wifi_set_eu_crypto()
5121 cmd->params.eu_aes_crypto.Algorithm = Algorithm; in wifi_set_eu_crypto()
5122 cmd->params.eu_aes_crypto.KeyLength = Crypto_Data->KeyLength; in wifi_set_eu_crypto()
5123 memcpy(cmd->params.eu_aes_crypto.Key, Crypto_Data->Key, Crypto_Data->KeyLength); in wifi_set_eu_crypto()
5124 cmd->params.eu_aes_crypto.NonceLength = Crypto_Data->NonceLength; in wifi_set_eu_crypto()
5125 memcpy(cmd->params.eu_aes_crypto.Nonce, Crypto_Data->Nonce, Crypto_Data->NonceLength); in wifi_set_eu_crypto()
5126 cmd->params.eu_aes_crypto.AADLength = Crypto_Data->AADLength; in wifi_set_eu_crypto()
5127 memcpy(cmd->params.eu_aes_crypto.AAD, Crypto_Data->AAD, Crypto_Data->AADLength); in wifi_set_eu_crypto()
5128 cmd->params.eu_aes_crypto.DataLength = *DataLength; in wifi_set_eu_crypto()
5129 memcpy(cmd->params.eu_aes_crypto.Data, Crypto_Data->Data, *DataLength); in wifi_set_eu_crypto()
5130 cmd_size += cmd->params.eu_aes_crypto.DataLength; in wifi_set_eu_crypto()
5131 cmd->params.eu_aes_crypto.EncDec = EncDec; in wifi_set_eu_crypto()
5132 cmd->params.eu_aes_crypto.DataType = 0x0111; in wifi_set_eu_crypto()
5971 HostCmd_DS_MMSF_CFG *MMSF_CFG = (HostCmd_DS_MMSF_CFG *)&cmd->params.mmsf_cfg; in wifi_mmsf_cfg()
6009 HostCmd_DS_TMRC_CFG *tmrc_cfg = (HostCmd_DS_TMRC_CFG *)&cmd->params.tmrc_cfg; in wifi_recovery_test()
6083 cmd->params.ips_config.enable = option; in wifi_set_ips_config()
6130 HostCmd_DS_TSP_CFG *tsp_cfg = &cmd->params.tsp_cfg; in wifi_tsp_cfg()
6259 cmd->params.ftm_session_ctrl.action = wlan_cpu_to_le16(action); in wifi_ftm_start()
6260 cmd->params.ftm_session_ctrl.for_ranging = wlan_cpu_to_le16(FOR_RANGING); in wifi_ftm_start()
6261 (void)memcpy(cmd->params.ftm_session_ctrl.peer_mac, mac, MLAN_MAC_ADDR_LENGTH); in wifi_ftm_start()
6262 cmd->params.ftm_session_ctrl.chan = wlan_cpu_to_le16(channel); in wifi_ftm_start()
6276 cmd->params.ftm_session_ctrl.action = wlan_cpu_to_le16(action); in wifi_ftm_stop()
6277 cmd->params.ftm_session_ctrl.for_ranging = wlan_cpu_to_le16(FOR_RANGING); in wifi_ftm_stop()
6278 (void)memcpy(cmd->params.ftm_session_ctrl.peer_mac, mac, MLAN_MAC_ADDR_LENGTH); in wifi_ftm_stop()
6279 cmd->params.ftm_session_ctrl.chan = wlan_cpu_to_le16(channel); in wifi_ftm_stop()
6291 cmd->params.ftm_session_cfg.action = MLAN_ACT_SET; in wifi_ftm_11mc_cfg()
6315 cmd->params.ftm_session_cfg.action = MLAN_ACT_SET; in wifi_ftm_cfg()
6384 HostCmd_WLS_CSI_ACK *phostcmd = (HostCmd_WLS_CSI_ACK *)&cmd->params.wls_csi_ack; in send_csi_ack()
6467 cmd->params.single_ant_duty_cycle.action = HostCmd_ACT_GEN_SET; in wifi_single_ant_duty_cycle()
6468 cmd->params.single_ant_duty_cycle.reserved = 0; in wifi_single_ant_duty_cycle()
6469 cmd->params.single_ant_duty_cycle.single_ant_cfg_data.header.type = TLV_TYPE_COEX_DUTY_CYCLE; in wifi_single_ant_duty_cycle()
6473 cmd->params.single_ant_duty_cycle.single_ant_cfg_data.header.len = in wifi_single_ant_duty_cycle()
6475 cmd->params.single_ant_duty_cycle.single_ant_cfg_data.enabled = 0x0002; in wifi_single_ant_duty_cycle()
6476 cmd->params.single_ant_duty_cycle.single_ant_cfg_data.nbTime = nbTime; in wifi_single_ant_duty_cycle()
6477 cmd->params.single_ant_duty_cycle.single_ant_cfg_data.wlanTime = wlanTime; in wifi_single_ant_duty_cycle()
6481 cmd->params.single_ant_duty_cycle.single_ant_cfg_data.header.len = sizeof(t_u16); in wifi_single_ant_duty_cycle()
6482 cmd->params.single_ant_duty_cycle.single_ant_cfg_data.enabled = 0x0004; in wifi_single_ant_duty_cycle()
6500 cmd->params.dual_ant_duty_cycle.action = HostCmd_ACT_GEN_SET; in wifi_dual_ant_duty_cycle()
6501 cmd->params.dual_ant_duty_cycle.reserved = 0; in wifi_dual_ant_duty_cycle()
6502 cmd->params.dual_ant_duty_cycle.dual_ant_cfg_data.header.type = TLV_TYPE_COEX_DUTY_CYCLE; in wifi_dual_ant_duty_cycle()
6506 cmd->params.dual_ant_duty_cycle.dual_ant_cfg_data.header.len = in wifi_dual_ant_duty_cycle()
6508 cmd->params.dual_ant_duty_cycle.dual_ant_cfg_data.enabled = 0x0002; in wifi_dual_ant_duty_cycle()
6509 cmd->params.dual_ant_duty_cycle.dual_ant_cfg_data.nbTime = nbTime; in wifi_dual_ant_duty_cycle()
6510 cmd->params.dual_ant_duty_cycle.dual_ant_cfg_data.wlanTime = wlanTime; in wifi_dual_ant_duty_cycle()
6511 cmd->params.dual_ant_duty_cycle.dual_ant_cfg_data.wlanBlockTime = wlanBlockTime; in wifi_dual_ant_duty_cycle()
6515 cmd->params.dual_ant_duty_cycle.dual_ant_cfg_data.header.len = sizeof(t_u16); in wifi_dual_ant_duty_cycle()
6516 cmd->params.dual_ant_duty_cycle.dual_ant_cfg_data.enabled = 0x0004; in wifi_dual_ant_duty_cycle()
6538 …HostCmd_EXTERNAL_COEX_PTA *external_coex_pta = (HostCmd_EXTERNAL_COEX_PTA *)&cmd->params.external_… in wifi_external_coex_pta_cfg()
6577 HostCmd_IMD3_CFG *imd3_cfg = (HostCmd_IMD3_CFG *)&cmd->params.imd3_cfg; in wifi_imd3_cfg()
6602 …CTIVITY_TIMEOUT_EXT *inac_to_ext = (HostCmd_DS_INACTIVITY_TIMEOUT_EXT *)&cmd->params.inactivity_to; in wifi_sta_inactivityto()