Searched refs:psk (Results 1 – 2 of 2) sorted by relevance
/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/src/ |
D | whd_ap.c | 449 wsec_pmk_t *psk; in whd_wifi_init_ap() local 461 psk = (wsec_pmk_t *)whd_cdc_get_ioctl_buffer(whd_driver, &buffer, sizeof(wsec_pmk_t) ); in whd_wifi_init_ap() 462 CHECK_IOCTL_BUFFER_WITH_SEMAPHORE(psk, &ap->whd_wifi_sleep_flag); in whd_wifi_init_ap() 463 memcpy(psk->key, security_key, key_length); in whd_wifi_init_ap() 464 psk->key_len = htod16(key_length); in whd_wifi_init_ap() 465 psk->flags = htod16( (uint16_t)WSEC_PASSPHRASE ); in whd_wifi_init_ap() 476 wsec_pmk_t *psk; in whd_wifi_init_ap() local 524 … psk = (wsec_pmk_t *)whd_cdc_get_ioctl_buffer(whd_driver, &buffer, sizeof(wsec_pmk_t) ); in whd_wifi_init_ap() 525 CHECK_IOCTL_BUFFER_WITH_SEMAPHORE(psk, &ap->whd_wifi_sleep_flag); in whd_wifi_init_ap() 526 memcpy(psk->key, security_key, key_length); in whd_wifi_init_ap() [all …]
|
D | whd_wifi_api.c | 577 wsec_pmk_t *psk; in whd_wifi_set_passphrase() local 589 psk = (wsec_pmk_t *)whd_cdc_get_ioctl_buffer(whd_driver, &buffer, sizeof(wsec_pmk_t) ); in whd_wifi_set_passphrase() 590 CHECK_IOCTL_BUFFER(psk); in whd_wifi_set_passphrase() 592 memset(psk, 0, sizeof(wsec_pmk_t) ); in whd_wifi_set_passphrase() 593 memcpy(psk->key, security_key, key_length); in whd_wifi_set_passphrase() 594 psk->key_len = htod16(key_length); in whd_wifi_set_passphrase() 595 psk->flags = htod16( (uint16_t)WSEC_PASSPHRASE ); in whd_wifi_set_passphrase()
|