Home | History | Annotate | Download | only in net80211

Lines Matching defs:iv

131 	u_int32_t iv;
140 * IV must not duplicate during the lifetime of the key.
142 * for WEP. And the IV may be duplicated at other stations
144 * pseudo random IV for now, though it is not the right way.
146 * NB: Rather than use a strictly random IV we select a
157 iv = ctx->wc_iv;
158 if ((iv & 0xff00) == 0xff00) {
159 int B = (iv & 0xff0000) >> 16;
161 iv += 0x0100;
163 ctx->wc_iv = iv + 1;
166 * NB: Preserve byte order of IV for packet
170 ivp[0] = iv >> 0;
171 ivp[1] = iv >> 8;
172 ivp[2] = iv >> 16;
174 ivp[2] = iv >> 0;
175 ivp[1] = iv >> 8;
176 ivp[0] = iv >> 16;