/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
H A D | pm.c | 13 static void wil_pm_wake_connected_net_queues(struct wil6210_priv *wil) in wil_pm_wake_connected_net_queues() argument 17 mutex_lock(&wil->vif_mutex); in wil_pm_wake_connected_net_queues() 18 for (i = 0; i < GET_MAX_VIFS(wil); i++) { in wil_pm_wake_connected_net_queues() 19 struct wil6210_vif *vif = wil->vifs[i]; in wil_pm_wake_connected_net_queues() 22 wil_update_net_queues_bh(wil, vif, NULL, false); in wil_pm_wake_connected_net_queues() 24 mutex_unlock(&wil->vif_mutex); in wil_pm_wake_connected_net_queues() 27 static void wil_pm_stop_all_net_queues(struct wil6210_priv *wil) in wil_pm_stop_all_net_queues() argument 31 mutex_lock(&wil->vif_mutex); in wil_pm_stop_all_net_queues() 32 for (i = 0; i < GET_MAX_VIFS(wil); i++) { in wil_pm_stop_all_net_queues() 33 struct wil6210_vif *vif = wil in wil_pm_stop_all_net_queues() 42 wil_can_suspend_vif(struct wil6210_priv *wil, struct wil6210_vif *vif, bool is_runtime) wil_can_suspend_vif() argument 73 wil_can_suspend(struct wil6210_priv *wil, bool is_runtime) wil_can_suspend() argument 138 wil_resume_keep_radio_on(struct wil6210_priv *wil) wil_resume_keep_radio_on() argument 179 wil_suspend_keep_radio_on(struct wil6210_priv *wil) wil_suspend_keep_radio_on() argument 299 wil_suspend_radio_off(struct wil6210_priv *wil) wil_suspend_radio_off() argument 354 wil_resume_radio_off(struct wil6210_priv *wil) wil_resume_radio_off() argument 377 wil_suspend(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on) wil_suspend() argument 399 wil_resume(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on) wil_resume() argument 425 wil_pm_runtime_allow(struct wil6210_priv *wil) wil_pm_runtime_allow() argument 435 wil_pm_runtime_forbid(struct wil6210_priv *wil) wil_pm_runtime_forbid() argument 443 wil_pm_runtime_get(struct wil6210_priv *wil) wil_pm_runtime_get() argument 458 wil_pm_runtime_put(struct wil6210_priv *wil) wil_pm_runtime_put() argument [all...] |
H A D | pcie_bus.c | 28 int wil_set_capabilities(struct wil6210_priv *wil) in wil_set_capabilities() argument 31 u32 jtag_id = wil_r(wil, RGF_USER_JTAG_DEV_ID); in wil_set_capabilities() 32 u8 chip_revision = (wil_r(wil, RGF_USER_REVISION_ID) & in wil_set_capabilities() 37 bitmap_zero(wil->hw_capa, hw_capa_last); in wil_set_capabilities() 38 bitmap_zero(wil->fw_capabilities, WMI_FW_CAPABILITY_MAX); in wil_set_capabilities() 39 bitmap_zero(wil->platform_capa, WIL_PLATFORM_CAPA_MAX); in wil_set_capabilities() 40 wil->wil_fw_name = ftm_mode ? WIL_FW_NAME_FTM_DEFAULT : in wil_set_capabilities() 42 wil->chip_revision = chip_revision; in wil_set_capabilities() 50 wil->hw_name = "Sparrow D0"; in wil_set_capabilities() 51 wil in wil_set_capabilities() 143 wil_disable_irq(struct wil6210_priv *wil) wil_disable_irq() argument 154 wil_enable_irq(struct wil6210_priv *wil) wil_enable_irq() argument 165 wil_remove_all_additional_vifs(struct wil6210_priv *wil) wil_remove_all_additional_vifs() argument 180 wil_if_pcie_enable(struct wil6210_priv *wil) wil_if_pcie_enable() argument 250 wil_if_pcie_disable(struct wil6210_priv *wil) wil_if_pcie_disable() argument 268 struct wil6210_priv *wil = wil_handle; wil_platform_rop_ramdump() local 278 struct wil6210_priv *wil = wil_handle; wil_platform_rop_fw_recovery() local 288 wil_platform_ops_uninit(struct wil6210_priv *wil) wil_platform_ops_uninit() argument 297 struct wil6210_priv *wil; wil_pcie_probe() local 465 struct wil6210_priv *wil = pci_get_drvdata(pdev); wil_pcie_remove() local 500 struct wil6210_priv *wil = pci_get_drvdata(pdev); wil6210_suspend() local 535 struct wil6210_priv *wil = pci_get_drvdata(pdev); wil6210_resume() local 573 struct wil6210_priv *wil = container_of( wil6210_pm_notify() local 621 struct wil6210_priv *wil = dev_get_drvdata(dev); wil6210_pm_runtime_idle() local 635 struct wil6210_priv *wil = dev_get_drvdata(dev); wil6210_pm_runtime_suspend() local [all...] |
H A D | interrupt.c | 75 static void wil6210_mask_irq_tx(struct wil6210_priv *wil) in wil6210_mask_irq_tx() argument 77 wil_w(wil, RGF_DMA_EP_TX_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_tx() 81 static void wil6210_mask_irq_tx_edma(struct wil6210_priv *wil) in wil6210_mask_irq_tx_edma() argument 83 wil_w(wil, RGF_INT_GEN_TX_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_tx_edma() 87 static void wil6210_mask_irq_rx(struct wil6210_priv *wil) in wil6210_mask_irq_rx() argument 89 wil_w(wil, RGF_DMA_EP_RX_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_rx() 93 static void wil6210_mask_irq_rx_edma(struct wil6210_priv *wil) in wil6210_mask_irq_rx_edma() argument 95 wil_w(wil, RGF_INT_GEN_RX_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_rx_edma() 99 static void wil6210_mask_irq_misc(struct wil6210_priv *wil, bool mask_halp) in wil6210_mask_irq_misc() argument 101 wil_dbg_irq(wil, "mask_irq_mis in wil6210_mask_irq_misc() 108 wil6210_mask_halp(struct wil6210_priv *wil) wil6210_mask_halp() argument 116 wil6210_mask_irq_pseudo(struct wil6210_priv *wil) wil6210_mask_irq_pseudo() argument 125 wil6210_unmask_irq_tx(struct wil6210_priv *wil) wil6210_unmask_irq_tx() argument 131 wil6210_unmask_irq_tx_edma(struct wil6210_priv *wil) wil6210_unmask_irq_tx_edma() argument 137 wil6210_unmask_irq_rx(struct wil6210_priv *wil) wil6210_unmask_irq_rx() argument 145 wil6210_unmask_irq_rx_edma(struct wil6210_priv *wil) wil6210_unmask_irq_rx_edma() argument 151 wil6210_unmask_irq_misc(struct wil6210_priv *wil, bool unmask_halp) wil6210_unmask_irq_misc() argument 160 wil6210_unmask_halp(struct wil6210_priv *wil) wil6210_unmask_halp() argument 168 wil6210_unmask_irq_pseudo(struct wil6210_priv *wil) wil6210_unmask_irq_pseudo() argument 177 wil_mask_irq(struct wil6210_priv *wil) wil_mask_irq() argument 189 wil_unmask_irq(struct wil6210_priv *wil) wil_unmask_irq() argument 215 wil_configure_interrupt_moderation_edma(struct wil6210_priv *wil) wil_configure_interrupt_moderation_edma() argument 236 wil_configure_interrupt_moderation(struct wil6210_priv *wil) wil_configure_interrupt_moderation() argument 287 struct wil6210_priv *wil = cookie; wil6210_irq_rx() local 349 struct wil6210_priv *wil = cookie; wil6210_irq_rx_edma() local 400 struct wil6210_priv *wil = cookie; wil6210_irq_tx_edma() local 446 struct wil6210_priv *wil = cookie; wil6210_irq_tx() local 493 wil_notify_fw_error(struct wil6210_priv *wil) wil_notify_fw_error() argument 505 wil_cache_mbox_regs(struct wil6210_priv *wil) wil_cache_mbox_regs() argument 514 wil_validate_mbox_regs(struct wil6210_priv *wil) wil_validate_mbox_regs() argument 535 struct wil6210_priv *wil = cookie; wil6210_irq_misc() local 604 struct wil6210_priv *wil = cookie; wil6210_irq_misc_thread() local 651 struct wil6210_priv *wil = cookie; wil6210_thread_irq() local 675 wil6210_debug_irq_mask(struct wil6210_priv *wil, u32 pseudo_cause) wil6210_debug_irq_mask() argument 750 struct wil6210_priv *wil = cookie; wil6210_hardirq() local 800 wil6210_request_3msi(struct wil6210_priv *wil, int irq) wil6210_request_3msi() argument 842 wil6210_clear_irq(struct wil6210_priv *wil) wil6210_clear_irq() argument 857 wil6210_set_halp(struct wil6210_priv *wil) wil6210_set_halp() argument 865 wil6210_clear_halp(struct wil6210_priv *wil) wil6210_clear_halp() argument 874 wil6210_init_irq(struct wil6210_priv *wil, int irq) wil6210_init_irq() argument 899 wil6210_fini_irq(struct wil6210_priv *wil, int irq) wil6210_fini_irq() argument [all...] |
H A D | main.c | 179 int wil_mem_access_lock(struct wil6210_priv *wil) in wil_mem_access_lock() argument 181 if (!down_read_trylock(&wil->mem_lock)) in wil_mem_access_lock() 184 if (test_bit(wil_status_suspending, wil->status) || in wil_mem_access_lock() 185 test_bit(wil_status_suspended, wil->status)) { in wil_mem_access_lock() 186 up_read(&wil->mem_lock); in wil_mem_access_lock() 193 void wil_mem_access_unlock(struct wil6210_priv *wil) in wil_mem_access_unlock() argument 195 up_read(&wil->mem_lock); in wil_mem_access_unlock() 198 static void wil_ring_fini_tx(struct wil6210_priv *wil, int id) in wil_ring_fini_tx() argument 200 struct wil_ring *ring = &wil->ring_tx[id]; in wil_ring_fini_tx() 201 struct wil_ring_tx_data *txdata = &wil in wil_ring_fini_tx() 229 wil_vif_is_connected(struct wil6210_priv *wil, u8 mid) wil_vif_is_connected() argument 247 struct wil6210_priv *wil = vif_to_wil(vif); global() variable 304 struct wil6210_priv *wil = vif_to_wil(vif); _wil6210_disconnect_complete() local 387 struct wil6210_priv *wil = vif_to_wil(vif); wil_disconnect_cid() local 417 struct wil6210_priv *wil; _wil6210_disconnect() local 464 struct wil6210_priv *wil = vif_to_wil(vif); wil_disconnect_worker() local 497 wil_wait_for_recovery(struct wil6210_priv *wil) wil_wait_for_recovery() argument 512 wil_set_recovery_state(struct wil6210_priv *wil, int state) wil_set_recovery_state() argument 521 wil_is_recovery_blocked(struct wil6210_priv *wil) wil_is_recovery_blocked() argument 528 struct wil6210_priv *wil = container_of(work, struct wil6210_priv, wil_fw_error_worker() local 601 wil_find_free_ring(struct wil6210_priv *wil) wil_find_free_ring() argument 615 struct wil6210_priv *wil = vif_to_wil(vif); wil_ring_init_tx() local 643 struct wil6210_priv *wil = vif_to_wil(vif); wil_bcast_init() local 663 struct wil6210_priv *wil = vif_to_wil(vif); wil_bcast_fini() local 673 wil_bcast_fini_all(struct wil6210_priv *wil) wil_bcast_fini_all() argument 685 wil_priv_init(struct wil6210_priv *wil) wil_priv_init() argument 775 wil6210_bus_request(struct wil6210_priv *wil, u32 kbps) wil6210_bus_request() argument 797 struct wil6210_priv *wil = vif_to_wil(vif); wil6210_disconnect() local 817 struct wil6210_priv *wil = vif_to_wil(vif); wil6210_disconnect_complete() local 825 wil_priv_deinit(struct wil6210_priv *wil) wil_priv_deinit() argument 837 wil_shutdown_bl(struct wil6210_priv *wil) wil_shutdown_bl() argument 869 wil_freeze_bl(struct wil6210_priv *wil) wil_freeze_bl() argument 899 wil_bl_prepare_halt(struct wil6210_priv *wil) wil_bl_prepare_halt() argument 929 wil_halt_cpu(struct wil6210_priv *wil) wil_halt_cpu() argument 942 wil_release_cpu(struct wil6210_priv *wil) wil_release_cpu() argument 951 wil_set_oob_mode(struct wil6210_priv *wil, u8 mode) wil_set_oob_mode() argument 972 wil_wait_device_ready(struct wil6210_priv *wil, int no_flash) wil_wait_device_ready() argument 1007 wil_wait_device_ready_talyn_mb(struct wil6210_priv *wil) wil_wait_device_ready_talyn_mb() argument 1107 wil_target_reset(struct wil6210_priv *wil, int no_flash) wil_target_reset() argument 1211 wil_collect_fw_info(struct wil6210_priv *wil) wil_collect_fw_info() argument 1226 wil_refresh_fw_capabilities(struct wil6210_priv *wil) wil_refresh_fw_capabilities() argument 1290 wil_get_board_file(struct wil6210_priv *wil, char *buf, size_t len) wil_get_board_file() argument 1311 wil_get_bl_info(struct wil6210_priv *wil) wil_get_bl_info() argument 1372 wil_bl_crash_info(struct wil6210_priv *wil, bool is_err) wil_bl_crash_info() argument 1403 wil_get_otp_info(struct wil6210_priv *wil) wil_get_otp_info() argument 1439 wil_wait_for_fw_ready(struct wil6210_priv *wil) wil_wait_for_fw_ready() argument 1456 struct wil6210_priv *wil = vif_to_wil(vif); wil_abort_scan() local 1483 wil_abort_scan_all_vifs(struct wil6210_priv *wil, bool sync) wil_abort_scan_all_vifs() argument 1497 wil_ps_update(struct wil6210_priv *wil, enum wmi_ps_profile_type ps_profile) wil_ps_update() argument 1515 wil_pre_fw_config(struct wil6210_priv *wil) wil_pre_fw_config() argument 1546 wil_restore_vifs(struct wil6210_priv *wil) wil_restore_vifs() argument 1579 wil_clear_fw_log_addr(struct wil6210_priv *wil) wil_clear_fw_log_addr() argument 1593 wil_reset(struct wil6210_priv *wil, bool load_fw) wil_reset() argument 1799 wil_fw_error_recovery(struct wil6210_priv *wil) wil_fw_error_recovery() argument 1812 __wil_up(struct wil6210_priv *wil) __wil_up() argument 1877 wil_up(struct wil6210_priv *wil) wil_up() argument 1890 __wil_down(struct wil6210_priv *wil) __wil_down() argument 1917 wil_down(struct wil6210_priv *wil) wil_down() argument 1931 wil_find_cid(struct wil6210_priv *wil, u8 mid, const u8 *mac) wil_find_cid() argument 1948 wil_halp_vote(struct wil6210_priv *wil) wil_halp_vote() argument 1985 wil_halp_unvote(struct wil6210_priv *wil) wil_halp_unvote() argument 2008 wil_init_txrx_ops(struct wil6210_priv *wil) wil_init_txrx_ops() argument [all...] |
H A D | netdev.c | 12 bool wil_has_other_active_ifaces(struct wil6210_priv *wil, in wil_has_other_active_ifaces() argument 19 for (i = 0; i < GET_MAX_VIFS(wil); i++) { in wil_has_other_active_ifaces() 20 vif = wil->vifs[i]; in wil_has_other_active_ifaces() 33 bool wil_has_active_ifaces(struct wil6210_priv *wil, bool up, bool ok) in wil_has_active_ifaces() argument 36 return wil_has_other_active_ifaces(wil, NULL, up, ok); in wil_has_active_ifaces() 41 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_open() local 44 wil_dbg_misc(wil, "open\n"); in wil_open() 47 test_bit(WMI_FW_CAPABILITY_WMI_ONLY, wil->fw_capabilities)) { in wil_open() 48 wil_err(wil, "while in debug_fw or wmi_only mode\n"); in wil_open() 52 if (!wil_has_other_active_ifaces(wil, nde in wil_open() 68 struct wil6210_priv *wil = ndev_to_wil(ndev); wil_stop() local 93 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, wil6210_netdev_poll_rx() local 114 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, wil6210_netdev_poll_rx_edma() local 135 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, wil6210_netdev_poll_tx() local 172 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, wil6210_netdev_poll_tx_edma() local 231 struct wil6210_priv *wil = vif_to_wil(vif); wil_connect_timer_fn() local 247 struct wil6210_priv *wil = vif_to_wil(vif); wil_scan_timer_fn() local 257 struct wil6210_priv *wil = vif_to_wil(vif); wil_p2p_discovery_timer_fn() local 285 wil_vif_find_free_mid(struct wil6210_priv *wil) wil_vif_find_free_mid() argument 298 wil_vif_alloc(struct wil6210_priv *wil, const char *name, unsigned char name_assign_type, enum nl80211_iftype iftype) wil_vif_alloc() argument 350 struct wil6210_priv *wil; wil_if_alloc() local 389 wil_if_free(struct wil6210_priv *wil) wil_if_free() argument 407 wil_vif_add(struct wil6210_priv *wil, struct wil6210_vif *vif) wil_vif_add() argument 439 wil_if_add(struct wil6210_priv *wil) wil_if_add() argument 488 wil_vif_remove(struct wil6210_priv *wil, u8 mid) wil_vif_remove() argument 542 wil_if_remove(struct wil6210_priv *wil) wil_if_remove() argument [all...] |
H A D | p2p.c | 17 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_start_listen() local 22 lockdep_assert_held(&wil->mutex); in wil_p2p_start_listen() 26 wil_err(wil, "wmi_p2p_cfg failed\n"); in wil_p2p_start_listen() 32 wil_err(wil, "wmi_set_ssid failed\n"); in wil_p2p_start_listen() 38 wil_err(wil, "wmi_start_listen failed\n"); in wil_p2p_start_listen() 62 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search() local 66 wil_dbg_misc(wil, "p2p_search: channel %d\n", P2P_DMG_SOCIAL_CHANNEL); in wil_p2p_search() 68 lockdep_assert_held(&wil->mutex); in wil_p2p_search() 71 wil_err(wil, "search failed. discovery already ongoing\n"); in wil_p2p_search() 78 wil_err(wil, "wmi_p2p_cf in wil_p2p_search() 125 wil_p2p_listen(struct wil6210_priv *wil, struct wireless_dev *wdev, unsigned int duration, struct ieee80211_channel *chan, u64 *cookie) wil_p2p_listen() argument 198 struct wil6210_priv *wil = vif_to_wil(vif); wil_p2p_cancel_listen() local 237 struct wil6210_priv *wil = vif_to_wil(vif); wil_p2p_listen_expired() local 265 struct wil6210_priv *wil = vif_to_wil(vif); wil_p2p_search_expired() local 297 struct wil6210_priv *wil = vif_to_wil(vif); wil_p2p_delayed_listen_work() local 338 wil_p2p_stop_radio_operations(struct wil6210_priv *wil) wil_p2p_stop_radio_operations() argument [all...] |
H A D | wmi.c | 42 * event list @wil->pending_wmi_ev. Then, work queue @wil->wmi_wq wakes up 264 * @wil: driver data 274 void __iomem *wmi_buffer_block(struct wil6210_priv *wil, __le32 ptr_, u32 size) in wmi_buffer_block() argument 287 if (off > wil->bar_size - 4) in wmi_buffer_block() 289 if (size && ((off + size > wil->bar_size) || (off + size < off))) in wmi_buffer_block() 292 return wil->csr + off; in wmi_buffer_block() 295 void __iomem *wmi_buffer(struct wil6210_priv *wil, __le32 ptr_) in wmi_buffer() argument 297 return wmi_buffer_block(wil, ptr_, 0); in wmi_buffer() 301 void __iomem *wmi_addr(struct wil6210_priv *wil, u3 argument 318 wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr, struct wil6210_mbox_hdr *hdr) wmi_read_hdr() argument 633 __wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len) __wmi_send() argument 755 wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len) wmi_send() argument 769 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_ready() local 817 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_rx_mgmt() local 923 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_scan_complete() local 955 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_connect() local 1124 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_disconnect() local 1168 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_eapol_rx() local 1218 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_ring_en() local 1267 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_ba_status() local 1299 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_addba_rx_req() local 1317 struct wil6210_priv *wil = vif_to_wil(vif); global() variable 1378 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_sched_scan_result() local 1454 struct wil6210_priv *wil = vif_to_wil(vif); wil_link_stats_store_basic() local 1470 struct wil6210_priv *wil = vif_to_wil(vif); wil_link_stats_store_global() local 1479 struct wil6210_priv *wil = vif_to_wil(vif); wmi_link_stats_parse() local 1557 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_link_stats() local 1579 wil_find_cid_ringid_sta(struct wil6210_priv *wil, struct wil6210_vif *vif, int *cid, int *ringid) wil_find_cid_ringid_sta() argument 1624 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_auth_status() local 1713 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_reassoc_status() local 1842 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_link_monitor() local 1870 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_ignore() local 1906 wmi_recv_cmd(struct wil6210_priv *wil) wmi_recv_cmd() argument 2040 wmi_call(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len, u16 reply_id, void *reply, u16 reply_size, int to_msec) wmi_call() argument 2087 wmi_echo(struct wil6210_priv *wil) wmi_echo() argument 2099 wmi_set_mac_address(struct wil6210_priv *wil, void *addr) wmi_set_mac_address() argument 2112 wmi_led_cfg(struct wil6210_priv *wil, bool enable) wmi_led_cfg() argument 2169 wmi_rbufcap_cfg(struct wil6210_priv *wil, bool enable, u16 threshold) wmi_rbufcap_cfg() argument 2203 struct wil6210_priv *wil = vif_to_wil(vif); wmi_pcp_start() local 2265 struct wil6210_priv *wil = vif_to_wil(vif); wmi_pcp_stop() local 2279 struct wil6210_priv *wil = vif_to_wil(vif); wmi_set_ssid() local 2294 struct wil6210_priv *wil = vif_to_wil(vif); wmi_get_ssid() local 2320 wmi_set_channel(struct wil6210_priv *wil, int channel) wmi_set_channel() argument 2331 wmi_get_channel(struct wil6210_priv *wil, int *channel) wmi_get_channel() argument 2358 struct wil6210_priv *wil = vif_to_wil(vif); wmi_p2p_cfg() local 2386 struct wil6210_priv *wil = vif_to_wil(vif); wmi_start_listen() local 2410 struct wil6210_priv *wil = vif_to_wil(vif); wmi_start_search() local 2434 struct wil6210_priv *wil = vif_to_wil(vif); wmi_stop_discovery() local 2452 struct wil6210_priv *wil = vif_to_wil(vif); wmi_del_cipher_key() local 2468 struct wil6210_priv *wil = vif_to_wil(vif); wmi_add_cipher_key() local 2495 struct wil6210_priv *wil = vif_to_wil(vif); wmi_set_ie() local 2539 struct wil6210_priv *wil = vif_to_wil(vif); wmi_update_ft_ies() local 2581 wmi_rxon(struct wil6210_priv *wil, bool on) wmi_rxon() argument 2610 wmi_rx_chain_add(struct wil6210_priv *wil, struct wil_ring *vring) wmi_rx_chain_add() argument 2676 wmi_get_temperature(struct wil6210_priv *wil, u32 *t_bb, u32 *t_rf) wmi_get_temperature() argument 2706 wmi_get_all_temperatures(struct wil6210_priv *wil, struct wmi_temp_sense_all_done_event *sense_all_evt) wmi_get_all_temperatures() argument 2747 struct wil6210_priv *wil = vif_to_wil(vif); wmi_disconnect_sta() local 2786 wmi_addba(struct wil6210_priv *wil, u8 mid, u8 ringid, u8 size, u16 timeout) wmi_addba() argument 2805 wmi_delba_tx(struct wil6210_priv *wil, u8 mid, u8 ringid, u16 reason) wmi_delba_tx() argument 2817 wmi_delba_rx(struct wil6210_priv *wil, u8 mid, u8 cid, u8 tid, u16 reason) wmi_delba_rx() argument 2837 wmi_addba_rx_resp(struct wil6210_priv *wil, u8 mid, u8 cid, u8 tid, u8 token, u16 status, bool amsdu, u16 agg_wsize, u16 timeout) wmi_addba_rx_resp() argument 2889 wmi_addba_rx_resp_edma(struct wil6210_priv *wil, u8 mid, u8 cid, u8 tid, u8 token, u16 status, bool amsdu, u16 agg_wsize, u16 timeout) wmi_addba_rx_resp_edma() argument 2937 wmi_ps_dev_profile_cfg(struct wil6210_priv *wil, enum wmi_ps_profile_type ps_profile) wmi_ps_dev_profile_cfg() argument 2973 wmi_set_mgmt_retry(struct wil6210_priv *wil, u8 retry_short) wmi_set_mgmt_retry() argument 3008 wmi_get_mgmt_retry(struct wil6210_priv *wil, u8 *retry_short) wmi_get_mgmt_retry() argument 3037 struct wil6210_priv *wil = vif_to_wil(vif); wmi_abort_scan() local 3051 struct wil6210_priv *wil = vif_to_wil(vif); wmi_new_sta() local 3068 wmi_event_flush(struct wil6210_priv *wil) wmi_event_flush() argument 3099 wmi_suspend(struct wil6210_priv *wil) wmi_suspend() argument 3188 wmi_resume(struct wil6210_priv *wil) wmi_resume() argument 3216 wmi_port_allocate(struct wil6210_priv *wil, u8 mid, const u8 *mac, enum nl80211_iftype iftype) wmi_port_allocate() argument 3270 wmi_port_delete(struct wil6210_priv *wil, u8 mid) wmi_port_delete() argument 3317 wmi_event_handle(struct wil6210_priv *wil, struct wil6210_mbox_hdr *hdr) wmi_event_handle() argument 3387 next_wmi_ev(struct wil6210_priv *wil) next_wmi_ev() argument 3409 struct wil6210_priv *wil = container_of(work, struct wil6210_priv, wmi_event_worker() local 3423 wil_is_wmi_idle(struct wil6210_priv *wil) wil_is_wmi_idle() argument 3457 wmi_sched_scan_set_ssids(struct wil6210_priv *wil, struct wmi_start_sched_scan_cmd *cmd, struct cfg80211_ssid *ssids, int n_ssids, struct cfg80211_match_set *match_sets, int n_match_sets) wmi_sched_scan_set_ssids() argument 3495 wmi_sched_scan_set_channels(struct wil6210_priv *wil, struct wmi_start_sched_scan_cmd *cmd, u32 n_channels, struct ieee80211_channel **channels) wmi_sched_scan_set_channels() argument 3517 wmi_sched_scan_set_plans(struct wil6210_priv *wil, struct wmi_start_sched_scan_cmd *cmd, struct cfg80211_sched_scan_plan *scan_plans, int n_scan_plans) wmi_sched_scan_set_plans() argument 3540 wmi_start_sched_scan(struct wil6210_priv *wil, struct cfg80211_sched_scan_request *request) wmi_start_sched_scan() argument 3586 wmi_stop_sched_scan(struct wil6210_priv *wil) wmi_stop_sched_scan() argument 3618 struct wil6210_priv *wil = vif_to_wil(vif); wmi_mgmt_tx() local 3667 struct wil6210_priv *wil = vif_to_wil(vif); wmi_mgmt_tx_ext() local 3717 wil_wmi_tx_sring_cfg(struct wil6210_priv *wil, int ring_id) wil_wmi_tx_sring_cfg() argument 3757 wil_wmi_cfg_def_rx_offload(struct wil6210_priv *wil, u16 max_rx_pl_per_desc) wil_wmi_cfg_def_rx_offload() argument 3793 wil_wmi_rx_sring_add(struct wil6210_priv *wil, u16 ring_id) wil_wmi_rx_sring_add() argument 3836 wil_wmi_rx_desc_ring_add(struct wil6210_priv *wil, int status_ring_id) wil_wmi_rx_desc_ring_add() argument 3881 struct wil6210_priv *wil = vif_to_wil(vif); wil_wmi_tx_desc_ring_add() local 3934 struct wil6210_priv *wil = vif_to_wil(vif); wil_wmi_bcast_desc_ring_add() local 3980 struct wil6210_priv *wil = vif_to_wil(vif); wmi_link_stats_cfg() local 4012 wmi_set_cqm_rssi_config(struct wil6210_priv *wil, s32 rssi_thold, u32 rssi_hyst) wmi_set_cqm_rssi_config() argument [all...] |
H A D | fw_inc.c | 11 #define wil_err_fw(wil, fmt, arg...) wil_err(wil, "ERR[ FW ]" fmt, ##arg) 12 #define wil_dbg_fw(wil, fmt, arg...) wil_dbg(wil, "DBG[ FW ]" fmt, ##arg) 19 static bool wil_fw_addr_check(struct wil6210_priv *wil, in wil_fw_addr_check() argument 23 *ioaddr = wmi_buffer_block(wil, val, size); in wil_fw_addr_check() 25 wil_err_fw(wil, "bad %s: 0x%08x\n", msg, le32_to_cpu(val)); in wil_fw_addr_check() 39 static int wil_fw_verify(struct wil6210_priv *wil, const u8 *data, size_t size) in wil_fw_verify() argument 48 wil_err_fw(wil, "image size not aligned: %zu\n", size); in wil_fw_verify() 53 wil_err_fw(wil, "fil in wil_fw_verify() 114 fw_ignore_section(struct wil6210_priv *wil, const void *data, size_t size) fw_ignore_section() argument 121 fw_handle_capabilities(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_capabilities() argument 144 fw_handle_brd_file(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_brd_file() argument 199 fw_handle_concurrency(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_concurrency() argument 237 fw_handle_comment(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_comment() argument 270 __fw_handle_data(struct wil6210_priv *wil, const void *data, size_t size, __le32 addr) __fw_handle_data() argument 291 fw_handle_data(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_data() argument 299 fw_handle_fill(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_fill() argument 334 fw_handle_file_header(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_file_header() argument 359 fw_handle_direct_write(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_direct_write() argument 394 gw_write(struct wil6210_priv *wil, void __iomem *gwa_addr, void __iomem *gwa_cmd, void __iomem *gwa_ctl, u32 gw_cmd, u32 a) gw_write() argument 416 fw_handle_gateway_data(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_gateway_data() argument 480 fw_handle_gateway_data4(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_gateway_data4() argument 574 wil_fw_handle_record(struct wil6210_priv *wil, int type, const void *data, size_t size, bool load) wil_fw_handle_record() argument 599 wil_fw_process(struct wil6210_priv *wil, const void *data, size_t size, bool load) wil_fw_process() argument 646 wil_request_firmware(struct wil6210_priv *wil, const char *name, bool load) wil_request_firmware() argument 689 wil_brd_process(struct wil6210_priv *wil, const void *data, size_t size) wil_brd_process() argument 781 wil_request_board(struct wil6210_priv *wil, const char *name) wil_request_board() argument 818 wil_fw_verify_file_exists(struct wil6210_priv *wil, const char *name) wil_fw_verify_file_exists() argument [all...] |
H A D | txrx_edma.c | 47 static int wil_find_free_sring(struct wil6210_priv *wil) in wil_find_free_sring() argument 52 if (!wil->srings[i].va) in wil_find_free_sring() 59 static void wil_sring_free(struct wil6210_priv *wil, in wil_sring_free() argument 62 struct device *dev = wil_to_dev(wil); in wil_sring_free() 70 wil_dbg_misc(wil, "status_ring_free, size(bytes)=%zu, 0x%p:%pad\n", in wil_sring_free() 78 static int wil_sring_alloc(struct wil6210_priv *wil, in wil_sring_alloc() argument 81 struct device *dev = wil_to_dev(wil); in wil_sring_alloc() 84 wil_dbg_misc(wil, "status_ring_alloc: size=%zu\n", sz); in wil_sring_alloc() 87 wil_err(wil, "Cannot allocate a zero size status ring\n"); in wil_sring_alloc() 100 wil_dbg_misc(wil, "status_rin in wil_sring_alloc() 106 wil_tx_init_edma(struct wil6210_priv *wil) wil_tx_init_edma() argument 151 wil_ring_alloc_skb_edma(struct wil6210_priv *wil, struct wil_ring *ring, u32 i) wil_ring_alloc_skb_edma() argument 231 wil_rx_refill_edma(struct wil6210_priv *wil) wil_rx_refill_edma() argument 263 wil_move_all_rx_buff_to_free_list(struct wil6210_priv *wil, struct wil_ring *ring) wil_move_all_rx_buff_to_free_list() argument 293 wil_free_rx_buff_arr(struct wil6210_priv *wil) wil_free_rx_buff_arr() argument 309 wil_init_rx_buff_arr(struct wil6210_priv *wil, size_t size) wil_init_rx_buff_arr() argument 341 wil_init_rx_sring(struct wil6210_priv *wil, u16 status_ring_size, size_t elem_size, u16 ring_id) wil_init_rx_sring() argument 373 wil_ring_alloc_desc_ring(struct wil6210_priv *wil, struct wil_ring *ring) wil_ring_alloc_desc_ring() argument 418 wil_ring_free_edma(struct wil6210_priv *wil, struct wil_ring *ring) wil_ring_free_edma() argument 480 wil_init_rx_desc_ring(struct wil6210_priv *wil, u16 desc_ring_size, int status_ring_id) wil_init_rx_desc_ring() argument 504 wil_get_reorder_params_edma(struct wil6210_priv *wil, struct sk_buff *skb, int *tid, int *cid, int *mid, u16 *seq, int *mcast, int *retry) wil_get_reorder_params_edma() argument 528 wil_rx_crypto_check_edma(struct wil6210_priv *wil, struct sk_buff *skb) wil_rx_crypto_check_edma() argument 571 wil_is_rx_idle_edma(struct wil6210_priv *wil) wil_is_rx_idle_edma() argument 594 wil_rx_buf_len_init_edma(struct wil6210_priv *wil) wil_rx_buf_len_init_edma() argument 601 wil_rx_init_edma(struct wil6210_priv *wil, uint desc_ring_order) wil_rx_init_edma() argument 699 struct wil6210_priv *wil = vif_to_wil(vif); wil_ring_init_tx_edma() local 747 struct wil6210_priv *wil = vif_to_wil(vif); wil_tx_ring_modify_edma() local 755 wil_check_bar(struct wil6210_priv *wil, void *msg, int cid, struct sk_buff *skb, struct wil_net_stats *stats) wil_check_bar() argument 810 wil_rx_error_check_edma(struct wil6210_priv *wil, struct sk_buff *skb, struct wil_net_stats *stats) wil_rx_error_check_edma() argument 850 wil_sring_reap_rx_edma(struct wil6210_priv *wil, struct wil_status_ring *sring) wil_sring_reap_rx_edma() argument 1064 wil_rx_handle_edma(struct wil6210_priv *wil, int *quota) wil_rx_handle_edma() argument 1156 wil_tx_sring_handler(struct wil6210_priv *wil, struct wil_status_ring *sring) wil_tx_sring_handler() argument 1349 wil_tx_tso_gen_desc(struct wil6210_priv *wil, void *buff_addr, int len, uint i, int tso_desc_type, skb_frag_t *frag, struct wil_ring *ring, struct sk_buff *skb, bool is_ipv4, int tcp_hdr_len, int skb_net_hdr_len, int mss, int *descs_used) wil_tx_tso_gen_desc() argument 1400 __wil_tx_ring_tso_edma(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, struct sk_buff *skb) __wil_tx_ring_tso_edma() argument 1547 struct wil6210_priv *wil = vif_to_wil(vif); wil_ring_init_bcast_edma() local 1586 wil_tx_fini_edma(struct wil6210_priv *wil) wil_tx_fini_edma() argument 1604 wil_rx_fini_edma(struct wil6210_priv *wil) wil_rx_fini_edma() argument 1621 wil_init_txrx_ops_edma(struct wil6210_priv *wil) wil_init_txrx_ops_edma() argument [all...] |
H A D | txrx.c | 64 bool wil_is_tx_idle(struct wil6210_priv *wil) in wil_is_tx_idle() argument 68 int min_ring_id = wil_get_min_tx_ring_id(wil); in wil_is_tx_idle() 71 struct wil_ring *vring = &wil->ring_tx[i]; in wil_is_tx_idle() 72 int vring_index = vring - wil->ring_tx; in wil_is_tx_idle() 74 &wil->ring_tx_data[vring_index]; in wil_is_tx_idle() 85 if (test_bit(wil_status_napi_en, wil->status)) { in wil_is_tx_idle() 88 wil_dbg_pm(wil, in wil_is_tx_idle() 93 wil_dbg_ratelimited(wil, in wil_is_tx_idle() 96 napi_synchronize(&wil->napi_tx); in wil_is_tx_idle() 110 static int wil_vring_alloc(struct wil6210_priv *wil, struc argument 190 wil_vring_free(struct wil6210_priv *wil, struct wil_ring *vring) wil_vring_free() argument 256 wil_vring_alloc_skb(struct wil6210_priv *wil, struct wil_ring *vring, u32 i, int headroom) wil_vring_alloc_skb() argument 305 wil_rx_add_radiotap_header(struct wil6210_priv *wil, struct sk_buff *skb) wil_rx_add_radiotap_header() argument 351 wil_is_rx_idle(struct wil6210_priv *wil) wil_is_rx_idle() argument 363 wil_rx_get_cid_by_skb(struct wil6210_priv *wil, struct sk_buff *skb) wil_rx_get_cid_by_skb() argument 439 wil_vring_reap_rx(struct wil6210_priv *wil, struct wil_ring *vring) wil_vring_reap_rx() argument 605 wil_rx_refill(struct wil6210_priv *wil, int count) wil_rx_refill() argument 658 wil_rx_crypto_check(struct wil6210_priv *wil, struct sk_buff *skb) wil_rx_crypto_check() argument 689 wil_rx_error_check(struct wil6210_priv *wil, struct sk_buff *skb, struct wil_net_stats *stats) wil_rx_error_check() argument 719 wil_is_ptk_eapol_key(struct wil6210_priv *wil, struct sk_buff *skb) wil_is_ptk_eapol_key() argument 757 wil_skb_is_eap_3(struct wil6210_priv *wil, struct sk_buff *skb) wil_skb_is_eap_3() argument 779 wil_skb_is_eap_4(struct wil6210_priv *wil, struct sk_buff *skb) wil_skb_is_eap_4() argument 805 struct wil6210_priv *wil = vif_to_wil(vif); wil_enable_tx_key_worker() local 836 struct wil6210_priv *wil = vif_to_wil(vif); wil_tx_complete_handle_eapol() local 874 struct wil6210_priv *wil = vif_to_wil(vif); wil_rx_handle_eapol() local 897 struct wil6210_priv *wil = ndev_to_wil(ndev); wil_netif_rx() local 974 struct wil6210_priv *wil = ndev_to_wil(ndev); wil_netif_rx_any() local 1005 wil_rx_handle(struct wil6210_priv *wil, int *quota) wil_rx_handle() argument 1035 wil_rx_buf_len_init(struct wil6210_priv *wil) wil_rx_buf_len_init() argument 1049 wil_rx_init(struct wil6210_priv *wil, uint order) wil_rx_init() argument 1084 wil_rx_fini(struct wil6210_priv *wil) wil_rx_fini() argument 1137 struct wil6210_priv *wil = vif_to_wil(vif); wil_vring_init_tx() local 1239 struct wil6210_priv *wil = vif_to_wil(vif); wil_tx_vring_modify() local 1321 struct wil6210_priv *wil = vif_to_wil(vif); wil_vring_init_bcast() local 1400 wil_find_tx_ucast(struct wil6210_priv *wil, struct wil6210_vif *vif, struct sk_buff *skb) wil_find_tx_ucast() argument 1441 wil_find_tx_ring_sta(struct wil6210_priv *wil, struct wil6210_vif *vif, struct sk_buff *skb) wil_find_tx_ring_sta() argument 1490 wil_find_tx_bcast_1(struct wil6210_priv *wil, struct wil6210_vif *vif, struct sk_buff *skb) wil_find_tx_bcast_1() argument 1514 wil_check_multicast_to_unicast(struct wil6210_priv *wil, struct sk_buff *skb) wil_check_multicast_to_unicast() argument 1540 wil_set_da_for_vring(struct wil6210_priv *wil, struct sk_buff *skb, int vring_index) wil_set_da_for_vring() argument 1549 wil_find_tx_bcast_2(struct wil6210_priv *wil, struct wil6210_vif *vif, struct sk_buff *skb) wil_find_tx_bcast_2() argument 1725 __wil_tx_vring_tso(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *vring, struct sk_buff *skb) __wil_tx_vring_tso() argument 2028 __wil_tx_ring(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, struct sk_buff *skb) __wil_tx_ring() argument 2186 wil_tx_ring(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, struct sk_buff *skb) wil_tx_ring() argument 2228 __wil_update_net_queues(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, bool check_stop) __wil_update_net_queues() argument 2294 wil_update_net_queues(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, bool check_stop) wil_update_net_queues() argument 2302 wil_update_net_queues_bh(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, bool check_stop) wil_update_net_queues_bh() argument 2313 struct wil6210_priv *wil = vif_to_wil(vif); wil_start_xmit() local 2389 wil_tx_latency_calc(struct wil6210_priv *wil, struct sk_buff *skb, struct wil_sta_info *sta) wil_tx_latency_calc() argument 2422 struct wil6210_priv *wil = vif_to_wil(vif); wil_tx_complete() local 2546 wil_tx_init(struct wil6210_priv *wil) wil_tx_init() argument 2551 wil_tx_fini(struct wil6210_priv *wil) wil_tx_fini() argument 2553 wil_get_reorder_params(struct wil6210_priv *wil, struct sk_buff *skb, int *tid, int *cid, int *mid, u16 *seq, int *mcast, int *retry) wil_get_reorder_params() argument 2567 wil_init_txrx_ops_legacy_dma(struct wil6210_priv *wil) wil_init_txrx_ops_legacy_dma() argument [all...] |
H A D | wil6210.h | 407 /* Common representation of physical address in wil ring */ 592 void (*configure_interrupt_moderation)(struct wil6210_priv *wil); 596 void (*ring_fini_tx)(struct wil6210_priv *wil, struct wil_ring *ring); 598 int (*tx_init)(struct wil6210_priv *wil); 599 void (*tx_fini)(struct wil6210_priv *wil); 605 int (*tx_ring_tso)(struct wil6210_priv *wil, struct wil6210_vif *vif, 611 int (*rx_init)(struct wil6210_priv *wil, uint ring_order); 612 void (*rx_fini)(struct wil6210_priv *wil); 613 int (*wmi_addba_rx_resp)(struct wil6210_priv *wil, u8 mid, u8 cid, 616 void (*get_reorder_params)(struct wil6210_priv *wil, 796 struct wil6210_priv *wil; global() member 822 struct wil6210_priv *wil; global() member 844 struct wil6210_priv *wil; global() member 1077 wdev_to_vif(struct wil6210_priv *wil, struct wireless_dev *wdev) wdev_to_vif() argument 1088 vif_to_radio_wdev(struct wil6210_priv *wil, struct wil6210_vif *vif) vif_to_radio_wdev() argument 1124 wil_r(struct wil6210_priv *wil, u32 reg) wil_r() argument 1130 wil_w(struct wil6210_priv *wil, u32 reg, u32 val) wil_w() argument 1137 wil_s(struct wil6210_priv *wil, u32 reg, u32 val) wil_s() argument 1143 wil_c(struct wil6210_priv *wil, u32 reg, u32 val) wil_c() argument 1151 wil_cid_valid(struct wil6210_priv *wil, int cid) wil_cid_valid() argument 1330 wil6210_debugfs_init(struct wil6210_priv *wil) wil6210_debugfs_init() argument 1331 wil6210_debugfs_remove(struct wil6210_priv *wil) wil6210_debugfs_remove() argument [all...] |
H A D | cfg80211.c | 105 static int wil_num_supported_channels(struct wil6210_priv *wil) in wil_num_supported_channels() argument 109 if (!test_bit(WMI_FW_CAPABILITY_CHANNEL_4, wil->fw_capabilities)) in wil_num_supported_channels() 115 void update_supported_bands(struct wil6210_priv *wil) in update_supported_bands() argument 117 struct wiphy *wiphy = wil_to_wiphy(wil); in update_supported_bands() 119 wil_dbg_misc(wil, "update supported bands"); in update_supported_bands() 122 wil_num_supported_channels(wil); in update_supported_bands() 124 if (test_bit(WMI_FW_CAPABILITY_CHANNEL_BONDING, wil->fw_capabilities)) { in update_supported_bands() 433 struct wil6210_priv *wil = vif_to_wil(vif); in wil_cid_fill_sinfo() local 442 struct wil_net_stats *stats = &wil->sta[cid].stats; in wil_cid_fill_sinfo() 448 rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDI in wil_cid_fill_sinfo() 518 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_get_station() local 536 wil_find_cid_by_idx(struct wil6210_priv *wil, u8 mid, int idx) wil_find_cid_by_idx() argument 558 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_dump_station() local 577 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_start_p2p_device() local 587 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_stop_p2p_device() local 601 wil_cfg80211_validate_add_iface(struct wil6210_priv *wil, enum nl80211_iftype new_type) wil_cfg80211_validate_add_iface() argument 620 wil_cfg80211_validate_change_iface(struct wil6210_priv *wil, struct wil6210_vif *vif, enum nl80211_iftype new_type) wil_cfg80211_validate_change_iface() argument 654 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_add_iface() local 727 struct wil6210_priv *wil = vif_to_wil(vif); wil_vif_prepare_stop() local 753 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_del_iface() local 803 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_change_iface() local 868 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_scan() local 1012 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_abort_scan() local 1038 wil_print_crypto(struct wil6210_priv *wil, struct cfg80211_crypto_settings *c) wil_print_crypto() argument 1082 wil_print_connect_params(struct wil6210_priv *wil, struct cfg80211_connect_params *sme) wil_print_connect_params() argument 1108 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_ft_connect() local 1162 wil_get_wmi_edmg_channel(struct wil6210_priv *wil, u8 edmg_bw_config, u8 edmg_channels, u8 *wmi_ch) wil_get_wmi_edmg_channel() argument 1193 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_connect() local 1368 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_disconnect() local 1392 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_wiphy_params() local 1416 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_mgmt_tx() local 1477 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_channel() local 1487 struct wil6210_priv *wil = wdev_to_wil(wdev); wil_detect_key_usage() local 1515 wil_find_sta_by_key_usage(struct wil6210_priv *wil, u8 mid, enum wmi_key_usage key_usage, const u8 *mac_addr) wil_find_sta_by_key_usage() argument 1606 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_add_key() local 1681 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_del_key() local 1707 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_default_key() local 1719 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_remain_on_channel() local 1734 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cancel_remain_on_channel() local 1915 struct wil6210_priv *wil = wiphy_to_wil(wiphy); _wil_cfg80211_start_ap() local 2007 wil_cfg80211_ap_recovery(struct wil6210_priv *wil) wil_cfg80211_ap_recovery() argument 2064 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_change_beacon() local 2105 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_start_ap() local 2168 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_stop_ap() local 2209 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_add_station() local 2233 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_del_station() local 2251 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_change_station() local 2294 wil_probe_client_handle(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_probe_client_req *req) wil_probe_client_handle() argument 2329 struct wil6210_priv *wil = vif_to_wil(vif); wil_probe_client_worker() local 2344 struct wil6210_priv *wil = vif_to_wil(vif); wil_probe_client_flush() local 2362 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_probe_client() local 2393 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_change_bss() local 2409 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_power_mgmt() local 2426 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_suspend() local 2455 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_resume() local 2467 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_sched_scan_start() local 2518 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_sched_scan_stop() local 2538 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_update_ft_ies() local 2586 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_multicast_to_unicast() local 2601 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_cqm_rssi_config() local 2696 wil_cfg80211_iface_combinations_from_fw( struct wil6210_priv *wil, const struct wil_fw_record_concurrency *conc) wil_cfg80211_iface_combinations_from_fw() argument 2771 struct wil6210_priv *wil; wil_cfg80211_init() local 2797 wil_cfg80211_deinit(struct wil6210_priv *wil) wil_cfg80211_deinit() argument 2813 wil_p2p_wdev_free(struct wil6210_priv *wil) wil_p2p_wdev_free() argument 2848 struct wil6210_priv *wil = wdev_to_wil(wdev); wil_rf_sector_get_cfg() local 2969 struct wil6210_priv *wil = wdev_to_wil(wdev); wil_rf_sector_set_cfg() local 3081 struct wil6210_priv *wil = wdev_to_wil(wdev); wil_rf_sector_get_selected() local 3165 wil_rf_sector_wmi_set_selected(struct wil6210_priv *wil, u8 mid, u16 sector_index, u8 sector_type, u8 cid) wil_rf_sector_wmi_set_selected() argument 3196 struct wil6210_priv *wil = wdev_to_wil(wdev); wil_rf_sector_set_selected() local [all...] |
H A D | ethtool.c | 17 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_get_coalesce() local 22 mutex_lock(&wil->mutex); in wil_ethtoolops_get_coalesce() 23 wil_dbg_misc(wil, "ethtoolops_get_coalesce\n"); in wil_ethtoolops_get_coalesce() 25 ret = wil_pm_runtime_get(wil); in wil_ethtoolops_get_coalesce() 29 tx_itr_en = wil_r(wil, RGF_DMA_ITR_TX_CNT_CTL); in wil_ethtoolops_get_coalesce() 31 tx_itr_val = wil_r(wil, RGF_DMA_ITR_TX_CNT_TRSH); in wil_ethtoolops_get_coalesce() 33 rx_itr_en = wil_r(wil, RGF_DMA_ITR_RX_CNT_CTL); in wil_ethtoolops_get_coalesce() 35 rx_itr_val = wil_r(wil, RGF_DMA_ITR_RX_CNT_TRSH); in wil_ethtoolops_get_coalesce() 37 wil_pm_runtime_put(wil); in wil_ethtoolops_get_coalesce() 44 mutex_unlock(&wil in wil_ethtoolops_get_coalesce() 51 struct wil6210_priv *wil = ndev_to_wil(ndev); wil_ethtoolops_set_coalesce() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/ |
H A D | pm.c | 13 static void wil_pm_wake_connected_net_queues(struct wil6210_priv *wil) in wil_pm_wake_connected_net_queues() argument 17 mutex_lock(&wil->vif_mutex); in wil_pm_wake_connected_net_queues() 18 for (i = 0; i < GET_MAX_VIFS(wil); i++) { in wil_pm_wake_connected_net_queues() 19 struct wil6210_vif *vif = wil->vifs[i]; in wil_pm_wake_connected_net_queues() 22 wil_update_net_queues_bh(wil, vif, NULL, false); in wil_pm_wake_connected_net_queues() 24 mutex_unlock(&wil->vif_mutex); in wil_pm_wake_connected_net_queues() 27 static void wil_pm_stop_all_net_queues(struct wil6210_priv *wil) in wil_pm_stop_all_net_queues() argument 31 mutex_lock(&wil->vif_mutex); in wil_pm_stop_all_net_queues() 32 for (i = 0; i < GET_MAX_VIFS(wil); i++) { in wil_pm_stop_all_net_queues() 33 struct wil6210_vif *vif = wil in wil_pm_stop_all_net_queues() 42 wil_can_suspend_vif(struct wil6210_priv *wil, struct wil6210_vif *vif, bool is_runtime) wil_can_suspend_vif() argument 73 wil_can_suspend(struct wil6210_priv *wil, bool is_runtime) wil_can_suspend() argument 138 wil_resume_keep_radio_on(struct wil6210_priv *wil) wil_resume_keep_radio_on() argument 179 wil_suspend_keep_radio_on(struct wil6210_priv *wil) wil_suspend_keep_radio_on() argument 299 wil_suspend_radio_off(struct wil6210_priv *wil) wil_suspend_radio_off() argument 354 wil_resume_radio_off(struct wil6210_priv *wil) wil_resume_radio_off() argument 377 wil_suspend(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on) wil_suspend() argument 399 wil_resume(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on) wil_resume() argument 425 wil_pm_runtime_allow(struct wil6210_priv *wil) wil_pm_runtime_allow() argument 435 wil_pm_runtime_forbid(struct wil6210_priv *wil) wil_pm_runtime_forbid() argument 443 wil_pm_runtime_get(struct wil6210_priv *wil) wil_pm_runtime_get() argument 457 wil_pm_runtime_put(struct wil6210_priv *wil) wil_pm_runtime_put() argument [all...] |
H A D | pcie_bus.c | 28 int wil_set_capabilities(struct wil6210_priv *wil) in wil_set_capabilities() argument 31 u32 jtag_id = wil_r(wil, RGF_USER_JTAG_DEV_ID); in wil_set_capabilities() 32 u8 chip_revision = (wil_r(wil, RGF_USER_REVISION_ID) & in wil_set_capabilities() 37 bitmap_zero(wil->hw_capa, hw_capa_last); in wil_set_capabilities() 38 bitmap_zero(wil->fw_capabilities, WMI_FW_CAPABILITY_MAX); in wil_set_capabilities() 39 bitmap_zero(wil->platform_capa, WIL_PLATFORM_CAPA_MAX); in wil_set_capabilities() 40 wil->wil_fw_name = ftm_mode ? WIL_FW_NAME_FTM_DEFAULT : in wil_set_capabilities() 42 wil->chip_revision = chip_revision; in wil_set_capabilities() 50 wil->hw_name = "Sparrow D0"; in wil_set_capabilities() 51 wil in wil_set_capabilities() 143 wil_disable_irq(struct wil6210_priv *wil) wil_disable_irq() argument 154 wil_enable_irq(struct wil6210_priv *wil) wil_enable_irq() argument 165 wil_remove_all_additional_vifs(struct wil6210_priv *wil) wil_remove_all_additional_vifs() argument 180 wil_if_pcie_enable(struct wil6210_priv *wil) wil_if_pcie_enable() argument 250 wil_if_pcie_disable(struct wil6210_priv *wil) wil_if_pcie_disable() argument 268 struct wil6210_priv *wil = wil_handle; wil_platform_rop_ramdump() local 278 struct wil6210_priv *wil = wil_handle; wil_platform_rop_fw_recovery() local 288 wil_platform_ops_uninit(struct wil6210_priv *wil) wil_platform_ops_uninit() argument 297 struct wil6210_priv *wil; wil_pcie_probe() local 465 struct wil6210_priv *wil = pci_get_drvdata(pdev); wil_pcie_remove() local 502 struct wil6210_priv *wil = pci_get_drvdata(pdev); wil6210_suspend() local 537 struct wil6210_priv *wil = pci_get_drvdata(pdev); wil6210_resume() local 575 struct wil6210_priv *wil = container_of( wil6210_pm_notify() local 623 struct wil6210_priv *wil = dev_get_drvdata(dev); wil6210_pm_runtime_idle() local 637 struct wil6210_priv *wil = dev_get_drvdata(dev); wil6210_pm_runtime_suspend() local [all...] |
H A D | interrupt.c | 75 static void wil6210_mask_irq_tx(struct wil6210_priv *wil) in wil6210_mask_irq_tx() argument 77 wil_w(wil, RGF_DMA_EP_TX_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_tx() 81 static void wil6210_mask_irq_tx_edma(struct wil6210_priv *wil) in wil6210_mask_irq_tx_edma() argument 83 wil_w(wil, RGF_INT_GEN_TX_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_tx_edma() 87 static void wil6210_mask_irq_rx(struct wil6210_priv *wil) in wil6210_mask_irq_rx() argument 89 wil_w(wil, RGF_DMA_EP_RX_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_rx() 93 static void wil6210_mask_irq_rx_edma(struct wil6210_priv *wil) in wil6210_mask_irq_rx_edma() argument 95 wil_w(wil, RGF_INT_GEN_RX_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_rx_edma() 99 static void wil6210_mask_irq_misc(struct wil6210_priv *wil, bool mask_halp) in wil6210_mask_irq_misc() argument 101 wil_dbg_irq(wil, "mask_irq_mis in wil6210_mask_irq_misc() 108 wil6210_mask_halp(struct wil6210_priv *wil) wil6210_mask_halp() argument 116 wil6210_mask_irq_pseudo(struct wil6210_priv *wil) wil6210_mask_irq_pseudo() argument 125 wil6210_unmask_irq_tx(struct wil6210_priv *wil) wil6210_unmask_irq_tx() argument 131 wil6210_unmask_irq_tx_edma(struct wil6210_priv *wil) wil6210_unmask_irq_tx_edma() argument 137 wil6210_unmask_irq_rx(struct wil6210_priv *wil) wil6210_unmask_irq_rx() argument 145 wil6210_unmask_irq_rx_edma(struct wil6210_priv *wil) wil6210_unmask_irq_rx_edma() argument 151 wil6210_unmask_irq_misc(struct wil6210_priv *wil, bool unmask_halp) wil6210_unmask_irq_misc() argument 160 wil6210_unmask_halp(struct wil6210_priv *wil) wil6210_unmask_halp() argument 168 wil6210_unmask_irq_pseudo(struct wil6210_priv *wil) wil6210_unmask_irq_pseudo() argument 177 wil_mask_irq(struct wil6210_priv *wil) wil_mask_irq() argument 189 wil_unmask_irq(struct wil6210_priv *wil) wil_unmask_irq() argument 215 wil_configure_interrupt_moderation_edma(struct wil6210_priv *wil) wil_configure_interrupt_moderation_edma() argument 236 wil_configure_interrupt_moderation(struct wil6210_priv *wil) wil_configure_interrupt_moderation() argument 287 struct wil6210_priv *wil = cookie; wil6210_irq_rx() local 349 struct wil6210_priv *wil = cookie; wil6210_irq_rx_edma() local 400 struct wil6210_priv *wil = cookie; wil6210_irq_tx_edma() local 446 struct wil6210_priv *wil = cookie; wil6210_irq_tx() local 493 wil_notify_fw_error(struct wil6210_priv *wil) wil_notify_fw_error() argument 505 wil_cache_mbox_regs(struct wil6210_priv *wil) wil_cache_mbox_regs() argument 514 wil_validate_mbox_regs(struct wil6210_priv *wil) wil_validate_mbox_regs() argument 535 struct wil6210_priv *wil = cookie; wil6210_irq_misc() local 604 struct wil6210_priv *wil = cookie; wil6210_irq_misc_thread() local 651 struct wil6210_priv *wil = cookie; wil6210_thread_irq() local 675 wil6210_debug_irq_mask(struct wil6210_priv *wil, u32 pseudo_cause) wil6210_debug_irq_mask() argument 750 struct wil6210_priv *wil = cookie; wil6210_hardirq() local 800 wil6210_request_3msi(struct wil6210_priv *wil, int irq) wil6210_request_3msi() argument 842 wil6210_clear_irq(struct wil6210_priv *wil) wil6210_clear_irq() argument 857 wil6210_set_halp(struct wil6210_priv *wil) wil6210_set_halp() argument 865 wil6210_clear_halp(struct wil6210_priv *wil) wil6210_clear_halp() argument 874 wil6210_init_irq(struct wil6210_priv *wil, int irq) wil6210_init_irq() argument 899 wil6210_fini_irq(struct wil6210_priv *wil, int irq) wil6210_fini_irq() argument [all...] |
H A D | main.c | 179 int wil_mem_access_lock(struct wil6210_priv *wil) in wil_mem_access_lock() argument 181 if (!down_read_trylock(&wil->mem_lock)) in wil_mem_access_lock() 184 if (test_bit(wil_status_suspending, wil->status) || in wil_mem_access_lock() 185 test_bit(wil_status_suspended, wil->status)) { in wil_mem_access_lock() 186 up_read(&wil->mem_lock); in wil_mem_access_lock() 193 void wil_mem_access_unlock(struct wil6210_priv *wil) in wil_mem_access_unlock() argument 195 up_read(&wil->mem_lock); in wil_mem_access_unlock() 198 static void wil_ring_fini_tx(struct wil6210_priv *wil, int id) in wil_ring_fini_tx() argument 200 struct wil_ring *ring = &wil->ring_tx[id]; in wil_ring_fini_tx() 201 struct wil_ring_tx_data *txdata = &wil in wil_ring_fini_tx() 229 wil_vif_is_connected(struct wil6210_priv *wil, u8 mid) wil_vif_is_connected() argument 247 struct wil6210_priv *wil = vif_to_wil(vif); global() variable 304 struct wil6210_priv *wil = vif_to_wil(vif); _wil6210_disconnect_complete() local 387 struct wil6210_priv *wil = vif_to_wil(vif); wil_disconnect_cid() local 417 struct wil6210_priv *wil; _wil6210_disconnect() local 464 struct wil6210_priv *wil = vif_to_wil(vif); wil_disconnect_worker() local 497 wil_wait_for_recovery(struct wil6210_priv *wil) wil_wait_for_recovery() argument 512 wil_set_recovery_state(struct wil6210_priv *wil, int state) wil_set_recovery_state() argument 521 wil_is_recovery_blocked(struct wil6210_priv *wil) wil_is_recovery_blocked() argument 528 struct wil6210_priv *wil = container_of(work, struct wil6210_priv, wil_fw_error_worker() local 601 wil_find_free_ring(struct wil6210_priv *wil) wil_find_free_ring() argument 615 struct wil6210_priv *wil = vif_to_wil(vif); wil_ring_init_tx() local 643 struct wil6210_priv *wil = vif_to_wil(vif); wil_bcast_init() local 663 struct wil6210_priv *wil = vif_to_wil(vif); wil_bcast_fini() local 673 wil_bcast_fini_all(struct wil6210_priv *wil) wil_bcast_fini_all() argument 685 wil_priv_init(struct wil6210_priv *wil) wil_priv_init() argument 775 wil6210_bus_request(struct wil6210_priv *wil, u32 kbps) wil6210_bus_request() argument 797 struct wil6210_priv *wil = vif_to_wil(vif); wil6210_disconnect() local 817 struct wil6210_priv *wil = vif_to_wil(vif); wil6210_disconnect_complete() local 825 wil_priv_deinit(struct wil6210_priv *wil) wil_priv_deinit() argument 837 wil_shutdown_bl(struct wil6210_priv *wil) wil_shutdown_bl() argument 869 wil_freeze_bl(struct wil6210_priv *wil) wil_freeze_bl() argument 899 wil_bl_prepare_halt(struct wil6210_priv *wil) wil_bl_prepare_halt() argument 929 wil_halt_cpu(struct wil6210_priv *wil) wil_halt_cpu() argument 942 wil_release_cpu(struct wil6210_priv *wil) wil_release_cpu() argument 951 wil_set_oob_mode(struct wil6210_priv *wil, u8 mode) wil_set_oob_mode() argument 972 wil_wait_device_ready(struct wil6210_priv *wil, int no_flash) wil_wait_device_ready() argument 1007 wil_wait_device_ready_talyn_mb(struct wil6210_priv *wil) wil_wait_device_ready_talyn_mb() argument 1107 wil_target_reset(struct wil6210_priv *wil, int no_flash) wil_target_reset() argument 1211 wil_collect_fw_info(struct wil6210_priv *wil) wil_collect_fw_info() argument 1226 wil_refresh_fw_capabilities(struct wil6210_priv *wil) wil_refresh_fw_capabilities() argument 1290 wil_get_board_file(struct wil6210_priv *wil, char *buf, size_t len) wil_get_board_file() argument 1311 wil_get_bl_info(struct wil6210_priv *wil) wil_get_bl_info() argument 1372 wil_bl_crash_info(struct wil6210_priv *wil, bool is_err) wil_bl_crash_info() argument 1403 wil_get_otp_info(struct wil6210_priv *wil) wil_get_otp_info() argument 1439 wil_wait_for_fw_ready(struct wil6210_priv *wil) wil_wait_for_fw_ready() argument 1456 struct wil6210_priv *wil = vif_to_wil(vif); wil_abort_scan() local 1483 wil_abort_scan_all_vifs(struct wil6210_priv *wil, bool sync) wil_abort_scan_all_vifs() argument 1497 wil_ps_update(struct wil6210_priv *wil, enum wmi_ps_profile_type ps_profile) wil_ps_update() argument 1515 wil_pre_fw_config(struct wil6210_priv *wil) wil_pre_fw_config() argument 1546 wil_restore_vifs(struct wil6210_priv *wil) wil_restore_vifs() argument 1579 wil_clear_fw_log_addr(struct wil6210_priv *wil) wil_clear_fw_log_addr() argument 1593 wil_reset(struct wil6210_priv *wil, bool load_fw) wil_reset() argument 1799 wil_fw_error_recovery(struct wil6210_priv *wil) wil_fw_error_recovery() argument 1812 __wil_up(struct wil6210_priv *wil) __wil_up() argument 1877 wil_up(struct wil6210_priv *wil) wil_up() argument 1890 __wil_down(struct wil6210_priv *wil) __wil_down() argument 1917 wil_down(struct wil6210_priv *wil) wil_down() argument 1931 wil_find_cid(struct wil6210_priv *wil, u8 mid, const u8 *mac) wil_find_cid() argument 1948 wil_halp_vote(struct wil6210_priv *wil) wil_halp_vote() argument 1985 wil_halp_unvote(struct wil6210_priv *wil) wil_halp_unvote() argument 2008 wil_init_txrx_ops(struct wil6210_priv *wil) wil_init_txrx_ops() argument [all...] |
H A D | netdev.c | 12 bool wil_has_other_active_ifaces(struct wil6210_priv *wil, in wil_has_other_active_ifaces() argument 19 for (i = 0; i < GET_MAX_VIFS(wil); i++) { in wil_has_other_active_ifaces() 20 vif = wil->vifs[i]; in wil_has_other_active_ifaces() 33 bool wil_has_active_ifaces(struct wil6210_priv *wil, bool up, bool ok) in wil_has_active_ifaces() argument 36 return wil_has_other_active_ifaces(wil, NULL, up, ok); in wil_has_active_ifaces() 41 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_open() local 44 wil_dbg_misc(wil, "open\n"); in wil_open() 47 test_bit(WMI_FW_CAPABILITY_WMI_ONLY, wil->fw_capabilities)) { in wil_open() 48 wil_err(wil, "while in debug_fw or wmi_only mode\n"); in wil_open() 52 if (!wil_has_other_active_ifaces(wil, nde in wil_open() 68 struct wil6210_priv *wil = ndev_to_wil(ndev); wil_stop() local 93 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, wil6210_netdev_poll_rx() local 114 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, wil6210_netdev_poll_rx_edma() local 135 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, wil6210_netdev_poll_tx() local 172 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, wil6210_netdev_poll_tx_edma() local 231 struct wil6210_priv *wil = vif_to_wil(vif); wil_connect_timer_fn() local 247 struct wil6210_priv *wil = vif_to_wil(vif); wil_scan_timer_fn() local 257 struct wil6210_priv *wil = vif_to_wil(vif); wil_p2p_discovery_timer_fn() local 285 wil_vif_find_free_mid(struct wil6210_priv *wil) wil_vif_find_free_mid() argument 298 wil_vif_alloc(struct wil6210_priv *wil, const char *name, unsigned char name_assign_type, enum nl80211_iftype iftype) wil_vif_alloc() argument 350 struct wil6210_priv *wil; wil_if_alloc() local 389 wil_if_free(struct wil6210_priv *wil) wil_if_free() argument 407 wil_vif_add(struct wil6210_priv *wil, struct wil6210_vif *vif) wil_vif_add() argument 439 wil_if_add(struct wil6210_priv *wil) wil_if_add() argument 486 wil_vif_remove(struct wil6210_priv *wil, u8 mid) wil_vif_remove() argument 540 wil_if_remove(struct wil6210_priv *wil) wil_if_remove() argument [all...] |
H A D | p2p.c | 17 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_start_listen() local 22 lockdep_assert_held(&wil->mutex); in wil_p2p_start_listen() 26 wil_err(wil, "wmi_p2p_cfg failed\n"); in wil_p2p_start_listen() 32 wil_err(wil, "wmi_set_ssid failed\n"); in wil_p2p_start_listen() 38 wil_err(wil, "wmi_start_listen failed\n"); in wil_p2p_start_listen() 62 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search() local 66 wil_dbg_misc(wil, "p2p_search: channel %d\n", P2P_DMG_SOCIAL_CHANNEL); in wil_p2p_search() 68 lockdep_assert_held(&wil->mutex); in wil_p2p_search() 71 wil_err(wil, "search failed. discovery already ongoing\n"); in wil_p2p_search() 78 wil_err(wil, "wmi_p2p_cf in wil_p2p_search() 125 wil_p2p_listen(struct wil6210_priv *wil, struct wireless_dev *wdev, unsigned int duration, struct ieee80211_channel *chan, u64 *cookie) wil_p2p_listen() argument 198 struct wil6210_priv *wil = vif_to_wil(vif); wil_p2p_cancel_listen() local 237 struct wil6210_priv *wil = vif_to_wil(vif); wil_p2p_listen_expired() local 265 struct wil6210_priv *wil = vif_to_wil(vif); wil_p2p_search_expired() local 297 struct wil6210_priv *wil = vif_to_wil(vif); wil_p2p_delayed_listen_work() local 338 wil_p2p_stop_radio_operations(struct wil6210_priv *wil) wil_p2p_stop_radio_operations() argument [all...] |
H A D | wmi.c | 42 * event list @wil->pending_wmi_ev. Then, work queue @wil->wmi_wq wakes up 264 * @wil: driver data 274 void __iomem *wmi_buffer_block(struct wil6210_priv *wil, __le32 ptr_, u32 size) in wmi_buffer_block() argument 287 if (off > wil->bar_size - 4) in wmi_buffer_block() 289 if (size && ((off + size > wil->bar_size) || (off + size < off))) in wmi_buffer_block() 292 return wil->csr + off; in wmi_buffer_block() 295 void __iomem *wmi_buffer(struct wil6210_priv *wil, __le32 ptr_) in wmi_buffer() argument 297 return wmi_buffer_block(wil, ptr_, 0); in wmi_buffer() 301 void __iomem *wmi_addr(struct wil6210_priv *wil, u3 argument 318 wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr, struct wil6210_mbox_hdr *hdr) wmi_read_hdr() argument 633 __wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len) __wmi_send() argument 755 wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len) wmi_send() argument 769 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_ready() local 817 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_rx_mgmt() local 923 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_scan_complete() local 955 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_connect() local 1124 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_disconnect() local 1168 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_eapol_rx() local 1218 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_ring_en() local 1267 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_ba_status() local 1299 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_addba_rx_req() local 1317 struct wil6210_priv *wil = vif_to_wil(vif); global() variable 1378 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_sched_scan_result() local 1455 struct wil6210_priv *wil = vif_to_wil(vif); wil_link_stats_store_basic() local 1471 struct wil6210_priv *wil = vif_to_wil(vif); wil_link_stats_store_global() local 1480 struct wil6210_priv *wil = vif_to_wil(vif); wmi_link_stats_parse() local 1558 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_link_stats() local 1580 wil_find_cid_ringid_sta(struct wil6210_priv *wil, struct wil6210_vif *vif, int *cid, int *ringid) wil_find_cid_ringid_sta() argument 1625 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_auth_status() local 1714 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_reassoc_status() local 1843 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_link_monitor() local 1871 struct wil6210_priv *wil = vif_to_wil(vif); wmi_evt_ignore() local 1907 wmi_recv_cmd(struct wil6210_priv *wil) wmi_recv_cmd() argument 2041 wmi_call(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len, u16 reply_id, void *reply, u16 reply_size, int to_msec) wmi_call() argument 2088 wmi_echo(struct wil6210_priv *wil) wmi_echo() argument 2100 wmi_set_mac_address(struct wil6210_priv *wil, const void *addr) wmi_set_mac_address() argument 2113 wmi_led_cfg(struct wil6210_priv *wil, bool enable) wmi_led_cfg() argument 2170 wmi_rbufcap_cfg(struct wil6210_priv *wil, bool enable, u16 threshold) wmi_rbufcap_cfg() argument 2204 struct wil6210_priv *wil = vif_to_wil(vif); wmi_pcp_start() local 2266 struct wil6210_priv *wil = vif_to_wil(vif); wmi_pcp_stop() local 2280 struct wil6210_priv *wil = vif_to_wil(vif); wmi_set_ssid() local 2295 struct wil6210_priv *wil = vif_to_wil(vif); wmi_get_ssid() local 2321 wmi_set_channel(struct wil6210_priv *wil, int channel) wmi_set_channel() argument 2332 wmi_get_channel(struct wil6210_priv *wil, int *channel) wmi_get_channel() argument 2359 struct wil6210_priv *wil = vif_to_wil(vif); wmi_p2p_cfg() local 2387 struct wil6210_priv *wil = vif_to_wil(vif); wmi_start_listen() local 2411 struct wil6210_priv *wil = vif_to_wil(vif); wmi_start_search() local 2435 struct wil6210_priv *wil = vif_to_wil(vif); wmi_stop_discovery() local 2453 struct wil6210_priv *wil = vif_to_wil(vif); wmi_del_cipher_key() local 2469 struct wil6210_priv *wil = vif_to_wil(vif); wmi_add_cipher_key() local 2496 struct wil6210_priv *wil = vif_to_wil(vif); wmi_set_ie() local 2540 struct wil6210_priv *wil = vif_to_wil(vif); wmi_update_ft_ies() local 2582 wmi_rxon(struct wil6210_priv *wil, bool on) wmi_rxon() argument 2611 wmi_rx_chain_add(struct wil6210_priv *wil, struct wil_ring *vring) wmi_rx_chain_add() argument 2677 wmi_get_temperature(struct wil6210_priv *wil, u32 *t_bb, u32 *t_rf) wmi_get_temperature() argument 2707 wmi_get_all_temperatures(struct wil6210_priv *wil, struct wmi_temp_sense_all_done_event *sense_all_evt) wmi_get_all_temperatures() argument 2748 struct wil6210_priv *wil = vif_to_wil(vif); wmi_disconnect_sta() local 2787 wmi_addba(struct wil6210_priv *wil, u8 mid, u8 ringid, u8 size, u16 timeout) wmi_addba() argument 2806 wmi_delba_tx(struct wil6210_priv *wil, u8 mid, u8 ringid, u16 reason) wmi_delba_tx() argument 2818 wmi_delba_rx(struct wil6210_priv *wil, u8 mid, u8 cid, u8 tid, u16 reason) wmi_delba_rx() argument 2838 wmi_addba_rx_resp(struct wil6210_priv *wil, u8 mid, u8 cid, u8 tid, u8 token, u16 status, bool amsdu, u16 agg_wsize, u16 timeout) wmi_addba_rx_resp() argument 2890 wmi_addba_rx_resp_edma(struct wil6210_priv *wil, u8 mid, u8 cid, u8 tid, u8 token, u16 status, bool amsdu, u16 agg_wsize, u16 timeout) wmi_addba_rx_resp_edma() argument 2938 wmi_ps_dev_profile_cfg(struct wil6210_priv *wil, enum wmi_ps_profile_type ps_profile) wmi_ps_dev_profile_cfg() argument 2974 wmi_set_mgmt_retry(struct wil6210_priv *wil, u8 retry_short) wmi_set_mgmt_retry() argument 3009 wmi_get_mgmt_retry(struct wil6210_priv *wil, u8 *retry_short) wmi_get_mgmt_retry() argument 3038 struct wil6210_priv *wil = vif_to_wil(vif); wmi_abort_scan() local 3052 struct wil6210_priv *wil = vif_to_wil(vif); wmi_new_sta() local 3069 wmi_event_flush(struct wil6210_priv *wil) wmi_event_flush() argument 3100 wmi_suspend(struct wil6210_priv *wil) wmi_suspend() argument 3189 wmi_resume(struct wil6210_priv *wil) wmi_resume() argument 3217 wmi_port_allocate(struct wil6210_priv *wil, u8 mid, const u8 *mac, enum nl80211_iftype iftype) wmi_port_allocate() argument 3271 wmi_port_delete(struct wil6210_priv *wil, u8 mid) wmi_port_delete() argument 3318 wmi_event_handle(struct wil6210_priv *wil, struct wil6210_mbox_hdr *hdr) wmi_event_handle() argument 3388 next_wmi_ev(struct wil6210_priv *wil) next_wmi_ev() argument 3410 struct wil6210_priv *wil = container_of(work, struct wil6210_priv, wmi_event_worker() local 3424 wil_is_wmi_idle(struct wil6210_priv *wil) wil_is_wmi_idle() argument 3458 wmi_sched_scan_set_ssids(struct wil6210_priv *wil, struct wmi_start_sched_scan_cmd *cmd, struct cfg80211_ssid *ssids, int n_ssids, struct cfg80211_match_set *match_sets, int n_match_sets) wmi_sched_scan_set_ssids() argument 3496 wmi_sched_scan_set_channels(struct wil6210_priv *wil, struct wmi_start_sched_scan_cmd *cmd, u32 n_channels, struct ieee80211_channel **channels) wmi_sched_scan_set_channels() argument 3518 wmi_sched_scan_set_plans(struct wil6210_priv *wil, struct wmi_start_sched_scan_cmd *cmd, struct cfg80211_sched_scan_plan *scan_plans, int n_scan_plans) wmi_sched_scan_set_plans() argument 3541 wmi_start_sched_scan(struct wil6210_priv *wil, struct cfg80211_sched_scan_request *request) wmi_start_sched_scan() argument 3587 wmi_stop_sched_scan(struct wil6210_priv *wil) wmi_stop_sched_scan() argument 3619 struct wil6210_priv *wil = vif_to_wil(vif); wmi_mgmt_tx() local 3668 struct wil6210_priv *wil = vif_to_wil(vif); wmi_mgmt_tx_ext() local 3718 wil_wmi_tx_sring_cfg(struct wil6210_priv *wil, int ring_id) wil_wmi_tx_sring_cfg() argument 3758 wil_wmi_cfg_def_rx_offload(struct wil6210_priv *wil, u16 max_rx_pl_per_desc) wil_wmi_cfg_def_rx_offload() argument 3794 wil_wmi_rx_sring_add(struct wil6210_priv *wil, u16 ring_id) wil_wmi_rx_sring_add() argument 3837 wil_wmi_rx_desc_ring_add(struct wil6210_priv *wil, int status_ring_id) wil_wmi_rx_desc_ring_add() argument 3882 struct wil6210_priv *wil = vif_to_wil(vif); wil_wmi_tx_desc_ring_add() local 3935 struct wil6210_priv *wil = vif_to_wil(vif); wil_wmi_bcast_desc_ring_add() local 3981 struct wil6210_priv *wil = vif_to_wil(vif); wmi_link_stats_cfg() local 4013 wmi_set_cqm_rssi_config(struct wil6210_priv *wil, s32 rssi_thold, u32 rssi_hyst) wmi_set_cqm_rssi_config() argument [all...] |
H A D | fw_inc.c | 11 #define wil_err_fw(wil, fmt, arg...) wil_err(wil, "ERR[ FW ]" fmt, ##arg) 12 #define wil_dbg_fw(wil, fmt, arg...) wil_dbg(wil, "DBG[ FW ]" fmt, ##arg) 19 static bool wil_fw_addr_check(struct wil6210_priv *wil, in wil_fw_addr_check() argument 23 *ioaddr = wmi_buffer_block(wil, val, size); in wil_fw_addr_check() 25 wil_err_fw(wil, "bad %s: 0x%08x\n", msg, le32_to_cpu(val)); in wil_fw_addr_check() 39 static int wil_fw_verify(struct wil6210_priv *wil, const u8 *data, size_t size) in wil_fw_verify() argument 48 wil_err_fw(wil, "image size not aligned: %zu\n", size); in wil_fw_verify() 53 wil_err_fw(wil, "fil in wil_fw_verify() 114 fw_ignore_section(struct wil6210_priv *wil, const void *data, size_t size) fw_ignore_section() argument 121 fw_handle_capabilities(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_capabilities() argument 144 fw_handle_brd_file(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_brd_file() argument 199 fw_handle_concurrency(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_concurrency() argument 237 fw_handle_comment(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_comment() argument 270 __fw_handle_data(struct wil6210_priv *wil, const void *data, size_t size, __le32 addr) __fw_handle_data() argument 291 fw_handle_data(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_data() argument 299 fw_handle_fill(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_fill() argument 334 fw_handle_file_header(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_file_header() argument 359 fw_handle_direct_write(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_direct_write() argument 394 gw_write(struct wil6210_priv *wil, void __iomem *gwa_addr, void __iomem *gwa_cmd, void __iomem *gwa_ctl, u32 gw_cmd, u32 a) gw_write() argument 416 fw_handle_gateway_data(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_gateway_data() argument 480 fw_handle_gateway_data4(struct wil6210_priv *wil, const void *data, size_t size) fw_handle_gateway_data4() argument 574 wil_fw_handle_record(struct wil6210_priv *wil, int type, const void *data, size_t size, bool load) wil_fw_handle_record() argument 599 wil_fw_process(struct wil6210_priv *wil, const void *data, size_t size, bool load) wil_fw_process() argument 646 wil_request_firmware(struct wil6210_priv *wil, const char *name, bool load) wil_request_firmware() argument 689 wil_brd_process(struct wil6210_priv *wil, const void *data, size_t size) wil_brd_process() argument 781 wil_request_board(struct wil6210_priv *wil, const char *name) wil_request_board() argument 818 wil_fw_verify_file_exists(struct wil6210_priv *wil, const char *name) wil_fw_verify_file_exists() argument [all...] |
H A D | txrx_edma.c | 47 static int wil_find_free_sring(struct wil6210_priv *wil) in wil_find_free_sring() argument 52 if (!wil->srings[i].va) in wil_find_free_sring() 59 static void wil_sring_free(struct wil6210_priv *wil, in wil_sring_free() argument 62 struct device *dev = wil_to_dev(wil); in wil_sring_free() 70 wil_dbg_misc(wil, "status_ring_free, size(bytes)=%zu, 0x%p:%pad\n", in wil_sring_free() 78 static int wil_sring_alloc(struct wil6210_priv *wil, in wil_sring_alloc() argument 81 struct device *dev = wil_to_dev(wil); in wil_sring_alloc() 84 wil_dbg_misc(wil, "status_ring_alloc: size=%zu\n", sz); in wil_sring_alloc() 87 wil_err(wil, "Cannot allocate a zero size status ring\n"); in wil_sring_alloc() 100 wil_dbg_misc(wil, "status_rin in wil_sring_alloc() 106 wil_tx_init_edma(struct wil6210_priv *wil) wil_tx_init_edma() argument 151 wil_ring_alloc_skb_edma(struct wil6210_priv *wil, struct wil_ring *ring, u32 i) wil_ring_alloc_skb_edma() argument 231 wil_rx_refill_edma(struct wil6210_priv *wil) wil_rx_refill_edma() argument 263 wil_move_all_rx_buff_to_free_list(struct wil6210_priv *wil, struct wil_ring *ring) wil_move_all_rx_buff_to_free_list() argument 293 wil_free_rx_buff_arr(struct wil6210_priv *wil) wil_free_rx_buff_arr() argument 309 wil_init_rx_buff_arr(struct wil6210_priv *wil, size_t size) wil_init_rx_buff_arr() argument 341 wil_init_rx_sring(struct wil6210_priv *wil, u16 status_ring_size, size_t elem_size, u16 ring_id) wil_init_rx_sring() argument 373 wil_ring_alloc_desc_ring(struct wil6210_priv *wil, struct wil_ring *ring) wil_ring_alloc_desc_ring() argument 418 wil_ring_free_edma(struct wil6210_priv *wil, struct wil_ring *ring) wil_ring_free_edma() argument 480 wil_init_rx_desc_ring(struct wil6210_priv *wil, u16 desc_ring_size, int status_ring_id) wil_init_rx_desc_ring() argument 504 wil_get_reorder_params_edma(struct wil6210_priv *wil, struct sk_buff *skb, int *tid, int *cid, int *mid, u16 *seq, int *mcast, int *retry) wil_get_reorder_params_edma() argument 528 wil_rx_crypto_check_edma(struct wil6210_priv *wil, struct sk_buff *skb) wil_rx_crypto_check_edma() argument 571 wil_is_rx_idle_edma(struct wil6210_priv *wil) wil_is_rx_idle_edma() argument 594 wil_rx_buf_len_init_edma(struct wil6210_priv *wil) wil_rx_buf_len_init_edma() argument 601 wil_rx_init_edma(struct wil6210_priv *wil, uint desc_ring_order) wil_rx_init_edma() argument 699 struct wil6210_priv *wil = vif_to_wil(vif); wil_ring_init_tx_edma() local 747 struct wil6210_priv *wil = vif_to_wil(vif); wil_tx_ring_modify_edma() local 755 wil_check_bar(struct wil6210_priv *wil, void *msg, int cid, struct sk_buff *skb, struct wil_net_stats *stats) wil_check_bar() argument 810 wil_rx_error_check_edma(struct wil6210_priv *wil, struct sk_buff *skb, struct wil_net_stats *stats) wil_rx_error_check_edma() argument 850 wil_sring_reap_rx_edma(struct wil6210_priv *wil, struct wil_status_ring *sring) wil_sring_reap_rx_edma() argument 1066 wil_rx_handle_edma(struct wil6210_priv *wil, int *quota) wil_rx_handle_edma() argument 1158 wil_tx_sring_handler(struct wil6210_priv *wil, struct wil_status_ring *sring) wil_tx_sring_handler() argument 1351 wil_tx_tso_gen_desc(struct wil6210_priv *wil, void *buff_addr, int len, uint i, int tso_desc_type, skb_frag_t *frag, struct wil_ring *ring, struct sk_buff *skb, bool is_ipv4, int tcp_hdr_len, int skb_net_hdr_len, int mss, int *descs_used) wil_tx_tso_gen_desc() argument 1402 __wil_tx_ring_tso_edma(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, struct sk_buff *skb) __wil_tx_ring_tso_edma() argument 1549 struct wil6210_priv *wil = vif_to_wil(vif); wil_ring_init_bcast_edma() local 1588 wil_tx_fini_edma(struct wil6210_priv *wil) wil_tx_fini_edma() argument 1606 wil_rx_fini_edma(struct wil6210_priv *wil) wil_rx_fini_edma() argument 1623 wil_init_txrx_ops_edma(struct wil6210_priv *wil) wil_init_txrx_ops_edma() argument [all...] |
H A D | txrx.c | 64 bool wil_is_tx_idle(struct wil6210_priv *wil) in wil_is_tx_idle() argument 68 int min_ring_id = wil_get_min_tx_ring_id(wil); in wil_is_tx_idle() 71 struct wil_ring *vring = &wil->ring_tx[i]; in wil_is_tx_idle() 72 int vring_index = vring - wil->ring_tx; in wil_is_tx_idle() 74 &wil->ring_tx_data[vring_index]; in wil_is_tx_idle() 85 if (test_bit(wil_status_napi_en, wil->status)) { in wil_is_tx_idle() 88 wil_dbg_pm(wil, in wil_is_tx_idle() 93 wil_dbg_ratelimited(wil, in wil_is_tx_idle() 96 napi_synchronize(&wil->napi_tx); in wil_is_tx_idle() 110 static int wil_vring_alloc(struct wil6210_priv *wil, struc argument 190 wil_vring_free(struct wil6210_priv *wil, struct wil_ring *vring) wil_vring_free() argument 256 wil_vring_alloc_skb(struct wil6210_priv *wil, struct wil_ring *vring, u32 i, int headroom) wil_vring_alloc_skb() argument 305 wil_rx_add_radiotap_header(struct wil6210_priv *wil, struct sk_buff *skb) wil_rx_add_radiotap_header() argument 351 wil_is_rx_idle(struct wil6210_priv *wil) wil_is_rx_idle() argument 363 wil_rx_get_cid_by_skb(struct wil6210_priv *wil, struct sk_buff *skb) wil_rx_get_cid_by_skb() argument 439 wil_vring_reap_rx(struct wil6210_priv *wil, struct wil_ring *vring) wil_vring_reap_rx() argument 605 wil_rx_refill(struct wil6210_priv *wil, int count) wil_rx_refill() argument 658 wil_rx_crypto_check(struct wil6210_priv *wil, struct sk_buff *skb) wil_rx_crypto_check() argument 689 wil_rx_error_check(struct wil6210_priv *wil, struct sk_buff *skb, struct wil_net_stats *stats) wil_rx_error_check() argument 719 wil_is_ptk_eapol_key(struct wil6210_priv *wil, struct sk_buff *skb) wil_is_ptk_eapol_key() argument 757 wil_skb_is_eap_3(struct wil6210_priv *wil, struct sk_buff *skb) wil_skb_is_eap_3() argument 779 wil_skb_is_eap_4(struct wil6210_priv *wil, struct sk_buff *skb) wil_skb_is_eap_4() argument 805 struct wil6210_priv *wil = vif_to_wil(vif); wil_enable_tx_key_worker() local 836 struct wil6210_priv *wil = vif_to_wil(vif); wil_tx_complete_handle_eapol() local 874 struct wil6210_priv *wil = vif_to_wil(vif); wil_rx_handle_eapol() local 897 struct wil6210_priv *wil = ndev_to_wil(ndev); wil_netif_rx() local 974 struct wil6210_priv *wil = ndev_to_wil(ndev); wil_netif_rx_any() local 1005 wil_rx_handle(struct wil6210_priv *wil, int *quota) wil_rx_handle() argument 1035 wil_rx_buf_len_init(struct wil6210_priv *wil) wil_rx_buf_len_init() argument 1049 wil_rx_init(struct wil6210_priv *wil, uint order) wil_rx_init() argument 1084 wil_rx_fini(struct wil6210_priv *wil) wil_rx_fini() argument 1137 struct wil6210_priv *wil = vif_to_wil(vif); wil_vring_init_tx() local 1239 struct wil6210_priv *wil = vif_to_wil(vif); wil_tx_vring_modify() local 1321 struct wil6210_priv *wil = vif_to_wil(vif); wil_vring_init_bcast() local 1400 wil_find_tx_ucast(struct wil6210_priv *wil, struct wil6210_vif *vif, struct sk_buff *skb) wil_find_tx_ucast() argument 1441 wil_find_tx_ring_sta(struct wil6210_priv *wil, struct wil6210_vif *vif, struct sk_buff *skb) wil_find_tx_ring_sta() argument 1490 wil_find_tx_bcast_1(struct wil6210_priv *wil, struct wil6210_vif *vif, struct sk_buff *skb) wil_find_tx_bcast_1() argument 1514 wil_check_multicast_to_unicast(struct wil6210_priv *wil, struct sk_buff *skb) wil_check_multicast_to_unicast() argument 1540 wil_set_da_for_vring(struct wil6210_priv *wil, struct sk_buff *skb, int vring_index) wil_set_da_for_vring() argument 1549 wil_find_tx_bcast_2(struct wil6210_priv *wil, struct wil6210_vif *vif, struct sk_buff *skb) wil_find_tx_bcast_2() argument 1725 __wil_tx_vring_tso(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *vring, struct sk_buff *skb) __wil_tx_vring_tso() argument 2026 __wil_tx_ring(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, struct sk_buff *skb) __wil_tx_ring() argument 2184 wil_tx_ring(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, struct sk_buff *skb) wil_tx_ring() argument 2226 __wil_update_net_queues(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, bool check_stop) __wil_update_net_queues() argument 2292 wil_update_net_queues(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, bool check_stop) wil_update_net_queues() argument 2300 wil_update_net_queues_bh(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_ring *ring, bool check_stop) wil_update_net_queues_bh() argument 2311 struct wil6210_priv *wil = vif_to_wil(vif); wil_start_xmit() local 2387 wil_tx_latency_calc(struct wil6210_priv *wil, struct sk_buff *skb, struct wil_sta_info *sta) wil_tx_latency_calc() argument 2420 struct wil6210_priv *wil = vif_to_wil(vif); wil_tx_complete() local 2544 wil_tx_init(struct wil6210_priv *wil) wil_tx_init() argument 2549 wil_tx_fini(struct wil6210_priv *wil) wil_tx_fini() argument 2551 wil_get_reorder_params(struct wil6210_priv *wil, struct sk_buff *skb, int *tid, int *cid, int *mid, u16 *seq, int *mcast, int *retry) wil_get_reorder_params() argument 2565 wil_init_txrx_ops_legacy_dma(struct wil6210_priv *wil) wil_init_txrx_ops_legacy_dma() argument [all...] |
H A D | wil6210.h | 409 /* Common representation of physical address in wil ring */ 594 void (*configure_interrupt_moderation)(struct wil6210_priv *wil); 598 void (*ring_fini_tx)(struct wil6210_priv *wil, struct wil_ring *ring); 600 int (*tx_init)(struct wil6210_priv *wil); 601 void (*tx_fini)(struct wil6210_priv *wil); 607 int (*tx_ring_tso)(struct wil6210_priv *wil, struct wil6210_vif *vif, 613 int (*rx_init)(struct wil6210_priv *wil, uint ring_order); 614 void (*rx_fini)(struct wil6210_priv *wil); 615 int (*wmi_addba_rx_resp)(struct wil6210_priv *wil, u8 mid, u8 cid, 618 void (*get_reorder_params)(struct wil6210_priv *wil, 798 struct wil6210_priv *wil; global() member 824 struct wil6210_priv *wil; global() member 846 struct wil6210_priv *wil; global() member 1079 wdev_to_vif(struct wil6210_priv *wil, struct wireless_dev *wdev) wdev_to_vif() argument 1090 vif_to_radio_wdev(struct wil6210_priv *wil, struct wil6210_vif *vif) vif_to_radio_wdev() argument 1126 wil_r(struct wil6210_priv *wil, u32 reg) wil_r() argument 1132 wil_w(struct wil6210_priv *wil, u32 reg, u32 val) wil_w() argument 1139 wil_s(struct wil6210_priv *wil, u32 reg, u32 val) wil_s() argument 1145 wil_c(struct wil6210_priv *wil, u32 reg, u32 val) wil_c() argument 1153 wil_cid_valid(struct wil6210_priv *wil, int cid) wil_cid_valid() argument 1332 wil6210_debugfs_init(struct wil6210_priv *wil) wil6210_debugfs_init() argument 1333 wil6210_debugfs_remove(struct wil6210_priv *wil) wil6210_debugfs_remove() argument [all...] |
H A D | cfg80211.c | 105 static int wil_num_supported_channels(struct wil6210_priv *wil) in wil_num_supported_channels() argument 109 if (!test_bit(WMI_FW_CAPABILITY_CHANNEL_4, wil->fw_capabilities)) in wil_num_supported_channels() 115 void update_supported_bands(struct wil6210_priv *wil) in update_supported_bands() argument 117 struct wiphy *wiphy = wil_to_wiphy(wil); in update_supported_bands() 119 wil_dbg_misc(wil, "update supported bands"); in update_supported_bands() 122 wil_num_supported_channels(wil); in update_supported_bands() 124 if (test_bit(WMI_FW_CAPABILITY_CHANNEL_BONDING, wil->fw_capabilities)) { in update_supported_bands() 433 struct wil6210_priv *wil = vif_to_wil(vif); in wil_cid_fill_sinfo() local 442 struct wil_net_stats *stats = &wil->sta[cid].stats; in wil_cid_fill_sinfo() 450 rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDI in wil_cid_fill_sinfo() 540 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_get_station() local 558 wil_find_cid_by_idx(struct wil6210_priv *wil, u8 mid, int idx) wil_find_cid_by_idx() argument 580 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_dump_station() local 599 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_start_p2p_device() local 609 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_stop_p2p_device() local 623 wil_cfg80211_validate_add_iface(struct wil6210_priv *wil, enum nl80211_iftype new_type) wil_cfg80211_validate_add_iface() argument 642 wil_cfg80211_validate_change_iface(struct wil6210_priv *wil, struct wil6210_vif *vif, enum nl80211_iftype new_type) wil_cfg80211_validate_change_iface() argument 676 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_add_iface() local 751 struct wil6210_priv *wil = vif_to_wil(vif); wil_vif_prepare_stop() local 777 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_del_iface() local 827 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_change_iface() local 892 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_scan() local 1036 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_abort_scan() local 1062 wil_print_crypto(struct wil6210_priv *wil, struct cfg80211_crypto_settings *c) wil_print_crypto() argument 1106 wil_print_connect_params(struct wil6210_priv *wil, struct cfg80211_connect_params *sme) wil_print_connect_params() argument 1132 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_ft_connect() local 1186 wil_get_wmi_edmg_channel(struct wil6210_priv *wil, u8 edmg_bw_config, u8 edmg_channels, u8 *wmi_ch) wil_get_wmi_edmg_channel() argument 1217 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_connect() local 1392 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_disconnect() local 1416 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_wiphy_params() local 1440 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_mgmt_tx() local 1501 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_channel() local 1511 struct wil6210_priv *wil = wdev_to_wil(wdev); wil_detect_key_usage() local 1539 wil_find_sta_by_key_usage(struct wil6210_priv *wil, u8 mid, enum wmi_key_usage key_usage, const u8 *mac_addr) wil_find_sta_by_key_usage() argument 1630 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_add_key() local 1704 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_del_key() local 1730 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_default_key() local 1742 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_remain_on_channel() local 1757 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cancel_remain_on_channel() local 1938 struct wil6210_priv *wil = wiphy_to_wil(wiphy); _wil_cfg80211_start_ap() local 2030 wil_cfg80211_ap_recovery(struct wil6210_priv *wil) wil_cfg80211_ap_recovery() argument 2087 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_change_beacon() local 2128 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_start_ap() local 2192 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_stop_ap() local 2233 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_add_station() local 2257 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_del_station() local 2275 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_change_station() local 2318 wil_probe_client_handle(struct wil6210_priv *wil, struct wil6210_vif *vif, struct wil_probe_client_req *req) wil_probe_client_handle() argument 2353 struct wil6210_priv *wil = vif_to_wil(vif); wil_probe_client_worker() local 2368 struct wil6210_priv *wil = vif_to_wil(vif); wil_probe_client_flush() local 2386 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_probe_client() local 2417 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_change_bss() local 2433 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_power_mgmt() local 2450 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_suspend() local 2479 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_resume() local 2491 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_sched_scan_start() local 2542 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_sched_scan_stop() local 2562 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_update_ft_ies() local 2610 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_multicast_to_unicast() local 2625 struct wil6210_priv *wil = wiphy_to_wil(wiphy); wil_cfg80211_set_cqm_rssi_config() local 2720 wil_cfg80211_iface_combinations_from_fw( struct wil6210_priv *wil, const struct wil_fw_record_concurrency *conc) wil_cfg80211_iface_combinations_from_fw() argument 2795 struct wil6210_priv *wil; wil_cfg80211_init() local 2821 wil_cfg80211_deinit(struct wil6210_priv *wil) wil_cfg80211_deinit() argument 2837 wil_p2p_wdev_free(struct wil6210_priv *wil) wil_p2p_wdev_free() argument 2872 struct wil6210_priv *wil = wdev_to_wil(wdev); wil_rf_sector_get_cfg() local 2993 struct wil6210_priv *wil = wdev_to_wil(wdev); wil_rf_sector_set_cfg() local 3105 struct wil6210_priv *wil = wdev_to_wil(wdev); wil_rf_sector_get_selected() local 3189 wil_rf_sector_wmi_set_selected(struct wil6210_priv *wil, u8 mid, u16 sector_index, u8 sector_type, u8 cid) wil_rf_sector_wmi_set_selected() argument 3220 struct wil6210_priv *wil = wdev_to_wil(wdev); wil_rf_sector_set_selected() local [all...] |