Lines Matching refs:txh

832 	struct d11txh *txh = NULL;  in brcms_c_dotxstatus()  local
873 txh = (struct d11txh *) (p->data); in brcms_c_dotxstatus()
877 txs->phyerr, txh->MainRates); in brcms_c_dotxstatus()
879 if (txs->frameid != le16_to_cpu(txh->TxFrameID)) { in brcms_c_dotxstatus()
884 h = (struct ieee80211_hdr *)((u8 *) (txh + 1) + D11_PHY_HDR_LEN); in brcms_c_dotxstatus()
899 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, sizeof(*txh)); in brcms_c_dotxstatus()
903 unsigned xfts = le16_to_cpu(txh->XtraFrameTypes); in brcms_c_dotxstatus()
994 if (txh) in brcms_c_dotxstatus()
995 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, in brcms_c_dotxstatus()
996 sizeof(*txh)); in brcms_c_dotxstatus()
5658 struct d11txh *txh) in bcmc_fid_generate() argument
5662 frameid = le16_to_cpu(txh->TxFrameID) & ~(TXFID_SEQ_MASK | in bcmc_fid_generate()
6158 struct d11txh *txh; in brcms_c_d11hdrs_mac80211() local
6203 txh = (struct d11txh *) skb_push(p, D11_TXH_LEN); in brcms_c_d11hdrs_mac80211()
6204 memset(txh, 0, D11_TXH_LEN); in brcms_c_d11hdrs_mac80211()
6213 frameid = bcmc_fid_generate(wlc, NULL, txh); in brcms_c_d11hdrs_mac80211()
6430 memcpy(&txh->FragPLCPFallback, in brcms_c_d11hdrs_mac80211()
6431 plcp_fallback, sizeof(txh->FragPLCPFallback)); in brcms_c_d11hdrs_mac80211()
6435 txh->FragPLCPFallback[4] = phylen & 0xff; in brcms_c_d11hdrs_mac80211()
6436 txh->FragPLCPFallback[5] = (phylen & 0xff00) >> 8; in brcms_c_d11hdrs_mac80211()
6463 txh->FragDurFallback = h->duration_id; in brcms_c_d11hdrs_mac80211()
6465 txh->FragDurFallback = 0; in brcms_c_d11hdrs_mac80211()
6469 txh->FragDurFallback = cpu_to_le16(durid); in brcms_c_d11hdrs_mac80211()
6489 txh->MacTxControlLow = cpu_to_le16(mcl); in brcms_c_d11hdrs_mac80211()
6502 memcpy(&txh->MacFrameControl, &h->frame_control, sizeof(u16)); in brcms_c_d11hdrs_mac80211()
6503 txh->TxFesTimeNormal = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6505 txh->TxFesTimeFallback = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6508 memcpy(&txh->TxFrameRA, &h->addr1, ETH_ALEN); in brcms_c_d11hdrs_mac80211()
6511 txh->TxFrameID = cpu_to_le16(frameid); in brcms_c_d11hdrs_mac80211()
6517 txh->TxStatus = cpu_to_le16(status); in brcms_c_d11hdrs_mac80211()
6523 txh->MaxNMpdus = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6524 txh->MaxABytes_MRT = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6525 txh->MaxABytes_FBR = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6526 txh->MinMBytes = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6557 txh->MacTxControlLow |= cpu_to_le16(TXC_SENDCTS); in brcms_c_d11hdrs_mac80211()
6559 txh->MacTxControlLow |= cpu_to_le16(TXC_SENDRTS); in brcms_c_d11hdrs_mac80211()
6560 txh->MacTxControlLow |= cpu_to_le16(TXC_LONGFRAME); in brcms_c_d11hdrs_mac80211()
6564 rts_plcp = txh->RTSPhyHeader; in brcms_c_d11hdrs_mac80211()
6575 memcpy(&txh->RTSPLCPFallback, rts_plcp_fallback, in brcms_c_d11hdrs_mac80211()
6576 sizeof(txh->RTSPLCPFallback)); in brcms_c_d11hdrs_mac80211()
6579 rts = (struct ieee80211_rts *)&txh->rts_frame; in brcms_c_d11hdrs_mac80211()
6590 txh->RTSDurFallback = cpu_to_le16(durid); in brcms_c_d11hdrs_mac80211()
6614 memset(txh->RTSPhyHeader, 0, D11_PHY_HDR_LEN); in brcms_c_d11hdrs_mac80211()
6615 memset(&txh->rts_frame, 0, sizeof(struct ieee80211_rts)); in brcms_c_d11hdrs_mac80211()
6616 memset(txh->RTSPLCPFallback, 0, sizeof(txh->RTSPLCPFallback)); in brcms_c_d11hdrs_mac80211()
6617 txh->RTSDurFallback = 0; in brcms_c_d11hdrs_mac80211()
6623 txh->RTSPLCPFallback[AMPDU_FBR_NULL_DELIM] = in brcms_c_d11hdrs_mac80211()
6632 txh->MacTxControlHigh = cpu_to_le16(mch); in brcms_c_d11hdrs_mac80211()
6638 txh->MainRates = cpu_to_le16(mainrates); in brcms_c_d11hdrs_mac80211()
6646 txh->XtraFrameTypes = cpu_to_le16(xfts); in brcms_c_d11hdrs_mac80211()
6658 txh->PhyTxControlWord = cpu_to_le16(phyctl); in brcms_c_d11hdrs_mac80211()
6665 txh->PhyTxControlWord_1 = cpu_to_le16(phyctl1); in brcms_c_d11hdrs_mac80211()
6667 txh->PhyTxControlWord_1_Fbr = cpu_to_le16(phyctl1); in brcms_c_d11hdrs_mac80211()
6671 txh->PhyTxControlWord_1_Rts = cpu_to_le16(phyctl1); in brcms_c_d11hdrs_mac80211()
6673 txh->PhyTxControlWord_1_FbrRts = cpu_to_le16(phyctl1); in brcms_c_d11hdrs_mac80211()
6685 txh->MModeLen = cpu_to_le16(mmodelen); in brcms_c_d11hdrs_mac80211()
6692 txh->MModeFbrLen = cpu_to_le16(mmodefbrlen); in brcms_c_d11hdrs_mac80211()
6717 le16_to_cpu(txh->RTSDurFallback); in brcms_c_d11hdrs_mac80211()
6737 txh->TxFesTimeNormal = cpu_to_le16((u16) dur); in brcms_c_d11hdrs_mac80211()
6742 txh->TxFesTimeFallback = in brcms_c_d11hdrs_mac80211()
6794 struct d11txh *txh; in brcms_c_tx() local
6799 txh = (struct d11txh *)(skb->data); in brcms_c_tx()
6822 frameid = le16_to_cpu(txh->TxFrameID); in brcms_c_tx()