Lines Matching refs:txh

494 	struct d11txh *txh = (struct d11txh *)p->data;  in brcms_c_ampdu_add_frame()  local
503 ndelim = txh->RTSPLCPFallback[AMPDU_FBR_NULL_DELIM]; in brcms_c_ampdu_add_frame()
504 plcp = (u8 *)(txh + 1); in brcms_c_ampdu_add_frame()
505 fbr_iscck = !(le16_to_cpu(txh->XtraFrameTypes) & 0x03); in brcms_c_ampdu_add_frame()
506 len = fbr_iscck ? BRCMS_GET_CCK_PLCP_LEN(txh->FragPLCPFallback) : in brcms_c_ampdu_add_frame()
507 BRCMS_GET_MIMO_PLCP_LEN(txh->FragPLCPFallback); in brcms_c_ampdu_add_frame()
551 uint fifo = le16_to_cpu(txh->TxFrameID) & TXFID_QUEUE_MASK; in brcms_c_ampdu_add_frame()
558 plcp0 = txh->FragPLCPFallback[0]; in brcms_c_ampdu_add_frame()
559 plcp3 = txh->FragPLCPFallback[3]; in brcms_c_ampdu_add_frame()
582 mcl = le16_to_cpu(txh->MacTxControlLow); in brcms_c_ampdu_add_frame()
586 txh->MacTxControlLow = cpu_to_le16(mcl); in brcms_c_ampdu_add_frame()
587 txh->PreloadSize = 0; /* always default to 0 */ in brcms_c_ampdu_add_frame()
599 struct d11txh *txh; in brcms_c_ampdu_finalize() local
630 txh = (struct d11txh *)last->data; in brcms_c_ampdu_finalize()
631 fifo = le16_to_cpu(txh->TxFrameID) & TXFID_QUEUE_MASK; in brcms_c_ampdu_finalize()
634 mcl = le16_to_cpu(txh->MacTxControlLow); in brcms_c_ampdu_finalize()
637 txh->MacTxControlLow = cpu_to_le16(mcl); in brcms_c_ampdu_finalize()
640 ndelim = txh->RTSPLCPFallback[AMPDU_FBR_NULL_DELIM]; in brcms_c_ampdu_finalize()
641 txh->RTSPLCPFallback[AMPDU_FBR_NULL_DELIM] = 0; in brcms_c_ampdu_finalize()
645 fbr_iscck = ((le16_to_cpu(txh->XtraFrameTypes) & 0x3) == 0); in brcms_c_ampdu_finalize()
646 len = fbr_iscck ? BRCMS_GET_CCK_PLCP_LEN(txh->FragPLCPFallback) : in brcms_c_ampdu_finalize()
647 BRCMS_GET_MIMO_PLCP_LEN(txh->FragPLCPFallback); in brcms_c_ampdu_finalize()
653 txh = (struct d11txh *)first->data; in brcms_c_ampdu_finalize()
654 plcp = (u8 *)(txh + 1); in brcms_c_ampdu_finalize()
655 rts = (struct ieee80211_rts *)&txh->rts_frame; in brcms_c_ampdu_finalize()
657 mcl = le16_to_cpu(txh->MacTxControlLow); in brcms_c_ampdu_finalize()
672 txh->MacTxControlLow = cpu_to_le16(mcl); in brcms_c_ampdu_finalize()
678 plcp0 = txh->FragPLCPFallback[0]; in brcms_c_ampdu_finalize()
696 fbr_iscck = !(le16_to_cpu(txh->XtraFrameTypes) & 0x03); in brcms_c_ampdu_finalize()
699 cck_rspec(cck_phy2mac_rate(txh->FragPLCPFallback[0])); in brcms_c_ampdu_finalize()
702 rspec_fallback |= txh->FragPLCPFallback[0] & ~MIMO_PLCP_40MHZ; in brcms_c_ampdu_finalize()
703 if (txh->FragPLCPFallback[0] & MIMO_PLCP_40MHZ) in brcms_c_ampdu_finalize()
721 if (txh->MModeLen) { in brcms_c_ampdu_finalize()
724 txh->MModeLen = cpu_to_le16(mmodelen); in brcms_c_ampdu_finalize()
727 if (txh->MModeFbrLen) { in brcms_c_ampdu_finalize()
730 txh->MModeFbrLen = cpu_to_le16(mmfbrlen); in brcms_c_ampdu_finalize()
737 txh->PreloadSize = cpu_to_le16(dma_len); in brcms_c_ampdu_finalize()
739 txh->PreloadSize = 0; in brcms_c_ampdu_finalize()
742 mch = le16_to_cpu(txh->MacTxControlHigh); in brcms_c_ampdu_finalize()
766 txh->RTSDurFallback = cpu_to_le16(durid); in brcms_c_ampdu_finalize()
768 txh->TxFesTimeNormal = rts->duration; in brcms_c_ampdu_finalize()
770 txh->TxFesTimeFallback = txh->RTSDurFallback; in brcms_c_ampdu_finalize()
776 txh->MacTxControlHigh = cpu_to_le16(mch); in brcms_c_ampdu_finalize()
778 BRCMS_SET_MIMO_PLCP_AMPDU(txh->FragPLCPFallback); in brcms_c_ampdu_finalize()
810 struct d11txh *txh; in brcms_c_ampdu_dotxstatus_complete() local
897 txh = (struct d11txh *) p->data; in brcms_c_ampdu_dotxstatus_complete()
898 mcl = le16_to_cpu(txh->MacTxControlLow); in brcms_c_ampdu_dotxstatus_complete()
899 plcp = (u8 *) (txh + 1); in brcms_c_ampdu_dotxstatus_complete()
903 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, sizeof(*txh)); in brcms_c_ampdu_dotxstatus_complete()
907 mimoantsel = le16_to_cpu(txh->ABI_MimoAntSel); in brcms_c_ampdu_dotxstatus_complete()
1023 struct d11txh *txh; in brcms_c_ampdu_dotxstatus() local
1026 txh = (struct d11txh *) p->data; in brcms_c_ampdu_dotxstatus()
1027 trace_brcms_txdesc(&wlc->hw->d11core->dev, txh, in brcms_c_ampdu_dotxstatus()
1028 sizeof(*txh)); in brcms_c_ampdu_dotxstatus()
1029 mcl = le16_to_cpu(txh->MacTxControlLow); in brcms_c_ampdu_dotxstatus()