Lines Matching refs:tx

578 		| IEEE80211_C_TXPMGT		/* tx power management */
642 | IEEE80211_HTC_AMPDU /* tx A-MPDU */
644 | IEEE80211_HTC_AMSDU /* tx A-MSDU */
2760 int tx;
2778 tx = (sc->txchainmask & ~IWN_LSB(sc->txchainmask));
2781 if (tx == 0)
2782 tx = IWN_ANT_AB;
2789 tx = sc->txchainmask;
2791 return (tx);
3312 * 'tx done' + 'compressed BA' replies for frame
3442 /* tx */
3443 memcpy(&lstats->tx, &stats_bt->tx,
4263 printf(" tx ring %2d: qid=%-2d cur=%-3d queued=%-3d\n",
4555 struct iwn_cmd_data *tx;
4716 tx = (struct iwn_cmd_data *)cmd->data;
4718 /* NB: No need to clear tx, all fields are reinitialized here. */
4719 tx->scratch = 0; /* clear "scratch" area */
4723 tx->id = sc->broadcast_id;
4725 tx->id = wn->id;
4735 tx->timeout = htole16(3);
4737 tx->timeout = htole16(2);
4739 tx->timeout = htole16(0);
4741 if (tx->id == sc->broadcast_id) {
4743 tx->linkq = 0;
4745 tx->linkq = iwn_tx_rate_to_linkq_offset(sc, ni, rate);
4749 tx->tid = tid;
4750 tx->rts_ntries = 60;
4751 tx->data_ntries = 15;
4752 tx->lifetime = htole32(IWN_LIFETIME_INFINITE);
4753 tx->rate = iwn_rate_to_plcp(sc, ni, rate);
4754 tx->security = 0;
4755 tx->flags = htole32(flags);
4766 struct iwn_cmd_data *tx;
4817 tx = (struct iwn_cmd_data *)cmd->data;
4818 /* NB: No need to clear tx, all fields are reinitialized here. */
4819 tx->scratch = 0; /* clear "scratch" area */
4830 tx->timeout = htole16(3);
4832 tx->timeout = htole16(2);
4834 tx->timeout = htole16(0);
4836 tx->tid = 0;
4837 tx->id = sc->broadcast_id;
4838 tx->rts_ntries = params->ibp_try1;
4839 tx->data_ntries = params->ibp_try0;
4840 tx->lifetime = htole32(IWN_LIFETIME_INFINITE);
4841 tx->rate = iwn_rate_to_plcp(sc, ni, rate);
4842 tx->security = 0;
4843 tx->flags = htole32(flags);
4846 tx->linkq = 0;
4857 struct iwn_cmd_data *tx;
4887 tx = (struct iwn_cmd_data *)cmd->data;
4888 tx->len = htole16(totlen);
4891 tx->loaddr = htole32(IWN_LOADDR(data->scratch_paddr));
4892 tx->hiaddr = IWN_HIADDR(data->scratch_paddr);
4895 tx->flags |= htole32(IWN_TX_NEED_PADDING);
4901 memcpy((uint8_t *)(tx + 1), wh, hdrlen);
4947 __func__, ring->qid, ring->cur, totlen, nsegs, tx->rate);
4956 (4 + sizeof (*tx) + hdrlen + pad) << 4);
4974 ops->update_sched(sc, ring->qid, ring->cur, tx->id, totlen);
5829 "%s: set tx power for chan %d\n", __func__, chan);
7027 struct iwn_cmd_data *tx;
7101 tx = (struct iwn_cmd_data *)(hdr + 1);
7102 tx->flags = htole32(IWN_TX_AUTO_SEQ);
7103 tx->id = sc->broadcast_id;
7104 tx->lifetime = htole32(IWN_LIFETIME_INFINITE);
7108 tx->rate = htole32(0xd);
7114 tx->rate = htole32(0xd);
7117 tx->rate = htole32(10 | IWN_RFLAG_CCK);
7123 tx->rate |= htole32(IWN_RFLAG_ANT(txant));
7136 essid = (struct iwn_scan_essid *)(tx + 1);
7177 tx->len = htole16(frm - (uint8_t *)wh);