forked from Openwrt-EcoNet/openwrt
This new version fixes some memory leak and NULL pointer issues. Upstreamed patches: [1] 010-api_update.patch [2] 201-wifi-ath10k-add-LED-and-GPIO-controlling-support-for.patch The new 003 patch was introduced to fix the build error on old LTS kernel. The patch 004 was used to fix the issue of IPQ4019 radio not being able to start. Tested on QCA9882 and IPQ4019. [1]bca8bc0399
[2]8e1debd824
Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18368 Signed-off-by: Robert Marko <robimarko@gmail.com>
12 lines
496 B
Diff
12 lines
496 B
Diff
--- a/ath10k-6.14/wmi.h
|
|
+++ b/ath10k-6.14/wmi.h
|
|
@@ -6310,7 +6310,7 @@ struct qca9880_set_ctl_table_cmd {
|
|
__le32 ctl_len; /* in bytes. This may be ignored in firmware,
|
|
* make sure ctl_info data is sizeof(qca9880_power_ctl) */
|
|
/** ctl array (len adjusted to number of words) */
|
|
- __le32 ctl_info[1]; /* data would be the qca9880_power_ctl table above */
|
|
+ __le32 ctl_info[]; /* data would be the qca9880_power_ctl table above */
|
|
};
|
|
|
|
/* Used by: WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID */
|