/linux-6.3-rc2/drivers/net/wireless/ath/wcn36xx/ |
A D | dxe.c | 495 reap_tx_dxes(wcn, &wcn->dxe_tx_h_ch); in wcn36xx_irq_tx_complete() 534 reap_tx_dxes(wcn, &wcn->dxe_tx_l_ch); in wcn36xx_irq_tx_complete() 573 free_irq(wcn->tx_irq, wcn); in wcn36xx_dxe_request_irqs() 667 wcn36xx_rx_handle_packets(wcn, &wcn->dxe_rx_l_ch, in wcn36xx_dxe_rx_frame() 675 wcn36xx_rx_handle_packets(wcn, &wcn->dxe_rx_h_ch, in wcn36xx_dxe_rx_frame() 967 wcn36xx_dxe_ch_alloc_skb(wcn, &wcn->dxe_rx_l_ch); in wcn36xx_dxe_init() 998 wcn36xx_dxe_ch_alloc_skb(wcn, &wcn->dxe_rx_h_ch); in wcn36xx_dxe_init() 1055 free_irq(wcn->tx_irq, wcn); in wcn36xx_dxe_deinit() 1056 free_irq(wcn->rx_irq, wcn); in wcn36xx_dxe_deinit() 1068 wcn36xx_dxe_ch_free_skbs(wcn, &wcn->dxe_rx_l_ch); in wcn36xx_dxe_deinit() [all …]
|
A D | main.c | 353 wcn->band = band; in wcn36xx_change_opchannel() 379 if (wcn->sw_scan_opchannel == ch && wcn->sw_scan_channel) { in wcn36xx_config() 385 wcn36xx_smd_end_scan(wcn, wcn->sw_scan_channel); in wcn36xx_config() 395 wcn36xx_smd_end_scan(wcn, wcn->sw_scan_channel); in wcn36xx_config() 694 wcn->sw_scan_opchannel = WCN36XX_HW_CHANNEL(wcn); in wcn36xx_sw_scan_start() 708 wcn36xx_smd_end_scan(wcn, wcn->sw_scan_channel); in wcn36xx_sw_scan_complete() 1342 wcn = hw->priv; in wcn36xx_sta_statistics() 1457 SET_IEEE80211_DEV(wcn->hw, wcn->dev); in wcn36xx_init_ieee80211() 1573 wcn = hw->priv; in wcn36xx_probe() 1574 wcn->hw = hw; in wcn36xx_probe() [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, 146 int wcn36xx_smd_set_mc_list(struct wcn36xx *wcn, 166 int wcn36xx_smd_enter_imps(struct wcn36xx *wcn); [all …]
|
A D | smd.c | 434 ret = rpmsg_send(wcn->smd_channel, wcn->hal_buf, len); in wcn36xx_smd_send_and_wait() 512 if (!wcn->nv) { in wcn36xx_smd_load_nv() 513 ret = request_firmware(&wcn->nv, wcn->nv_file, wcn->dev); in wcn36xx_smd_load_nv() 601 wcn->wlan_version, wcn->crm_version); in wcn36xx_smd_start_rsp() 604 wcn->fw_major, wcn->fw_minor, in wcn36xx_smd_start_rsp() 605 wcn->fw_version, wcn->fw_revision, in wcn36xx_smd_start_rsp() 658 ret = wcn36xx_smd_start_rsp(wcn, wcn->hal_buf, wcn->hal_rsp_len); in wcn36xx_smd_start() 686 ret = wcn36xx_smd_rsp_status_check(wcn->hal_buf, wcn->hal_rsp_len); in wcn36xx_smd_stop() 724 ret = wcn36xx_smd_rsp_status_check(wcn->hal_buf, wcn->hal_rsp_len); in wcn36xx_smd_init_scan() 1365 ret = wcn36xx_smd_join_rsp(wcn->hal_buf, wcn->hal_rsp_len); in wcn36xx_smd_join() [all …]
|
A D | debug.c | 31 struct wcn36xx *wcn = file->private_data; in read_file_bool_bmps() local 56 struct wcn36xx *wcn = file->private_data; in write_file_bool_bmps() local 75 wcn36xx_pmc_enter_bmps_state(wcn, vif); in write_file_bool_bmps() 85 wcn36xx_pmc_exit_bmps_state(wcn, vif); in write_file_bool_bmps() 103 struct wcn36xx *wcn = file->private_data; in write_file_dump() local 144 struct wcn36xx *wcn = file->private_data; in read_file_firmware_feature_caps() local 154 mutex_lock(&wcn->hal_mutex); in read_file_firmware_feature_caps() 163 mutex_unlock(&wcn->hal_mutex); in read_file_firmware_feature_caps() 192 struct wcn36xx_dfs_entry *dfs = &wcn->dfs; in wcn36xx_debugfs_init() 195 wcn->hw->wiphy->debugfsdir); in wcn36xx_debugfs_init() [all …]
|
A D | txrx.c | 298 spin_lock(&wcn->survey_lock); in wcn36xx_update_survey() 299 wcn->chan_survey[idx].rssi = rssi; in wcn36xx_update_survey() 300 wcn->chan_survey[idx].snr = snr; in wcn36xx_update_survey() 301 spin_unlock(&wcn->survey_lock); in wcn36xx_update_survey() 379 status.band = WCN36XX_BAND(wcn); in wcn36xx_rx_skb() 493 if (!conf_is_ht(&wcn->hw->conf)) in wcn36xx_tx_start_ampdu() 521 struct wcn36xx *wcn, in wcn36xx_set_tx_data() argument 600 struct wcn36xx *wcn, in wcn36xx_set_tx_mgmt() argument 607 get_vif_by_addr(wcn, hdr->addr2); in wcn36xx_set_tx_mgmt() 682 ieee80211_stop_queues(wcn->hw); in wcn36xx_start_tx() [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 | 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 | debug.h | 37 void wcn36xx_debugfs_init(struct wcn36xx *wcn); 38 void wcn36xx_debugfs_exit(struct wcn36xx *wcn); 41 static inline void wcn36xx_debugfs_init(struct wcn36xx *wcn) in wcn36xx_debugfs_init() argument 44 static inline void wcn36xx_debugfs_exit(struct wcn36xx *wcn) in wcn36xx_debugfs_exit() argument
|
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 int wcn36xx_dxe_tx_flush(struct wcn36xx *wcn); [all …]
|
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 | 300 static inline bool wcn36xx_is_fw_version(struct wcn36xx *wcn, in wcn36xx_is_fw_version() argument 306 return (wcn->fw_major == major && in wcn36xx_is_fw_version() 307 wcn->fw_minor == minor && in wcn36xx_is_fw_version() 308 wcn->fw_version == version && in wcn36xx_is_fw_version() 309 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,
|