Lines Matching refs:cpu_to_le32
781 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_mgmt_send()
782 cmd->desc_id = cpu_to_le32(buf_id); in ath12k_wmi_mgmt_send()
784 cmd->paddr_lo = cpu_to_le32(lower_32_bits(ATH12K_SKB_CB(frame)->paddr)); in ath12k_wmi_mgmt_send()
785 cmd->paddr_hi = cpu_to_le32(upper_32_bits(ATH12K_SKB_CB(frame)->paddr)); in ath12k_wmi_mgmt_send()
786 cmd->frame_len = cpu_to_le32(frame->len); in ath12k_wmi_mgmt_send()
787 cmd->buf_len = cpu_to_le32(buf_len); in ath12k_wmi_mgmt_send()
835 cmd->vdev_id = cpu_to_le32(args->if_id); in ath12k_wmi_vdev_create()
836 cmd->vdev_type = cpu_to_le32(args->type); in ath12k_wmi_vdev_create()
837 cmd->vdev_subtype = cpu_to_le32(args->subtype); in ath12k_wmi_vdev_create()
838 cmd->num_cfg_txrx_streams = cpu_to_le32(WMI_NUM_SUPPORTED_BAND_MAX); in ath12k_wmi_vdev_create()
839 cmd->pdev_id = cpu_to_le32(args->pdev_id); in ath12k_wmi_vdev_create()
840 cmd->vdev_stats_id = cpu_to_le32(args->if_stats_id); in ath12k_wmi_vdev_create()
906 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_delete()
934 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_stop()
962 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_down()
980 chan->mhz = cpu_to_le32(arg->freq); in ath12k_wmi_put_wmi_channel()
981 chan->band_center_freq1 = cpu_to_le32(arg->band_center_freq1); in ath12k_wmi_put_wmi_channel()
983 chan->band_center_freq2 = cpu_to_le32(arg->band_center_freq2); in ath12k_wmi_put_wmi_channel()
989 chan->info |= cpu_to_le32(WMI_CHAN_INFO_PASSIVE); in ath12k_wmi_put_wmi_channel()
991 chan->info |= cpu_to_le32(WMI_CHAN_INFO_ADHOC_ALLOWED); in ath12k_wmi_put_wmi_channel()
993 chan->info |= cpu_to_le32(WMI_CHAN_INFO_ALLOW_HT); in ath12k_wmi_put_wmi_channel()
995 chan->info |= cpu_to_le32(WMI_CHAN_INFO_ALLOW_VHT); in ath12k_wmi_put_wmi_channel()
997 chan->info |= cpu_to_le32(WMI_CHAN_INFO_ALLOW_HE); in ath12k_wmi_put_wmi_channel()
999 chan->info |= cpu_to_le32(WMI_CHAN_INFO_HT40_PLUS); in ath12k_wmi_put_wmi_channel()
1001 chan->info |= cpu_to_le32(WMI_CHAN_INFO_DFS); in ath12k_wmi_put_wmi_channel()
1003 chan->info |= cpu_to_le32(WMI_CHAN_INFO_DFS_FREQ2); in ath12k_wmi_put_wmi_channel()
1042 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_vdev_start()
1043 cmd->beacon_interval = cpu_to_le32(arg->bcn_intval); in ath12k_wmi_vdev_start()
1044 cmd->bcn_tx_rate = cpu_to_le32(arg->bcn_tx_rate); in ath12k_wmi_vdev_start()
1045 cmd->dtim_period = cpu_to_le32(arg->dtim_period); in ath12k_wmi_vdev_start()
1046 cmd->num_noa_descriptors = cpu_to_le32(arg->num_noa_descriptors); in ath12k_wmi_vdev_start()
1047 cmd->preferred_rx_streams = cpu_to_le32(arg->pref_rx_streams); in ath12k_wmi_vdev_start()
1048 cmd->preferred_tx_streams = cpu_to_le32(arg->pref_tx_streams); in ath12k_wmi_vdev_start()
1049 cmd->cac_duration_ms = cpu_to_le32(arg->cac_duration_ms); in ath12k_wmi_vdev_start()
1050 cmd->regdomain = cpu_to_le32(arg->regdomain); in ath12k_wmi_vdev_start()
1051 cmd->he_ops = cpu_to_le32(arg->he_ops); in ath12k_wmi_vdev_start()
1052 cmd->punct_bitmap = cpu_to_le32(arg->punct_bitmap); in ath12k_wmi_vdev_start()
1056 cmd->ssid.ssid_len = cpu_to_le32(arg->ssid_len); in ath12k_wmi_vdev_start()
1060 cmd->flags |= cpu_to_le32(WMI_VDEV_START_HIDDEN_SSID); in ath12k_wmi_vdev_start()
1062 cmd->flags |= cpu_to_le32(WMI_VDEV_START_PMF_ENABLED); in ath12k_wmi_vdev_start()
1065 cmd->flags |= cpu_to_le32(WMI_VDEV_START_LDPC_RX_ENABLED); in ath12k_wmi_vdev_start()
1127 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_up()
1128 cmd->vdev_assoc_id = cpu_to_le32(aid); in ath12k_wmi_vdev_up()
1162 cmd->peer_type = cpu_to_le32(arg->peer_type); in ath12k_wmi_send_peer_create_cmd()
1163 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_peer_create_cmd()
1195 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_peer_delete_cmd()
1226 cmd->reg_domain = cpu_to_le32(arg->current_rd_in_use); in ath12k_wmi_send_pdev_set_regdomain()
1227 cmd->reg_domain_2g = cpu_to_le32(arg->current_rd_2g); in ath12k_wmi_send_pdev_set_regdomain()
1228 cmd->reg_domain_5g = cpu_to_le32(arg->current_rd_5g); in ath12k_wmi_send_pdev_set_regdomain()
1229 cmd->conformance_test_limit_2g = cpu_to_le32(arg->ctl_2g); in ath12k_wmi_send_pdev_set_regdomain()
1230 cmd->conformance_test_limit_5g = cpu_to_le32(arg->ctl_5g); in ath12k_wmi_send_pdev_set_regdomain()
1231 cmd->dfs_domain = cpu_to_le32(arg->dfs_domain); in ath12k_wmi_send_pdev_set_regdomain()
1232 cmd->pdev_id = cpu_to_le32(arg->pdev_id); in ath12k_wmi_send_pdev_set_regdomain()
1265 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_set_peer_param()
1266 cmd->param_id = cpu_to_le32(param_id); in ath12k_wmi_set_peer_param()
1267 cmd->param_value = cpu_to_le32(param_val); in ath12k_wmi_set_peer_param()
1301 cmd->peer_tid_bitmap = cpu_to_le32(peer_tid_bitmap); in ath12k_wmi_send_peer_flush_tids_cmd()
1302 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_peer_flush_tids_cmd()
1337 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_peer_rx_reorder_queue_setup()
1338 cmd->tid = cpu_to_le32(tid); in ath12k_wmi_peer_rx_reorder_queue_setup()
1339 cmd->queue_ptr_lo = cpu_to_le32(lower_32_bits(paddr)); in ath12k_wmi_peer_rx_reorder_queue_setup()
1340 cmd->queue_ptr_hi = cpu_to_le32(upper_32_bits(paddr)); in ath12k_wmi_peer_rx_reorder_queue_setup()
1341 cmd->queue_no = cpu_to_le32(tid); in ath12k_wmi_peer_rx_reorder_queue_setup()
1342 cmd->ba_window_size_valid = cpu_to_le32(ba_window_size_valid); in ath12k_wmi_peer_rx_reorder_queue_setup()
1343 cmd->ba_window_size = cpu_to_le32(ba_window_size); in ath12k_wmi_peer_rx_reorder_queue_setup()
1378 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_rx_reord_queue_remove()
1379 cmd->tid_mask = cpu_to_le32(arg->peer_tid_bitmap); in ath12k_wmi_rx_reord_queue_remove()
1411 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_pdev_set_param()
1412 cmd->param_id = cpu_to_le32(param_id); in ath12k_wmi_pdev_set_param()
1413 cmd->param_value = cpu_to_le32(param_value); in ath12k_wmi_pdev_set_param()
1442 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_pdev_set_ps_mode()
1443 cmd->sta_ps_mode = cpu_to_le32(enable); in ath12k_wmi_pdev_set_ps_mode()
1475 cmd->suspend_opt = cpu_to_le32(suspend_opt); in ath12k_wmi_pdev_suspend()
1476 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_pdev_suspend()
1505 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_pdev_resume()
1539 cmd->req_type = cpu_to_le32(type); in ath12k_wmi_pdev_bss_chan_info_request()
1571 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_set_ap_ps_param_cmd()
1573 cmd->param = cpu_to_le32(arg->param); in ath12k_wmi_send_set_ap_ps_param_cmd()
1574 cmd->value = cpu_to_le32(arg->value); in ath12k_wmi_send_set_ap_ps_param_cmd()
1606 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_set_sta_ps_param()
1607 cmd->param = cpu_to_le32(param); in ath12k_wmi_set_sta_ps_param()
1608 cmd->value = cpu_to_le32(param_value); in ath12k_wmi_set_sta_ps_param()
1640 cmd->type = cpu_to_le32(type); in ath12k_wmi_force_fw_hang_cmd()
1641 cmd->delay_time_ms = cpu_to_le32(delay_time_ms); in ath12k_wmi_force_fw_hang_cmd()
1668 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_set_param_cmd()
1669 cmd->param_id = cpu_to_le32(param_id); in ath12k_wmi_vdev_set_param_cmd()
1670 cmd->param_value = cpu_to_le32(param_value); in ath12k_wmi_vdev_set_param_cmd()
1700 cmd->pdev_id = cpu_to_le32(ar->pdev->pdev_id); in ath12k_wmi_send_pdev_temperature_cmd()
1730 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_bcn_offload_control_cmd()
1731 cmd->bcn_ctrl_op = cpu_to_le32(bcn_ctrl_op); in ath12k_wmi_send_bcn_offload_control_cmd()
1773 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_bcn_tmpl()
1774 cmd->tim_ie_offset = cpu_to_le32(offs->tim_offset); in ath12k_wmi_bcn_tmpl()
1775 cmd->csa_switch_count_offset = cpu_to_le32(offs->cntdwn_counter_offs[0]); in ath12k_wmi_bcn_tmpl()
1776 cmd->ext_csa_switch_count_offset = cpu_to_le32(offs->cntdwn_counter_offs[1]); in ath12k_wmi_bcn_tmpl()
1777 cmd->buf_len = cpu_to_le32(bcn->len); in ath12k_wmi_bcn_tmpl()
1834 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_vdev_install_key()
1836 cmd->key_idx = cpu_to_le32(arg->key_idx); in ath12k_wmi_vdev_install_key()
1837 cmd->key_flags = cpu_to_le32(arg->key_flags); in ath12k_wmi_vdev_install_key()
1838 cmd->key_cipher = cpu_to_le32(arg->key_cipher); in ath12k_wmi_vdev_install_key()
1839 cmd->key_len = cpu_to_le32(arg->key_len); in ath12k_wmi_vdev_install_key()
1840 cmd->key_txmic_len = cpu_to_le32(arg->key_txmic_len); in ath12k_wmi_vdev_install_key()
1841 cmd->key_rxmic_len = cpu_to_le32(arg->key_rxmic_len); in ath12k_wmi_vdev_install_key()
1873 cmd->peer_flags |= cpu_to_le32(WMI_PEER_QOS); in ath12k_wmi_copy_peer_flags()
1875 cmd->peer_flags |= cpu_to_le32(WMI_PEER_APSD); in ath12k_wmi_copy_peer_flags()
1877 cmd->peer_flags |= cpu_to_le32(WMI_PEER_HT); in ath12k_wmi_copy_peer_flags()
1879 cmd->peer_flags |= cpu_to_le32(WMI_PEER_40MHZ); in ath12k_wmi_copy_peer_flags()
1881 cmd->peer_flags |= cpu_to_le32(WMI_PEER_80MHZ); in ath12k_wmi_copy_peer_flags()
1883 cmd->peer_flags |= cpu_to_le32(WMI_PEER_160MHZ); in ath12k_wmi_copy_peer_flags()
1885 cmd->peer_flags |= cpu_to_le32(WMI_PEER_EXT_320MHZ); in ath12k_wmi_copy_peer_flags()
1891 cmd->peer_flags |= cpu_to_le32(WMI_PEER_STBC); in ath12k_wmi_copy_peer_flags()
1897 cmd->peer_flags |= cpu_to_le32(WMI_PEER_LDPC); in ath12k_wmi_copy_peer_flags()
1900 cmd->peer_flags |= cpu_to_le32(WMI_PEER_STATIC_MIMOPS); in ath12k_wmi_copy_peer_flags()
1902 cmd->peer_flags |= cpu_to_le32(WMI_PEER_DYN_MIMOPS); in ath12k_wmi_copy_peer_flags()
1904 cmd->peer_flags |= cpu_to_le32(WMI_PEER_SPATIAL_MUX); in ath12k_wmi_copy_peer_flags()
1906 cmd->peer_flags |= cpu_to_le32(WMI_PEER_VHT); in ath12k_wmi_copy_peer_flags()
1908 cmd->peer_flags |= cpu_to_le32(WMI_PEER_HE); in ath12k_wmi_copy_peer_flags()
1910 cmd->peer_flags |= cpu_to_le32(WMI_PEER_TWT_REQ); in ath12k_wmi_copy_peer_flags()
1912 cmd->peer_flags |= cpu_to_le32(WMI_PEER_TWT_RESP); in ath12k_wmi_copy_peer_flags()
1914 cmd->peer_flags_ext |= cpu_to_le32(WMI_PEER_EXT_EHT); in ath12k_wmi_copy_peer_flags()
1922 cmd->peer_flags |= cpu_to_le32(WMI_PEER_AUTH); in ath12k_wmi_copy_peer_flags()
1924 cmd->peer_flags |= cpu_to_le32(WMI_PEER_NEED_PTK_4_WAY); in ath12k_wmi_copy_peer_flags()
1926 cmd->peer_flags &= cpu_to_le32(~WMI_PEER_AUTH); in ath12k_wmi_copy_peer_flags()
1929 cmd->peer_flags |= cpu_to_le32(WMI_PEER_NEED_GTK_2_WAY); in ath12k_wmi_copy_peer_flags()
1932 cmd->peer_flags &= cpu_to_le32(~(WMI_PEER_NEED_PTK_4_WAY | in ath12k_wmi_copy_peer_flags()
1936 cmd->peer_flags |= cpu_to_le32(WMI_PEER_PMF); in ath12k_wmi_copy_peer_flags()
1949 cmd->peer_flags &= cpu_to_le32(~WMI_PEER_HT); in ath12k_wmi_copy_peer_flags()
1998 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_peer_assoc_cmd()
2000 cmd->peer_new_assoc = cpu_to_le32(arg->peer_new_assoc); in ath12k_wmi_send_peer_assoc_cmd()
2001 cmd->peer_associd = cpu_to_le32(arg->peer_associd); in ath12k_wmi_send_peer_assoc_cmd()
2002 cmd->punct_bitmap = cpu_to_le32(arg->punct_bitmap); in ath12k_wmi_send_peer_assoc_cmd()
2010 cmd->peer_rate_caps = cpu_to_le32(arg->peer_rate_caps); in ath12k_wmi_send_peer_assoc_cmd()
2011 cmd->peer_caps = cpu_to_le32(arg->peer_caps); in ath12k_wmi_send_peer_assoc_cmd()
2012 cmd->peer_listen_intval = cpu_to_le32(arg->peer_listen_intval); in ath12k_wmi_send_peer_assoc_cmd()
2013 cmd->peer_ht_caps = cpu_to_le32(arg->peer_ht_caps); in ath12k_wmi_send_peer_assoc_cmd()
2014 cmd->peer_max_mpdu = cpu_to_le32(arg->peer_max_mpdu); in ath12k_wmi_send_peer_assoc_cmd()
2015 cmd->peer_mpdu_density = cpu_to_le32(arg->peer_mpdu_density); in ath12k_wmi_send_peer_assoc_cmd()
2016 cmd->peer_vht_caps = cpu_to_le32(arg->peer_vht_caps); in ath12k_wmi_send_peer_assoc_cmd()
2017 cmd->peer_phymode = cpu_to_le32(arg->peer_phymode); in ath12k_wmi_send_peer_assoc_cmd()
2020 cmd->peer_he_cap_info = cpu_to_le32(arg->peer_he_cap_macinfo[0]); in ath12k_wmi_send_peer_assoc_cmd()
2021 cmd->peer_he_cap_info_ext = cpu_to_le32(arg->peer_he_cap_macinfo[1]); in ath12k_wmi_send_peer_assoc_cmd()
2022 cmd->peer_he_cap_info_internal = cpu_to_le32(arg->peer_he_cap_macinfo_internal); in ath12k_wmi_send_peer_assoc_cmd()
2023 cmd->peer_he_caps_6ghz = cpu_to_le32(arg->peer_he_caps_6ghz); in ath12k_wmi_send_peer_assoc_cmd()
2024 cmd->peer_he_ops = cpu_to_le32(arg->peer_he_ops); in ath12k_wmi_send_peer_assoc_cmd()
2027 cpu_to_le32(arg->peer_he_cap_phyinfo[i]); in ath12k_wmi_send_peer_assoc_cmd()
2028 cmd->peer_ppet.numss_m1 = cpu_to_le32(arg->peer_ppet.numss_m1); in ath12k_wmi_send_peer_assoc_cmd()
2029 cmd->peer_ppet.ru_info = cpu_to_le32(arg->peer_ppet.ru_bit_mask); in ath12k_wmi_send_peer_assoc_cmd()
2032 cpu_to_le32(arg->peer_ppet.ppet16_ppet8_ru3_ru0[i]); in ath12k_wmi_send_peer_assoc_cmd()
2056 cmd->num_peer_legacy_rates = cpu_to_le32(arg->peer_legacy_rates.num_rates); in ath12k_wmi_send_peer_assoc_cmd()
2070 cmd->num_peer_ht_rates = cpu_to_le32(arg->peer_ht_rates.num_rates); in ath12k_wmi_send_peer_assoc_cmd()
2086 cmd->peer_nss = cpu_to_le32(arg->peer_nss); in ath12k_wmi_send_peer_assoc_cmd()
2090 cmd->peer_bw_rxnss_override |= cpu_to_le32(arg->peer_bw_rxnss_override); in ath12k_wmi_send_peer_assoc_cmd()
2093 mcs->rx_max_rate = cpu_to_le32(arg->rx_max_rate); in ath12k_wmi_send_peer_assoc_cmd()
2094 mcs->rx_mcs_set = cpu_to_le32(arg->rx_mcs_set); in ath12k_wmi_send_peer_assoc_cmd()
2095 mcs->tx_max_rate = cpu_to_le32(arg->tx_max_rate); in ath12k_wmi_send_peer_assoc_cmd()
2096 mcs->tx_mcs_set = cpu_to_le32(arg->tx_mcs_set); in ath12k_wmi_send_peer_assoc_cmd()
2100 cmd->peer_he_mcs = cpu_to_le32(arg->peer_he_mcs_count); in ath12k_wmi_send_peer_assoc_cmd()
2101 cmd->min_data_rate = cpu_to_le32(arg->min_data_rate); in ath12k_wmi_send_peer_assoc_cmd()
2125 he_mcs->rx_mcs_set = cpu_to_le32(arg->peer_he_rx_mcs_set[i]); in ath12k_wmi_send_peer_assoc_cmd()
2126 he_mcs->tx_mcs_set = cpu_to_le32(arg->peer_he_tx_mcs_set[i]); in ath12k_wmi_send_peer_assoc_cmd()
2159 eht_mcs->rx_mcs_set = cpu_to_le32(arg->peer_eht_rx_mcs_set[i]); in ath12k_wmi_send_peer_assoc_cmd()
2160 eht_mcs->tx_mcs_set = cpu_to_le32(arg->peer_eht_tx_mcs_set[i]); in ath12k_wmi_send_peer_assoc_cmd()
2237 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_STARTED); in ath12k_wmi_copy_scan_event_cntrl_flags()
2239 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_COMPLETED); in ath12k_wmi_copy_scan_event_cntrl_flags()
2241 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_BSS_CHANNEL); in ath12k_wmi_copy_scan_event_cntrl_flags()
2243 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_FOREIGN_CHAN); in ath12k_wmi_copy_scan_event_cntrl_flags()
2245 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_DEQUEUED); in ath12k_wmi_copy_scan_event_cntrl_flags()
2247 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_PREEMPTED); in ath12k_wmi_copy_scan_event_cntrl_flags()
2249 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_START_FAILED); in ath12k_wmi_copy_scan_event_cntrl_flags()
2251 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_RESTARTED); in ath12k_wmi_copy_scan_event_cntrl_flags()
2253 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_FOREIGN_CHAN_EXIT); in ath12k_wmi_copy_scan_event_cntrl_flags()
2255 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_SUSPENDED); in ath12k_wmi_copy_scan_event_cntrl_flags()
2257 cmd->notify_scan_events |= cpu_to_le32(WMI_SCAN_EVENT_RESUMED); in ath12k_wmi_copy_scan_event_cntrl_flags()
2262 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_FLAG_PASSIVE); in ath12k_wmi_copy_scan_event_cntrl_flags()
2264 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_FLAG_STRICT_PASSIVE_ON_PCHN); in ath12k_wmi_copy_scan_event_cntrl_flags()
2266 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_FILTER_PROMISCUOS); in ath12k_wmi_copy_scan_event_cntrl_flags()
2268 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_CAPTURE_PHY_ERROR); in ath12k_wmi_copy_scan_event_cntrl_flags()
2270 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_FLAG_HALF_RATE_SUPPORT); in ath12k_wmi_copy_scan_event_cntrl_flags()
2272 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_FLAG_QUARTER_RATE_SUPPORT); in ath12k_wmi_copy_scan_event_cntrl_flags()
2274 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_ADD_CCK_RATES); in ath12k_wmi_copy_scan_event_cntrl_flags()
2276 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_ADD_OFDM_RATES); in ath12k_wmi_copy_scan_event_cntrl_flags()
2278 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_CHAN_STAT_EVENT); in ath12k_wmi_copy_scan_event_cntrl_flags()
2280 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_FILTER_PROBE_REQ); in ath12k_wmi_copy_scan_event_cntrl_flags()
2282 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_ADD_BCAST_PROBE_REQ); in ath12k_wmi_copy_scan_event_cntrl_flags()
2284 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_OFFCHAN_MGMT_TX); in ath12k_wmi_copy_scan_event_cntrl_flags()
2286 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_OFFCHAN_DATA_TX); in ath12k_wmi_copy_scan_event_cntrl_flags()
2288 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_FLAG_FORCE_ACTIVE_ON_DFS); in ath12k_wmi_copy_scan_event_cntrl_flags()
2290 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_ADD_TPC_IE_IN_PROBE_REQ); in ath12k_wmi_copy_scan_event_cntrl_flags()
2292 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_ADD_DS_IE_IN_PROBE_REQ); in ath12k_wmi_copy_scan_event_cntrl_flags()
2294 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_ADD_SPOOF_MAC_IN_PROBE_REQ); in ath12k_wmi_copy_scan_event_cntrl_flags()
2296 cmd->scan_ctrl_flags |= cpu_to_le32(WMI_SCAN_RANDOM_SEQ_NO_IN_PROBE_REQ); in ath12k_wmi_copy_scan_event_cntrl_flags()
2299 cpu_to_le32(WMI_SCAN_ENABLE_IE_WHTELIST_IN_PROBE_REQ); in ath12k_wmi_copy_scan_event_cntrl_flags()
2366 cmd->scan_id = cpu_to_le32(arg->scan_id); in ath12k_wmi_send_scan_start_cmd()
2367 cmd->scan_req_id = cpu_to_le32(arg->scan_req_id); in ath12k_wmi_send_scan_start_cmd()
2368 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_scan_start_cmd()
2369 cmd->scan_priority = cpu_to_le32(arg->scan_priority); in ath12k_wmi_send_scan_start_cmd()
2370 cmd->notify_scan_events = cpu_to_le32(arg->notify_scan_events); in ath12k_wmi_send_scan_start_cmd()
2374 cmd->dwell_time_active = cpu_to_le32(arg->dwell_time_active); in ath12k_wmi_send_scan_start_cmd()
2375 cmd->dwell_time_active_2g = cpu_to_le32(arg->dwell_time_active_2g); in ath12k_wmi_send_scan_start_cmd()
2376 cmd->dwell_time_passive = cpu_to_le32(arg->dwell_time_passive); in ath12k_wmi_send_scan_start_cmd()
2377 cmd->dwell_time_active_6g = cpu_to_le32(arg->dwell_time_active_6g); in ath12k_wmi_send_scan_start_cmd()
2378 cmd->dwell_time_passive_6g = cpu_to_le32(arg->dwell_time_passive_6g); in ath12k_wmi_send_scan_start_cmd()
2379 cmd->min_rest_time = cpu_to_le32(arg->min_rest_time); in ath12k_wmi_send_scan_start_cmd()
2380 cmd->max_rest_time = cpu_to_le32(arg->max_rest_time); in ath12k_wmi_send_scan_start_cmd()
2381 cmd->repeat_probe_time = cpu_to_le32(arg->repeat_probe_time); in ath12k_wmi_send_scan_start_cmd()
2382 cmd->probe_spacing_time = cpu_to_le32(arg->probe_spacing_time); in ath12k_wmi_send_scan_start_cmd()
2383 cmd->idle_time = cpu_to_le32(arg->idle_time); in ath12k_wmi_send_scan_start_cmd()
2384 cmd->max_scan_time = cpu_to_le32(arg->max_scan_time); in ath12k_wmi_send_scan_start_cmd()
2385 cmd->probe_delay = cpu_to_le32(arg->probe_delay); in ath12k_wmi_send_scan_start_cmd()
2386 cmd->burst_duration = cpu_to_le32(arg->burst_duration); in ath12k_wmi_send_scan_start_cmd()
2387 cmd->num_chan = cpu_to_le32(arg->num_chan); in ath12k_wmi_send_scan_start_cmd()
2388 cmd->num_bssid = cpu_to_le32(arg->num_bssid); in ath12k_wmi_send_scan_start_cmd()
2389 cmd->num_ssids = cpu_to_le32(arg->num_ssids); in ath12k_wmi_send_scan_start_cmd()
2390 cmd->ie_len = cpu_to_le32(arg->extraie.len); in ath12k_wmi_send_scan_start_cmd()
2391 cmd->n_probes = cpu_to_le32(arg->n_probes); in ath12k_wmi_send_scan_start_cmd()
2427 ssid->ssid_len = cpu_to_le32(arg->ssid[i].ssid_len); in ath12k_wmi_send_scan_start_cmd()
2547 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_scan_stop_cmd()
2548 cmd->requestor = cpu_to_le32(arg->requester); in ath12k_wmi_send_scan_stop_cmd()
2549 cmd->scan_id = cpu_to_le32(arg->scan_id); in ath12k_wmi_send_scan_stop_cmd()
2550 cmd->pdev_id = cpu_to_le32(arg->pdev_id); in ath12k_wmi_send_scan_stop_cmd()
2554 cmd->req_type = cpu_to_le32(WMI_SCAN_STOP_ALL); in ath12k_wmi_send_scan_stop_cmd()
2557 cmd->req_type = cpu_to_le32(WMI_SCAN_STOP_VAP_ALL); in ath12k_wmi_send_scan_stop_cmd()
2614 cmd->pdev_id = cpu_to_le32(arg->pdev_id); in ath12k_wmi_send_scan_chan_list_cmd()
2615 cmd->num_scan_chans = cpu_to_le32(num_send_chans); in ath12k_wmi_send_scan_chan_list_cmd()
2617 cmd->flags |= cpu_to_le32(WMI_APPEND_TO_EXISTING_CHAN_LIST_FLAG); in ath12k_wmi_send_scan_chan_list_cmd()
2648 chan_info->mhz = cpu_to_le32(channel_arg->mhz); in ath12k_wmi_send_scan_chan_list_cmd()
2649 chan_info->band_center_freq1 = cpu_to_le32(channel_arg->cfreq1); in ath12k_wmi_send_scan_chan_list_cmd()
2650 chan_info->band_center_freq2 = cpu_to_le32(channel_arg->cfreq2); in ath12k_wmi_send_scan_chan_list_cmd()
2653 chan_info->info |= cpu_to_le32(WMI_CHAN_INFO_PASSIVE); in ath12k_wmi_send_scan_chan_list_cmd()
2655 chan_info->info |= cpu_to_le32(WMI_CHAN_INFO_ALLOW_HE); in ath12k_wmi_send_scan_chan_list_cmd()
2657 chan_info->info |= cpu_to_le32(WMI_CHAN_INFO_ALLOW_VHT); in ath12k_wmi_send_scan_chan_list_cmd()
2659 chan_info->info |= cpu_to_le32(WMI_CHAN_INFO_ALLOW_HT); in ath12k_wmi_send_scan_chan_list_cmd()
2661 chan_info->info |= cpu_to_le32(WMI_CHAN_INFO_HALF_RATE); in ath12k_wmi_send_scan_chan_list_cmd()
2664 cpu_to_le32(WMI_CHAN_INFO_QUARTER_RATE); in ath12k_wmi_send_scan_chan_list_cmd()
2667 chan_info->info |= cpu_to_le32(WMI_CHAN_INFO_PSC); in ath12k_wmi_send_scan_chan_list_cmd()
2670 chan_info->info |= cpu_to_le32(WMI_CHAN_INFO_DFS); in ath12k_wmi_send_scan_chan_list_cmd()
2725 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_wmm_update_cmd()
2749 wmm_param->aifs = cpu_to_le32(wmi_wmm_arg->aifs); in ath12k_wmi_send_wmm_update_cmd()
2750 wmm_param->cwmin = cpu_to_le32(wmi_wmm_arg->cwmin); in ath12k_wmi_send_wmm_update_cmd()
2751 wmm_param->cwmax = cpu_to_le32(wmi_wmm_arg->cwmax); in ath12k_wmi_send_wmm_update_cmd()
2752 wmm_param->txoplimit = cpu_to_le32(wmi_wmm_arg->txop); in ath12k_wmi_send_wmm_update_cmd()
2753 wmm_param->acm = cpu_to_le32(wmi_wmm_arg->acm); in ath12k_wmi_send_wmm_update_cmd()
2754 wmm_param->no_ack = cpu_to_le32(wmi_wmm_arg->no_ack); in ath12k_wmi_send_wmm_update_cmd()
2790 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_send_dfs_phyerr_offload_enable_cmd()
2821 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_delba_send()
2823 cmd->tid = cpu_to_le32(tid); in ath12k_wmi_delba_send()
2824 cmd->initiator = cpu_to_le32(initiator); in ath12k_wmi_delba_send()
2825 cmd->reasoncode = cpu_to_le32(reason); in ath12k_wmi_delba_send()
2858 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_addba_set_resp()
2860 cmd->tid = cpu_to_le32(tid); in ath12k_wmi_addba_set_resp()
2861 cmd->statuscode = cpu_to_le32(status); in ath12k_wmi_addba_set_resp()
2893 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_addba_send()
2895 cmd->tid = cpu_to_le32(tid); in ath12k_wmi_addba_send()
2896 cmd->buffersize = cpu_to_le32(buf_size); in ath12k_wmi_addba_send()
2928 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_addba_clear_resp()
2963 cmd->pdev_id = cpu_to_le32(ar->pdev->pdev_id); in ath12k_wmi_send_init_country_cmd()
2971 cmd->init_cc_type = cpu_to_le32(WMI_COUNTRY_INFO_TYPE_COUNTRY_CODE); in ath12k_wmi_send_init_country_cmd()
2973 cpu_to_le32(arg->cc_info.country_code); in ath12k_wmi_send_init_country_cmd()
2976 cmd->init_cc_type = cpu_to_le32(WMI_COUNTRY_INFO_TYPE_REGDOMAIN); in ath12k_wmi_send_init_country_cmd()
2977 cmd->cc_info.regdom_id = cpu_to_le32(arg->cc_info.regdom_id); in ath12k_wmi_send_init_country_cmd()
3016 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_send_twt_enable_cmd()
3017 cmd->sta_cong_timer_ms = cpu_to_le32(ATH12K_TWT_DEF_STA_CONG_TIMER_MS); in ath12k_wmi_send_twt_enable_cmd()
3018 cmd->default_slot_size = cpu_to_le32(ATH12K_TWT_DEF_DEFAULT_SLOT_SIZE); in ath12k_wmi_send_twt_enable_cmd()
3020 cpu_to_le32(ATH12K_TWT_DEF_CONGESTION_THRESH_SETUP); in ath12k_wmi_send_twt_enable_cmd()
3022 cpu_to_le32(ATH12K_TWT_DEF_CONGESTION_THRESH_TEARDOWN); in ath12k_wmi_send_twt_enable_cmd()
3024 cpu_to_le32(ATH12K_TWT_DEF_CONGESTION_THRESH_CRITICAL); in ath12k_wmi_send_twt_enable_cmd()
3026 cpu_to_le32(ATH12K_TWT_DEF_INTERFERENCE_THRESH_TEARDOWN); in ath12k_wmi_send_twt_enable_cmd()
3028 cpu_to_le32(ATH12K_TWT_DEF_INTERFERENCE_THRESH_SETUP); in ath12k_wmi_send_twt_enable_cmd()
3029 cmd->min_no_sta_setup = cpu_to_le32(ATH12K_TWT_DEF_MIN_NO_STA_SETUP); in ath12k_wmi_send_twt_enable_cmd()
3030 cmd->min_no_sta_teardown = cpu_to_le32(ATH12K_TWT_DEF_MIN_NO_STA_TEARDOWN); in ath12k_wmi_send_twt_enable_cmd()
3032 cpu_to_le32(ATH12K_TWT_DEF_NO_OF_BCAST_MCAST_SLOTS); in ath12k_wmi_send_twt_enable_cmd()
3033 cmd->min_no_twt_slots = cpu_to_le32(ATH12K_TWT_DEF_MIN_NO_TWT_SLOTS); in ath12k_wmi_send_twt_enable_cmd()
3034 cmd->max_no_sta_twt = cpu_to_le32(ATH12K_TWT_DEF_MAX_NO_STA_TWT); in ath12k_wmi_send_twt_enable_cmd()
3035 cmd->mode_check_interval = cpu_to_le32(ATH12K_TWT_DEF_MODE_CHECK_INTERVAL); in ath12k_wmi_send_twt_enable_cmd()
3036 cmd->add_sta_slot_interval = cpu_to_le32(ATH12K_TWT_DEF_ADD_STA_SLOT_INTERVAL); in ath12k_wmi_send_twt_enable_cmd()
3038 cpu_to_le32(ATH12K_TWT_DEF_REMOVE_STA_SLOT_INTERVAL); in ath12k_wmi_send_twt_enable_cmd()
3069 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_send_twt_disable_cmd()
3099 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_obss_spr_cmd()
3100 cmd->enable = cpu_to_le32(he_obss_pd->enable); in ath12k_wmi_send_obss_spr_cmd()
3133 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_obss_color_cfg_cmd()
3134 cmd->evt_type = enable ? cpu_to_le32(ATH12K_OBSS_COLOR_COLLISION_DETECTION) : in ath12k_wmi_obss_color_cfg_cmd()
3135 cpu_to_le32(ATH12K_OBSS_COLOR_COLLISION_DETECTION_DISABLE); in ath12k_wmi_obss_color_cfg_cmd()
3136 cmd->current_bss_color = cpu_to_le32(bss_color); in ath12k_wmi_obss_color_cfg_cmd()
3137 cmd->detection_period_ms = cpu_to_le32(period); in ath12k_wmi_obss_color_cfg_cmd()
3138 cmd->scan_period_ms = cpu_to_le32(ATH12K_BSS_COLOR_COLLISION_SCAN_PERIOD_MS); in ath12k_wmi_obss_color_cfg_cmd()
3174 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_bss_color_change_enable_cmd()
3175 cmd->enable = enable ? cpu_to_le32(1) : 0; in ath12k_wmi_send_bss_color_change_enable_cmd()
3213 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_fils_discovery_tmpl()
3214 cmd->buf_len = cpu_to_le32(tmpl->len); in ath12k_wmi_fils_discovery_tmpl()
3258 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_probe_resp_tmpl()
3259 cmd->buf_len = cpu_to_le32(tmpl->len); in ath12k_wmi_probe_resp_tmpl()
3315 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_fils_discovery()
3316 cmd->interval = cpu_to_le32(interval); in ath12k_wmi_fils_discovery()
3317 cmd->config = cpu_to_le32(unsol_bcast_probe_resp_enabled); in ath12k_wmi_fils_discovery()
3365 wmi_cfg->num_vdevs = cpu_to_le32(tg_cfg->num_vdevs); in ath12k_wmi_copy_resource_config()
3366 wmi_cfg->num_peers = cpu_to_le32(tg_cfg->num_peers); in ath12k_wmi_copy_resource_config()
3367 wmi_cfg->num_offload_peers = cpu_to_le32(tg_cfg->num_offload_peers); in ath12k_wmi_copy_resource_config()
3369 cpu_to_le32(tg_cfg->num_offload_reorder_buffs); in ath12k_wmi_copy_resource_config()
3370 wmi_cfg->num_peer_keys = cpu_to_le32(tg_cfg->num_peer_keys); in ath12k_wmi_copy_resource_config()
3371 wmi_cfg->num_tids = cpu_to_le32(tg_cfg->num_tids); in ath12k_wmi_copy_resource_config()
3372 wmi_cfg->ast_skid_limit = cpu_to_le32(tg_cfg->ast_skid_limit); in ath12k_wmi_copy_resource_config()
3373 wmi_cfg->tx_chain_mask = cpu_to_le32(tg_cfg->tx_chain_mask); in ath12k_wmi_copy_resource_config()
3374 wmi_cfg->rx_chain_mask = cpu_to_le32(tg_cfg->rx_chain_mask); in ath12k_wmi_copy_resource_config()
3375 wmi_cfg->rx_timeout_pri[0] = cpu_to_le32(tg_cfg->rx_timeout_pri[0]); in ath12k_wmi_copy_resource_config()
3376 wmi_cfg->rx_timeout_pri[1] = cpu_to_le32(tg_cfg->rx_timeout_pri[1]); in ath12k_wmi_copy_resource_config()
3377 wmi_cfg->rx_timeout_pri[2] = cpu_to_le32(tg_cfg->rx_timeout_pri[2]); in ath12k_wmi_copy_resource_config()
3378 wmi_cfg->rx_timeout_pri[3] = cpu_to_le32(tg_cfg->rx_timeout_pri[3]); in ath12k_wmi_copy_resource_config()
3379 wmi_cfg->rx_decap_mode = cpu_to_le32(tg_cfg->rx_decap_mode); in ath12k_wmi_copy_resource_config()
3380 wmi_cfg->scan_max_pending_req = cpu_to_le32(tg_cfg->scan_max_pending_req); in ath12k_wmi_copy_resource_config()
3381 wmi_cfg->bmiss_offload_max_vdev = cpu_to_le32(tg_cfg->bmiss_offload_max_vdev); in ath12k_wmi_copy_resource_config()
3382 wmi_cfg->roam_offload_max_vdev = cpu_to_le32(tg_cfg->roam_offload_max_vdev); in ath12k_wmi_copy_resource_config()
3384 cpu_to_le32(tg_cfg->roam_offload_max_ap_profiles); in ath12k_wmi_copy_resource_config()
3385 wmi_cfg->num_mcast_groups = cpu_to_le32(tg_cfg->num_mcast_groups); in ath12k_wmi_copy_resource_config()
3386 wmi_cfg->num_mcast_table_elems = cpu_to_le32(tg_cfg->num_mcast_table_elems); in ath12k_wmi_copy_resource_config()
3387 wmi_cfg->mcast2ucast_mode = cpu_to_le32(tg_cfg->mcast2ucast_mode); in ath12k_wmi_copy_resource_config()
3388 wmi_cfg->tx_dbg_log_size = cpu_to_le32(tg_cfg->tx_dbg_log_size); in ath12k_wmi_copy_resource_config()
3389 wmi_cfg->num_wds_entries = cpu_to_le32(tg_cfg->num_wds_entries); in ath12k_wmi_copy_resource_config()
3390 wmi_cfg->dma_burst_size = cpu_to_le32(tg_cfg->dma_burst_size); in ath12k_wmi_copy_resource_config()
3391 wmi_cfg->mac_aggr_delim = cpu_to_le32(tg_cfg->mac_aggr_delim); in ath12k_wmi_copy_resource_config()
3393 cpu_to_le32(tg_cfg->rx_skip_defrag_timeout_dup_detection_check); in ath12k_wmi_copy_resource_config()
3394 wmi_cfg->vow_config = cpu_to_le32(tg_cfg->vow_config); in ath12k_wmi_copy_resource_config()
3395 wmi_cfg->gtk_offload_max_vdev = cpu_to_le32(tg_cfg->gtk_offload_max_vdev); in ath12k_wmi_copy_resource_config()
3396 wmi_cfg->num_msdu_desc = cpu_to_le32(tg_cfg->num_msdu_desc); in ath12k_wmi_copy_resource_config()
3397 wmi_cfg->max_frag_entries = cpu_to_le32(tg_cfg->max_frag_entries); in ath12k_wmi_copy_resource_config()
3398 wmi_cfg->num_tdls_vdevs = cpu_to_le32(tg_cfg->num_tdls_vdevs); in ath12k_wmi_copy_resource_config()
3400 cpu_to_le32(tg_cfg->num_tdls_conn_table_entries); in ath12k_wmi_copy_resource_config()
3402 cpu_to_le32(tg_cfg->beacon_tx_offload_max_vdev); in ath12k_wmi_copy_resource_config()
3404 cpu_to_le32(tg_cfg->num_multicast_filter_entries); in ath12k_wmi_copy_resource_config()
3405 wmi_cfg->num_wow_filters = cpu_to_le32(tg_cfg->num_wow_filters); in ath12k_wmi_copy_resource_config()
3406 wmi_cfg->num_keep_alive_pattern = cpu_to_le32(tg_cfg->num_keep_alive_pattern); in ath12k_wmi_copy_resource_config()
3407 wmi_cfg->keep_alive_pattern_size = cpu_to_le32(tg_cfg->keep_alive_pattern_size); in ath12k_wmi_copy_resource_config()
3409 cpu_to_le32(tg_cfg->max_tdls_concurrent_sleep_sta); in ath12k_wmi_copy_resource_config()
3411 cpu_to_le32(tg_cfg->max_tdls_concurrent_buffer_sta); in ath12k_wmi_copy_resource_config()
3412 wmi_cfg->wmi_send_separate = cpu_to_le32(tg_cfg->wmi_send_separate); in ath12k_wmi_copy_resource_config()
3413 wmi_cfg->num_ocb_vdevs = cpu_to_le32(tg_cfg->num_ocb_vdevs); in ath12k_wmi_copy_resource_config()
3414 wmi_cfg->num_ocb_channels = cpu_to_le32(tg_cfg->num_ocb_channels); in ath12k_wmi_copy_resource_config()
3415 wmi_cfg->num_ocb_schedules = cpu_to_le32(tg_cfg->num_ocb_schedules); in ath12k_wmi_copy_resource_config()
3416 wmi_cfg->bpf_instruction_size = cpu_to_le32(tg_cfg->bpf_instruction_size); in ath12k_wmi_copy_resource_config()
3417 wmi_cfg->max_bssid_rx_filters = cpu_to_le32(tg_cfg->max_bssid_rx_filters); in ath12k_wmi_copy_resource_config()
3418 wmi_cfg->use_pdev_id = cpu_to_le32(tg_cfg->use_pdev_id); in ath12k_wmi_copy_resource_config()
3419 wmi_cfg->flag1 = cpu_to_le32(tg_cfg->atf_config); in ath12k_wmi_copy_resource_config()
3420 wmi_cfg->peer_map_unmap_version = cpu_to_le32(tg_cfg->peer_map_unmap_version); in ath12k_wmi_copy_resource_config()
3421 wmi_cfg->sched_params = cpu_to_le32(tg_cfg->sched_params); in ath12k_wmi_copy_resource_config()
3422 wmi_cfg->twt_ap_pdev_count = cpu_to_le32(tg_cfg->twt_ap_pdev_count); in ath12k_wmi_copy_resource_config()
3423 wmi_cfg->twt_ap_sta_count = cpu_to_le32(tg_cfg->twt_ap_sta_count); in ath12k_wmi_copy_resource_config()
3424 wmi_cfg->host_service_flags = cpu_to_le32(tg_cfg->is_reg_cc_ext_event_supported << in ath12k_wmi_copy_resource_config()
3489 host_mem_chunks[idx].ptr = cpu_to_le32(arg->mem_chunks[idx].paddr); in ath12k_init_cmd_send()
3490 host_mem_chunks[idx].size = cpu_to_le32(arg->mem_chunks[idx].len); in ath12k_init_cmd_send()
3491 host_mem_chunks[idx].req_id = cpu_to_le32(arg->mem_chunks[idx].req_id); in ath12k_init_cmd_send()
3507 cmd->num_host_mem_chunks = cpu_to_le32(arg->num_mem_chunks); in ath12k_init_cmd_send()
3524 hw_mode->hw_mode_index = cpu_to_le32(arg->hw_mode_id); in ath12k_init_cmd_send()
3525 hw_mode->num_band_to_mac = cpu_to_le32(arg->num_band_to_mac); in ath12k_init_cmd_send()
3546 band_to_mac->pdev_id = cpu_to_le32(arg->band_to_mac[idx].pdev_id); in ath12k_init_cmd_send()
3548 cpu_to_le32(arg->band_to_mac[idx].start_freq); in ath12k_init_cmd_send()
3550 cpu_to_le32(arg->band_to_mac[idx].end_freq); in ath12k_init_cmd_send()
3582 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_pdev_lro_cfg()
3645 cmd->hw_mode_index = cpu_to_le32(mode); in ath12k_wmi_set_hw_mode()
3694 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_vdev_spectral_conf()
3695 cmd->scan_count = cpu_to_le32(arg->scan_count); in ath12k_wmi_vdev_spectral_conf()
3696 cmd->scan_period = cpu_to_le32(arg->scan_period); in ath12k_wmi_vdev_spectral_conf()
3697 cmd->scan_priority = cpu_to_le32(arg->scan_priority); in ath12k_wmi_vdev_spectral_conf()
3698 cmd->scan_fft_size = cpu_to_le32(arg->scan_fft_size); in ath12k_wmi_vdev_spectral_conf()
3699 cmd->scan_gc_ena = cpu_to_le32(arg->scan_gc_ena); in ath12k_wmi_vdev_spectral_conf()
3700 cmd->scan_restart_ena = cpu_to_le32(arg->scan_restart_ena); in ath12k_wmi_vdev_spectral_conf()
3701 cmd->scan_noise_floor_ref = cpu_to_le32(arg->scan_noise_floor_ref); in ath12k_wmi_vdev_spectral_conf()
3702 cmd->scan_init_delay = cpu_to_le32(arg->scan_init_delay); in ath12k_wmi_vdev_spectral_conf()
3703 cmd->scan_nb_tone_thr = cpu_to_le32(arg->scan_nb_tone_thr); in ath12k_wmi_vdev_spectral_conf()
3704 cmd->scan_str_bin_thr = cpu_to_le32(arg->scan_str_bin_thr); in ath12k_wmi_vdev_spectral_conf()
3705 cmd->scan_wb_rpt_mode = cpu_to_le32(arg->scan_wb_rpt_mode); in ath12k_wmi_vdev_spectral_conf()
3706 cmd->scan_rssi_rpt_mode = cpu_to_le32(arg->scan_rssi_rpt_mode); in ath12k_wmi_vdev_spectral_conf()
3707 cmd->scan_rssi_thr = cpu_to_le32(arg->scan_rssi_thr); in ath12k_wmi_vdev_spectral_conf()
3708 cmd->scan_pwr_format = cpu_to_le32(arg->scan_pwr_format); in ath12k_wmi_vdev_spectral_conf()
3709 cmd->scan_rpt_mode = cpu_to_le32(arg->scan_rpt_mode); in ath12k_wmi_vdev_spectral_conf()
3710 cmd->scan_bin_scale = cpu_to_le32(arg->scan_bin_scale); in ath12k_wmi_vdev_spectral_conf()
3711 cmd->scan_dbm_adj = cpu_to_le32(arg->scan_dbm_adj); in ath12k_wmi_vdev_spectral_conf()
3712 cmd->scan_chn_mask = cpu_to_le32(arg->scan_chn_mask); in ath12k_wmi_vdev_spectral_conf()
3747 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_spectral_enable()
3748 cmd->trigger_cmd = cpu_to_le32(trigger); in ath12k_wmi_vdev_spectral_enable()
3749 cmd->enable_cmd = cpu_to_le32(enable); in ath12k_wmi_vdev_spectral_enable()
3784 cmd->pdev_id = cpu_to_le32(DP_SW2HW_MACID(arg->pdev_id)); in ath12k_wmi_pdev_dma_ring_cfg()
3785 cmd->module_id = cpu_to_le32(arg->module_id); in ath12k_wmi_pdev_dma_ring_cfg()
3786 cmd->base_paddr_lo = cpu_to_le32(arg->base_paddr_lo); in ath12k_wmi_pdev_dma_ring_cfg()
3787 cmd->base_paddr_hi = cpu_to_le32(arg->base_paddr_hi); in ath12k_wmi_pdev_dma_ring_cfg()
3788 cmd->head_idx_paddr_lo = cpu_to_le32(arg->head_idx_paddr_lo); in ath12k_wmi_pdev_dma_ring_cfg()
3789 cmd->head_idx_paddr_hi = cpu_to_le32(arg->head_idx_paddr_hi); in ath12k_wmi_pdev_dma_ring_cfg()
3790 cmd->tail_idx_paddr_lo = cpu_to_le32(arg->tail_idx_paddr_lo); in ath12k_wmi_pdev_dma_ring_cfg()
3791 cmd->tail_idx_paddr_hi = cpu_to_le32(arg->tail_idx_paddr_hi); in ath12k_wmi_pdev_dma_ring_cfg()
3792 cmd->num_elems = cpu_to_le32(arg->num_elems); in ath12k_wmi_pdev_dma_ring_cfg()
3793 cmd->buf_size = cpu_to_le32(arg->buf_size); in ath12k_wmi_pdev_dma_ring_cfg()
3794 cmd->num_resp_per_event = cpu_to_le32(arg->num_resp_per_event); in ath12k_wmi_pdev_dma_ring_cfg()
3795 cmd->event_timeout_ms = cpu_to_le32(arg->event_timeout_ms); in ath12k_wmi_pdev_dma_ring_cfg()
3862 arg->fixed.pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_dma_buf_parse()
7064 wmi_ut.vdev_id = cpu_to_le32(arvif->vdev_id); in ath12k_wmi_simulate_radar()
7065 wmi_ut.module_id = cpu_to_le32(DFS_UNIT_TEST_MODULE); in ath12k_wmi_simulate_radar()
7066 wmi_ut.num_args = cpu_to_le32(DFS_MAX_TEST_ARGS); in ath12k_wmi_simulate_radar()
7067 wmi_ut.diag_token = cpu_to_le32(DFS_UNIT_TEST_TOKEN); in ath12k_wmi_simulate_radar()