Lines Matching refs:wsm
565 struct wsm_tx *wsm; in cw1200_tx_h_wsm() local
574 wsm = skb_push(t->skb, sizeof(struct wsm_tx)); in cw1200_tx_h_wsm()
576 memset(wsm, 0, sizeof(*wsm)); in cw1200_tx_h_wsm()
577 wsm->hdr.len = __cpu_to_le16(t->skb->len); in cw1200_tx_h_wsm()
578 wsm->hdr.id = __cpu_to_le16(0x0004); in cw1200_tx_h_wsm()
579 wsm->queue_id = wsm_queue_id_to_wsm(t->queue); in cw1200_tx_h_wsm()
580 return wsm; in cw1200_tx_h_wsm()
587 struct wsm_tx *wsm) in cw1200_tx_h_bt() argument
624 else if (wsm->queue_id == WSM_QUEUE_VOICE) in cw1200_tx_h_bt()
626 else if (wsm->queue_id == WSM_QUEUE_VIDEO) in cw1200_tx_h_bt()
634 wsm->flags |= priority << 1; in cw1200_tx_h_bt()
640 struct wsm_tx *wsm) in cw1200_tx_h_rate_policy() argument
650 wsm->flags |= t->txpriv.rate_id << 4; in cw1200_tx_h_rate_policy()
654 wsm->max_tx_rate = t->rate->hw_value; in cw1200_tx_h_rate_policy()
657 wsm->ht_tx_parameters |= in cw1200_tx_h_rate_policy()
660 wsm->ht_tx_parameters |= in cw1200_tx_h_rate_policy()
717 struct wsm_tx *wsm; in cw1200_tx() local
754 wsm = cw1200_tx_h_wsm(priv, &t); in cw1200_tx()
755 if (!wsm) { in cw1200_tx()
759 wsm->flags |= flags; in cw1200_tx()
760 cw1200_tx_h_bt(priv, &t, wsm); in cw1200_tx()
761 ret = cw1200_tx_h_rate_policy(priv, &t, wsm); in cw1200_tx()