Lines Matching refs:txwi

3236 			struct rt2860_txwi *txwi =   in run_bulk_tx_callbackN()  local
3247 if (le16toh(txwi->phy) & RT2860_PHY_SHPRE) in run_bulk_tx_callbackN()
3358 struct rt2860_txwi *txwi; in run_set_tx_desc() local
3368 sizeof(*txwi) + sizeof(uint32_t) : sizeof(*txwi); in run_set_tx_desc()
3389 txwi = (struct rt2860_txwi *)(txd + 1); in run_set_tx_desc()
3390 txwi->len = htole16(m->m_pkthdr.len - pad); in run_set_tx_desc()
3402 txwi->phy = htole16(mcs); in run_set_tx_desc()
3411 txwi->txop |= RT2860_TX_TXOP_HT; in run_set_tx_desc()
3413 txwi->txop |= RT2860_TX_TXOP_BACKOFF; in run_set_tx_desc()
3416 txwi->xflags |= RT2860_TX_NSEQ; in run_set_tx_desc()
3430 struct rt2860_txwi *txwi; in run_tx() local
3509 txwi = (struct rt2860_txwi *)(txd + 1); in run_tx()
3510 txwi->xflags = xflags; in run_tx()
3512 txwi->wcid = 0; in run_tx()
3514 txwi->wcid = (vap->iv_opmode == IEEE80211_M_STA) ? in run_tx()
3518 txwi->flags = 0; in run_tx()
3519 txwi->txop = 0; in run_tx()
3543 txwi->len |= htole16(pid << RT2860_TX_PID_SHIFT); in run_tx()
3590 struct rt2860_txwi *txwi; in run_tx_mgt() local
3620 txwi = (struct rt2860_txwi *)(txd + 1); in run_tx_mgt()
3621 txwi->wcid = 0xff; in run_tx_mgt()
3622 txwi->flags = wflags; in run_tx_mgt()
3623 txwi->xflags = xflags; in run_tx_mgt()
3624 txwi->txop = 0; /* clear leftover garbage bits */ in run_tx_mgt()
3650 struct rt2860_txwi *txwi; in run_sendprot() local
3683 txwi = (struct rt2860_txwi *)(txd + 1); in run_sendprot()
3684 txwi->wcid = 0xff; in run_sendprot()
3685 txwi->flags = wflags; in run_sendprot()
3686 txwi->xflags = xflags; in run_sendprot()
3687 txwi->txop = 0; /* clear leftover garbage bits */ in run_sendprot()
3717 struct rt2860_txwi *txwi; in run_tx_param() local
3760 txwi = (struct rt2860_txwi *)(txd + 1); in run_tx_param()
3761 txwi->wcid = 0xff; in run_tx_param()
3762 txwi->xflags = xflags; in run_tx_param()
3763 txwi->txop = opflags; in run_tx_param()
3764 txwi->flags = 0; /* clear leftover garbage bits */ in run_tx_param()
5044 struct rt2860_txwi txwi; in run_update_beacon_cb() local
5065 memset(&txwi, 0, sizeof(txwi)); in run_update_beacon_cb()
5066 txwi.wcid = 0xff; in run_update_beacon_cb()
5067 txwi.len = htole16(m->m_pkthdr.len); in run_update_beacon_cb()
5072 txwi.phy = htole16(rt2860_rates[ridx].mcs); in run_update_beacon_cb()
5074 txwi.phy |= htole16(RT2860_PHY_OFDM); in run_update_beacon_cb()
5075 txwi.txop = RT2860_TX_TXOP_HT; in run_update_beacon_cb()
5076 txwi.flags = RT2860_TX_TS; in run_update_beacon_cb()
5077 txwi.xflags = RT2860_TX_NSEQ; in run_update_beacon_cb()
5080 sizeof(txwi) + sizeof(uint32_t) : sizeof(txwi); in run_update_beacon_cb()
5081 run_write_region_1(sc, RT2860_BCN_BASE(rvp->rvp_id), (uint8_t *)&txwi, in run_update_beacon_cb()