Home
last modified time | relevance | path

Searched refs:wsm (Results 1 – 6 of 6) sorted by relevance

/drivers/net/wireless/st/cw1200/
Dbh.c246 struct wsm_hdr *wsm; in cw1200_bh_rx_helper() local
299 wsm = (struct wsm_hdr *)data; in cw1200_bh_rx_helper()
300 wsm_len = __le16_to_cpu(wsm->len); in cw1200_bh_rx_helper()
309 wsm_id = __le16_to_cpu(wsm->id) & 0xFFF; in cw1200_bh_rx_helper()
310 wsm_seq = (__le16_to_cpu(wsm->id) >> 13) & 7; in cw1200_bh_rx_helper()
316 &data[sizeof(*wsm)], in cw1200_bh_rx_helper()
317 wsm_len - sizeof(*wsm)); in cw1200_bh_rx_helper()
335 if (WARN_ON(wsm_handle_rx(priv, wsm_id, wsm, &skb_rx))) in cw1200_bh_rx_helper()
360 struct wsm_hdr *wsm; in cw1200_bh_tx_helper() local
384 wsm = (struct wsm_hdr *)data; in cw1200_bh_tx_helper()
[all …]
Dtxrx.c568 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()
[all …]
Dwsm.c1301 struct wsm_hdr *wsm, struct sk_buff **skb_p) in wsm_handle_rx() argument
1310 wsm_buf.begin = (u8 *)&wsm[0]; in wsm_handle_rx()
1311 wsm_buf.data = (u8 *)&wsm[1]; in wsm_handle_rx()
1312 wsm_buf.end = &wsm_buf.begin[__le16_to_cpu(wsm->len)]; in wsm_handle_rx()
1459 struct wsm_tx *wsm, in wsm_handle_tx_data() argument
1466 (struct ieee80211_hdr *)&((u8 *)wsm)[txpriv->offset]; in wsm_handle_tx_data()
1491 if (cw1200_queue_get_generation(wsm->packet_id) > in wsm_handle_tx_data()
1521 priv->bss_loss_confirm_id = wsm->packet_id; in wsm_handle_tx_data()
1522 wsm->queue_id = WSM_QUEUE_VOICE; in wsm_handle_tx_data()
1551 priv->pending_frame_id = wsm->packet_id; in wsm_handle_tx_data()
[all …]
DMakefile8 wsm.o \
Dscan.c364 struct wsm_tx *wsm; in cw1200_probe_work() local
407 wsm = (struct wsm_tx *)frame.skb->data; in cw1200_probe_work()
408 scan.max_tx_rate = wsm->max_tx_rate; in cw1200_probe_work()
Dwsm.h1814 int wsm_handle_rx(struct cw1200_common *priv, u16 id, struct wsm_hdr *wsm,