Lines Matching refs:tx
388 struct hostap_tx_data tx; in hostap_master_start_xmit() local
397 tx.skb = skb; in hostap_master_start_xmit()
398 tx.sta_ptr = NULL; in hostap_master_start_xmit()
413 tx.crypt = local->crypt_info.crypt[local->crypt_info.tx_keyidx]; in hostap_master_start_xmit()
414 tx.host_encrypt = 1; in hostap_master_start_xmit()
416 tx.crypt = NULL; in hostap_master_start_xmit()
417 tx.host_encrypt = 0; in hostap_master_start_xmit()
432 tx_ret = hostap_handle_sta_tx(local, &tx); in hostap_master_start_xmit()
433 skb = tx.skb; in hostap_master_start_xmit()
482 tx.crypt = NULL; in hostap_master_start_xmit()
485 if (local->ieee_802_1x && meta->ethertype == ETH_P_PAE && tx.crypt && in hostap_master_start_xmit()
490 tx.crypt = NULL; /* no encryption for IEEE 802.1X frames */ in hostap_master_start_xmit()
493 if (tx.crypt && (!tx.crypt->ops || !tx.crypt->ops->encrypt_mpdu)) in hostap_master_start_xmit()
494 tx.crypt = NULL; in hostap_master_start_xmit()
495 else if ((tx.crypt || in hostap_master_start_xmit()
514 if (tx.crypt) { in hostap_master_start_xmit()
515 skb = hostap_tx_encrypt(skb, tx.crypt); in hostap_master_start_xmit()
534 if (local->func->tx == NULL || local->func->tx(skb, dev)) { in hostap_master_start_xmit()
547 if (tx.sta_ptr) in hostap_master_start_xmit()
548 hostap_handle_sta_release(tx.sta_ptr); in hostap_master_start_xmit()