Lines Matching refs:psk
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()
527 psk->key_len = htod16(key_length); in whd_wifi_init_ap()
528 psk->flags = htod16( (uint16_t)WSEC_PASSPHRASE ); in whd_wifi_init_ap()