Lines Matching refs:dhd_pub_t
450 (dhd ? ((((dhd_pub_t *)dhd)->op_mode) & opmode_flag) : -1)
452 (dhd ? (((((dhd_pub_t *)dhd)->op_mode) & DHD_FLAG_CONCURR_STA_HOSTAP_MODE) == \
1957 } dhd_pub_t; typedef
1960 int dhd_wifi_platform_set_power(dhd_pub_t *pub, bool on);
1962 static INLINE int dhd_wifi_platform_set_power(dhd_pub_t *pub, bool on) { return 0; } in dhd_wifi_platform_set_power()
2050 dhd_pub_t *dhd_pub;
2120 int dhd_pno_clean(dhd_pub_t *dhd);
2128 extern int dhd_os_wake_lock(dhd_pub_t *pub);
2129 extern int dhd_os_wake_unlock(dhd_pub_t *pub);
2130 extern int dhd_os_wake_lock_waive(dhd_pub_t *pub);
2131 extern int dhd_os_wake_lock_restore(dhd_pub_t *pub);
2132 extern void dhd_event_wake_lock(dhd_pub_t *pub);
2133 extern void dhd_event_wake_unlock(dhd_pub_t *pub);
2134 extern void dhd_pm_wake_lock_timeout(dhd_pub_t *pub, int val);
2135 extern void dhd_pm_wake_unlock(dhd_pub_t *pub);
2136 extern void dhd_txfl_wake_lock_timeout(dhd_pub_t *pub, int val);
2137 extern void dhd_txfl_wake_unlock(dhd_pub_t *pub);
2138 extern void dhd_nan_wake_lock_timeout(dhd_pub_t *pub, int val);
2139 extern void dhd_nan_wake_unlock(dhd_pub_t *pub);
2140 extern int dhd_os_wake_lock_timeout(dhd_pub_t *pub);
2141 extern int dhd_os_wake_lock_rx_timeout_enable(dhd_pub_t *pub, int val);
2142 extern int dhd_os_wake_lock_ctrl_timeout_enable(dhd_pub_t *pub, int val);
2143 extern int dhd_os_wake_lock_ctrl_timeout_cancel(dhd_pub_t *pub);
2144 extern int dhd_os_wd_wake_lock(dhd_pub_t *pub);
2145 extern int dhd_os_wd_wake_unlock(dhd_pub_t *pub);
2149 extern void dhd_os_scan_wake_lock_timeout(dhd_pub_t *pub, int val);
2150 extern void dhd_os_scan_wake_unlock(dhd_pub_t *pub);
2154 extern int dhd_get_1905_almac(dhd_pub_t *dhdp, uint8 ifidx, uint8* ea, bool mcast);
2155 extern int dhd_set_1905_almac(dhd_pub_t *dhdp, uint8 ifidx, uint8* ea, bool mcast);
2158 inline static void MUTEX_LOCK_SOFTAP_SET_INIT(dhd_pub_t * dhdp) in MUTEX_LOCK_SOFTAP_SET_INIT()
2165 inline static void MUTEX_LOCK_SOFTAP_SET(dhd_pub_t * dhdp) in MUTEX_LOCK_SOFTAP_SET()
2172 inline static void MUTEX_UNLOCK_SOFTAP_SET(dhd_pub_t * dhdp) in MUTEX_UNLOCK_SOFTAP_SET()
2362 extern void dhd_os_oob_irq_wake_lock_timeout(dhd_pub_t *pub, int val);
2363 extern void dhd_os_oob_irq_wake_unlock(dhd_pub_t *pub);
2492 extern dhd_pub_t *dhd_attach(osl_t *osh, struct dhd_bus *bus, uint bus_hdrlen
2497 extern int dhd_attach_net(dhd_pub_t *dhdp, bool need_rtnl_lock);
2500 extern int dhd_attach_p2p(dhd_pub_t *);
2501 extern int dhd_detach_p2p(dhd_pub_t *);
2503 extern int dhd_register_if(dhd_pub_t *dhdp, int idx, bool need_rtnl_lock);
2506 extern void dhd_detach(dhd_pub_t *dhdp);
2507 extern void dhd_free(dhd_pub_t *dhdp);
2508 extern void dhd_clear(dhd_pub_t *dhdp);
2511 extern void dhd_txflowcontrol(dhd_pub_t *dhdp, int ifidx, bool on);
2518 extern bool dhd_prec_enq(dhd_pub_t *dhdp, struct pktq *q, void *pkt, int prec);
2520 extern void dhd_rx_frame(dhd_pub_t *dhdp, int ifidx, void *rxp, int numpkt, uint8 chan);
2523 extern char *dhd_ifname(dhd_pub_t *dhdp, int idx);
2527 extern char *dhd_get_ucode_path(dhd_pub_t *dhdp);
2531 extern void dhd_sched_dpc(dhd_pub_t *dhdp);
2534 extern void dhd_txcomplete(dhd_pub_t *dhdp, void *txp, bool success);
2536 extern void dhd_eap_txcomplete(dhd_pub_t *dhdp, void *txp, bool success, int ifidx);
2537 extern void dhd_cleanup_m4_state_work(dhd_pub_t *dhdp, int ifidx);
2541 extern void dhd_bus_wakeup_work(dhd_pub_t *dhdp);
2582 extern int dhd_update_rand_mac_addr(dhd_pub_t *dhd);
2595 extern int dhd_set_rand_mac_oui(dhd_pub_t *dhd);
2611 extern void dhd_os_dhdiovar_lock(dhd_pub_t *pub);
2612 extern void dhd_os_dhdiovar_unlock(dhd_pub_t *pub);
2613 void dhd_os_logdump_lock(dhd_pub_t *pub);
2614 void dhd_os_logdump_unlock(dhd_pub_t *pub);
2615 extern int dhd_os_proto_block(dhd_pub_t * pub);
2616 extern int dhd_os_proto_unblock(dhd_pub_t * pub);
2617 extern int dhd_os_ioctl_resp_wait(dhd_pub_t * pub, uint * condition);
2618 extern int dhd_os_ioctl_resp_wake(dhd_pub_t * pub);
2621 extern void dhd_os_ioctl_resp_lock(dhd_pub_t * pub);
2622 extern void dhd_os_ioctl_resp_unlock(dhd_pub_t * pub);
2624 extern void dhd_wakeup_ioctl_event(dhd_pub_t *pub, dhd_ioctl_recieved_status_t reason);
2626 static INLINE void dhd_wakeup_ioctl_event(dhd_pub_t *pub, dhd_ioctl_recieved_status_t reason) in dhd_wakeup_ioctl_event()
2640 int dhd_msix_message_set(dhd_pub_t *dhdp, uint table_entry,
2651 void dhd_intr_poll_pkt_thresholds(dhd_pub_t *dhd);
2656 dhd_pcie_dump_core_regs(dhd_pub_t * pub, uint32 index, uint32 first_addr, uint32 last_addr);
2667 extern void dhd_os_wakeind(dhd_pub_t * pub, uint32 *val);
2676 extern int dhd_os_gets_image(dhd_pub_t *pub, char *str, int len, void *image);
2677 extern void dhdsdio_bus_usr_cnt_inc(dhd_pub_t *pub);
2678 extern void dhdsdio_bus_usr_cnt_dec(dhd_pub_t *pub);
2680 extern void *dhd_os_open_image1(dhd_pub_t *pub, char *filename); /* rev1 function signature */
2681 extern void dhd_os_close_image1(dhd_pub_t *pub, void *image);
2686 extern void dhd_os_sdlock(dhd_pub_t * pub);
2687 extern void dhd_os_sdunlock(dhd_pub_t * pub);
2688 extern void dhd_os_sdlock_txq(dhd_pub_t * pub);
2689 extern void dhd_os_sdunlock_txq(dhd_pub_t * pub);
2690 extern unsigned long dhd_os_sdlock_txoff(dhd_pub_t * pub);
2691 extern void dhd_os_sdunlock_txoff(dhd_pub_t * pub, unsigned long flags);
2692 extern void dhd_os_sdlock_rxq(dhd_pub_t * pub);
2693 extern void dhd_os_sdunlock_rxq(dhd_pub_t * pub);
2694 extern void dhd_os_sdlock_sndup_rxq(dhd_pub_t * pub);
2697 extern unsigned long dhd_os_tcpacklock(dhd_pub_t *pub);
2698 extern void dhd_os_tcpackunlock(dhd_pub_t *pub, unsigned long flags);
2710 extern void dhd_os_sdunlock_sndup_rxq(dhd_pub_t * pub);
2711 extern void dhd_os_sdlock_eventq(dhd_pub_t * pub);
2712 extern void dhd_os_sdunlock_eventq(dhd_pub_t * pub);
2713 extern bool dhd_os_check_hang(dhd_pub_t *dhdp, int ifidx, int ret);
2714 extern int dhd_os_send_hang_message(dhd_pub_t *dhdp);
2715 extern void dhd_set_version_info(dhd_pub_t *pub, char *fw);
2716 extern bool dhd_os_check_if_up(dhd_pub_t *pub);
2717 extern int dhd_os_check_wakelock(dhd_pub_t *pub);
2718 extern int dhd_os_check_wakelock_all(dhd_pub_t *pub);
2719 extern int dhd_get_instance(dhd_pub_t *pub);
2721 extern void dhd_set_cpucore(dhd_pub_t *dhd, int set);
2725 extern int dhd_keep_alive_onoff(dhd_pub_t *dhd);
2729 void dhd_schedule_memdump(dhd_pub_t *dhdp, uint8 *buf, uint32 size);
2736 void dhd_write_sssr_dump(dhd_pub_t *dhdp, uint32 dump_mode);
2739 void dhd_schedule_axi_error_dump(dhd_pub_t *dhdp, void *type);
2742 void dhd_schedule_cto_recovery(dhd_pub_t *dhdp);
2746 static INLINE void dhd_write_sssr_dump(dhd_pub_t *dhd, uint32 dump_mode) { return; } in dhd_write_sssr_dump()
2749 static INLINE void dhd_schedule_axi_error_dump(dhd_pub_t *dhdp, void *type) { return; } in dhd_schedule_axi_error_dump()
2760 void dhd_schedule_edl_work(dhd_pub_t *dhdp, uint delay_ms);
2762 static INLINE void dhd_schedule_edl_work(dhd_pub_t *dhd, uint delay_ms) { return; } in dhd_schedule_edl_work()
2767 extern int dhd_set_ap_powersave(dhd_pub_t *dhdp, int ifidx, int enable);
2788 extern int dhd_os_enable_packet_filter(dhd_pub_t *dhdp, int val);
2789 extern void dhd_enable_packet_filter(int value, dhd_pub_t *dhd);
2790 extern int dhd_packet_filter_add_remove(dhd_pub_t *dhdp, int add_remove, int num);
2803 extern int dhd_get_suspend_bcn_li_dtim(dhd_pub_t *dhd, int *dtim_period, int *bcn_interval);
2805 extern int dhd_get_suspend_bcn_li_dtim(dhd_pub_t *dhd);
2808 extern bool dhd_support_sta_mode(dhd_pub_t *dhd);
2809 extern int write_to_file(dhd_pub_t *dhd, uint8 *buf, int size);
2886 extern int wl_host_event(dhd_pub_t *dhd_pub, int *idx, void *pktdata, uint pktlen,
2888 extern int wl_process_host_event(dhd_pub_t *dhd_pub, int *idx, void *pktdata, uint pktlen,
2892 extern int dhd_wl_ioctl(dhd_pub_t *dhd_pub, int ifindex, wl_ioctl_t *ioc, void *buf, int len);
2893 extern int dhd_wl_ioctl_cmd(dhd_pub_t *dhd_pub, int cmd, void *arg, int len, uint8 set,
2895 extern int dhd_wl_ioctl_get_intiovar(dhd_pub_t *dhd_pub, char *name, uint *pval,
2897 extern int dhd_wl_ioctl_set_intiovar(dhd_pub_t *dhd_pub, char *name, uint val,
2911 extern int dhd_op_if_update(dhd_pub_t *dhdpub, int ifidx);
2913 extern struct net_device* dhd_allocate_if(dhd_pub_t *dhdpub, int ifidx, const char *name,
2915 extern int dhd_remove_if(dhd_pub_t *dhdpub, int ifidx, bool need_rtnl_lock);
2917 extern s32 dhd_update_iflist_info(dhd_pub_t *dhdp, struct net_device *ndev, int ifidx,
2926 extern int dhd_natoe_ct_event(dhd_pub_t *dhd, char *data);
2930 extern int dhd_sendpkt(dhd_pub_t *dhdp, int ifidx, void *pkt);
2933 extern void dhd_sendup_event_common(dhd_pub_t *dhdp, wl_event_msg_t *event, void *data);
2935 extern void dhd_sendup_event(dhd_pub_t *dhdp, wl_event_msg_t *event, void *data);
2937 extern void dhd_sendup_log(dhd_pub_t *dhdp, void *data, int len);
2940 void dhd_sendup_info_buf(dhd_pub_t *dhdp, uint8 *msg);
2945 extern int dhd_bus_devreset(dhd_pub_t *dhdp, uint8 flag);
2946 extern uint dhd_bus_status(dhd_pub_t *dhdp);
2947 extern int dhd_bus_start(dhd_pub_t *dhdp);
2948 extern int dhd_bus_suspend(dhd_pub_t *dhdpub);
2949 extern int dhd_bus_resume(dhd_pub_t *dhdpub, int stage);
2950 extern int dhd_bus_membytes(dhd_pub_t *dhdp, bool set, uint32 address, uint8 *data, uint size);
2952 extern bool dhd_is_associated(dhd_pub_t *dhd, uint8 ifidx, int *retval);
2954 extern uint dhd_bus_chip_id(dhd_pub_t *dhdp);
2955 extern uint dhd_bus_chiprev_id(dhd_pub_t *dhdp);
2956 extern uint dhd_bus_chippkg_id(dhd_pub_t *dhdp);
2959 int dhd_bus_get_fw_mode(dhd_pub_t *dhdp);
2961 static INLINE int dhd_bus_get_fw_mode(dhd_pub_t *dhdp) { return 0; } in dhd_bus_get_fw_mode()
2965 extern int dhd_keep_alive_onoff(dhd_pub_t *dhd);
2983 extern int dhd_os_ds_enter_wait(dhd_pub_t * pub, uint * condition);
2984 extern int dhd_os_ds_enter_wake(dhd_pub_t * pub);
2986 static INLINE int dhd_os_ds_enter_wait(dhd_pub_t * pub, uint * condition) in dhd_os_ds_enter_wait()
2988 static INLINE int dhd_os_ds_enter_wake(dhd_pub_t * pub) in dhd_os_ds_enter_wake()
2994 extern int dhd_os_busbusy_wait_negation(dhd_pub_t * pub, uint * condition);
2995 extern int dhd_os_busbusy_wake(dhd_pub_t * pub);
2996 extern void dhd_os_tx_completion_wake(dhd_pub_t *dhd);
2997 extern int dhd_os_busbusy_wait_condition(dhd_pub_t *pub, uint *var, uint condition);
2998 extern int dhd_os_d3ack_wait(dhd_pub_t * pub, uint * condition);
2999 extern int dhd_os_d3ack_wake(dhd_pub_t * pub);
3000 extern int dhd_os_dmaxfer_wait(dhd_pub_t *pub, uint *condition);
3001 extern int dhd_os_dmaxfer_wake(dhd_pub_t *pub);
3002 int dhd_os_busbusy_wait_bitmask(dhd_pub_t *pub, uint *var,
3005 extern int dhd_os_ds_exit_wait(dhd_pub_t * pub, uint * condition);
3006 extern int dhd_os_ds_exit_wake(dhd_pub_t * pub);
3008 int dhd_os_tput_test_wait(dhd_pub_t *pub, uint *condition, uint timeout_ms);
3009 int dhd_os_tput_test_wake(dhd_pub_t * pub);
3011 static INLINE int dhd_os_tput_test_wait(dhd_pub_t *pub, uint *condition, in dhd_os_tput_test_wait()
3014 static INLINE int dhd_os_tput_test_wake(dhd_pub_t * pub) in dhd_os_tput_test_wake()
3016 static INLINE int dhd_os_d3ack_wait(dhd_pub_t * pub, uint * condition) in dhd_os_d3ack_wait()
3018 static INLINE int dhd_os_d3ack_wake(dhd_pub_t * pub) in dhd_os_d3ack_wake()
3021 static INLINE int dhd_os_ds_exit_wait(dhd_pub_t * pub, uint * condition) in dhd_os_ds_exit_wait()
3023 static INLINE int dhd_os_ds_exit_wake(dhd_pub_t * pub) in dhd_os_ds_exit_wake()
3026 static INLINE int dhd_os_busbusy_wait_negation(dhd_pub_t * pub, uint * condition) in dhd_os_busbusy_wait_negation()
3028 static INLINE int dhd_os_busbusy_wake(dhd_pub_t * pub) in dhd_os_busbusy_wake()
3030 static INLINE int dhd_os_busbusy_wait_condition(dhd_pub_t *pub, uint *var, uint condition) in dhd_os_busbusy_wait_condition()
3032 static INLINE int dhd_os_dmaxfer_wait(dhd_pub_t *pub, uint *condition) in dhd_os_dmaxfer_wait()
3034 static INLINE int dhd_os_dmaxfer_wake(dhd_pub_t *pub) in dhd_os_dmaxfer_wake()
3036 static INLINE int dhd_os_busbusy_wait_bitmask(dhd_pub_t *pub, uint *var, in dhd_os_busbusy_wait_bitmask()
3047 extern bool dhd_sta_associated(dhd_pub_t *dhdp, uint32 bssidx, uint8 *mac);
3052 extern int dhd_get_ap_isolate(dhd_pub_t *dhdp, uint32 idx);
3053 extern int dhd_set_ap_isolate(dhd_pub_t *dhdp, uint32 idx, int val);
3054 extern int dhd_bssidx2idx(dhd_pub_t *dhdp, uint32 bssidx);
3055 extern struct net_device *dhd_linux_get_primary_netdev(dhd_pub_t *dhdp);
3057 static INLINE bool dhd_sta_associated(dhd_pub_t *dhdp, uint32 bssidx, uint8 *mac) in dhd_sta_associated()
3063 static INLINE int dhd_get_ap_isolate(dhd_pub_t *dhdp, uint32 idx) { return 0; } in dhd_get_ap_isolate()
3064 static INLINE int dhd_set_ap_isolate(dhd_pub_t *dhdp, uint32 idx, int val) { return 0; } in dhd_set_ap_isolate()
3065 static INLINE int dhd_bssidx2idx(dhd_pub_t *dhdp, uint32 bssidx) { return 0; } in dhd_bssidx2idx()
3068 extern bool dhd_is_concurrent_mode(dhd_pub_t *dhd);
3069 int dhd_iovar(dhd_pub_t *pub, int ifidx, char *name, char *param_buf, uint param_len,
3071 extern int dhd_getiovar(dhd_pub_t *pub, int ifidx, char *name, char *cmd_buf,
3075 extern int dhd_get_mcast_regen_bss_enable(dhd_pub_t *dhdp, uint32 idx);
3076 extern int dhd_set_mcast_regen_bss_enable(dhd_pub_t *dhdp, uint32 idx, int val);
3096 extern void dhd_flush_rx_tx_wq(dhd_pub_t *dhdp);
3320 extern int dhd_roam_rssi_limit_get(dhd_pub_t *dhd, int *lmt2g, int *lmt5g);
3321 extern int dhd_roam_rssi_limit_set(dhd_pub_t *dhd, int lmt2g, int lmt5g);
3330 extern int dhd_roam_min_delta_get(dhd_pub_t *dhd, uint32 *dt2g, uint32 *dt5g);
3331 extern int dhd_roam_min_delta_set(dhd_pub_t *dhd, uint32 dt2g, uint32 dt5g);
3409 extern int dhd_process_cid_mac(dhd_pub_t *dhdp, bool prepost);
3416 extern int dhd_set_macaddr_from_file(dhd_pub_t *dhdp);
3418 static INLINE int dhd_set_macaddr_from_file(dhd_pub_t *dhdp) { return 0; } in dhd_set_macaddr_from_file()
3444 extern int dhd_check_module_cid(dhd_pub_t *dhdp);
3446 static INLINE int dhd_check_module_cid(dhd_pub_t *dhdp) { return 0; } in dhd_check_module_cid()
3452 extern int dhd_check_module_mac(dhd_pub_t *dhdp);
3454 static INLINE int dhd_check_module_mac(dhd_pub_t *dhdp) { return 0; } in dhd_check_module_mac()
3463 int dhd_read_cis(dhd_pub_t *dhdp);
3464 int dhd_read_otp_sw_rgn(dhd_pub_t *dhdp);
3465 void dhd_clear_cis(dhd_pub_t *dhdp);
3466 int dhd_alloc_cis(dhd_pub_t *dhdp);
3476 dhd_find_naming_info(dhd_pub_t *dhdp, char *module_type);
3477 extern naming_info_t * dhd_find_naming_info_by_chip_rev(dhd_pub_t *dhdp, bool *is_murata_fem);
3485 extern int concate_nvram_by_vid(dhd_pub_t *dhdp, char *nv_path, char *chipstr);
3491 static INLINE int dhd_read_cis(dhd_pub_t *dhdp) { return 0; } in dhd_read_cis()
3492 static INLINE int dhd_read_otp_sw_rgn(dhd_pub_t *dhdp) { return 0; } in dhd_read_otp_sw_rgn()
3493 static INLINE void dhd_clear_cis(dhd_pub_t *dhdp) { } in dhd_clear_cis()
3494 static INLINE int dhd_alloc_cis(dhd_pub_t *dhdp) { return 0; } in dhd_alloc_cis()
3498 static INLINE int dhd_process_cid_mac(dhd_pub_t *dhdp, bool prepost) { return 0; } in dhd_process_cid_mac()
3509 extern void dhd_wait_for_event(dhd_pub_t *dhd, bool *lockvar);
3510 extern void dhd_wait_event_wakeup(dhd_pub_t*dhd);
3520 void dhd_arp_offload_set(dhd_pub_t * dhd, int arp_mode);
3521 void dhd_arp_offload_enable(dhd_pub_t * dhd, int arp_enable);
3524 void dhd_aoe_hostip_clr(dhd_pub_t *dhd, int idx);
3525 void dhd_aoe_arp_clr(dhd_pub_t *dhd, int idx);
3526 int dhd_arp_get_arp_hostip_table(dhd_pub_t *dhd, void *buf, int buflen, int idx);
3527 void dhd_arp_offload_add_ip(dhd_pub_t *dhd, uint32 ipaddr, int idx);
3531 int dhd_tdls_set_mode(dhd_pub_t *dhd, bool wfd_mode);
3533 int dhd_tdls_update_peer_info(dhd_pub_t *dhdp, wl_event_msg_t *event);
3534 int dhd_tdls_event_handler(dhd_pub_t *dhd_pub, wl_event_msg_t *event);
3535 int dhd_free_tdls_peer_list(dhd_pub_t *dhd_pub);
3540 extern int dhd_ndo_enable(dhd_pub_t * dhd, int ndo_enable);
3541 int dhd_ndo_add_ip(dhd_pub_t *dhd, char* ipaddr, int idx);
3542 int dhd_ndo_remove_ip(dhd_pub_t *dhd, int idx);
3545 uint16 dhd_ndo_get_version(dhd_pub_t *dhdp);
3546 int dhd_ndo_add_ip_with_type(dhd_pub_t *dhdp, char *ipv6addr, uint8 type, int idx);
3547 int dhd_ndo_remove_ip_by_addr(dhd_pub_t *dhdp, char *ipv6addr, int idx);
3548 int dhd_ndo_remove_ip_by_type(dhd_pub_t *dhdp, uint8 type, int idx);
3549 int dhd_ndo_unsolicited_na_filter_enable(dhd_pub_t *dhdp, int enable);
3552 int dhd_ioctl_process(dhd_pub_t *pub, int ifidx, struct dhd_ioctl *ioc, void *data_buf);
3563 typedef int (*f_droppkt_t)(dhd_pub_t *dhdp, int prec, void* p, bool bPktInQ);
3564 extern bool dhd_prec_drop_pkts(dhd_pub_t *dhdp, struct pktq *pq, int prec, f_droppkt_t fn);
3567 int dhd_os_wlfc_block(dhd_pub_t *pub);
3568 int dhd_os_wlfc_unblock(dhd_pub_t *pub);
3574 int dhd_common_socram_dump(dhd_pub_t *dhdp);
3576 int dhd_dump(dhd_pub_t *dhdp, char *buf, int buflen);
3580 uint8* dhd_os_prealloc(dhd_pub_t *dhdpub, int section, uint size, bool kmalloc_if_fail);
3581 void dhd_os_prefree(dhd_pub_t *dhdpub, void *addr, uint size);
3607 extern int sec_get_param_wfa_cert(dhd_pub_t *dhd, int mode, uint* read_val);
3626 bool dhd_ctf_hotbrc_check(dhd_pub_t *dhdp, uint8 *eh, int ifidx);
3627 void dhd_ctf_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf);
3628 bool dhd_l2_filter_chainable(dhd_pub_t *dhdp, uint8 *eh, int ifidx);
3629 bool dhd_wet_chainable(dhd_pub_t *dhdap);
3630 bool dhd_rx_pkt_chainable(dhd_pub_t *dhdp, int ifidx);
3632 extern void dhd_schedule_trap_log_dump(dhd_pub_t *dhdp,
3635 extern void dhd_add_flowid(dhd_pub_t * dhdp, int ifidx,
3637 extern void dhd_del_flowid(dhd_pub_t * dhdp, int ifidx, uint16 flowid);
3641 bool dhd_wet_chainable(dhd_pub_t *dhdp);
3644 extern unsigned long dhd_os_general_spin_lock(dhd_pub_t *pub);
3645 extern void dhd_os_general_spin_unlock(dhd_pub_t *pub, unsigned long flags);
3769 extern void dhd_dump_to_kernelog(dhd_pub_t *dhdp);
3772 extern void dhd_print_tasklet_status(dhd_pub_t *dhd);
3774 extern bool dhd_check_cfg_in_progress(dhd_pub_t *dhdp);
3777 static INLINE void dhd_print_tasklet_status(dhd_pub_t *dhd) { } in dhd_print_tasklet_status()
3778 static INLINE bool dhd_check_cfg_in_progress(dhd_pub_t *dhdp) in dhd_check_cfg_in_progress()
3783 extern uint dhd_get_rxsz(dhd_pub_t *pub);
3784 extern void dhd_set_path(dhd_pub_t *pub);
3785 extern void dhd_bus_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf);
3786 extern void dhd_bus_clearcounts(dhd_pub_t *dhdp);
3790 extern int dhd_get_parp_status(dhd_pub_t *dhdp, uint32 idx);
3791 extern int dhd_set_parp_status(dhd_pub_t *dhdp, uint32 idx, int val);
3792 extern int dhd_get_dhcp_unicast_status(dhd_pub_t *dhdp, uint32 idx);
3793 extern int dhd_set_dhcp_unicast_status(dhd_pub_t *dhdp, uint32 idx, int val);
3794 extern int dhd_get_block_ping_status(dhd_pub_t *dhdp, uint32 idx);
3795 extern int dhd_set_block_ping_status(dhd_pub_t *dhdp, uint32 idx, int val);
3796 extern int dhd_get_grat_arp_status(dhd_pub_t *dhdp, uint32 idx);
3797 extern int dhd_set_grat_arp_status(dhd_pub_t *dhdp, uint32 idx, int val);
3798 extern int dhd_get_block_tdls_status(dhd_pub_t *dhdp, uint32 idx);
3799 extern int dhd_set_block_tdls_status(dhd_pub_t *dhdp, uint32 idx, int val);
3803 extern int dhd_set_qosmap_up_table(dhd_pub_t *dhdp, uint32 idx, bcm_tlv_t *qos_map_ie);
3807 dhd_pub_t *dhd_pub;
3812 dhd_pub_t *dhd_pub;
3820 extern void *dhd_pub_shim(dhd_pub_t *dhd_pub);
3822 void* dhd_get_fwdump_buf(dhd_pub_t *dhd_pub, uint32 length);
3855 int dhd_get_download_buffer(dhd_pub_t *dhd, char *file_path, download_type_t component,
3858 void dhd_free_download_buffer(dhd_pub_t *dhd, void *buffer, int length);
3860 int dhd_download_blob(dhd_pub_t *dhd, unsigned char *buf,
3863 int dhd_download_blob_cached(dhd_pub_t *dhd, char *file_path,
3866 int dhd_apply_default_txcap(dhd_pub_t *dhd, char *txcap_path);
3867 int dhd_apply_default_clm(dhd_pub_t *dhd, char *clm_path);
3875 int dhd_event_logtrace_infobuf_pkt_process(dhd_pub_t *dhdp, void *pktbuf,
3900 int dhd_bt_log_pkt_process(dhd_pub_t *dhdp, void *pktbuf);
3904 bool dhd_is_device_removed(dhd_pub_t *dhd);
3912 extern void dhd_get_memdump_info(dhd_pub_t *dhd);
3914 static INLINE void dhd_get_memdump_info(dhd_pub_t *dhd) in dhd_get_memdump_info()
3919 extern void dhd_get_assert_info(dhd_pub_t *dhd);
3921 static INLINE void dhd_get_assert_info(dhd_pub_t *dhd) { } in dhd_get_assert_info()
3931 extern void dmaxfer_free_prev_dmaaddr(dhd_pub_t *dhdp, dmaxref_mem_map_t *dmmap);
3932 void dhd_schedule_dmaxfer_free(dhd_pub_t *dhdp, dmaxref_mem_map_t *dmmap);
3938 extern void dhd_lb_stats_init(dhd_pub_t *dhd);
3939 extern void dhd_lb_stats_deinit(dhd_pub_t *dhd);
3940 extern void dhd_lb_stats_reset(dhd_pub_t *dhd);
3942 extern uint64 dhd_lb_mem_usage(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf);
3944 extern void dhd_lb_stats_dump(dhd_pub_t *dhdp, struct bcmstrbuf *strbuf);
3945 extern void dhd_lb_stats_update_napi_histo(dhd_pub_t *dhdp, uint32 count);
3946 extern void dhd_lb_stats_update_txc_histo(dhd_pub_t *dhdp, uint32 count);
3947 extern void dhd_lb_stats_update_rxc_histo(dhd_pub_t *dhdp, uint32 count);
3948 extern void dhd_lb_stats_txc_percpu_cnt_incr(dhd_pub_t *dhdp);
3949 extern void dhd_lb_stats_rxc_percpu_cnt_incr(dhd_pub_t *dhdp);
3975 extern void dhd_schedule_macdbg_dump(dhd_pub_t *dhdp);
3989 extern int dhd_sssr_mempool_init(dhd_pub_t *dhd);
3990 extern void dhd_sssr_mempool_deinit(dhd_pub_t *dhd);
3991 extern int dhd_sssr_dump_init(dhd_pub_t *dhd);
3992 extern void dhd_sssr_dump_deinit(dhd_pub_t *dhd);
3993 extern int dhdpcie_sssr_dump(dhd_pub_t *dhd);
3994 extern void dhd_sssr_print_filepath(dhd_pub_t *dhd, char *path);
3995 extern int dhd_sssr_reg_info_init(dhd_pub_t *dhd);
3996 extern void dhd_sssr_reg_info_deinit(dhd_pub_t *dhd);
3997 extern uint dhd_sssr_dig_buf_size(dhd_pub_t *dhdp);
3998 extern uint dhd_sssr_dig_buf_addr(dhd_pub_t *dhdp);
3999 extern uint dhd_sssr_mac_buf_size(dhd_pub_t *dhdp, uint8 core_idx);
4000 extern uint dhd_sssr_mac_xmtaddress(dhd_pub_t *dhdp, uint8 core_idx);
4001 extern uint dhd_sssr_mac_xmtdata(dhd_pub_t *dhdp, uint8 core_idx);
4021 extern int dhd_prot_debug_info_print(dhd_pub_t *dhd);
4022 extern bool dhd_bus_skip_clm(dhd_pub_t *dhdp);
4023 extern void dhd_pcie_dump_rc_conf_space_cap(dhd_pub_t *dhd);
4024 extern bool dhd_pcie_dump_int_regs(dhd_pub_t *dhd);
4027 static INLINE bool dhd_bus_skip_clm(dhd_pub_t *dhd_pub) in dhd_bus_skip_clm()
4032 void dhd_show_kirqstats(dhd_pub_t *dhd);
4034 static INLINE void dhd_show_kirqstats(dhd_pub_t *dhd) in dhd_show_kirqstats()
4043 fw_download_status_t dhd_fw_download_status(dhd_pub_t *dhd_pub);
4044 extern int dhd_start_join_timer(dhd_pub_t *pub);
4045 extern int dhd_stop_join_timer(dhd_pub_t *pub);
4046 extern int dhd_start_scan_timer(dhd_pub_t *pub, bool is_escan);
4047 extern int dhd_stop_scan_timer(dhd_pub_t *pub, bool is_escan, uint16 sync_id);
4048 extern int dhd_start_cmd_timer(dhd_pub_t *pub);
4049 extern int dhd_stop_cmd_timer(dhd_pub_t *pub);
4050 extern int dhd_start_bus_timer(dhd_pub_t *pub);
4051 extern int dhd_stop_bus_timer(dhd_pub_t *pub);
4052 extern uint16 dhd_get_request_id(dhd_pub_t *pub);
4053 extern int dhd_set_request_id(dhd_pub_t *pub, uint16 id, uint32 cmd);
4054 extern void dhd_clear_join_error(dhd_pub_t *pub, uint32 mask);
4055 extern void dhd_get_scan_to_val(dhd_pub_t *pub, uint32 *to_val);
4056 extern void dhd_set_scan_to_val(dhd_pub_t *pub, uint32 to_val);
4057 extern void dhd_get_join_to_val(dhd_pub_t *pub, uint32 *to_val);
4058 extern void dhd_set_join_to_val(dhd_pub_t *pub, uint32 to_val);
4059 extern void dhd_get_cmd_to_val(dhd_pub_t *pub, uint32 *to_val);
4060 extern void dhd_set_cmd_to_val(dhd_pub_t *pub, uint32 to_val);
4061 extern void dhd_get_bus_to_val(dhd_pub_t *pub, uint32 *to_val);
4062 extern void dhd_set_bus_to_val(dhd_pub_t *pub, uint32 to_val);
4063 extern int dhd_start_timesync_timer(dhd_pub_t *pub);
4064 extern int dhd_stop_timesync_timer(dhd_pub_t *pub);
4066 static INLINE fw_download_status_t dhd_fw_download_status(dhd_pub_t *dhd_pub) in dhd_fw_download_status()
4068 static INLINE int dhd_start_join_timer(dhd_pub_t *pub) { return 0; } in dhd_start_join_timer()
4069 static INLINE int dhd_stop_join_timer(dhd_pub_t *pub) { return 0; } in dhd_stop_join_timer()
4070 static INLINE int dhd_start_scan_timer(dhd_pub_t *pub, bool is_escan) { return 0; } in dhd_start_scan_timer()
4071 static INLINE int dhd_stop_scan_timer(dhd_pub_t *pub, bool is_escan, uint16 sync_id) { return 0; } in dhd_stop_scan_timer()
4072 static INLINE int dhd_start_cmd_timer(dhd_pub_t *pub) { return 0; } in dhd_start_cmd_timer()
4073 static INLINE int dhd_stop_cmd_timer(dhd_pub_t *pub) { return 0; } in dhd_stop_cmd_timer()
4074 static INLINE int dhd_start_bus_timer(dhd_pub_t *pub) { return 0; } in dhd_start_bus_timer()
4075 static INLINE int dhd_stop_bus_timer(dhd_pub_t *pub) { return 0; } in dhd_stop_bus_timer()
4076 static INLINE uint16 dhd_get_request_id(dhd_pub_t *pub) { return 0; } in dhd_get_request_id()
4077 static INLINE int dhd_set_request_id(dhd_pub_t *pub, uint16 id) { return 0; } in dhd_set_request_id()
4078 static INLINE void dhd_clear_join_error(dhd_pub_t *pub, uint32 mask) { return; } in dhd_clear_join_error()
4079 static INLINE void dhd_get_scan_to_val(dhd_pub_t *pub, uint32 *to_val) { return; } in dhd_get_scan_to_val()
4080 static INLINE void dhd_set_scan_to_val(dhd_pub_t *pub, uint32 to_val) { return; } in dhd_set_scan_to_val()
4081 static INLINE void dhd_get_join_to_val(dhd_pub_t *pub, uint32 *to_val) { return; } in dhd_get_join_to_val()
4082 static INLINE void dhd_set_join_to_val(dhd_pub_t *pub, uint32 to_val) { return; } in dhd_set_join_to_val()
4083 static INLINE void dhd_get_cmd_to_val(dhd_pub_t *pub, uint32 *to_val) { return; } in dhd_get_cmd_to_val()
4084 static INLINE void dhd_set_cmd_to_val(dhd_pub_t *pub, uint32 to_val) { return; } in dhd_set_cmd_to_val()
4085 static INLINE void dhd_get_bus_to_val(dhd_pub_t *pub, uint32 *to_val) { return; } in dhd_get_bus_to_val()
4086 static INLINE void dhd_set_bus_to_val(dhd_pub_t *pub, uint32 to_val) { return; } in dhd_set_bus_to_val()
4087 static INLINE int dhd_start_timesync_timer(dhd_pub_t *pub) { return 0; } in dhd_start_timesync_timer()
4088 static INLINE int dhd_stop_timesync_timer(dhd_pub_t *pub) { return 0; } in dhd_stop_timesync_timer()
4093 void dhd_pktid_error_handler(dhd_pub_t *dhdp);
4095 static INLINE void dhd_pktid_error_handler(dhd_pub_t *dhdp) { ASSERT(0); } in dhd_pktid_error_handler()
4101 extern void dhd_pktid_logging_dump(dhd_pub_t *dhdp);
4103 static INLINE void dhd_pktid_logging_dump(dhd_pub_t *dhdp) { } in dhd_pktid_logging_dump()
4117 extern bool dhd_runtimepm_state(dhd_pub_t *dhd);
4119 extern bool dhdpcie_runtime_bus_wake(dhd_pub_t *dhdp, bool wait, void *func_addr);
4120 extern void dhdpcie_block_runtime_pm(dhd_pub_t *dhdp);
4121 extern bool dhdpcie_is_resume_done(dhd_pub_t *dhdp);
4122 extern void dhd_runtime_pm_disable(dhd_pub_t *dhdp);
4123 extern void dhd_runtime_pm_enable(dhd_pub_t *dhdp);
4156 extern bool dhd_prot_is_cmpl_ring_empty(dhd_pub_t *dhd, void *prot_info);
4161 void dhd_wk_lock_stats_dump(dhd_pub_t *dhdp);
4165 extern bool dhd_query_bus_erros(dhd_pub_t *dhdp);
4166 void dhd_clear_bus_errors(dhd_pub_t *dhdp);
4176 extern void dhd_schedule_reset(dhd_pub_t *dhdp);
4178 static INLINE void dhd_schedule_reset(dhd_pub_t *dhdp) {;} in dhd_schedule_reset()
4181 extern void init_dhd_timeouts(dhd_pub_t *pub);
4182 extern void deinit_dhd_timeouts(dhd_pub_t *pub);
4192 void dhd_send_trap_to_fw_for_timeout(dhd_pub_t * pub, timeout_reasons_t reason);
4196 extern void dhd_bus_dw_deassert(dhd_pub_t *dhd);
4199 int dhd_tput_test(dhd_pub_t *dhd, tput_test_t *tput_data);
4200 void dhd_tput_test_rx(dhd_pub_t *dhd, void *pkt);
4202 int dhd_get_max_txbufs(dhd_pub_t *dhdp);
4204 static INLINE int dhd_get_max_txbufs(dhd_pub_t *dhdp) in dhd_get_max_txbufs()
4209 int dhd_read_from_file(dhd_pub_t *dhd);
4210 int dhd_parse_filter_ie(dhd_pub_t *dhd, uint8 *buf);
4211 int dhd_get_filter_ie_count(dhd_pub_t *dhd, uint8 *buf);
4212 int dhd_parse_oui(dhd_pub_t *dhd, uint8 *inbuf, uint8 *oui, int len);
4213 int dhd_check_valid_ie(dhd_pub_t *dhdp, uint8 *buf, int len);
4216 uint16 dhd_prot_get_ioctl_trans_id(dhd_pub_t *dhdp);
4226 extern void dhd_set_irq_cpucore(dhd_pub_t *dhdp, int affinity_cmd);
4232 extern void dhd_rx_bt_log(dhd_pub_t *dhdp, void *pkt);
4236 int dhd_dump_rnd_info(dhd_pub_t *dhd, uint8 *rnd_buf, uint32 rnd_len);
4237 int dhd_get_rnd_info(dhd_pub_t *dhd);
4241 wake_counts_t* dhd_get_wakecount(dhd_pub_t *dhdp);
4246 extern void dhd_set_blob_support(dhd_pub_t *dhdp, char *fw_path);
4249 int dhd_get_preserve_log_numbers(dhd_pub_t *dhd, uint32 *logset_mask);
4251 void dhd_schedule_log_dump(dhd_pub_t *dhdp, void *type);
4252 void dhd_log_dump_trigger(dhd_pub_t *dhdp, int subcmd);
4256 int dhd_log_dump_ring_to_file(dhd_pub_t *dhdp, void *ring_ptr, void *file,
4259 int dhd_dump_debug_ring(dhd_pub_t *dhdp, void *ring_ptr, const void *user_buf,
4261 int dhd_log_dump_cookie_to_file(dhd_pub_t *dhdp, void *fp,
4263 int dhd_log_dump_cookie(dhd_pub_t *dhdp, const void *user_buf);
4264 uint32 dhd_log_dump_cookie_len(dhd_pub_t *dhdp);
4265 int dhd_logdump_cookie_init(dhd_pub_t *dhdp, uint8 *buf, uint32 buf_size);
4266 void dhd_logdump_cookie_deinit(dhd_pub_t *dhdp);
4267 void dhd_logdump_cookie_save(dhd_pub_t *dhdp, char *cookie, char *type);
4268 int dhd_logdump_cookie_get(dhd_pub_t *dhdp, char *ret_cookie, uint32 buf_size);
4269 int dhd_logdump_cookie_count(dhd_pub_t *dhdp);
4270 int dhd_get_dld_log_dump(void *dev, dhd_pub_t *dhdp, const void *user_buf, void *fp,
4273 int dhd_print_ext_trap_data(void *dev, dhd_pub_t *dhdp, const void *user_buf,
4275 uint32 dhd_get_ext_trap_len(void *ndev, dhd_pub_t *dhdp);
4277 int dhd_print_dump_data(void *dev, dhd_pub_t *dhdp, const void *user_buf,
4279 int dhd_print_cookie_data(void *dev, dhd_pub_t *dhdp, const void *user_buf,
4281 int dhd_print_health_chk_data(void *dev, dhd_pub_t *dhdp, const void *user_buf,
4285 int dhd_print_flowring_data(void *dev, dhd_pub_t *dhdp, const void *user_buf,
4287 uint32 dhd_get_flowring_len(void *ndev, dhd_pub_t *dhdp);
4290 extern int dhd_print_status_log_data(void *dev, dhd_pub_t *dhdp,
4292 extern uint32 dhd_get_status_log_len(void *ndev, dhd_pub_t *dhdp);
4294 int dhd_print_ecntrs_data(void *dev, dhd_pub_t *dhdp, const void *user_buf,
4296 int dhd_print_rtt_data(void *dev, dhd_pub_t *dhdp, const void *user_buf,
4298 int dhd_get_debug_dump_file_name(void *dev, dhd_pub_t *dhdp,
4301 uint32 dhd_get_health_chk_len(void *ndev, dhd_pub_t *dhdp);
4302 uint32 dhd_get_dhd_dump_len(void *ndev, dhd_pub_t *dhdp);
4303 uint32 dhd_get_cookie_log_len(void *ndev, dhd_pub_t *dhdp);
4304 uint32 dhd_get_ecntrs_len(void *ndev, dhd_pub_t *dhdp);
4305 uint32 dhd_get_rtt_len(void *ndev, dhd_pub_t *dhdp);
4370 void *dhd_ring_init(dhd_pub_t *dhdp, uint8 *buf, uint32 buf_size, uint32 elem_size,
4372 void dhd_ring_deinit(dhd_pub_t *dhdp, void *_ring);
4418 void dhd_clear_awdl_stats(dhd_pub_t *dhd);
4421 extern void dhd_insert_random_mac_addr(dhd_pub_t *dhd, char *nvram_mem, uint *len);
4425 extern void dhd_pktfilter_offload_set(dhd_pub_t * dhd, char *arg);
4426 extern void dhd_pktfilter_offload_enable(dhd_pub_t * dhd, char *arg, int enable, int master_mode);
4427 extern void dhd_pktfilter_offload_delete(dhd_pub_t *dhd, int id);
4431 extern int dhd_d2h_h2d_ring_dump(dhd_pub_t *dhd, void *file, const void *user_buf,
4437 int dhd_event_logtrace_process_edl(dhd_pub_t *dhdp, uint8 *data,
4439 int dhd_edl_mem_init(dhd_pub_t *dhd);
4440 void dhd_edl_mem_deinit(dhd_pub_t *dhd);
4441 void dhd_prot_edl_ring_tcm_rd_update(dhd_pub_t *dhd);
4457 int dhd_get_pktts_enab(dhd_pub_t *dhdp);
4458 int dhd_set_pktts_enab(dhd_pub_t *dhdp, bool val);
4460 int dhd_get_pktts_flow(dhd_pub_t *dhdp, void *args, int len);
4461 int dhd_set_pktts_flow(dhd_pub_t *dhdp, void *params, int plen);
4462 pktts_flow_t *dhd_match_pktts_flow(dhd_pub_t *dhdp, uint32 checksum,
4467 void dhd_h2d_log_time_sync_deferred_wq_schedule(dhd_pub_t *dhdp);
4468 void dhd_h2d_log_time_sync(dhd_pub_t *dhdp);
4473 int dhd_print_fw_ver_from_file(dhd_pub_t *dhdp, char *fwpath);
4477 extern int dhd_ecounter_configure(dhd_pub_t *dhd, bool enable);
4478 extern int dhd_start_ecounters(dhd_pub_t *dhd);
4479 extern int dhd_stop_ecounters(dhd_pub_t *dhd);
4480 extern int dhd_start_event_ecounters(dhd_pub_t *dhd);
4481 extern int dhd_stop_event_ecounters(dhd_pub_t *dhd);
4500 extern void dhd_dump_file_manage_enqueue(dhd_pub_t *dhd, char *dump_path, char *fname);
4507 extern unsigned long dhd_os_hp2plock(dhd_pub_t *pub);
4508 extern void dhd_os_hp2punlock(dhd_pub_t *pub, unsigned long flags);
4512 extern void dhd_axi_error(dhd_pub_t *dhd);
4514 extern void dhd_axi_error_dispatch(dhd_pub_t *dhdp);
4541 extern void dhd_set_tid_based_on_uid(dhd_pub_t *dhdp, void *pkt);
4543 static INLINE void dhd_set_tid_based_on_uid(dhd_pub_t *dhdp, void *pkt) { return; } in dhd_set_tid_based_on_uid()
4548 extern int dhd_sroam_set_mon(dhd_pub_t *dhd, bool set);
4572 extern struct dhd_if * dhd_get_ifp(dhd_pub_t *dhdp, uint32 ifidx);
4573 uint8 dhd_d11_slices_num_get(dhd_pub_t *dhdp);
4575 extern void dhd_wl_sock_qos_set_status(dhd_pub_t *dhdp, unsigned long on_off);
4578 void *dhd_get_roam_evt(dhd_pub_t *dhdp);
4580 extern int dhd_control_he_enab(dhd_pub_t * dhd, uint8 he_enab);
4587 extern int dhd_sdtc_etb_mempool_init(dhd_pub_t *dhd);
4588 extern void dhd_sdtc_etb_mempool_deinit(dhd_pub_t *dhd);
4589 extern void dhd_sdtc_etb_init(dhd_pub_t *dhd);
4590 extern void dhd_sdtc_etb_deinit(dhd_pub_t *dhd);
4591 extern void dhd_sdtc_etb_dump(dhd_pub_t *dhd);
4595 int dhd_tx_profile_attach(dhd_pub_t *dhdp);
4596 int dhd_tx_profile_detach(dhd_pub_t *dhdp);
4599 uint32 dhd_lb_rxp_process_qlen(dhd_pub_t *dhdp);
4623 extern void dhd_schedule_delayed_dpc_on_dpc_cpu(dhd_pub_t *dhdp, ulong delay);
4624 extern void dhd_handle_pktdata(dhd_pub_t *dhdp, int ifidx, void *pkt, uint8 *pktdata,
4628 static INLINE void dhd_schedule_delayed_dpc_on_dpc_cpu(dhd_pub_t *dhdp, ulong delay) in dhd_schedule_delayed_dpc_on_dpc_cpu()
4630 static INLINE void dhd_handle_pktdata(dhd_pub_t *dhdp, int ifidx, void *pkt, uint8 *pktdata, in dhd_handle_pktdata()
4636 extern int dhd_check_shinfo_nrfrags(dhd_pub_t *dhdp, void *pktbuf, dmaaddr_t *pa, uint32 pktid);
4638 static INLINE int dhd_check_shinfo_nrfrags(dhd_pub_t *dhdp, void *pktbuf, dmaaddr_t *pa, in dhd_check_shinfo_nrfrags()
4646 int dhd_schedule_socram_dump(dhd_pub_t *dhdp);
4747 void dhd_set_monitor(dhd_pub_t *pub, int ifidx, int val);