Lines Matching refs:wpa_cfg
36 bss_config->wpa_cfg.length = 0; in mwifiex_set_secure_params()
98 bss_config->wpa_cfg.pairwise_cipher_wpa |= in mwifiex_set_secure_params()
101 bss_config->wpa_cfg.pairwise_cipher_wpa2 |= in mwifiex_set_secure_params()
106 bss_config->wpa_cfg.pairwise_cipher_wpa |= in mwifiex_set_secure_params()
109 bss_config->wpa_cfg.pairwise_cipher_wpa2 |= in mwifiex_set_secure_params()
122 bss_config->wpa_cfg.length = 0; in mwifiex_set_secure_params()
142 bss_config->wpa_cfg.group_cipher = CIPHER_TKIP; in mwifiex_set_secure_params()
145 bss_config->wpa_cfg.group_cipher = CIPHER_AES_CCMP; in mwifiex_set_secure_params()
327 if (bss_cfg->wpa_cfg.pairwise_cipher_wpa & VALID_CIPHER_BITMAP) { in mwifiex_uap_bss_wpa()
334 pwk_cipher->cipher = bss_cfg->wpa_cfg.pairwise_cipher_wpa; in mwifiex_uap_bss_wpa()
339 if (bss_cfg->wpa_cfg.pairwise_cipher_wpa2 & VALID_CIPHER_BITMAP) { in mwifiex_uap_bss_wpa()
346 pwk_cipher->cipher = bss_cfg->wpa_cfg.pairwise_cipher_wpa2; in mwifiex_uap_bss_wpa()
351 if (bss_cfg->wpa_cfg.group_cipher & VALID_CIPHER_BITMAP) { in mwifiex_uap_bss_wpa()
357 gwk_cipher->cipher = bss_cfg->wpa_cfg.group_cipher; in mwifiex_uap_bss_wpa()
362 if (bss_cfg->wpa_cfg.length) { in mwifiex_uap_bss_wpa()
366 passphrase->header.len = cpu_to_le16(bss_cfg->wpa_cfg.length); in mwifiex_uap_bss_wpa()
367 memcpy(passphrase->passphrase, bss_cfg->wpa_cfg.passphrase, in mwifiex_uap_bss_wpa()
368 bss_cfg->wpa_cfg.length); in mwifiex_uap_bss_wpa()
370 bss_cfg->wpa_cfg.length; in mwifiex_uap_bss_wpa()
372 bss_cfg->wpa_cfg.length; in mwifiex_uap_bss_wpa()