-/* $OpenBSD: qwx.c,v 1.60 2024/05/28 08:34:52 stsp Exp $ */
+/* $OpenBSD: qwx.c,v 1.61 2024/05/28 13:02:45 jsg Exp $ */
/*
* Copyright 2023 Stefan Sperling <stsp@openbsd.org>
NULL, "qwx", DV_IFNET
};
-void qwx_init_wmi_config_qca6390(struct qwx_softc *sc,
+void
+qwx_init_wmi_config_qca6390(struct qwx_softc *sc,
struct target_resource_config *config)
{
config->num_vdevs = 4;
FIELD_PREP(HAL_REO_DEST_RING_CTRL_HASH_RING_MAP, ring_hash_map));
}
-void qwx_init_wmi_config_ipq8074(struct qwx_softc *sc,
+void
+qwx_init_wmi_config_ipq8074(struct qwx_softc *sc,
struct target_resource_config *config)
{
config->num_vdevs = sc->num_radios * TARGET_NUM_VDEVS(sc);
return 0;
}
-int qwx_hw_mac_id_to_pdev_id_qca6390(struct ath11k_hw_params *hw, int mac_id)
+int
+qwx_hw_mac_id_to_pdev_id_qca6390(struct ath11k_hw_params *hw, int mac_id)
{
return 0;
}
}
}
-uint8_t qwx_hw_ipq6018_mac_from_pdev_id(int pdev_idx)
+uint8_t
+qwx_hw_ipq6018_mac_from_pdev_id(int pdev_idx)
{
return pdev_idx;
}
}
}
-struct cur_reg_rule
-*qwx_create_reg_rules_from_wmi(uint32_t num_reg_rules,
+struct cur_reg_rule *
+qwx_create_reg_rules_from_wmi(uint32_t num_reg_rules,
struct wmi_regulatory_rule_struct *wmi_reg_rule)
{
struct cur_reg_rule *reg_rule_ptr;