Lines Matching refs:dhd_pub

820 void* dhd_get_fwdump_buf(dhd_pub_t *dhd_pub, uint32 length)  in dhd_get_fwdump_buf()  argument
822 if (!dhd_pub->soc_ram) { in dhd_get_fwdump_buf()
824 dhd_pub->soc_ram = (uint8*)DHD_OS_PREALLOC(dhd_pub, in dhd_get_fwdump_buf()
827 dhd_pub->soc_ram = (uint8*) MALLOC(dhd_pub->osh, length); in dhd_get_fwdump_buf()
831 if (dhd_pub->soc_ram == NULL) { in dhd_get_fwdump_buf()
834 dhd_pub->soc_ram_length = 0; in dhd_get_fwdump_buf()
836 memset(dhd_pub->soc_ram, 0, length); in dhd_get_fwdump_buf()
837 dhd_pub->soc_ram_length = length; in dhd_get_fwdump_buf()
841 return dhd_pub->soc_ram; in dhd_get_fwdump_buf()
957 dhd_wl_ioctl_cmd(dhd_pub_t *dhd_pub, int cmd, void *arg, int len, uint8 set, int ifidx) in dhd_wl_ioctl_cmd() argument
966 return dhd_wl_ioctl(dhd_pub, ifidx, &ioc, arg, len); in dhd_wl_ioctl_cmd()
970 dhd_wl_ioctl_get_intiovar(dhd_pub_t *dhd_pub, char *name, uint *pval, in dhd_wl_ioctl_get_intiovar() argument
978 ret = dhd_wl_ioctl_cmd(dhd_pub, cmd, iovbuf, sizeof(iovbuf), set, ifidx); in dhd_wl_ioctl_get_intiovar()
994 dhd_wl_ioctl_set_intiovar(dhd_pub_t *dhd_pub, char *name, uint val, in dhd_wl_ioctl_set_intiovar() argument
1005 ret = dhd_wl_ioctl_cmd(dhd_pub, cmd, iovbuf, len, set, ifidx); in dhd_wl_ioctl_set_intiovar()
1066 dhd_wl_ioctl(dhd_pub_t *dhd_pub, int ifidx, wl_ioctl_t *ioc, void *buf, int len) in dhd_wl_ioctl() argument
1075 DHD_OS_WAKE_LOCK(dhd_pub); in dhd_wl_ioctl()
1076 if (pm_runtime_get_sync(dhd_bus_to_dev(dhd_pub->bus)) < 0) { in dhd_wl_ioctl()
1078 DHD_OS_WAKE_UNLOCK(dhd_pub); in dhd_wl_ioctl()
1099 dbus_set_config(dhd_pub->dbus, &config); in dhd_wl_ioctl()
1104 if (dhd_os_proto_block(dhd_pub)) in dhd_wl_ioctl()
1147 DHD_LINUX_GENERAL_LOCK(dhd_pub, flags); in dhd_wl_ioctl()
1148 if (DHD_BUS_CHECK_DOWN_OR_DOWN_IN_PROGRESS(dhd_pub)) { in dhd_wl_ioctl()
1150 __FUNCTION__, dhd_pub->busstate)); in dhd_wl_ioctl()
1151 DHD_LINUX_GENERAL_UNLOCK(dhd_pub, flags); in dhd_wl_ioctl()
1152 dhd_os_proto_unblock(dhd_pub); in dhd_wl_ioctl()
1155 DHD_BUS_BUSY_SET_IN_IOVAR(dhd_pub); in dhd_wl_ioctl()
1156 DHD_LINUX_GENERAL_UNLOCK(dhd_pub, flags); in dhd_wl_ioctl()
1159 dhdpcie_runtime_bus_wake(dhd_pub, TRUE, dhd_wl_ioctl); in dhd_wl_ioctl()
1162 DHD_LINUX_GENERAL_LOCK(dhd_pub, flags); in dhd_wl_ioctl()
1163 if (DHD_BUS_CHECK_SUSPEND_OR_SUSPEND_IN_PROGRESS(dhd_pub)) { in dhd_wl_ioctl()
1165 __FUNCTION__, dhd_pub->busstate, dhd_pub->dhd_bus_busy_state)); in dhd_wl_ioctl()
1166 DHD_BUS_BUSY_CLEAR_IN_IOVAR(dhd_pub); in dhd_wl_ioctl()
1167 dhd_os_busbusy_wake(dhd_pub); in dhd_wl_ioctl()
1168 DHD_LINUX_GENERAL_UNLOCK(dhd_pub, flags); in dhd_wl_ioctl()
1169 dhd_os_proto_unblock(dhd_pub); in dhd_wl_ioctl()
1172 DHD_LINUX_GENERAL_UNLOCK(dhd_pub, flags); in dhd_wl_ioctl()
1176 if (!(iov_li = MALLOC(dhd_pub->osh, sizeof(*iov_li)))) { in dhd_wl_ioctl()
1182 dhd_iov_li_append(dhd_pub, &dhd_pub->dump_iovlist_head, in dhd_wl_ioctl()
1188 ret = dhd_prot_ioctl(dhd_pub, ifidx, ioc, buf, len); in dhd_wl_ioctl()
1194 dhd_iov_li_print(&dhd_pub->dump_iovlist_head); in dhd_wl_ioctl()
1199 copy_hang_info_ioctl_timeout(dhd_pub, ifidx, ioc); in dhd_wl_ioctl()
1228 dhd_prot_get_ioctl_trans_id(dhd_pub))); in dhd_wl_ioctl()
1233 dhd_prot_get_ioctl_trans_id(dhd_pub))); in dhd_wl_ioctl()
1255 if (ret && dhd_pub->up) { in dhd_wl_ioctl()
1257 dhd_os_check_hang(dhd_pub, ifidx, ret); in dhd_wl_ioctl()
1260 if (ret == -ETIMEDOUT && !dhd_pub->up) { in dhd_wl_ioctl()
1267 DHD_LINUX_GENERAL_LOCK(dhd_pub, flags); in dhd_wl_ioctl()
1268 DHD_BUS_BUSY_CLEAR_IN_IOVAR(dhd_pub); in dhd_wl_ioctl()
1269 dhd_os_busbusy_wake(dhd_pub); in dhd_wl_ioctl()
1270 DHD_LINUX_GENERAL_UNLOCK(dhd_pub, flags); in dhd_wl_ioctl()
1272 dhd_os_proto_unblock(dhd_pub); in dhd_wl_ioctl()
1277 pm_runtime_mark_last_busy(dhd_bus_to_dev(dhd_pub->bus)); in dhd_wl_ioctl()
1278 pm_runtime_put_autosuspend(dhd_bus_to_dev(dhd_pub->bus)); in dhd_wl_ioctl()
1280 DHD_OS_WAKE_UNLOCK(dhd_pub); in dhd_wl_ioctl()
1298 dhd_iovar_parse_bssidx(dhd_pub_t *dhd_pub, const char *params, uint32 *idx, const char **val) in dhd_iovar_parse_bssidx() argument
1314 bssidx = dhd_bssidx2idx(dhd_pub, htod32(bssidx)); in dhd_iovar_parse_bssidx()
1570 dhd_doiovar(dhd_pub_t *dhd_pub, const bcm_iovar_t *vi, uint32 actionid, const char *name, in dhd_doiovar() argument
1615 bcm_strncpy_s((char *)arg, len, bcmerrorstr(dhd_pub->bcmerror), BCME_STRLEN); in dhd_doiovar()
1620 int_val = (int32)dhd_pub->bcmerror; in dhd_doiovar()
1630 if (!dhd_pub->up) { in dhd_doiovar()
1637 dhd_os_wd_timer(dhd_pub, (uint)int_val); in dhd_doiovar()
1641 if (dhd_dump(dhd_pub, arg, len) <= 0) in dhd_doiovar()
1648 int_val = (int32)dhd_pub->dhd_console_ms; in dhd_doiovar()
1653 dhd_pub->dhd_console_ms = (uint)int_val; in dhd_doiovar()
1659 bcmerror = dhd_bus_console_in(dhd_pub, arg, len - 1); in dhd_doiovar()
1664 dhd_pub->tx_packets = dhd_pub->rx_packets = 0; in dhd_doiovar()
1665 dhd_pub->tx_errors = dhd_pub->rx_errors = 0; in dhd_doiovar()
1666 dhd_pub->tx_ctlpkts = dhd_pub->rx_ctlpkts = 0; in dhd_doiovar()
1667 dhd_pub->tx_ctlerrs = dhd_pub->rx_ctlerrs = 0; in dhd_doiovar()
1668 dhd_pub->tx_dropped = 0; in dhd_doiovar()
1669 dhd_pub->rx_dropped = 0; in dhd_doiovar()
1670 dhd_pub->tx_pktgetfail = 0; in dhd_doiovar()
1671 dhd_pub->rx_pktgetfail = 0; in dhd_doiovar()
1672 dhd_pub->rx_readahead_cnt = 0; in dhd_doiovar()
1673 dhd_pub->tx_realloc = 0; in dhd_doiovar()
1674 dhd_pub->wd_dpc_sched = 0; in dhd_doiovar()
1675 dhd_pub->tx_big_packets = 0; in dhd_doiovar()
1676 memset(&dhd_pub->dstats, 0, sizeof(dhd_pub->dstats)); in dhd_doiovar()
1677 dhd_bus_clearcounts(dhd_pub); in dhd_doiovar()
1680 dhd_wlfc_clear_counts(dhd_pub); in dhd_doiovar()
1683 DHD_LB_STATS_RESET(dhd_pub); in dhd_doiovar()
1704 bcmerror = dhd_wlfc_get_enable(dhd_pub, &wlfc_enab); in dhd_doiovar()
1713 bcmerror = dhd_wlfc_get_enable(dhd_pub, &wlfc_enab); in dhd_doiovar()
1722 bcmerror = dhd_wlfc_init(dhd_pub); in dhd_doiovar()
1724 bcmerror = dhd_wlfc_deinit(dhd_pub); in dhd_doiovar()
1729 bcmerror = dhd_wlfc_get_mode(dhd_pub, &int_val); in dhd_doiovar()
1736 dhd_wlfc_set_mode(dhd_pub, int_val); in dhd_doiovar()
1740 bcmerror = dhd_wlfc_get_module_ignore(dhd_pub, &int_val); in dhd_doiovar()
1747 dhd_wlfc_set_module_ignore(dhd_pub, int_val); in dhd_doiovar()
1751 bcmerror = dhd_wlfc_get_credit_ignore(dhd_pub, &int_val); in dhd_doiovar()
1758 dhd_wlfc_set_credit_ignore(dhd_pub, int_val); in dhd_doiovar()
1762 bcmerror = dhd_wlfc_get_txstatus_ignore(dhd_pub, &int_val); in dhd_doiovar()
1769 dhd_wlfc_set_txstatus_ignore(dhd_pub, int_val); in dhd_doiovar()
1773 bcmerror = dhd_wlfc_get_rxpkt_chk(dhd_pub, &int_val); in dhd_doiovar()
1780 dhd_wlfc_set_rxpkt_chk(dhd_pub, int_val); in dhd_doiovar()
1801 bcmerror = dhd_change_mtu(dhd_pub, int_val, 0); in dhd_doiovar()
1812 if (dhd_pub->reorder_bufs[i] != NULL) { in dhd_doiovar()
1813 *ptr = dhd_pub->reorder_bufs[i]->flow_id; in dhd_doiovar()
1824 int_val = (uint32)dhd_pub->tcpack_sup_mode; in dhd_doiovar()
1829 bcmerror = dhd_tcpack_suppress_set(dhd_pub, (uint8)int_val); in dhd_doiovar()
1838 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1844 int_val = dhd_get_dhcp_unicast_status(dhd_pub, bssidx); in dhd_doiovar()
1851 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1858 bcmerror = dhd_set_dhcp_unicast_status(dhd_pub, bssidx, int_val ? 1 : 0); in dhd_doiovar()
1865 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1870 int_val = dhd_get_block_ping_status(dhd_pub, bssidx); in dhd_doiovar()
1878 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1884 bcmerror = dhd_set_block_ping_status(dhd_pub, bssidx, int_val ? 1 : 0); in dhd_doiovar()
1891 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1896 int_val = dhd_get_parp_status(dhd_pub, bssidx); in dhd_doiovar()
1904 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1914 bcmerror = dhd_iovar(dhd_pub, bssidx, "proxy_arp_advertise", val, sizeof(int_val), in dhd_doiovar()
1917 dhd_set_parp_status(dhd_pub, bssidx, int_val ? 1 : 0); in dhd_doiovar()
1925 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1930 int_val = dhd_get_grat_arp_status(dhd_pub, bssidx); in dhd_doiovar()
1938 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1944 bcmerror = dhd_set_grat_arp_status(dhd_pub, bssidx, int_val ? 1 : 0); in dhd_doiovar()
1951 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1956 int_val = dhd_get_block_tdls_status(dhd_pub, bssidx); in dhd_doiovar()
1964 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1970 bcmerror = dhd_set_block_tdls_status(dhd_pub, bssidx, int_val ? 1 : 0); in dhd_doiovar()
1978 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1990 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
1996 int_val = dhd_get_ap_isolate(dhd_pub, bssidx); in dhd_doiovar()
2004 if (dhd_iovar_parse_bssidx(dhd_pub, name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
2012 dhd_set_ap_isolate(dhd_pub, bssidx, int_val); in dhd_doiovar()
2017 int_val = dhd_get_psta_mode(dhd_pub); in dhd_doiovar()
2023 dhd_set_psta_mode(dhd_pub, int_val); in dhd_doiovar()
2032 int_val = dhd_get_wet_mode(dhd_pub); in dhd_doiovar()
2038 dhd_set_wet_mode(dhd_pub, int_val); in dhd_doiovar()
2041 dhd_wet_sta_delete_list(dhd_pub); in dhd_doiovar()
2048 dhd_set_wet_host_ipv4(dhd_pub, params, plen); in dhd_doiovar()
2051 dhd_set_wet_host_mac(dhd_pub, params, plen); in dhd_doiovar()
2059 if (dhd_iovar_parse_bssidx(dhd_pub, (char *)name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
2065 int_val = dhd_get_mcast_regen_bss_enable(dhd_pub, bssidx); in dhd_doiovar()
2074 if (dhd_iovar_parse_bssidx(dhd_pub, (char *)name, &bssidx, &val) != BCME_OK) { in dhd_doiovar()
2082 dhd_set_mcast_regen_bss_enable(dhd_pub, bssidx, int_val); in dhd_doiovar()
2088 int_val = (int32)dhd_pub->op_mode; in dhd_doiovar()
2096 dhd_pub->op_mode = int_val; in dhd_doiovar()
2133 dbg_verbose_ring = dhd_dbg_get_ring_from_ring_id(dhd_pub, FW_VERBOSE_RING_ID); in dhd_doiovar()
2151 if (dhd_pub->dongle_trap_occured) in dhd_doiovar()
2152 int_val = ltoh32(dhd_pub->last_trap_info.type); in dhd_doiovar()
2162 if (dhd_pub->dongle_trap_occured == FALSE) { in dhd_doiovar()
2166 dhd_bus_dump_trap_info(dhd_pub->bus, &strbuf); in dhd_doiovar()
2182 bcmerror = dhd_bus_readwrite_bp_addr(dhd_pub, addr, size, in dhd_doiovar()
2200 bcmerror = dhd_bus_readwrite_bp_addr(dhd_pub, addr, size, in dhd_doiovar()
2210 bcmerror = dhd_flow_ring_debug(dhd_pub, arg, len); in dhd_doiovar()
2216 bcmerror = dhd_mem_debug(dhd_pub, arg, len - 1); in dhd_doiovar()
2223 dhd_prot_debug_info_print(dhd_pub); in dhd_doiovar()
2224 dhd_log_dump_trigger(dhd_pub, CMD_DEFAULT); in dhd_doiovar()
2234 bcmerror = dhd_tput_test(dhd_pub, tput_data); in dhd_doiovar()
2244 if (dhd_pub->debug_buf_dest_support) { in dhd_doiovar()
2247 memcpy(debug_buf_dest_stat, dhd_pub->debug_buf_dest_stat, in dhd_doiovar()
2248 sizeof(dhd_pub->debug_buf_dest_stat)); in dhd_doiovar()
2260 dhd_pub->dhd_induce_error = (uint16)int_val; in dhd_doiovar()
2271 dhd_linux_get_primary_netdev(dhd_pub)); in dhd_doiovar()
2277 dhd_linux_get_primary_netdev(dhd_pub), (uint8)int_val); in dhd_doiovar()
2284 dhd_linux_get_primary_netdev(dhd_pub)); in dhd_doiovar()
2290 dhd_linux_get_primary_netdev(dhd_pub), in dhd_doiovar()
2467 dhd_iovar_op(dhd_pub_t *dhd_pub, const char *name, in dhd_iovar_op() argument
2512 bcmerror = dhd_doiovar(dhd_pub, vi, actionid, name, params, plen, arg, len, val_size); in dhd_iovar_op()
2519 dhd_ioctl(dhd_pub_t * dhd_pub, dhd_ioctl_t *ioc, void *buf, uint buflen) in dhd_ioctl() argument
2530 dhd_os_dhdiovar_lock(dhd_pub); in dhd_ioctl()
2552 DHD_LINUX_GENERAL_LOCK(dhd_pub, flags); in dhd_ioctl()
2553 if (DHD_BUS_CHECK_DOWN_OR_DOWN_IN_PROGRESS(dhd_pub) && in dhd_ioctl()
2559 if (dhd_fw_download_status(dhd_pub) == FW_DOWNLOAD_DONE) { in dhd_ioctl()
2561 __FUNCTION__, dhd_pub->busstate)); in dhd_ioctl()
2562 DHD_LINUX_GENERAL_UNLOCK(dhd_pub, flags); in dhd_ioctl()
2563 dhd_os_dhdiovar_unlock(dhd_pub); in dhd_ioctl()
2567 DHD_BUS_BUSY_SET_IN_DHD_IOVAR(dhd_pub); in dhd_ioctl()
2568 DHD_LINUX_GENERAL_UNLOCK(dhd_pub, flags); in dhd_ioctl()
2571 dhdpcie_runtime_bus_wake(dhd_pub, TRUE, dhd_ioctl); in dhd_ioctl()
2574 DHD_LINUX_GENERAL_LOCK(dhd_pub, flags); in dhd_ioctl()
2575 if (DHD_BUS_CHECK_SUSPEND_OR_SUSPEND_IN_PROGRESS(dhd_pub)) { in dhd_ioctl()
2587 __FUNCTION__, dhd_pub->busstate, in dhd_ioctl()
2588 dhd_pub->dhd_bus_busy_state)); in dhd_ioctl()
2589 DHD_BUS_BUSY_CLEAR_IN_DHD_IOVAR(dhd_pub); in dhd_ioctl()
2590 dhd_os_busbusy_wake(dhd_pub); in dhd_ioctl()
2591 DHD_LINUX_GENERAL_UNLOCK(dhd_pub, flags); in dhd_ioctl()
2592 dhd_os_dhdiovar_unlock(dhd_pub); in dhd_ioctl()
2605 (dhd_bus_is_multibp_capable(dhd_pub->bus) && in dhd_ioctl()
2610 DHD_BUS_BUSY_CLEAR_IN_DHD_IOVAR(dhd_pub); in dhd_ioctl()
2612 DHD_LINUX_GENERAL_UNLOCK(dhd_pub, flags); in dhd_ioctl()
2627 bcmerror = dhd_iovar_op(dhd_pub, buf, arg, arglen, in dhd_ioctl()
2630 bcmerror = dhd_iovar_op(dhd_pub, buf, NULL, 0, in dhd_ioctl()
2639 bcmerror = dhd_prot_iovar_op(dhd_pub, buf, arg, in dhd_ioctl()
2642 bcmerror = dhd_prot_iovar_op(dhd_pub, buf, in dhd_ioctl()
2651 bcmerror = dhd_bus_iovar_op(dhd_pub, buf, in dhd_ioctl()
2654 bcmerror = dhd_bus_iovar_op(dhd_pub, buf, in dhd_ioctl()
2667 dhd_os_dhdiovar_unlock(dhd_pub); in dhd_ioctl()
2671 DHD_LINUX_GENERAL_LOCK(dhd_pub, flags); in dhd_ioctl()
2672 DHD_BUS_BUSY_CLEAR_IN_DHD_IOVAR(dhd_pub); in dhd_ioctl()
2673 dhd_os_busbusy_wake(dhd_pub); in dhd_ioctl()
2674 DHD_LINUX_GENERAL_UNLOCK(dhd_pub, flags); in dhd_ioctl()
2675 dhd_os_dhdiovar_unlock(dhd_pub); in dhd_ioctl()
2682 wl_show_host_event(dhd_pub_t *dhd_pub, wl_event_msg_t *event, void *event_data, in wl_show_host_event() argument
2882 dhd_dbg_trace_evnt_handler(dhd_pub, event_data, raw_event_ptr, datalen); in wl_show_host_event()
3007 wl_mschdbg_event_handler(dhd_pub, raw_event_ptr, reason, event_data, datalen); in wl_show_host_event()
3347 wl_event_process(dhd_pub_t *dhd_pub, int *ifidx, void *pktdata, in wl_event_process() argument
3367 evt_pport.dhd_pub = dhd_pub; in wl_event_process()
3395 wl_process_host_event(dhd_pub_t *dhd_pub, int *ifidx, void *pktdata, uint pktlen, in wl_process_host_event() argument
3424 if (dngl_host_event(dhd_pub, pktdata, &evu.dngl_event, pktlen) == BCME_OK) { in wl_process_host_event()
3449 dhd_wlfc_enable(dhd_pub); in wl_process_host_event()
3450 dhd_wlfc_FIFOcreditmap_event(dhd_pub, event_data); in wl_process_host_event()
3458 dhd_wlfc_BCMCCredit_support_event(dhd_pub); in wl_process_host_event()
3462 dhd_wlfc_disable_credit_borrow_event(dhd_pub, event_data); in wl_process_host_event()
3475 dhd_bus_ulp_disable_console(dhd_pub); in wl_process_host_event()
3479 dhd_bus_ucode_download(dhd_pub->bus); in wl_process_host_event()
3487 dhd_tdls_event_handler(dhd_pub, event); in wl_process_host_event()
3502 dhd_update_interface_flow_info(dhd_pub, ifevent->ifidx, in wl_process_host_event()
3516 dhd_wlfc_interface_event(dhd_pub, in wl_process_host_event()
3520 dhd_wlfc_interface_event(dhd_pub, in wl_process_host_event()
3533 if (dhd_event_ifadd(dhd_pub->info, ifevent, event->ifname, in wl_process_host_event()
3543 dhd_flow_rings_delete(dhd_pub, (uint8)dhd_ifname2idx(dhd_pub->info, in wl_process_host_event()
3546 dhd_event_ifdel(dhd_pub->info, ifevent, event->ifname, in wl_process_host_event()
3550 dhd_event_ifchange(dhd_pub->info, ifevent, event->ifname, in wl_process_host_event()
3561 *ifidx = dhd_ifname2idx(dhd_pub->info, event->ifname); in wl_process_host_event()
3563 dhd_event(dhd_pub->info, (char *)pvt_data, evlen, *ifidx); in wl_process_host_event()
3576 dhd_pno_event_handler(dhd_pub, event, (void *)event_data); in wl_process_host_event()
3582 dhd_rtt_event_handler(dhd_pub, event, (void *)event_data); in wl_process_host_event()
3590 dhd_findadd_sta(dhd_pub, in wl_process_host_event()
3591 dhd_ifname2idx(dhd_pub->info, event->ifname), in wl_process_host_event()
3597 if (dhd_socram_dump(dhd_pub->bus) != BCME_OK) { in wl_process_host_event()
3605 dhd_natoe_ct_event(dhd_pub, event_data); in wl_process_host_event()
3614 dhd_findadd_sta(dhd_pub, dhd_ifname2idx(dhd_pub->info, in wl_process_host_event()
3617 uint8 ifindex = (uint8)dhd_ifname2idx(dhd_pub->info, event->ifname); in wl_process_host_event()
3619 dhd_del_sta(dhd_pub, dhd_ifname2idx(dhd_pub->info, in wl_process_host_event()
3622 dhd_flow_rings_delete_for_peer(dhd_pub, ifindex, in wl_process_host_event()
3633 ifp = dhd_get_ifp(dhd_pub, event->ifidx); in wl_process_host_event()
3650 if (dhd_update_interface_link_status(dhd_pub, (uint8)dhd_ifname2idx(dhd_pub->info, in wl_process_host_event()
3660 dhd_del_all_sta(dhd_pub, dhd_ifname2idx(dhd_pub->info, event->ifname)); in wl_process_host_event()
3661 dhd_flow_rings_delete(dhd_pub, (uint8)dhd_ifname2idx(dhd_pub->info, in wl_process_host_event()
3672 uint8 ifindex = (uint8)dhd_ifname2idx(dhd_pub->info, event->ifname); in wl_process_host_event()
3673 uint8 role = dhd_flow_rings_ifindex2role(dhd_pub, ifindex); in wl_process_host_event()
3677 !wl_cfg80211_is_roam_offload(dhd_idx2net(dhd_pub, ifindex)) && in wl_process_host_event()
3679 dhd_idx2net(dhd_pub, ifindex), event, *ifidx)) { in wl_process_host_event()
3690 dhd_del_sta(dhd_pub, dhd_ifname2idx(dhd_pub->info, in wl_process_host_event()
3694 dhd_flow_rings_delete(dhd_pub, ifindex); in wl_process_host_event()
3696 dhd_flow_rings_delete_for_peer(dhd_pub, ifindex, in wl_process_host_event()
3704 ifp = dhd_get_ifp(dhd_pub, event->ifidx); in wl_process_host_event()
3712 *ifidx = dhd_ifname2idx(dhd_pub->info, event->ifname); in wl_process_host_event()
3714 dhd_event(dhd_pub->info, (char *)pvt_data, evlen, *ifidx); in wl_process_host_event()
3728 memcpy(pvt_data->event.ifname, dhd_ifname(dhd_pub, *ifidx), IFNAMSIZ); in wl_process_host_event()
3732 if (dhd_pub->statlog) { in wl_process_host_event()
3733 dhd_statlog_process_event(dhd_pub, type, *ifidx, in wl_process_host_event()
3740 wl_show_host_event(dhd_pub, event, in wl_process_host_event()
3741 (void *)event_data, raw_event, dhd_pub->enable_log); in wl_process_host_event()
3749 wl_host_event(dhd_pub_t *dhd_pub, int *ifidx, void *pktdata, uint pktlen, in wl_host_event() argument
3752 return wl_process_host_event(dhd_pub, ifidx, pktdata, pktlen, event, data_ptr, in wl_host_event()
6139 int dhd_tdls_event_handler(dhd_pub_t *dhd_pub, wl_event_msg_t *event) in dhd_tdls_event_handler() argument
6146 ret = dhd_tdls_update_peer_info(dhd_pub, event); in dhd_tdls_event_handler()
6153 int dhd_free_tdls_peer_list(dhd_pub_t *dhd_pub) in dhd_free_tdls_peer_list() argument
6156 if (!dhd_pub) in dhd_free_tdls_peer_list()
6158 cur = dhd_pub->peer_tbl.node; in dhd_free_tdls_peer_list()
6160 if ((dhd_pub->peer_tbl.node == NULL) && !dhd_pub->peer_tbl.tdls_peer_count) in dhd_free_tdls_peer_list()
6166 MFREE(dhd_pub->osh, prev, sizeof(tdls_peer_node_t)); in dhd_free_tdls_peer_list()
6168 dhd_pub->peer_tbl.tdls_peer_count = 0; in dhd_free_tdls_peer_list()
6169 dhd_pub->peer_tbl.node = NULL; in dhd_free_tdls_peer_list()