Lines Matching refs:wvlan_config
160 struct wl_private *wvlan_config = NULL;
168 wvlan_config = dev->priv;
169 if (wvlan_config == NULL) {
175 strcpy(wvlan_config->szEncryption, DEF_CRYPT_STR);
189 translate_option(buffer, wvlan_config);
200 if (wvlan_config->EnableEncryption) {
204 wvlan_config->szEncryption);
213 sEncryption.wEnabled = wvlan_config->EnableEncryption;
214 sEncryption.wTxKeyID = wvlan_config->TransmitKeyID - 1;
216 memcpy(&sEncryption.EncStr, &wvlan_config->DefaultKeys,
219 memset(wvlan_config->szEncryption, 0, sizeof(wvlan_config->szEncryption));
221 wl_wep_code(CRYPT_CODE, wvlan_config->szEncryption, &sEncryption,
226 wl_wep_decode(CRYPT_CODE, &sEncryption, wvlan_config->szEncryption);
228 wvlan_config->TransmitKeyID = sEncryption.wTxKeyID + 1;
229 wvlan_config->EnableEncryption = sEncryption.wEnabled;
231 memcpy(&wvlan_config->DefaultKeys, &sEncryption.EncStr,