Lines Matching refs:params
2193 wmi_create_pstream_cmd(struct wmi_t *wmip, WMI_CREATE_PSTREAM_CMD *params)
2201 if( !((params->userPriority < 8) &&
2202 (params->userPriority <= 0x7) &&
2203 (convert_userPriority_to_trafficClass(params->userPriority) == params->trafficClass) &&
2204 (params->trafficDirection == UPLINK_TRAFFIC ||
2205 params->trafficDirection == DNLINK_TRAFFIC ||
2206 params->trafficDirection == BIDIR_TRAFFIC) &&
2207 (params->trafficType == TRAFFIC_TYPE_APERIODIC ||
2208 params->trafficType == TRAFFIC_TYPE_PERIODIC ) &&
2209 (params->voicePSCapability == DISABLE_FOR_THIS_AC ||
2210 params->voicePSCapability == ENABLE_FOR_THIS_AC ||
2211 params->voicePSCapability == ENABLE_FOR_ALL_AC) &&
2212 (params->tsid == WMI_IMPLICIT_PSTREAM || params->tsid <= WMI_MAX_THINSTREAM)) )
2226 params->trafficClass, params->tsid));
2230 A_MEMCPY(cmd, params, sizeof(*cmd));
2233 if (params->tsid == WMI_IMPLICIT_PSTREAM) {
2235 fatPipeExistsForAC = (wmip->wmi_fatPipeExists & (1 << params->trafficClass));
2236 wmip->wmi_fatPipeExists |= (1<<params->trafficClass);
2241 fatPipeExistsForAC = (wmip->wmi_fatPipeExists & (1 << params->trafficClass));
2242 activeTsids = wmip->wmi_streamExistsForAC[params->trafficClass];
2243 wmip->wmi_streamExistsForAC[params->trafficClass] |= (1<<params->tsid);
2247 wmip->wmi_fatPipeExists |= (1<<params->trafficClass);
2256 A_WMI_STREAM_TX_ACTIVE(wmip->wmi_devt, params->trafficClass);