/linux/drivers/net/wireless/ath/wcn36xx/ |
A D | dxe.c | 480 reap_tx_dxes(wcn, &wcn->dxe_tx_h_ch); in wcn36xx_irq_tx_complete() 519 reap_tx_dxes(wcn, &wcn->dxe_tx_l_ch); in wcn36xx_irq_tx_complete() 558 free_irq(wcn->tx_irq, wcn); in wcn36xx_dxe_request_irqs() 652 wcn36xx_rx_handle_packets(wcn, &wcn->dxe_rx_l_ch, in wcn36xx_dxe_rx_frame() 660 wcn36xx_rx_handle_packets(wcn, &wcn->dxe_rx_h_ch, in wcn36xx_dxe_rx_frame() 910 wcn36xx_dxe_ch_alloc_skb(wcn, &wcn->dxe_rx_l_ch); in wcn36xx_dxe_init() 944 wcn36xx_dxe_ch_alloc_skb(wcn, &wcn->dxe_rx_h_ch); in wcn36xx_dxe_init() 990 free_irq(wcn->tx_irq, wcn); in wcn36xx_dxe_deinit() 991 free_irq(wcn->rx_irq, wcn); in wcn36xx_dxe_deinit() 999 wcn36xx_dxe_ch_free_skbs(wcn, &wcn->dxe_rx_l_ch); in wcn36xx_dxe_deinit() [all …]
|
A D | main.c | 356 if (wcn->scan_req) { in wcn36xx_stop() 363 wcn->scan_req = NULL; in wcn36xx_stop() 415 if (wcn->sw_scan_opchannel == ch && wcn->sw_scan_channel) { in wcn36xx_config() 673 if (wcn->scan_req) { in wcn36xx_hw_scan() 710 wcn->sw_scan = true; in wcn36xx_sw_scan_start() 714 wcn->sw_scan_opchannel = WCN36XX_HW_CHANNEL(wcn); in wcn36xx_sw_scan_start() 725 wcn36xx_smd_finish_scan(wcn, HAL_SYS_MODE_SCAN, wcn->sw_scan_vif); in wcn36xx_sw_scan_complete() 1381 wcn->hw->queues = 4; in wcn36xx_init_ieee80211() 1383 SET_IEEE80211_DEV(wcn->hw, wcn->dev); in wcn36xx_init_ieee80211() 1500 wcn = hw->priv; in wcn36xx_probe() [all …]
|
A D | smd.c | 430 ret = rpmsg_send(wcn->smd_channel, wcn->hal_buf, len); in wcn36xx_smd_send_and_wait() 508 if (!wcn->nv) { in wcn36xx_smd_load_nv() 509 ret = request_firmware(&wcn->nv, wcn->nv_file, wcn->dev); in wcn36xx_smd_load_nv() 597 wcn->wlan_version, wcn->crm_version); in wcn36xx_smd_start_rsp() 600 wcn->fw_major, wcn->fw_minor, in wcn36xx_smd_start_rsp() 601 wcn->fw_version, wcn->fw_revision, in wcn36xx_smd_start_rsp() 654 ret = wcn36xx_smd_start_rsp(wcn, wcn->hal_buf, wcn->hal_rsp_len); in wcn36xx_smd_start() 682 ret = wcn36xx_smd_rsp_status_check(wcn->hal_buf, wcn->hal_rsp_len); in wcn36xx_smd_stop() 720 ret = wcn36xx_smd_rsp_status_check(wcn->hal_buf, wcn->hal_rsp_len); in wcn36xx_smd_init_scan() 1357 ret = wcn36xx_smd_join_rsp(wcn->hal_buf, wcn->hal_rsp_len); in wcn36xx_smd_join() [all …]
|
A D | smd.h | 56 int wcn36xx_smd_open(struct wcn36xx *wcn); 57 void wcn36xx_smd_close(struct wcn36xx *wcn); 59 int wcn36xx_smd_load_nv(struct wcn36xx *wcn); 60 int wcn36xx_smd_start(struct wcn36xx *wcn); 61 int wcn36xx_smd_stop(struct wcn36xx *wcn); 72 int wcn36xx_smd_stop_hw_scan(struct wcn36xx *wcn); 99 int wcn36xx_smd_set_stakey(struct wcn36xx *wcn, 105 int wcn36xx_smd_set_bsskey(struct wcn36xx *wcn, 147 int wcn36xx_smd_set_mc_list(struct wcn36xx *wcn, 167 int wcn36xx_smd_enter_imps(struct wcn36xx *wcn); [all …]
|
A D | debug.c | 30 struct wcn36xx *wcn = file->private_data; in read_file_bool_bmps() local 55 struct wcn36xx *wcn = file->private_data; in write_file_bool_bmps() local 74 wcn36xx_pmc_enter_bmps_state(wcn, vif); in write_file_bool_bmps() 84 wcn36xx_pmc_exit_bmps_state(wcn, vif); in write_file_bool_bmps() 102 struct wcn36xx *wcn = file->private_data; in write_file_dump() local 153 void wcn36xx_debugfs_init(struct wcn36xx *wcn) in wcn36xx_debugfs_init() argument 155 struct wcn36xx_dfs_entry *dfs = &wcn->dfs; in wcn36xx_debugfs_init() 158 wcn->hw->wiphy->debugfsdir); in wcn36xx_debugfs_init() 165 ADD_FILE(dump, 0200, &fops_wcn36xx_dump, wcn); in wcn36xx_debugfs_init() 168 void wcn36xx_debugfs_exit(struct wcn36xx *wcn) in wcn36xx_debugfs_exit() argument [all …]
|
A D | testmode.c | 43 static int wcn36xx_tm_cmd_ptt(struct wcn36xx *wcn, struct ieee80211_vif *vif, in wcn36xx_tm_cmd_ptt() argument 70 body->drv_major = wcn->fw_major; in wcn36xx_tm_cmd_ptt() 71 body->drv_minor = wcn->fw_minor; in wcn36xx_tm_cmd_ptt() 72 body->drv_patch = wcn->fw_version; in wcn36xx_tm_cmd_ptt() 73 body->drv_build = wcn->fw_revision; in wcn36xx_tm_cmd_ptt() 84 msg->resp_status = wcn36xx_smd_process_ptt_msg(wcn, vif, msg, in wcn36xx_tm_cmd_ptt() 104 skb = cfg80211_testmode_alloc_reply_skb(wcn->hw->wiphy, in wcn36xx_tm_cmd_ptt() 129 struct wcn36xx *wcn = hw->priv; in wcn36xx_tm_cmd() local 148 return wcn36xx_tm_cmd_ptt(wcn, vif, tb); in wcn36xx_tm_cmd()
|
A D | txrx.c | 318 status.band = WCN36XX_BAND(wcn); in wcn36xx_rx_skb() 391 __skb_queue_purge_irq(&wcn->amsdu); in wcn36xx_rx_skb() 394 __skb_queue_tail(&wcn->amsdu, skb); in wcn36xx_rx_skb() 404 ieee80211_rx_irqsafe(wcn->hw, skb); in wcn36xx_rx_skb() 414 __skb_queue_purge_irq(&wcn->amsdu); in wcn36xx_rx_skb() 454 if (!conf_is_ht(&wcn->hw->conf)) in wcn36xx_tx_start_ampdu() 482 struct wcn36xx *wcn, in wcn36xx_set_tx_data() argument 561 struct wcn36xx *wcn, in wcn36xx_set_tx_mgmt() argument 568 get_vif_by_addr(wcn, hdr->addr2); in wcn36xx_set_tx_mgmt() 643 ieee80211_stop_queues(wcn->hw); in wcn36xx_start_tx() [all …]
|
A D | pmc.c | 23 int wcn36xx_pmc_enter_bmps_state(struct wcn36xx *wcn, in wcn36xx_pmc_enter_bmps_state() argument 29 ret = wcn36xx_smd_enter_bmps(wcn, vif); in wcn36xx_pmc_enter_bmps_state() 51 int wcn36xx_pmc_exit_bmps_state(struct wcn36xx *wcn, in wcn36xx_pmc_exit_bmps_state() argument 62 wcn36xx_smd_exit_bmps(wcn, vif); in wcn36xx_pmc_exit_bmps_state() 68 int wcn36xx_enable_keep_alive_null_packet(struct wcn36xx *wcn, in wcn36xx_enable_keep_alive_null_packet() argument 72 return wcn36xx_smd_keep_alive_req(wcn, vif, in wcn36xx_enable_keep_alive_null_packet()
|
A D | dxe.h | 456 int wcn36xx_dxe_allocate_mem_pools(struct wcn36xx *wcn); 457 void wcn36xx_dxe_free_mem_pools(struct wcn36xx *wcn); 458 void wcn36xx_dxe_rx_frame(struct wcn36xx *wcn); 459 int wcn36xx_dxe_alloc_ctl_blks(struct wcn36xx *wcn); 460 void wcn36xx_dxe_free_ctl_blks(struct wcn36xx *wcn); 461 int wcn36xx_dxe_init(struct wcn36xx *wcn); 462 void wcn36xx_dxe_deinit(struct wcn36xx *wcn); 463 int wcn36xx_dxe_init_channels(struct wcn36xx *wcn); 464 int wcn36xx_dxe_tx_frame(struct wcn36xx *wcn, 469 void wcn36xx_dxe_tx_ack_ind(struct wcn36xx *wcn, u32 status);
|
A D | debug.h | 36 void wcn36xx_debugfs_init(struct wcn36xx *wcn); 37 void wcn36xx_debugfs_exit(struct wcn36xx *wcn); 40 static inline void wcn36xx_debugfs_init(struct wcn36xx *wcn) in wcn36xx_debugfs_init() argument 43 static inline void wcn36xx_debugfs_exit(struct wcn36xx *wcn) in wcn36xx_debugfs_exit() argument
|
A D | pmc.h | 27 int wcn36xx_pmc_enter_bmps_state(struct wcn36xx *wcn, 29 int wcn36xx_pmc_exit_bmps_state(struct wcn36xx *wcn, 31 int wcn36xx_enable_keep_alive_null_packet(struct wcn36xx *wcn,
|
A D | wcn36xx.h | 285 static inline bool wcn36xx_is_fw_version(struct wcn36xx *wcn, in wcn36xx_is_fw_version() argument 291 return (wcn->fw_major == major && in wcn36xx_is_fw_version() 292 wcn->fw_minor == minor && in wcn36xx_is_fw_version() 293 wcn->fw_version == version && in wcn36xx_is_fw_version() 294 wcn->fw_revision == revision); in wcn36xx_is_fw_version()
|
A D | txrx.h | 163 int wcn36xx_rx_skb(struct wcn36xx *wcn, struct sk_buff *skb); 164 int wcn36xx_start_tx(struct wcn36xx *wcn,
|