Lines Matching defs:txd

67 	struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf;
73 txd->txdw4 |= htole32(R92C_TXDW4_DATA_BW40);
74 txd->txdw4 |= htole32(SM(R92C_TXDW4_DATA_SCO, extc_offset));
79 r92c_tx_protection(struct rtwn_softc *sc, struct r92c_tx_desc *txd,
91 txd->txdw4 |= htole32(R92C_TXDW4_CTS2SELF);
94 txd->txdw4 |= htole32(R92C_TXDW4_RTSEN);
117 txd->txdw4 |= htole32(SM(R92C_TXDW4_RTSRATE, ridx));
119 txd->txdw5 |= htole32(SM(R92C_TXDW5_RTSRATE_FB_LMT, 0xf));
124 txd->txdw4 |= htole32(R92C_TXDW4_RTS_SHORT);
129 r92c_tx_raid(struct rtwn_softc *sc, struct r92c_tx_desc *txd,
179 txd->txdw1 |= htole32(SM(R92C_TXDW1_RAID, raid));
186 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf;
197 txd->txdw5 |= htole32(R92C_TXDW5_SGI);
200 txd->txdw5 |= htole32(R92C_TXDW5_SGI);
207 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf;
210 txd->txdw1 |= htole32(R92C_TXDW1_AGGEN);
212 txd->txdw1 |= htole32(R92C_TXDW1_AGGBK);
218 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf;
220 txd->txdw4 |= htole32(R92C_TXDW4_HWSEQ_EN);
226 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf;
228 txd->txdw1 |= htole32(SM(R92C_TXDW1_MACID, id));
275 r92c_fill_tx_desc_datarate(struct rtwn_softc *sc, struct r92c_tx_desc *txd,
281 txd->txdw5 |= htole32(SM(R92C_TXDW5_DATARATE, 0));
283 txd->txdw5 |= htole32(SM(R92C_TXDW5_DATARATE, ridx));
284 txd->txdw4 |= htole32(R92C_TXDW4_DRVRATE);
288 txd->txdw5 |= htole32(SM(R92C_TXDW5_DATARATE_FB_LMT, 0x1f));
292 r92c_fill_tx_desc_shpreamble(struct rtwn_softc *sc, struct r92c_tx_desc *txd,
299 txd->txdw4 |= htole32(R92C_TXDW4_DATA_SHPRE);
355 struct r92c_tx_desc *txd;
375 txd = (struct r92c_tx_desc *)buf;
376 txd->flags0 |= R92C_FLAGS0_LSG | R92C_FLAGS0_FSG;
378 txd->flags0 |= R92C_FLAGS0_BMCAST;
381 txd->txdw4 |= htole32(R92C_TXDW4_QOS);
390 txd->txdw5 |= htole32(R92C_TXDW5_RTY_LMT_ENA);
391 txd->txdw5 |= htole32(SM(R92C_TXDW5_RTY_LMT,
401 txd->txdw2 |= htole32(SM(R92C_TXDW2_AMPDU_DEN,
403 txd->txdw6 |= htole32(SM(R92C_TXDW6_MAX_AGG,
407 txd->txdw2 |= htole32(R92C_TXDW2_CCX_RPT);
414 r92c_fill_tx_desc_shpreamble(sc, txd, ridx, force_rate);
426 r92c_tx_set_ht40(sc, txd, ni);
427 r92c_tx_set_sgi(sc, txd, ni);
431 r92c_tx_protection(sc, txd, prot, ridx, force_rate);
439 txd->txdw1 |= htole32(SM(R92C_TXDW1_QSEL, qsel));
441 rtwn_r92c_tx_setup_macid(sc, txd, macid);
444 r92c_fill_tx_desc_datarate(sc, txd, ridx, force_rate);
446 txd->txdw4 |= htole32(SM(R92C_TXDW4_PORT_ID, uvp->id));
447 r92c_tx_raid(sc, txd, ni, ismcast);
451 rtwn_r92c_tx_setup_hwseq(sc, txd);
462 txd->txdseq = htole16(seqno);
473 struct r92c_tx_desc *txd;
484 txd = (struct r92c_tx_desc *)buf;
485 txd->flags0 |= R92C_FLAGS0_LSG | R92C_FLAGS0_FSG;
487 txd->flags0 |= R92C_FLAGS0_BMCAST;
490 txd->txdw5 |= htole32(R92C_TXDW5_RTY_LMT_ENA);
491 txd->txdw5 |= htole32(SM(R92C_TXDW5_RTY_LMT,
495 r92c_tx_protection(sc, txd, IEEE80211_PROT_RTSCTS, ridx,
498 r92c_tx_protection(sc, txd, IEEE80211_PROT_CTSONLY, ridx,
501 rtwn_r92c_tx_setup_macid(sc, txd, RTWN_MACID_BC);
502 txd->txdw1 |= htole32(SM(R92C_TXDW1_QSEL, R92C_TXDW1_QSEL_MGNT));
505 r92c_fill_tx_desc_datarate(sc, txd, ridx, true); /* force rate */
506 txd->txdw4 |= htole32(SM(R92C_TXDW4_PORT_ID, uvp->id));
507 r92c_tx_raid(sc, txd, ni, ismcast);
511 rtwn_r92c_tx_setup_hwseq(sc, txd);
514 txd->txdseq |= htole16(M_SEQNO_GET(m) % IEEE80211_SEQ_RANGE);
522 struct r92c_tx_desc *txd = (struct r92c_tx_desc *)buf;
524 txd->flags0 = R92C_FLAGS0_FSG | R92C_FLAGS0_LSG | R92C_FLAGS0_OWN;
525 txd->txdw1 = htole32(
528 txd->txdw4 = htole32(R92C_TXDW4_DRVRATE);
529 txd->txdw4 |= htole32(SM(R92C_TXDW4_PORT_ID, id));
531 txd->txdw5 = htole32(SM(R92C_TXDW5_DATARATE,
534 txd->txdw5 = htole32(SM(R92C_TXDW5_DATARATE,
539 rtwn_r92c_tx_setup_hwseq(sc, txd);
546 const struct r92c_tx_desc *txd = buf;
550 if (txd->txdw4 & htole32(R92C_TXDW4_DATA_SHPRE))
552 if (txd->txdw5 & htole32(R92C_TXDW5_SGI))