Lines Matching refs:wsm
568 struct wsm_tx *wsm; in cw1200_tx_h_wsm() local
577 wsm = (struct wsm_tx *)skb_push(t->skb, sizeof(struct wsm_tx)); in cw1200_tx_h_wsm()
579 memset(wsm, 0, sizeof(*wsm)); in cw1200_tx_h_wsm()
580 wsm->hdr.len = __cpu_to_le16(t->skb->len); in cw1200_tx_h_wsm()
581 wsm->hdr.id = __cpu_to_le16(0x0004); in cw1200_tx_h_wsm()
582 wsm->queue_id = wsm_queue_id_to_wsm(t->queue); in cw1200_tx_h_wsm()
583 return wsm; in cw1200_tx_h_wsm()
590 struct wsm_tx *wsm) in cw1200_tx_h_bt() argument
627 else if ((wsm->queue_id == WSM_QUEUE_VOICE)) in cw1200_tx_h_bt()
629 else if ((wsm->queue_id == WSM_QUEUE_VIDEO)) in cw1200_tx_h_bt()
637 wsm->flags |= priority << 1; in cw1200_tx_h_bt()
643 struct wsm_tx *wsm) in cw1200_tx_h_rate_policy() argument
653 wsm->flags |= t->txpriv.rate_id << 4; in cw1200_tx_h_rate_policy()
657 wsm->max_tx_rate = t->rate->hw_value; in cw1200_tx_h_rate_policy()
660 wsm->ht_tx_parameters |= in cw1200_tx_h_rate_policy()
663 wsm->ht_tx_parameters |= in cw1200_tx_h_rate_policy()
720 struct wsm_tx *wsm; in cw1200_tx() local
757 wsm = cw1200_tx_h_wsm(priv, &t); in cw1200_tx()
758 if (!wsm) { in cw1200_tx()
762 wsm->flags |= flags; in cw1200_tx()
763 cw1200_tx_h_bt(priv, &t, wsm); in cw1200_tx()
764 ret = cw1200_tx_h_rate_policy(priv, &t, wsm); in cw1200_tx()