Home
last modified time | relevance | path

Searched refs:seq_num (Results 1 – 25 of 93) sorted by relevance

1234

/drivers/net/wireless/marvell/mwifiex/
D11n_rxreorder.c316 int start_win, seq_num; in mwifiex_flush_data() local
319 seq_num = mwifiex_11n_find_last_seq_num(ctx); in mwifiex_flush_data()
321 if (seq_num < 0) in mwifiex_flush_data()
324 mwifiex_dbg(ctx->priv->adapter, INFO, "info: flush data %d\n", seq_num); in mwifiex_flush_data()
325 start_win = (ctx->ptr->start_win + seq_num + 1) & (MAX_TID_VALUE - 1); in mwifiex_flush_data()
342 int tid, int win_size, int seq_num) in mwifiex_11n_create_rx_reorder_tbl() argument
355 mwifiex_11n_dispatch_pkt_until_start_win(priv, tbl, seq_num); in mwifiex_11n_create_rx_reorder_tbl()
366 new_node->start_win = seq_num; in mwifiex_11n_create_rx_reorder_tbl()
367 new_node->init_win = seq_num; in mwifiex_11n_create_rx_reorder_tbl()
560 u16 seq_num, u16 tid, in mwifiex_11n_rx_reorder_pkt() argument
[all …]
Dsta_rx.c209 u16 rx_pkt_type, rx_pkt_offset, rx_pkt_length, seq_num; in mwifiex_process_sta_rx_packet() local
216 seq_num = le16_to_cpu(local_rx_pd->seq_num); in mwifiex_process_sta_rx_packet()
259 le16_to_cpu(local_rx_pd->seq_num); in mwifiex_process_sta_rx_packet()
267 priv->rx_seq[local_rx_pd->priority] = seq_num; in mwifiex_process_sta_rx_packet()
273 ret = mwifiex_11n_rx_reorder_pkt(priv, seq_num, local_rx_pd->priority, in mwifiex_process_sta_rx_packet()
Dcmdevt.c216 adapter->seq_num++; in mwifiex_dnld_cmd_to_fw()
217 host_cmd->seq_num = cpu_to_le16(HostCmd_SET_SEQ_NO_BSS_INFO in mwifiex_dnld_cmd_to_fw()
218 (adapter->seq_num, in mwifiex_dnld_cmd_to_fw()
245 cmd_size, le16_to_cpu(host_cmd->seq_num)); in mwifiex_dnld_cmd_to_fw()
323 adapter->seq_num++; in mwifiex_dnld_sleep_confirm_cmd()
324 sleep_cfm_buf->seq_num = in mwifiex_dnld_sleep_confirm_cmd()
326 (adapter->seq_num, priv->bss_num, in mwifiex_dnld_sleep_confirm_cmd()
334 le16_to_cpu(sleep_cfm_buf->seq_num)); in mwifiex_dnld_sleep_confirm_cmd()
854 HostCmd_GET_BSS_NO(le16_to_cpu(resp->seq_num)), in mwifiex_process_cmdresp()
855 HostCmd_GET_BSS_TYPE(le16_to_cpu(resp->seq_num))); in mwifiex_process_cmdresp()
[all …]
Dusb.h131 __le32 seq_num; member
136 __le32 seq_num; member
Dfw.h55 __le32 seq_num; member
60 __le16 seq_num; member
702 __le16 seq_num; member
749 __le16 seq_num; member
793 __le16 seq_num; member
1007 __le16 seq_num; member
2313 __le16 seq_num; member
2394 __le16 seq_num; member
/drivers/rpmsg/
Dqcom_glink_ssr.c25 __le32 seq_num; member
39 __le32 seq_num; member
54 u32 seq_num; member
88 if (le32_to_cpu(msg->seq_num) != ssr->seq_num) { in qcom_glink_ssr_callback()
107 ssr->seq_num++; in qcom_glink_ssr_notifier_call()
112 msg.seq_num = cpu_to_le32(ssr->seq_num); in qcom_glink_ssr_notifier_call()
/drivers/crypto/caam/
Dpdb.h138 u32 seq_num; member
212 u32 seq_num; member
346 u64 seq_num; member
354 u64 seq_num; member
365 u16 seq_num[3]; member
372 u64 seq_num; member
379 u64 seq_num; member
389 u16 seq_num[3]; member
426 u16 seq_num; member
/drivers/net/wireless/ath/ath6kl/
Drecovery.c59 if (cookie == ar->fw_recovery.seq_num) in ath6kl_recovery_hb_event()
79 ar->fw_recovery.seq_num = 0; in ath6kl_recovery_hb_timer()
85 ar->fw_recovery.seq_num++; in ath6kl_recovery_hb_timer()
89 ar->fw_recovery.seq_num, 0); in ath6kl_recovery_hb_timer()
104 recovery->seq_num = 0; in ath6kl_recovery_init()
155 ar->fw_recovery.seq_num = 0; in ath6kl_recovery_resume()
/drivers/net/wireless/quantenna/qtnfmac/
Dtrans.c31 ctl_node->seq_num++; in qtnf_trans_send_cmd_with_resp()
32 cmd->seq_num = cpu_to_le16(ctl_node->seq_num); in qtnf_trans_send_cmd_with_resp()
85 const u16 recvd_seq_num = le16_to_cpu(resp->seq_num); in qtnf_trans_signal_cmdresp()
94 if (unlikely(recvd_seq_num != ctl_node->seq_num)) { in qtnf_trans_signal_cmdresp()
137 trans->curr_cmd.seq_num = 0; in qtnf_trans_init()
Dtrans.h24 u16 seq_num; member
/drivers/staging/rtl8712/
Drtl8712_recv.c435 u16 seq_num) in check_indicate_seq() argument
442 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
444 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
451 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
454 else if (SN_LESS(wend, seq_num)) { in check_indicate_seq()
455 if (seq_num >= (wsize - 1)) in check_indicate_seq()
456 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
459 (seq_num + 1)) + 1; in check_indicate_seq()
480 if (SN_EQUAL(pnextattrib->seq_num, pattrib->seq_num)) in enqueue_reorder_recvframe()
483 if (SN_LESS(pnextattrib->seq_num, pattrib->seq_num)) in enqueue_reorder_recvframe()
[all …]
/drivers/staging/rtl8723bs/core/
Drtw_recv.c518 u16 seq_ctrl = ((precv_frame->u.hdr.attrib.seq_num&0xffff) << 4) | in recv_decache()
1451 pattrib->seq_num = GetSequence(ptr); in validate_recv_frame()
1636 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument
1646 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
1650 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq()
1659 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq()
1662 } else if (SN_LESS(wend, seq_num)) { in check_indicate_seq()
1664 if (seq_num >= (wsize - 1)) in check_indicate_seq()
1665 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
1667 preorder_ctrl->indicate_seq = 0xFFF - (wsize - (seq_num + 1)) + 1; in check_indicate_seq()
[all …]
/drivers/staging/r8188eu/core/
Drtw_recv.c507 u16 seq_ctrl = ((precv_frame->attrib.seq_num & 0xffff) << 4) | in recv_decache()
1183 pattrib->seq_num = GetSequence(ptr); in validate_recv_frame()
1610 static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_num) in check_indicate_seq() argument
1617 preorder_ctrl->indicate_seq = seq_num; in check_indicate_seq()
1620 if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) in check_indicate_seq()
1628 if (SN_EQUAL(seq_num, preorder_ctrl->indicate_seq)) { in check_indicate_seq()
1630 } else if (SN_LESS(wend, seq_num)) { in check_indicate_seq()
1631 if (seq_num >= (wsize - 1)) in check_indicate_seq()
1632 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
1634 preorder_ctrl->indicate_seq = 0xFFF - (wsize - (seq_num + 1)) + 1; in check_indicate_seq()
[all …]
/drivers/block/drbd/
Ddrbd_protocol.h148 u32 seq_num; member
174 u32 seq_num; member
416 u32 seq_num; /* sequence number to match the two probe packets */ member
/drivers/net/wireless/ti/wlcore/
Drx.c112 u16 seq_num; in wl1271_rx_handle_data() local
187 seq_num = (le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_SEQ) >> 4; in wl1271_rx_handle_data()
191 seq_num, *hlid); in wl1271_rx_handle_data()
/drivers/infiniband/hw/efa/
Defa_com.c75 mmio_read->seq_num++; in efa_com_reg_read32()
78 read_resp->req_id = mmio_read->seq_num + 0x9aL; in efa_com_reg_read32()
81 mmio_read->seq_num); in efa_com_reg_read32()
87 if (READ_ONCE(read_resp->req_id) == mmio_read->seq_num) in efa_com_reg_read32()
92 if (read_resp->req_id != mmio_read->seq_num) { in efa_com_reg_read32()
96 mmio_read->seq_num, offset, read_resp->req_id, in efa_com_reg_read32()
904 mmio_read->seq_num = 0; in efa_com_mmio_reg_read_init()
/drivers/staging/rtl8192u/ieee80211/
Drtl819x_BA.h22 u16 seq_num:12; member
/drivers/staging/rtl8192e/
Drtl819x_BA.h26 u16 seq_num:12; member
/drivers/net/wireless/ath/wil6210/
Dtxrx_edma.h332 __le16 seq_num; /* only lower 12 bits */ member
468 return ((struct wil_rx_status_extended *)msg)->ext.seq_num; in wil_rx_status_get_seq()
/drivers/staging/gdm724x/
Dgdm_mux.h29 __le32 seq_num; member
Dgdm_mux.c349 static u32 seq_num = 1; in gdm_mux_send() local
373 mux_header->seq_num = __cpu_to_le32(seq_num++); in gdm_mux_send()
/drivers/net/ethernet/mellanox/mlx5/core/diag/
Drsc_dump.c109 in_seq_num = MLX5_GET(resource_dump, cmd->cmd, seq_num); in mlx5_rsc_dump_trigger()
119 out_seq_num = MLX5_GET(resource_dump, cmd->cmd, seq_num); in mlx5_rsc_dump_trigger()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c393 u8 seq_num; member
1444 if (rd->seq_num != rx_seq) { in brcmf_sdio_hdparse()
1445 brcmf_dbg(SDIO, "seq %d, expected %d\n", rx_seq, rd->seq_num); in brcmf_sdio_hdparse()
1447 rd->seq_num = rx_seq; in brcmf_sdio_hdparse()
1502 hdrval = hd_info->seq_num; in brcmf_sdio_hdpack()
1644 rd_new.seq_num = rxseq; in brcmf_sdio_rxglom()
1663 rd_new.seq_num = rxseq++; in brcmf_sdio_rxglom()
1869 for (rd->seq_num = bus->rx_seq, rxleft = maxframes; in brcmf_sdio_readframes()
1871 rd->seq_num++, rxleft--) { in brcmf_sdio_readframes()
1878 cnt = brcmf_sdio_rxglom(bus, rd->seq_num); in brcmf_sdio_readframes()
[all …]
/drivers/infiniband/core/
Dcma_priv.h81 u32 seq_num; member
/drivers/misc/bcm-vk/
Dbcm_vk_msg.h118 u32 seq_num; member

1234