Lines Matching full:ieee

78 N parts of size ieee->fts.  The first fragment contains the SNAP header and the
83 So if you have 1500 bytes of payload with ieee->fts set to 500 without
138 static int libipw_encrypt_fragment(struct libipw_device *ieee, in libipw_encrypt_fragment() argument
142 ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_encrypt_fragment()
158 ieee->dev->name, frag->len); in libipw_encrypt_fragment()
159 ieee->ieee_stats.tx_discards++; in libipw_encrypt_fragment()
242 struct libipw_device *ieee = netdev_priv(dev); in libipw_xmit() local
262 if (ieee->is_queue_full && (*ieee->is_queue_full) (dev, priority)) in libipw_xmit()
265 spin_lock_irqsave(&ieee->lock, flags); in libipw_xmit()
269 if (!ieee->hard_start_xmit) { in libipw_xmit()
270 printk(KERN_WARNING "%s: No xmit handler.\n", ieee->dev->name); in libipw_xmit()
276 ieee->dev->name, skb->len); in libipw_xmit()
282 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_xmit()
284 encrypt = !(ether_type == htons(ETH_P_PAE) && ieee->ieee802_1x) && in libipw_xmit()
285 ieee->sec.encrypt; in libipw_xmit()
287 host_encrypt = ieee->host_encrypt && encrypt && crypt; in libipw_xmit()
288 host_encrypt_msdu = ieee->host_encrypt_msdu && encrypt && crypt; in libipw_xmit()
290 if (!encrypt && ieee->ieee802_1x && in libipw_xmit()
291 ieee->drop_unencrypted && ether_type != htons(ETH_P_PAE)) { in libipw_xmit()
306 if (ieee->iw_mode == IW_MODE_INFRA) { in libipw_xmit()
309 memcpy(header.addr1, ieee->bssid, ETH_ALEN); in libipw_xmit()
312 } else if (ieee->iw_mode == IW_MODE_ADHOC) { in libipw_xmit()
316 memcpy(header.addr3, ieee->bssid, ETH_ALEN); in libipw_xmit()
320 if (ieee->is_qos_active && ieee->is_qos_active(dev, skb)) { in libipw_xmit()
365 if (host_encrypt || ieee->host_open_frag) { in libipw_xmit()
372 frag_size = ieee->fts; in libipw_xmit()
379 if (ieee->config & in libipw_xmit()
403 rts_required = (frag_size > ieee->rts in libipw_xmit()
404 && ieee->config & CFG_LIBIPW_RTS); in libipw_xmit()
412 ieee->tx_headroom, GFP_ATOMIC); in libipw_xmit()
415 ieee->dev->name); in libipw_xmit()
441 if (ieee->config & in libipw_xmit()
485 libipw_encrypt_fragment(ieee, skb_frag, hdr_len); in libipw_xmit()
487 if (ieee->config & in libipw_xmit()
493 spin_unlock_irqrestore(&ieee->lock, flags); in libipw_xmit()
498 netdev_tx_t ret = (*ieee->hard_start_xmit)(txb, dev, priority); in libipw_xmit()
511 spin_unlock_irqrestore(&ieee->lock, flags); in libipw_xmit()