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