Home
last modified time | relevance | path

Searched refs:dhd (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_linux_lb.c45 dhd_lb_set_default_cpus(dhd_info_t *dhd) in dhd_lb_set_default_cpus() argument
48 atomic_set(&dhd->rx_napi_cpu, 1); in dhd_lb_set_default_cpus()
49 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
50 atomic_set(&dhd->net_tx_cpu, 0); in dhd_lb_set_default_cpus()
51 atomic_set(&dhd->dpc_cpu, 0); in dhd_lb_set_default_cpus()
55 dhd_cpumasks_deinit(dhd_info_t *dhd) in dhd_cpumasks_deinit() argument
57 free_cpumask_var(dhd->cpumask_curr_avail); in dhd_cpumasks_deinit()
58 free_cpumask_var(dhd->cpumask_primary); in dhd_cpumasks_deinit()
59 free_cpumask_var(dhd->cpumask_primary_new); in dhd_cpumasks_deinit()
60 free_cpumask_var(dhd->cpumask_secondary); in dhd_cpumasks_deinit()
[all …]
H A Ddhd_msgbuf.c252 typedef uint8 (* d2h_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
263 typedef int (* d2h_edl_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
538 static void dhd_msgbuf_send_msg_tx_ts(dhd_pub_t *dhd, void *pkt,
540 static void dhd_msgbuf_send_msg_rx_ts(dhd_pub_t *dhd, void *pkt,
582 void *dhd; member
774 int dhd_ring_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file,
778 int dhd_edl_ring_hdr_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file, const void *user_buf,
788 static int dhd_dma_buf_audit(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
789 static void dhd_dma_buf_reset(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
792 static int dhd_prot_allocate_bufs(dhd_pub_t *dhd, dhd_prot_t *prot);
[all …]
H A Ddhd_linux_sock_qos.c157 dhd_init_sock_flows_buf(dhd_info_t *dhd, uint watchdog_ms) in dhd_init_sock_flows_buf() argument
164 if (dhd == NULL) in dhd_init_sock_flows_buf()
167 dhd->psk_qos = MALLOCZ(dhd->pub.osh, sizeof(dhd_sock_qos_info_t)); in dhd_init_sock_flows_buf()
168 if (dhd->psk_qos == NULL) { in dhd_init_sock_flows_buf()
172 dhd->psk_qos->max_sock_fl = MAX_SOCK_FLOW; in dhd_init_sock_flows_buf()
174 dhd->psk_qos->sk_fl = MALLOCZ(dhd->pub.osh, sz); in dhd_init_sock_flows_buf()
175 if (dhd->psk_qos->sk_fl == NULL) { in dhd_init_sock_flows_buf()
180 sk_fl = dhd->psk_qos->sk_fl; in dhd_init_sock_flows_buf()
185 dhd->psk_qos->sock_idle_thresh = SOCK_IDLE_THRESHOLD_MS; in dhd_init_sock_flows_buf()
187 dhd->psk_qos->skfl_upgrade_thresh = SOCK_FLOW_UPGRADE_THRESHOLD; in dhd_init_sock_flows_buf()
[all …]
H A Ddhd_proto.h95 extern int dhd_prot_dma_indx_copybuf_init(dhd_pub_t *dhd, uint32 buf_sz,
97 extern uint32 dhd_prot_read_seqnum(dhd_pub_t *dhd, bool host);
98 extern void dhd_prot_write_host_seqnum(dhd_pub_t *dhd, uint32 seq_num);
99 extern void dhd_prot_save_dmaidx(dhd_pub_t *dhd);
110 extern int dhd_prot_init(dhd_pub_t *dhd);
129 extern int dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len);
132 extern int dhd_prot_ctl_complete(dhd_pub_t *dhd);
149 extern int dhd_preinit_ioctls(dhd_pub_t *dhd);
151 extern int dhd_process_pkt_reorder_info(dhd_pub_t *dhd, uchar *reorder_info_buf,
155 extern bool dhd_prot_process_msgbuf_txcpl(dhd_pub_t *dhd, uint bound, int ringtype);
[all …]
H A Ddhd_linux.c381 static int dhd_suspend_resume_helper(struct dhd_info *dhd, int val, int force);
387 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen)
389 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen + 128)
394 extern void dhd_wlfc_plat_init(void *dhd);
395 extern void dhd_wlfc_plat_deinit(void *dhd);
399 extern int dhdsdio_func_blocksize(dhd_pub_t *dhd, int function_num, int block_size);
464 static void dhd_log_dump_init(dhd_pub_t *dhd);
465 static void dhd_log_dump_deinit(dhd_pub_t *dhd);
640 static void dhd_bridge_dev_set(dhd_info_t *dhd, int ifidx, struct net_device *sdev);
771 int dhdpcie_sssr_dump_get_before_after_len(dhd_pub_t *dhd, uint32 *arr_len);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_linux_lb.c45 dhd_lb_set_default_cpus(dhd_info_t *dhd) in dhd_lb_set_default_cpus() argument
48 atomic_set(&dhd->rx_napi_cpu, 1); in dhd_lb_set_default_cpus()
49 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
50 atomic_set(&dhd->net_tx_cpu, 0); in dhd_lb_set_default_cpus()
51 atomic_set(&dhd->dpc_cpu, 0); in dhd_lb_set_default_cpus()
55 dhd_cpumasks_deinit(dhd_info_t *dhd) in dhd_cpumasks_deinit() argument
57 free_cpumask_var(dhd->cpumask_curr_avail); in dhd_cpumasks_deinit()
58 free_cpumask_var(dhd->cpumask_primary); in dhd_cpumasks_deinit()
59 free_cpumask_var(dhd->cpumask_primary_new); in dhd_cpumasks_deinit()
60 free_cpumask_var(dhd->cpumask_secondary); in dhd_cpumasks_deinit()
[all …]
H A Ddhd_msgbuf.c256 typedef uint8 (* d2h_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
267 typedef int (* d2h_edl_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
542 static void dhd_msgbuf_send_msg_tx_ts(dhd_pub_t *dhd, void *pkt,
544 static void dhd_msgbuf_send_msg_rx_ts(dhd_pub_t *dhd, void *pkt,
586 void *dhd; member
778 int dhd_ring_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file,
782 int dhd_edl_ring_hdr_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file, const void *user_buf,
792 static int dhd_dma_buf_audit(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
793 static void dhd_dma_buf_reset(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
796 static int dhd_prot_allocate_bufs(dhd_pub_t *dhd, dhd_prot_t *prot);
[all …]
H A Ddhd_linux_sock_qos.c157 dhd_init_sock_flows_buf(dhd_info_t *dhd, uint watchdog_ms) in dhd_init_sock_flows_buf() argument
164 if (dhd == NULL) in dhd_init_sock_flows_buf()
167 dhd->psk_qos = MALLOCZ(dhd->pub.osh, sizeof(dhd_sock_qos_info_t)); in dhd_init_sock_flows_buf()
168 if (dhd->psk_qos == NULL) { in dhd_init_sock_flows_buf()
172 dhd->psk_qos->max_sock_fl = MAX_SOCK_FLOW; in dhd_init_sock_flows_buf()
174 dhd->psk_qos->sk_fl = MALLOCZ(dhd->pub.osh, sz); in dhd_init_sock_flows_buf()
175 if (dhd->psk_qos->sk_fl == NULL) { in dhd_init_sock_flows_buf()
180 sk_fl = dhd->psk_qos->sk_fl; in dhd_init_sock_flows_buf()
185 dhd->psk_qos->sock_idle_thresh = SOCK_IDLE_THRESHOLD_MS; in dhd_init_sock_flows_buf()
187 dhd->psk_qos->skfl_upgrade_thresh = SOCK_FLOW_UPGRADE_THRESHOLD; in dhd_init_sock_flows_buf()
[all …]
H A Ddhd_proto.h95 extern int dhd_prot_dma_indx_copybuf_init(dhd_pub_t *dhd, uint32 buf_sz,
97 extern uint32 dhd_prot_read_seqnum(dhd_pub_t *dhd, bool host);
98 extern void dhd_prot_write_host_seqnum(dhd_pub_t *dhd, uint32 seq_num);
99 extern void dhd_prot_save_dmaidx(dhd_pub_t *dhd);
110 extern int dhd_prot_init(dhd_pub_t *dhd);
125 extern int dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len);
128 extern int dhd_prot_ctl_complete(dhd_pub_t *dhd);
145 extern int dhd_preinit_ioctls(dhd_pub_t *dhd);
147 extern int dhd_process_pkt_reorder_info(dhd_pub_t *dhd, uchar *reorder_info_buf,
151 extern bool dhd_prot_process_msgbuf_txcpl(dhd_pub_t *dhd, uint bound, int ringtype);
[all …]
H A Ddhd_linux.c380 static int dhd_suspend_resume_helper(struct dhd_info *dhd, int val, int force);
386 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen)
388 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen + 128)
393 extern void dhd_wlfc_plat_init(void *dhd);
394 extern void dhd_wlfc_plat_deinit(void *dhd);
398 extern int dhdsdio_func_blocksize(dhd_pub_t *dhd, int function_num, int block_size);
463 static void dhd_log_dump_init(dhd_pub_t *dhd);
464 static void dhd_log_dump_deinit(dhd_pub_t *dhd);
639 static void dhd_bridge_dev_set(dhd_info_t *dhd, int ifidx, struct net_device *sdev);
770 int dhdpcie_sssr_dump_get_before_after_len(dhd_pub_t *dhd, uint32 *arr_len);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_linux_lb.c40 dhd_lb_set_default_cpus(dhd_info_t *dhd) in dhd_lb_set_default_cpus() argument
43 atomic_set(&dhd->rx_napi_cpu, 1); in dhd_lb_set_default_cpus()
44 atomic_set(&dhd->rx_compl_cpu, 2); in dhd_lb_set_default_cpus()
45 atomic_set(&dhd->tx_compl_cpu, 2); in dhd_lb_set_default_cpus()
46 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
47 atomic_set(&dhd->net_tx_cpu, 0); in dhd_lb_set_default_cpus()
51 dhd_cpumasks_deinit(dhd_info_t *dhd) in dhd_cpumasks_deinit() argument
53 free_cpumask_var(dhd->cpumask_curr_avail); in dhd_cpumasks_deinit()
54 free_cpumask_var(dhd->cpumask_primary); in dhd_cpumasks_deinit()
55 free_cpumask_var(dhd->cpumask_primary_new); in dhd_cpumasks_deinit()
[all …]
H A Ddhd_msgbuf.c198 typedef uint8 (* d2h_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
209 typedef int (* d2h_edl_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
582 int dhd_ring_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file,
586 int dhd_edl_ring_hdr_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file, const void *user_buf,
597 static int dhd_dma_buf_audit(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
598 static void dhd_dma_buf_reset(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
601 static int dhd_prot_ring_attach(dhd_pub_t *dhd, msgbuf_ring_t *ring,
603 static void dhd_prot_ring_init(dhd_pub_t *dhd, msgbuf_ring_t *ring);
604 static void dhd_prot_ring_reset(dhd_pub_t *dhd, msgbuf_ring_t *ring);
605 static void dhd_prot_ring_detach(dhd_pub_t *dhd, msgbuf_ring_t *ring);
[all …]
H A Ddhd_proto.h100 extern int dhd_prot_init(dhd_pub_t *dhd);
115 extern int dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len);
118 extern int dhd_prot_ctl_complete(dhd_pub_t *dhd);
135 extern int dhd_preinit_ioctls(dhd_pub_t *dhd);
137 extern int dhd_process_pkt_reorder_info(dhd_pub_t *dhd, uchar *reorder_info_buf,
141 extern bool dhd_prot_process_msgbuf_txcpl(dhd_pub_t *dhd, uint bound, int ringtype);
142 extern bool dhd_prot_process_msgbuf_rxcpl(dhd_pub_t *dhd, uint bound, int ringtype);
143 extern bool dhd_prot_process_msgbuf_infocpl(dhd_pub_t *dhd, uint bound);
144 extern int dhd_prot_process_ctrlbuf(dhd_pub_t * dhd);
145 extern int dhd_prot_process_trapbuf(dhd_pub_t * dhd);
[all …]
H A Ddhd_linux.c272 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen)
274 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen + 128)
279 extern void dhd_wlfc_plat_init(void *dhd);
280 extern void dhd_wlfc_plat_deinit(void *dhd);
284 extern int dhdsdio_func_blocksize(dhd_pub_t *dhd, int function_num, int block_size);
355 static void dhd_log_dump_init(dhd_pub_t *dhd);
356 static void dhd_log_dump_deinit(dhd_pub_t *dhd);
621 int dhdpcie_sssr_dump_get_before_after_len(dhd_pub_t *dhd, uint32 *arr_len);
729 static int dhd_get_pend_8021x_cnt(dhd_info_t *dhd);
743 static struct list_head * dhd_sta_list_snapshot(dhd_info_t *dhd, dhd_if_t *ifp,
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_linux_lb.c40 dhd_lb_set_default_cpus(dhd_info_t *dhd) in dhd_lb_set_default_cpus() argument
43 atomic_set(&dhd->rx_napi_cpu, 1); in dhd_lb_set_default_cpus()
44 atomic_set(&dhd->rx_compl_cpu, 2); in dhd_lb_set_default_cpus()
45 atomic_set(&dhd->tx_compl_cpu, 2); in dhd_lb_set_default_cpus()
46 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
47 atomic_set(&dhd->net_tx_cpu, 0); in dhd_lb_set_default_cpus()
51 dhd_cpumasks_deinit(dhd_info_t *dhd) in dhd_cpumasks_deinit() argument
53 free_cpumask_var(dhd->cpumask_curr_avail); in dhd_cpumasks_deinit()
54 free_cpumask_var(dhd->cpumask_primary); in dhd_cpumasks_deinit()
55 free_cpumask_var(dhd->cpumask_primary_new); in dhd_cpumasks_deinit()
[all …]
H A Ddhd_msgbuf.c198 typedef uint8 (* d2h_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
209 typedef int (* d2h_edl_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
582 int dhd_ring_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file,
586 int dhd_edl_ring_hdr_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file, const void *user_buf,
597 static int dhd_dma_buf_audit(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
598 static void dhd_dma_buf_reset(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
601 static int dhd_prot_ring_attach(dhd_pub_t *dhd, msgbuf_ring_t *ring,
603 static void dhd_prot_ring_init(dhd_pub_t *dhd, msgbuf_ring_t *ring);
604 static void dhd_prot_ring_reset(dhd_pub_t *dhd, msgbuf_ring_t *ring);
605 static void dhd_prot_ring_detach(dhd_pub_t *dhd, msgbuf_ring_t *ring);
[all …]
H A Ddhd_proto.h100 extern int dhd_prot_init(dhd_pub_t *dhd);
115 extern int dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len);
118 extern int dhd_prot_ctl_complete(dhd_pub_t *dhd);
135 extern int dhd_preinit_ioctls(dhd_pub_t *dhd);
137 extern int dhd_process_pkt_reorder_info(dhd_pub_t *dhd, uchar *reorder_info_buf,
141 extern bool dhd_prot_process_msgbuf_txcpl(dhd_pub_t *dhd, uint bound, int ringtype);
142 extern bool dhd_prot_process_msgbuf_rxcpl(dhd_pub_t *dhd, uint bound, int ringtype);
143 extern bool dhd_prot_process_msgbuf_infocpl(dhd_pub_t *dhd, uint bound);
144 extern int dhd_prot_process_ctrlbuf(dhd_pub_t * dhd);
145 extern int dhd_prot_process_trapbuf(dhd_pub_t * dhd);
[all …]
H A Ddhd_linux.c272 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen)
274 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen + 128)
279 extern void dhd_wlfc_plat_init(void *dhd);
280 extern void dhd_wlfc_plat_deinit(void *dhd);
284 extern int dhdsdio_func_blocksize(dhd_pub_t *dhd, int function_num, int block_size);
355 static void dhd_log_dump_init(dhd_pub_t *dhd);
356 static void dhd_log_dump_deinit(dhd_pub_t *dhd);
621 int dhdpcie_sssr_dump_get_before_after_len(dhd_pub_t *dhd, uint32 *arr_len);
729 static int dhd_get_pend_8021x_cnt(dhd_info_t *dhd);
743 static struct list_head * dhd_sta_list_snapshot(dhd_info_t *dhd, dhd_if_t *ifp,
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_linux_lb.c40 dhd_lb_set_default_cpus(dhd_info_t *dhd) in dhd_lb_set_default_cpus() argument
43 atomic_set(&dhd->rx_napi_cpu, 1); in dhd_lb_set_default_cpus()
44 atomic_set(&dhd->rx_compl_cpu, 2); in dhd_lb_set_default_cpus()
45 atomic_set(&dhd->tx_compl_cpu, 2); in dhd_lb_set_default_cpus()
46 atomic_set(&dhd->tx_cpu, 2); in dhd_lb_set_default_cpus()
47 atomic_set(&dhd->net_tx_cpu, 0); in dhd_lb_set_default_cpus()
51 dhd_cpumasks_deinit(dhd_info_t *dhd) in dhd_cpumasks_deinit() argument
53 free_cpumask_var(dhd->cpumask_curr_avail); in dhd_cpumasks_deinit()
54 free_cpumask_var(dhd->cpumask_primary); in dhd_cpumasks_deinit()
55 free_cpumask_var(dhd->cpumask_primary_new); in dhd_cpumasks_deinit()
[all …]
H A Ddhd_msgbuf.c198 typedef uint8 (* d2h_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
209 typedef int (* d2h_edl_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
582 int dhd_ring_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file,
586 int dhd_edl_ring_hdr_write(dhd_pub_t *dhd, msgbuf_ring_t *ring, void *file, const void *user_buf,
597 static int dhd_dma_buf_audit(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
598 static void dhd_dma_buf_reset(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
601 static int dhd_prot_ring_attach(dhd_pub_t *dhd, msgbuf_ring_t *ring,
603 static void dhd_prot_ring_init(dhd_pub_t *dhd, msgbuf_ring_t *ring);
604 static void dhd_prot_ring_reset(dhd_pub_t *dhd, msgbuf_ring_t *ring);
605 static void dhd_prot_ring_detach(dhd_pub_t *dhd, msgbuf_ring_t *ring);
[all …]
H A Ddhd_proto.h100 extern int dhd_prot_init(dhd_pub_t *dhd);
115 extern int dhd_prot_ioctl(dhd_pub_t *dhd, int ifidx, wl_ioctl_t * ioc, void * buf, int len);
118 extern int dhd_prot_ctl_complete(dhd_pub_t *dhd);
135 extern int dhd_preinit_ioctls(dhd_pub_t *dhd);
137 extern int dhd_process_pkt_reorder_info(dhd_pub_t *dhd, uchar *reorder_info_buf,
141 extern bool dhd_prot_process_msgbuf_txcpl(dhd_pub_t *dhd, uint bound, int ringtype);
142 extern bool dhd_prot_process_msgbuf_rxcpl(dhd_pub_t *dhd, uint bound, int ringtype);
143 extern bool dhd_prot_process_msgbuf_infocpl(dhd_pub_t *dhd, uint bound);
144 extern int dhd_prot_process_ctrlbuf(dhd_pub_t * dhd);
145 extern int dhd_prot_process_trapbuf(dhd_pub_t * dhd);
[all …]
H A Ddhd_linux.c271 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen)
273 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen + 128)
278 extern void dhd_wlfc_plat_init(void *dhd);
279 extern void dhd_wlfc_plat_deinit(void *dhd);
283 extern int dhdsdio_func_blocksize(dhd_pub_t *dhd, int function_num, int block_size);
354 static void dhd_log_dump_init(dhd_pub_t *dhd);
355 static void dhd_log_dump_deinit(dhd_pub_t *dhd);
631 int dhdpcie_sssr_dump_get_before_after_len(dhd_pub_t *dhd, uint32 *arr_len);
745 static int dhd_get_pend_8021x_cnt(dhd_info_t *dhd);
759 static struct list_head * dhd_sta_list_snapshot(dhd_info_t *dhd, dhd_if_t *ifp,
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_msgbuf.c179 typedef uint8 (* d2h_sync_cb_t)(dhd_pub_t *dhd, struct msgbuf_ring *ring,
470 static int dhd_dma_buf_audit(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
471 static int dhd_dma_buf_alloc(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf, uint32 buf_len);
472 static void dhd_dma_buf_reset(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
473 static void dhd_dma_buf_free(dhd_pub_t *dhd, dhd_dma_buf_t *dma_buf);
476 static int dhd_prot_ring_attach(dhd_pub_t *dhd, msgbuf_ring_t *ring,
478 static void dhd_prot_ring_init(dhd_pub_t *dhd, msgbuf_ring_t *ring);
479 static void dhd_prot_ring_reset(dhd_pub_t *dhd, msgbuf_ring_t *ring);
480 static void dhd_prot_ring_detach(dhd_pub_t *dhd, msgbuf_ring_t *ring);
481 static void dhd_prot_process_fw_timestamp(dhd_pub_t *dhd, void* buf);
[all …]
H A Ddhd_linux.c268 extern void dhd_dump_eapol_4way_message(dhd_pub_t *dhd, int ifidx,
358 static int dhd_suspend_resume_helper(struct dhd_info *dhd, int val, int force);
374 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen)
376 #define DBUS_RX_BUFFER_SIZE_DHD(net) (net->mtu + net->hard_header_len + dhd->pub.hdrlen + 128)
382 extern void dhd_wlfc_plat_init(void *dhd);
383 extern void dhd_wlfc_plat_deinit(void *dhd);
387 extern int dhdsdio_func_blocksize(dhd_pub_t *dhd, int function_num, int block_size);
423 extern int dhd_get_suspend_bcn_li_dtim(dhd_pub_t *dhd, int *dtim_period, int *bcn_interval);
425 extern int dhd_get_suspend_bcn_li_dtim(dhd_pub_t *dhd);
429 extern void dhd_pktfilter_offload_set(dhd_pub_t * dhd, char *arg);
[all …]
H A Ddhd_cdc.c82 dhdcdc_msg(dhd_pub_t *dhd) in dhdcdc_msg() argument
88 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg()
93 DHD_OS_WAKE_LOCK(dhd); in dhdcdc_msg()
104 DHD_OS_IOCTL_RESP_LOCK(dhd); in dhdcdc_msg()
106 err = dbus_send_ctl(dhd->bus, (void *)&prot->msg, len); in dhdcdc_msg()
109 DHD_OS_IOCTL_RESP_UNLOCK(dhd); in dhdcdc_msg()
110 DHD_OS_WAKE_UNLOCK(dhd); in dhdcdc_msg()
114 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg()
118 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg()
125 DHD_OS_IOCTL_RESP_UNLOCK(dhd); in dhdcdc_msg()
[all …]

12345678910>>...12