| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | hif-ops.h | 24 static inline int hif_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, in hif_read_write_sync() 35 static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in hif_write_async() 46 static inline void ath6kl_hif_irq_enable(struct ath6kl *ar) in ath6kl_hif_irq_enable() 53 static inline void ath6kl_hif_irq_disable(struct ath6kl *ar) in ath6kl_hif_irq_disable() 60 static inline struct hif_scatter_req *hif_scatter_req_get(struct ath6kl *ar) in hif_scatter_req_get() 65 static inline void hif_scatter_req_add(struct ath6kl *ar, in hif_scatter_req_add() 71 static inline int ath6kl_hif_enable_scatter(struct ath6kl *ar) in ath6kl_hif_enable_scatter() 76 static inline int ath6kl_hif_scat_req_rw(struct ath6kl *ar, in ath6kl_hif_scat_req_rw() 82 static inline void ath6kl_hif_cleanup_scatter(struct ath6kl *ar) in ath6kl_hif_cleanup_scatter() 87 static inline int ath6kl_hif_suspend(struct ath6kl *ar, in ath6kl_hif_suspend() [all …]
|
| H A D | init.c | 251 static int ath6kl_set_host_app_area(struct ath6kl *ar) in ath6kl_set_host_app_area() 273 static inline void set_ac2_ep_map(struct ath6kl *ar, in set_ac2_ep_map() 282 static int ath6kl_connectservice(struct ath6kl *ar, in ath6kl_connectservice() 324 static int ath6kl_init_service_ep(struct ath6kl *ar) in ath6kl_init_service_ep() 416 static int ath6kl_set_htc_params(struct ath6kl *ar, u32 mbox_isr_yield_val, in ath6kl_set_htc_params() 452 static int ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx) in ath6kl_target_config_wlan_params() 536 int ath6kl_configure_target(struct ath6kl *ar) in ath6kl_configure_target() 674 static int ath6kl_get_fw(struct ath6kl *ar, const char *filename, in ath6kl_get_fw() 702 static bool check_device_tree(struct ath6kl *ar) in check_device_tree() 733 static bool check_device_tree(struct ath6kl *ar) in check_device_tree() [all …]
|
| H A D | main.c | 28 struct ath6kl *ar = vif->ar; in ath6kl_find_sta() local 47 struct ath6kl_sta *ath6kl_find_sta_by_aid(struct ath6kl *ar, u8 aid) in ath6kl_find_sta_by_aid() 65 struct ath6kl *ar = vif->ar; in ath6kl_add_new_sta() local 86 static void ath6kl_sta_cleanup(struct ath6kl *ar, u8 i) in ath6kl_sta_cleanup() 117 static u8 ath6kl_remove_sta(struct ath6kl *ar, u8 *mac, u16 reason) in ath6kl_remove_sta() 151 struct ath6kl *ar = devt; in ath6kl_ac2_endpoint_id() local 155 struct ath6kl_cookie *ath6kl_alloc_cookie(struct ath6kl *ar) in ath6kl_alloc_cookie() 168 void ath6kl_cookie_init(struct ath6kl *ar) in ath6kl_cookie_init() 181 void ath6kl_cookie_cleanup(struct ath6kl *ar) in ath6kl_cookie_cleanup() 187 void ath6kl_free_cookie(struct ath6kl *ar, struct ath6kl_cookie *cookie) in ath6kl_free_cookie() [all …]
|
| H A D | recovery.c | 23 struct ath6kl *ar = container_of(work, struct ath6kl, in ath6kl_recovery_work() local 42 void ath6kl_recovery_err_notify(struct ath6kl *ar, enum ath6kl_fw_err reason) in ath6kl_recovery_err_notify() 57 void ath6kl_recovery_hb_event(struct ath6kl *ar, u32 cookie) in ath6kl_recovery_hb_event() 65 struct ath6kl *ar = timer_container_of(ar, t, fw_recovery.hb_timer); in ath6kl_recovery_hb_timer() local 98 void ath6kl_recovery_init(struct ath6kl *ar) in ath6kl_recovery_init() 115 void ath6kl_recovery_cleanup(struct ath6kl *ar) in ath6kl_recovery_cleanup() 126 void ath6kl_recovery_suspend(struct ath6kl *ar) in ath6kl_recovery_suspend() 144 void ath6kl_recovery_resume(struct ath6kl *ar) in ath6kl_recovery_resume()
|
| H A D | cfg80211.c | 148 struct ath6kl *ar = vif->ar; in __ath6kl_cfg80211_sscan_stop() local 165 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_sscan_disable() local 287 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_ready() local 325 struct ath6kl *ar = vif->ar; in ath6kl_set_assoc_req_ies() local 390 static bool ath6kl_is_valid_iftype(struct ath6kl *ar, enum nl80211_iftype type, in ath6kl_is_valid_iftype() 425 static bool ath6kl_is_tx_pending(struct ath6kl *ar) in ath6kl_is_tx_pending() 458 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_cfg80211_connect() local 687 struct ath6kl *ar = vif->ar; in ath6kl_add_bss_if_needed() local 744 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_connect_event() local 830 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_cfg80211_disconnect() local [all …]
|
| H A D | bmi.c | 23 int ath6kl_bmi_done(struct ath6kl *ar) in ath6kl_bmi_done() 44 int ath6kl_bmi_get_target_info(struct ath6kl *ar, in ath6kl_bmi_get_target_info() 116 int ath6kl_bmi_read(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) in ath6kl_bmi_read() 172 int ath6kl_bmi_write(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) in ath6kl_bmi_write() 239 int ath6kl_bmi_execute(struct ath6kl *ar, u32 addr, u32 *param) in ath6kl_bmi_execute() 286 int ath6kl_bmi_set_app_start(struct ath6kl *ar, u32 addr) in ath6kl_bmi_set_app_start() 322 int ath6kl_bmi_reg_read(struct ath6kl *ar, u32 addr, u32 *param) in ath6kl_bmi_reg_read() 365 int ath6kl_bmi_reg_write(struct ath6kl *ar, u32 addr, u32 param) in ath6kl_bmi_reg_write() 405 int ath6kl_bmi_lz_data(struct ath6kl *ar, u8 *buf, u32 len) in ath6kl_bmi_lz_data() 456 int ath6kl_bmi_lz_stream_start(struct ath6kl *ar, u32 addr) in ath6kl_bmi_lz_stream_start() [all …]
|
| H A D | sdio.c | 45 struct ath6kl *ar; member 80 static inline struct ath6kl_sdio *ath6kl_sdio_priv(struct ath6kl *ar) in ath6kl_sdio_priv() 96 static void ath6kl_sdio_set_mbox_info(struct ath6kl *ar) in ath6kl_sdio_set_mbox_info() 409 static int ath6kl_sdio_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, in ath6kl_sdio_read_write_sync() 503 static int ath6kl_sdio_power_on(struct ath6kl *ar) in ath6kl_sdio_power_on() 543 static int ath6kl_sdio_power_off(struct ath6kl *ar) in ath6kl_sdio_power_off() 566 static int ath6kl_sdio_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in ath6kl_sdio_write_async() 592 static void ath6kl_sdio_irq_enable(struct ath6kl *ar) in ath6kl_sdio_irq_enable() 607 static bool ath6kl_sdio_is_on_irq(struct ath6kl *ar) in ath6kl_sdio_is_on_irq() 614 static void ath6kl_sdio_irq_disable(struct ath6kl *ar) in ath6kl_sdio_irq_disable() [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | ahb.c | 28 static inline struct ath10k_ahb *ath10k_ahb_priv(struct ath10k *ar) in ath10k_ahb_priv() 33 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_write32() 40 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_read32() 47 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_gcc_read32() 54 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_tcsr_write32() 61 static u32 ath10k_ahb_tcsr_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_tcsr_read32() 68 static u32 ath10k_ahb_soc_read32(struct ath10k *ar, u32 addr) in ath10k_ahb_soc_read32() 73 static int ath10k_ahb_get_num_banks(struct ath10k *ar) in ath10k_ahb_get_num_banks() 82 static int ath10k_ahb_clock_init(struct ath10k *ar) in ath10k_ahb_clock_init() 113 static void ath10k_ahb_clock_deinit(struct ath10k *ar) in ath10k_ahb_clock_deinit() [all …]
|
| H A D | snoc.c | 477 static void ath10k_snoc_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_snoc_write32() 484 static u32 ath10k_snoc_read32(struct ath10k *ar, u32 offset) in ath10k_snoc_read32() 497 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_snoc_rx_post_buf() local 535 struct ath10k *ar = pipe->hif_ce_state; in ath10k_snoc_rx_post_pipe() local 563 static void ath10k_snoc_rx_post(struct ath10k *ar) in ath10k_snoc_rx_post() 573 void (*callback)(struct ath10k *ar, in ath10k_snoc_process_rx_cb() 576 struct ath10k *ar = ce_state->ar; in ath10k_snoc_process_rx_cb() local 636 static void ath10k_snoc_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_snoc_htt_rx_deliver() 652 struct ath10k *ar = ar_snoc->ar; in ath10k_snoc_rx_replenish_retry() local 659 struct ath10k *ar = ce_state->ar; in ath10k_snoc_htc_tx_cb() local [all …]
|
| H A D | wmi.c | 1699 void ath10k_wmi_put_wmi_channel(struct ath10k *ar, struct wmi_channel *ch, in ath10k_wmi_put_wmi_channel() 1764 int ath10k_wmi_wait_for_service_ready(struct ath10k *ar) in ath10k_wmi_wait_for_service_ready() 1795 int ath10k_wmi_wait_for_unified_ready(struct ath10k *ar) in ath10k_wmi_wait_for_unified_ready() 1806 struct sk_buff *ath10k_wmi_alloc_skb(struct ath10k *ar, u32 len) in ath10k_wmi_alloc_skb() 1825 static void ath10k_wmi_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_htc_tx_complete() 1830 int ath10k_wmi_cmd_send_nowait(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_cmd_send_nowait() 1862 struct ath10k *ar = arvif->ar; in ath10k_wmi_tx_beacon_nowait() local 1915 static void ath10k_wmi_tx_beacons_nowait(struct ath10k *ar) in ath10k_wmi_tx_beacons_nowait() 1923 static void ath10k_wmi_op_ep_tx_credits(struct ath10k *ar) in ath10k_wmi_op_ep_tx_credits() 1931 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id) in ath10k_wmi_cmd_send() [all …]
|
| H A D | wmi-ops.h | 238 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_rx() 248 ath10k_wmi_map_svc(struct ath10k *ar, const __le32 *in, unsigned long *out, in ath10k_wmi_map_svc() 259 ath10k_wmi_map_svc_ext(struct ath10k *ar, const __le32 *in, unsigned long *out, in ath10k_wmi_map_svc_ext() 270 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_scan() 280 ath10k_wmi_pull_mgmt_tx_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_compl() 290 ath10k_wmi_pull_mgmt_tx_bundle_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_bundle_compl() 300 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_rx() 310 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_ch_info() 320 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_vdev_start() 330 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_peer_kick() [all …]
|
| H A D | debug.h | 104 #define ATH10K_DFS_STAT_INC(ar, c) (ar->debug.dfs_stats.c++) argument 115 static inline u64 ath10k_debug_get_fw_dbglog_mask(struct ath10k *ar) in ath10k_debug_get_fw_dbglog_mask() 120 static inline u32 ath10k_debug_get_fw_dbglog_level(struct ath10k *ar) in ath10k_debug_get_fw_dbglog_level() 125 static inline int ath10k_debug_is_extd_tx_stats_enabled(struct ath10k *ar) in ath10k_debug_is_extd_tx_stats_enabled() 134 static inline int ath10k_debug_start(struct ath10k *ar) in ath10k_debug_start() 139 static inline void ath10k_debug_stop(struct ath10k *ar) in ath10k_debug_stop() 143 static inline int ath10k_debug_create(struct ath10k *ar) in ath10k_debug_create() 148 static inline void ath10k_debug_destroy(struct ath10k *ar) in ath10k_debug_destroy() 152 static inline int ath10k_debug_register(struct ath10k *ar) in ath10k_debug_register() 157 static inline void ath10k_debug_unregister(struct ath10k *ar) in ath10k_debug_unregister() [all …]
|
| H A D | mac.c | 215 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val) in ath10k_mac_ext_resource_config() 244 struct ath10k *ar = arvif->ar; in ath10k_send_key() local 312 struct ath10k *ar = arvif->ar; in ath10k_install_key() local 337 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local 425 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local 463 bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr, in ath10k_mac_is_peer_wep_key_set() 491 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local 539 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key() local 694 static int ath10k_mac_num_chanctxs(struct ath10k *ar) in ath10k_mac_num_chanctxs() 715 static void ath10k_wait_for_peer_delete_done(struct ath10k *ar, u32 vdev_id, in ath10k_wait_for_peer_delete_done() [all …]
|
| H A D | hif.h | 102 static inline int ath10k_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_hif_tx_sg() 109 static inline int ath10k_hif_diag_read(struct ath10k *ar, u32 address, void *buf, in ath10k_hif_diag_read() 115 static inline int ath10k_hif_diag_write(struct ath10k *ar, u32 address, in ath10k_hif_diag_write() 124 static inline int ath10k_hif_exchange_bmi_msg(struct ath10k *ar, in ath10k_hif_exchange_bmi_msg() 132 static inline int ath10k_hif_start(struct ath10k *ar) in ath10k_hif_start() 137 static inline void ath10k_hif_stop(struct ath10k *ar) in ath10k_hif_stop() 142 static inline int ath10k_hif_start_post(struct ath10k *ar) in ath10k_hif_start_post() 149 static inline int ath10k_hif_get_htt_tx_complete(struct ath10k *ar) in ath10k_hif_get_htt_tx_complete() 156 static inline int ath10k_hif_map_service_to_pipe(struct ath10k *ar, in ath10k_hif_map_service_to_pipe() 164 static inline void ath10k_hif_get_default_pipe(struct ath10k *ar, in ath10k_hif_get_default_pipe() [all …]
|
| H A D | testmode.c | 34 static void ath10k_tm_event_unsegmented(struct ath10k *ar, u32 cmd_id, in ath10k_tm_event_unsegmented() 79 static void ath10k_tm_event_segmented(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) in ath10k_tm_event_segmented() 170 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) in ath10k_tm_event_wmi() 210 static int ath10k_tm_cmd_get_version(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_get_version() 249 static int ath10k_tm_fetch_utf_firmware_api_1(struct ath10k *ar, in ath10k_tm_fetch_utf_firmware_api_1() 283 static int ath10k_tm_fetch_firmware(struct ath10k *ar) in ath10k_tm_fetch_firmware() 336 static int ath10k_tm_cmd_utf_start(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_start() 443 static void __ath10k_tm_cmd_utf_stop(struct ath10k *ar) in __ath10k_tm_cmd_utf_stop() 470 static int ath10k_tm_cmd_utf_stop(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_stop() 494 static int ath10k_tm_cmd_wmi(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_wmi() [all …]
|
| H A D | txrx.c | 14 static void ath10k_report_offchan_tx(struct ath10k *ar, struct sk_buff *skb) in ath10k_report_offchan_tx() 47 struct ath10k *ar = htt->ar; in ath10k_txrx_tx_unref() local 150 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, in ath10k_peer_find() 169 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id) in ath10k_peer_find_by_id() 185 static int ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, in ath10k_wait_for_peer_common() 207 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_created() 212 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_deleted() 220 struct ath10k *ar = htt->ar; in ath10k_peer_map_event() local 256 struct ath10k *ar = htt->ar; in ath10k_peer_unmap_event() local
|
| /linux/drivers/net/wireless/ath/ar5523/ |
| H A D | ar5523.c | 48 static void ar5523_read_reply(struct ar5523 *ar, struct ar5523_cmd_hdr *hdr, in ar5523_read_reply() 94 struct ar5523 *ar = urb->context; in ar5523_cmd_rx_cb() local 175 static int ar5523_alloc_rx_cmd(struct ar5523 *ar) in ar5523_alloc_rx_cmd() 191 static void ar5523_cancel_rx_cmd(struct ar5523 *ar) in ar5523_cancel_rx_cmd() 196 static void ar5523_free_rx_cmd(struct ar5523 *ar) in ar5523_free_rx_cmd() 203 static int ar5523_submit_rx_cmd(struct ar5523 *ar) in ar5523_submit_rx_cmd() 228 struct ar5523 *ar = cmd->ar; in ar5523_cmd_tx_cb() local 244 static void ar5523_cancel_tx_cmd(struct ar5523 *ar) in ar5523_cancel_tx_cmd() 249 static int ar5523_cmd(struct ar5523 *ar, u32 code, const void *idata, in ar5523_cmd() 297 static int ar5523_cmd_write(struct ar5523 *ar, u32 code, const void *data, in ar5523_cmd_write() [all …]
|
| /linux/drivers/net/wireless/ath/carl9170/ |
| H A D | usb.c | 133 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) in carl9170_usb_submit_data_urb() 169 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in carl9170_usb_tx_data_complete() local 212 static int carl9170_usb_submit_cmd_urb(struct ar9170 *ar) in carl9170_usb_submit_cmd_urb() 241 struct ar9170 *ar = urb->context; in carl9170_usb_cmd_complete() local 279 struct ar9170 *ar = urb->context; in carl9170_usb_rx_irq_complete() local 316 static int carl9170_usb_submit_rx_urb(struct ar9170 *ar, gfp_t gfp) in carl9170_usb_submit_rx_urb() 342 static void carl9170_usb_rx_work(struct ar9170 *ar) in carl9170_usb_rx_work() 367 void carl9170_usb_handle_tx_err(struct ar9170 *ar) in carl9170_usb_handle_tx_err() 382 struct ar9170 *ar = from_tasklet(ar, t, usb_tasklet); in carl9170_usb_tasklet() local 400 struct ar9170 *ar = urb->context; in carl9170_usb_rx_complete() local [all …]
|
| H A D | tx.c | 48 static inline unsigned int __carl9170_get_queue(struct ar9170 *ar, in __carl9170_get_queue() 64 static inline unsigned int carl9170_get_queue(struct ar9170 *ar, in carl9170_get_queue() 70 static bool is_mem_full(struct ar9170 *ar) in is_mem_full() 76 static void carl9170_tx_accounting(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_accounting() 107 static struct ieee80211_sta *__carl9170_get_tx_sta(struct ar9170 *ar, in __carl9170_get_tx_sta() 138 static void carl9170_tx_ps_unblock(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_ps_unblock() 156 static void carl9170_tx_accounting_free(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_accounting_free() 190 static int carl9170_alloc_dev_space(struct ar9170 *ar, struct sk_buff *skb) in carl9170_alloc_dev_space() 226 static void carl9170_release_dev_space(struct ar9170 *ar, struct sk_buff *skb) in carl9170_release_dev_space() 264 struct ar9170 *ar; in carl9170_tx_release() local [all …]
|
| H A D | main.c | 184 static void carl9170_ampdu_gc(struct ar9170 *ar) in carl9170_ampdu_gc() 219 static void carl9170_flush(struct ar9170 *ar, bool drop_queued) in carl9170_flush() 249 static void carl9170_flush_ba(struct ar9170 *ar) in carl9170_flush_ba() 276 static void carl9170_zap_queues(struct ar9170 *ar) in carl9170_zap_queues() 338 struct ar9170 *ar = hw->priv; in carl9170_op_start() local 430 static void carl9170_cancel_worker(struct ar9170 *ar) in carl9170_cancel_worker() 444 struct ar9170 *ar = hw->priv; in carl9170_op_stop() local 469 struct ar9170 *ar = container_of(work, struct ar9170, in carl9170_restart_work() local 506 void carl9170_restart(struct ar9170 *ar, const enum carl9170_restart_reasons r) in carl9170_restart() 545 struct ar9170 *ar = container_of(work, struct ar9170, ping_work); in carl9170_ping_work() local [all …]
|
| H A D | mac.c | 44 int carl9170_set_dyn_sifs_ack(struct ar9170 *ar) in carl9170_set_dyn_sifs_ack() 60 int carl9170_set_rts_cts_rate(struct ar9170 *ar) in carl9170_set_rts_cts_rate() 84 int carl9170_set_slot_time(struct ar9170 *ar) in carl9170_set_slot_time() 106 int carl9170_set_mac_rates(struct ar9170 *ar) in carl9170_set_mac_rates() 136 int carl9170_set_qos(struct ar9170 *ar) in carl9170_set_qos() 171 int carl9170_init_mac(struct ar9170 *ar) in carl9170_init_mac() 257 static int carl9170_set_mac_reg(struct ar9170 *ar, in carl9170_set_mac_reg() 275 int carl9170_mod_virtual_mac(struct ar9170 *ar, const unsigned int id, in carl9170_mod_virtual_mac() 285 int carl9170_update_multicast(struct ar9170 *ar, const u64 mc_hash) in carl9170_update_multicast() 301 int carl9170_set_operating_mode(struct ar9170 *ar) in carl9170_set_operating_mode() [all …]
|
| H A D | cmd.c | 43 int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val) in carl9170_write_reg() 62 int carl9170_read_mreg(struct ar9170 *ar, const int nregs, in carl9170_read_mreg() 94 int carl9170_read_reg(struct ar9170 *ar, u32 reg, u32 *val) in carl9170_read_reg() 99 int carl9170_echo_test(struct ar9170 *ar, const u32 v) in carl9170_echo_test() 118 struct carl9170_cmd *carl9170_cmd_buf(struct ar9170 *ar, in carl9170_cmd_buf() 132 int carl9170_reboot(struct ar9170 *ar) in carl9170_reboot() 145 int carl9170_mac_reset(struct ar9170 *ar) in carl9170_mac_reset() 151 int carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id, in carl9170_bcn_ctrl() 169 int carl9170_collect_tally(struct ar9170 *ar) in carl9170_collect_tally() 202 int carl9170_powersave(struct ar9170 *ar, const bool ps) in carl9170_powersave()
|
| H A D | rx.c | 49 static void carl9170_dbg_message(struct ar9170 *ar, const char *buf, u32 len) in carl9170_dbg_message() 76 static void carl9170_handle_ps(struct ar9170 *ar, struct carl9170_rsp *rsp) in carl9170_handle_ps() 96 static int carl9170_check_sequence(struct ar9170 *ar, unsigned int seq) in carl9170_check_sequence() 129 static void carl9170_cmd_callback(struct ar9170 *ar, u32 len, void *buffer) in carl9170_cmd_callback() 162 void carl9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len) in carl9170_handle_command_response() 290 static int carl9170_rx_mac_status(struct ar9170 *ar, in carl9170_rx_mac_status() 443 static void carl9170_rx_phy_status(struct ar9170 *ar, in carl9170_rx_phy_status() 521 static void carl9170_ps_beacon(struct ar9170 *ar, void *data, unsigned int len) in carl9170_ps_beacon() 576 static void carl9170_ba_check(struct ar9170 *ar, void *data, unsigned int len) in carl9170_ba_check() 623 static bool carl9170_ampdu_check(struct ar9170 *ar, u8 *buf, u8 ms, in carl9170_ampdu_check() [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | wow.c | 39 int ath12k_wow_enable(struct ath12k *ar) in ath12k_wow_enable() 81 int ath12k_wow_wakeup(struct ath12k *ar) in ath12k_wow_wakeup() 106 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_cleanup() local 130 static int ath12k_wow_cleanup(struct ath12k *ar) in ath12k_wow_cleanup() 163 ath12k_wow_convert_8023_to_80211(struct ath12k *ar, in ath12k_wow_convert_8023_to_80211() 267 ath12k_wow_pno_check_and_convert(struct ath12k *ar, u32 vdev_id, in ath12k_wow_pno_check_and_convert() 364 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_set_wakeups() local 476 static int ath12k_wow_set_wakeups(struct ath12k *ar, in ath12k_wow_set_wakeups() 502 static int ath12k_wow_vdev_clean_nlo(struct ath12k *ar, u32 vdev_id) in ath12k_wow_vdev_clean_nlo() 530 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_clean_nlo() local [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | cfr.c | 11 struct ath11k_dbring *ath11k_cfr_get_dbring(struct ath11k *ar) in ath11k_cfr_get_dbring() 59 static void ath11k_cfr_rfs_write(struct ath11k *ar, const void *head, in ath11k_cfr_rfs_write() 74 static void ath11k_cfr_free_pending_dbr_events(struct ath11k *ar) in ath11k_cfr_free_pending_dbr_events() 114 ath11k_cfr_correlate_and_relay(struct ath11k *ar, in ath11k_cfr_correlate_and_relay() 176 static int ath11k_cfr_process_data(struct ath11k *ar, in ath11k_cfr_process_data() 255 static void ath11k_cfr_fill_hdr_info(struct ath11k *ar, in ath11k_cfr_fill_hdr_info() 309 struct ath11k *ar; in ath11k_process_cfr_capture_event() local 412 bool ath11k_cfr_peer_is_in_cfr_unassoc_pool(struct ath11k *ar, const u8 *peer_mac) in ath11k_cfr_peer_is_in_cfr_unassoc_pool() 438 void ath11k_cfr_update_unassoc_pool_entry(struct ath11k *ar, in ath11k_cfr_update_unassoc_pool_entry() 463 void ath11k_cfr_decrement_peer_count(struct ath11k *ar, in ath11k_cfr_decrement_peer_count() [all …]
|