Lines Matching refs:wpa_cfg
35 bss_config->wpa_cfg.length = 0; in mwifiex_set_secure_params()
97 bss_config->wpa_cfg.pairwise_cipher_wpa |= in mwifiex_set_secure_params()
100 bss_config->wpa_cfg.pairwise_cipher_wpa2 |= in mwifiex_set_secure_params()
105 bss_config->wpa_cfg.pairwise_cipher_wpa |= in mwifiex_set_secure_params()
108 bss_config->wpa_cfg.pairwise_cipher_wpa2 |= in mwifiex_set_secure_params()
121 bss_config->wpa_cfg.length = 0; in mwifiex_set_secure_params()
141 bss_config->wpa_cfg.group_cipher = CIPHER_TKIP; in mwifiex_set_secure_params()
144 bss_config->wpa_cfg.group_cipher = CIPHER_AES_CCMP; in mwifiex_set_secure_params()
326 if (bss_cfg->wpa_cfg.pairwise_cipher_wpa & VALID_CIPHER_BITMAP) { in mwifiex_uap_bss_wpa()
333 pwk_cipher->cipher = bss_cfg->wpa_cfg.pairwise_cipher_wpa; in mwifiex_uap_bss_wpa()
338 if (bss_cfg->wpa_cfg.pairwise_cipher_wpa2 & VALID_CIPHER_BITMAP) { in mwifiex_uap_bss_wpa()
345 pwk_cipher->cipher = bss_cfg->wpa_cfg.pairwise_cipher_wpa2; in mwifiex_uap_bss_wpa()
350 if (bss_cfg->wpa_cfg.group_cipher & VALID_CIPHER_BITMAP) { in mwifiex_uap_bss_wpa()
356 gwk_cipher->cipher = bss_cfg->wpa_cfg.group_cipher; in mwifiex_uap_bss_wpa()
361 if (bss_cfg->wpa_cfg.length) { in mwifiex_uap_bss_wpa()
365 passphrase->header.len = cpu_to_le16(bss_cfg->wpa_cfg.length); in mwifiex_uap_bss_wpa()
366 memcpy(passphrase->passphrase, bss_cfg->wpa_cfg.passphrase, in mwifiex_uap_bss_wpa()
367 bss_cfg->wpa_cfg.length); in mwifiex_uap_bss_wpa()
369 bss_cfg->wpa_cfg.length; in mwifiex_uap_bss_wpa()
371 bss_cfg->wpa_cfg.length; in mwifiex_uap_bss_wpa()