Home
last modified time | relevance | path

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

/drivers/net/wireless/st/cw1200/
Dbh.c238 struct wsm_hdr *wsm; in cw1200_bh_rx_helper() local
291 wsm = (struct wsm_hdr *)data; in cw1200_bh_rx_helper()
292 wsm_len = __le16_to_cpu(wsm->len); in cw1200_bh_rx_helper()
301 wsm_id = __le16_to_cpu(wsm->id) & 0xFFF; in cw1200_bh_rx_helper()
302 wsm_seq = (__le16_to_cpu(wsm->id) >> 13) & 7; in cw1200_bh_rx_helper()
308 &data[sizeof(*wsm)], in cw1200_bh_rx_helper()
309 wsm_len - sizeof(*wsm)); in cw1200_bh_rx_helper()
327 if (WARN_ON(wsm_handle_rx(priv, wsm_id, wsm, &skb_rx))) in cw1200_bh_rx_helper()
346 struct wsm_hdr *wsm; in cw1200_bh_tx_helper() local
370 wsm = (struct wsm_hdr *)data; in cw1200_bh_tx_helper()
[all …]
Dtxrx.c565 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()
[all …]
Dwsm.c1296 struct wsm_hdr *wsm, struct sk_buff **skb_p) in wsm_handle_rx() argument
1305 wsm_buf.begin = (u8 *)&wsm[0]; in wsm_handle_rx()
1306 wsm_buf.data = (u8 *)&wsm[1]; in wsm_handle_rx()
1307 wsm_buf.end = &wsm_buf.begin[__le16_to_cpu(wsm->len)]; in wsm_handle_rx()
1454 struct wsm_tx *wsm, in wsm_handle_tx_data() argument
1461 (struct ieee80211_hdr *)&((u8 *)wsm)[txpriv->offset]; in wsm_handle_tx_data()
1486 if (cw1200_queue_get_generation(wsm->packet_id) > in wsm_handle_tx_data()
1516 priv->bss_loss_confirm_id = wsm->packet_id; in wsm_handle_tx_data()
1517 wsm->queue_id = WSM_QUEUE_VOICE; in wsm_handle_tx_data()
1546 priv->pending_frame_id = wsm->packet_id; in wsm_handle_tx_data()
[all …]
DMakefile9 wsm.o \
Dscan.c359 struct wsm_tx *wsm; in cw1200_probe_work() local
402 wsm = (struct wsm_tx *)frame.skb->data; in cw1200_probe_work()
403 scan.max_tx_rate = wsm->max_tx_rate; in cw1200_probe_work()
Dwsm.h1799 int wsm_handle_rx(struct cw1200_common *priv, u16 id, struct wsm_hdr *wsm,