Kevin Chiu | 1a950d6 | 2021-10-18 19:45:37 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <baseboard/variants.h> |
Kevin Chiu | 1a950d6 | 2021-10-18 19:45:37 +0800 | [diff] [blame] | 4 | |
| 5 | void variant_update_dxio_descriptors(fsp_dxio_descriptor *dxio_descriptors) |
| 6 | { |
Rob Barnes | 05c9a85 | 2022-04-19 08:39:00 -0600 | [diff] [blame] | 7 | /* Fix link speed to GEN2 - b/228830362 */ |
| 8 | dxio_descriptors[WLAN].link_speed_capability = GEN2; |
| 9 | dxio_descriptors[WLAN].port_params[0] = PP_PSPP_AC; |
| 10 | /* AC_DirectIndirect[11:8], AC_MaxPreferredSpeed[7:4], AC_MinPreferredSpeed[3:0] */ |
| 11 | dxio_descriptors[WLAN].port_params[1] = 0x122; |
| 12 | dxio_descriptors[WLAN].port_params[2] = PP_PSPP_DC; |
| 13 | /* DC_DirectIndirect[11:8], DC_MaxPreferredSpeed[7:4], DC_MinPreferredSpeed[3:0] */ |
| 14 | dxio_descriptors[WLAN].port_params[3] = 0x122; |
Kevin Chiu | 1a950d6 | 2021-10-18 19:45:37 +0800 | [diff] [blame] | 15 | } |