Searched refs:user_request (Results 1 – 2 of 2) sorted by relevance
129 static int hdd_fips_validate_request(struct iw_fips_test_request *user_request, in hdd_fips_validate_request() argument134 if (request_len < sizeof(*user_request)) { in hdd_fips_validate_request()139 if ((user_request->key_len != FIPS_KEY_LENGTH_128) && in hdd_fips_validate_request()140 (user_request->key_len != FIPS_KEY_LENGTH_256)) { in hdd_fips_validate_request()141 hdd_debug("Invalid key len %u", user_request->key_len); in hdd_fips_validate_request()145 expected_data_len = request_len - sizeof(*user_request); in hdd_fips_validate_request()146 if (expected_data_len != user_request->data_len) { in hdd_fips_validate_request()148 user_request->data_len, request_len); in hdd_fips_validate_request()152 if ((user_request->mode != FIPS_ENGINE_AES_CTR) && in hdd_fips_validate_request()153 (user_request->mode != FIPS_ENGINE_AES_MIC)) { in hdd_fips_validate_request()[all …]
7608 struct host_offload_req *user_request = in __iw_set_host_offload() local7631 switch (user_request->offloadType) { in __iw_set_host_offload()7634 switch (user_request->enableOrDisable) { in __iw_set_host_offload()7644 user_request->params.hostIpv4Addr); in __iw_set_host_offload()7650 switch (user_request->enableOrDisable) { in __iw_set_host_offload()7657 user_request->params.hostIpv6Addr); in __iw_set_host_offload()7662 offload_request.offloadType = user_request->offloadType; in __iw_set_host_offload()7663 offload_request.enableOrDisable = user_request->enableOrDisable; in __iw_set_host_offload()7664 qdf_mem_copy(&offload_request.params, &user_request->params, in __iw_set_host_offload()7665 sizeof(user_request->params)); in __iw_set_host_offload()[all …]