Home | History | Annotate | Download | only in ic

Lines Matching refs:wk

629 rtw_wep_setkeys(struct rtw_softc *sc, struct ieee80211_key *wk, int txkey)
643 if (wk[i].wk_cipher == &rtw_cipher_wep)
644 wk[i].wk_cipher = &ieee80211_cipher_wep;
657 if (!rtw_key_hwsupp(sc->sc_flags, &wk[i]))
660 keylen = wk[i].wk_keylen;
663 keylen = MAX(keylen, wk[i].wk_keylen);
672 if (wk[i].wk_keylen != keylen ||
673 wk[i].wk_cipher->ic_cipher != IEEE80211_CIPHER_WEP)
676 wk[i].wk_cipher = &rtw_cipher_wep;
677 (void)memcpy(rk->rk_keys[i], wk[i].wk_key, wk[i].wk_keylen);