Lines Matching refs:txdesc
661 hfa384x_tx_frame_t txdesc; in prism2_transmit() local
677 memset(&txdesc, 0, sizeof(txdesc)); in prism2_transmit()
678 txdesc.tx_control = host2hfa384x_16( HFA384x_TX_MACPORT_SET(0) | HFA384x_TX_STRUCTYPE_SET(1) | in prism2_transmit()
680 txdesc.frame_control = host2ieee16( WLAN_SET_FC_FTYPE(WLAN_FTYPE_DATA) | in prism2_transmit()
683 memcpy(txdesc.address1, hw->bssid, WLAN_ADDR_LEN); in prism2_transmit()
684 memcpy(txdesc.address2, nic->node_addr, WLAN_ADDR_LEN); in prism2_transmit()
685 memcpy(txdesc.address3, d, WLAN_ADDR_LEN); in prism2_transmit()
686 txdesc.data_len = host2hfa384x_16( sizeof(txdesc) + sizeof(p80211hdr) + s ); in prism2_transmit()
692 result = hfa384x_copy_to_bap(hw, fid, 0, &txdesc, sizeof(txdesc)); in prism2_transmit()
694 result = hfa384x_copy_to_bap( hw, fid, sizeof(txdesc), &p80211hdr, sizeof(p80211hdr) ); in prism2_transmit()
696 result = hfa384x_copy_to_bap( hw, fid, sizeof(txdesc) + sizeof(p80211hdr), (UINT8*)p, s ); in prism2_transmit()