Lines Matching refs:bss_config

16 			      struct mwifiex_uap_bss_param *bss_config,  in mwifiex_set_secure_params()  argument
22 bss_config->protocol = PROTOCOL_NO_SECURITY; in mwifiex_set_secure_params()
23 bss_config->key_mgmt = KEY_MGMT_NONE; in mwifiex_set_secure_params()
24 bss_config->wpa_cfg.length = 0; in mwifiex_set_secure_params()
34 bss_config->auth_mode = WLAN_AUTH_OPEN; in mwifiex_set_secure_params()
37 bss_config->auth_mode = WLAN_AUTH_SHARED_KEY; in mwifiex_set_secure_params()
40 bss_config->auth_mode = WLAN_AUTH_LEAP; in mwifiex_set_secure_params()
43 bss_config->auth_mode = MWIFIEX_AUTH_MODE_AUTO; in mwifiex_set_secure_params()
47 bss_config->key_mgmt_operation |= KEY_MGMT_ON_HOST; in mwifiex_set_secure_params()
49 bss_config->protocol = 0; in mwifiex_set_secure_params()
51 bss_config->protocol |= PROTOCOL_WPA; in mwifiex_set_secure_params()
53 bss_config->protocol |= PROTOCOL_WPA2; in mwifiex_set_secure_params()
55 bss_config->key_mgmt = 0; in mwifiex_set_secure_params()
59 bss_config->key_mgmt |= KEY_MGMT_EAP; in mwifiex_set_secure_params()
62 bss_config->key_mgmt |= KEY_MGMT_PSK; in mwifiex_set_secure_params()
65 bss_config->key_mgmt |= KEY_MGMT_PSK_SHA256; in mwifiex_set_secure_params()
68 bss_config->key_mgmt |= KEY_MGMT_SAE; in mwifiex_set_secure_params()
81 bss_config->wpa_cfg.pairwise_cipher_wpa |= in mwifiex_set_secure_params()
84 bss_config->wpa_cfg.pairwise_cipher_wpa2 |= in mwifiex_set_secure_params()
89 bss_config->wpa_cfg.pairwise_cipher_wpa |= in mwifiex_set_secure_params()
92 bss_config->wpa_cfg.pairwise_cipher_wpa2 |= in mwifiex_set_secure_params()
104 bss_config->protocol = PROTOCOL_STATIC_WEP; in mwifiex_set_secure_params()
105 bss_config->key_mgmt = KEY_MGMT_NONE; in mwifiex_set_secure_params()
106 bss_config->wpa_cfg.length = 0; in mwifiex_set_secure_params()
110 bss_config->wep_cfg[i].key_index = i; in mwifiex_set_secure_params()
113 bss_config->wep_cfg[i].is_default = 1; in mwifiex_set_secure_params()
115 bss_config->wep_cfg[i].is_default = 0; in mwifiex_set_secure_params()
117 bss_config->wep_cfg[i].length = in mwifiex_set_secure_params()
119 memcpy(&bss_config->wep_cfg[i].key, in mwifiex_set_secure_params()
126 bss_config->wpa_cfg.group_cipher = CIPHER_TKIP; in mwifiex_set_secure_params()
129 bss_config->wpa_cfg.group_cipher = CIPHER_AES_CCMP; in mwifiex_set_secure_params()