Lines Matching refs:txh
839 struct d11txh *txh = NULL; in brcms_c_dotxstatus() local
880 txh = (struct d11txh *) (p->data); in brcms_c_dotxstatus()
884 txs->phyerr, txh->MainRates); in brcms_c_dotxstatus()
886 if (txs->frameid != le16_to_cpu(txh->TxFrameID)) { in brcms_c_dotxstatus()
891 h = (struct ieee80211_hdr *)((u8 *) (txh + 1) + D11_PHY_HDR_LEN); in brcms_c_dotxstatus()
906 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, sizeof(*txh)); in brcms_c_dotxstatus()
910 unsigned xfts = le16_to_cpu(txh->XtraFrameTypes); in brcms_c_dotxstatus()
1001 if (txh) in brcms_c_dotxstatus()
1002 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, in brcms_c_dotxstatus()
1003 sizeof(*txh)); in brcms_c_dotxstatus()
5667 struct d11txh *txh) in bcmc_fid_generate() argument
5671 frameid = le16_to_cpu(txh->TxFrameID) & ~(TXFID_SEQ_MASK | in bcmc_fid_generate()
6167 struct d11txh *txh; in brcms_c_d11hdrs_mac80211() local
6212 txh = (struct d11txh *) skb_push(p, D11_TXH_LEN); in brcms_c_d11hdrs_mac80211()
6213 memset(txh, 0, D11_TXH_LEN); in brcms_c_d11hdrs_mac80211()
6222 frameid = bcmc_fid_generate(wlc, NULL, txh); in brcms_c_d11hdrs_mac80211()
6439 memcpy(&txh->FragPLCPFallback, in brcms_c_d11hdrs_mac80211()
6440 plcp_fallback, sizeof(txh->FragPLCPFallback)); in brcms_c_d11hdrs_mac80211()
6444 txh->FragPLCPFallback[4] = phylen & 0xff; in brcms_c_d11hdrs_mac80211()
6445 txh->FragPLCPFallback[5] = (phylen & 0xff00) >> 8; in brcms_c_d11hdrs_mac80211()
6472 txh->FragDurFallback = h->duration_id; in brcms_c_d11hdrs_mac80211()
6474 txh->FragDurFallback = 0; in brcms_c_d11hdrs_mac80211()
6478 txh->FragDurFallback = cpu_to_le16(durid); in brcms_c_d11hdrs_mac80211()
6498 txh->MacTxControlLow = cpu_to_le16(mcl); in brcms_c_d11hdrs_mac80211()
6511 memcpy(&txh->MacFrameControl, &h->frame_control, sizeof(u16)); in brcms_c_d11hdrs_mac80211()
6512 txh->TxFesTimeNormal = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6514 txh->TxFesTimeFallback = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6517 memcpy(&txh->TxFrameRA, &h->addr1, ETH_ALEN); in brcms_c_d11hdrs_mac80211()
6520 txh->TxFrameID = cpu_to_le16(frameid); in brcms_c_d11hdrs_mac80211()
6526 txh->TxStatus = cpu_to_le16(status); in brcms_c_d11hdrs_mac80211()
6532 txh->MaxNMpdus = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6533 txh->MaxABytes_MRT = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6534 txh->MaxABytes_FBR = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6535 txh->MinMBytes = cpu_to_le16(0); in brcms_c_d11hdrs_mac80211()
6566 txh->MacTxControlLow |= cpu_to_le16(TXC_SENDCTS); in brcms_c_d11hdrs_mac80211()
6568 txh->MacTxControlLow |= cpu_to_le16(TXC_SENDRTS); in brcms_c_d11hdrs_mac80211()
6569 txh->MacTxControlLow |= cpu_to_le16(TXC_LONGFRAME); in brcms_c_d11hdrs_mac80211()
6573 rts_plcp = txh->RTSPhyHeader; in brcms_c_d11hdrs_mac80211()
6584 memcpy(&txh->RTSPLCPFallback, rts_plcp_fallback, in brcms_c_d11hdrs_mac80211()
6585 sizeof(txh->RTSPLCPFallback)); in brcms_c_d11hdrs_mac80211()
6588 rts = (struct ieee80211_rts *)&txh->rts_frame; in brcms_c_d11hdrs_mac80211()
6599 txh->RTSDurFallback = cpu_to_le16(durid); in brcms_c_d11hdrs_mac80211()
6622 memset(txh->RTSPhyHeader, 0, D11_PHY_HDR_LEN); in brcms_c_d11hdrs_mac80211()
6623 memset(&txh->rts_frame, 0, sizeof(struct ieee80211_rts)); in brcms_c_d11hdrs_mac80211()
6624 memset(txh->RTSPLCPFallback, 0, sizeof(txh->RTSPLCPFallback)); in brcms_c_d11hdrs_mac80211()
6625 txh->RTSDurFallback = 0; in brcms_c_d11hdrs_mac80211()
6631 txh->RTSPLCPFallback[AMPDU_FBR_NULL_DELIM] = in brcms_c_d11hdrs_mac80211()
6640 txh->MacTxControlHigh = cpu_to_le16(mch); in brcms_c_d11hdrs_mac80211()
6646 txh->MainRates = cpu_to_le16(mainrates); in brcms_c_d11hdrs_mac80211()
6654 txh->XtraFrameTypes = cpu_to_le16(xfts); in brcms_c_d11hdrs_mac80211()
6666 txh->PhyTxControlWord = cpu_to_le16(phyctl); in brcms_c_d11hdrs_mac80211()
6673 txh->PhyTxControlWord_1 = cpu_to_le16(phyctl1); in brcms_c_d11hdrs_mac80211()
6675 txh->PhyTxControlWord_1_Fbr = cpu_to_le16(phyctl1); in brcms_c_d11hdrs_mac80211()
6679 txh->PhyTxControlWord_1_Rts = cpu_to_le16(phyctl1); in brcms_c_d11hdrs_mac80211()
6681 txh->PhyTxControlWord_1_FbrRts = cpu_to_le16(phyctl1); in brcms_c_d11hdrs_mac80211()
6693 txh->MModeLen = cpu_to_le16(mmodelen); in brcms_c_d11hdrs_mac80211()
6700 txh->MModeFbrLen = cpu_to_le16(mmodefbrlen); in brcms_c_d11hdrs_mac80211()
6725 le16_to_cpu(txh->RTSDurFallback); in brcms_c_d11hdrs_mac80211()
6745 txh->TxFesTimeNormal = cpu_to_le16((u16) dur); in brcms_c_d11hdrs_mac80211()
6750 txh->TxFesTimeFallback = in brcms_c_d11hdrs_mac80211()
6802 struct d11txh *txh; in brcms_c_tx() local
6807 txh = (struct d11txh *)(skb->data); in brcms_c_tx()
6830 frameid = le16_to_cpu(txh->TxFrameID); in brcms_c_tx()