[PATCH net-next 0/2] net: Constify static qmi structs

2020-11-22 Thread Rikard Falkeborn
Constify a couple of static qmi_ops and qmi_msg_handler structs that are never modified. Rikard Falkeborn (2): soc: qcom: ipa: Constify static qmi structs ath10k: Constify static qmi structs drivers/net/ipa/ipa_qmi.c | 8 drivers/net/wireless/ath/ath10k/qmi.c | 4 ++--

[PATCH net-next 1/2] soc: qcom: ipa: Constify static qmi structs

2020-11-22 Thread Rikard Falkeborn
These are only used as input arguments to qmi_handle_init() which accepts const pointers to both qmi_ops and qmi_msg_handler. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/net/ipa/ipa_qmi.c | 8 1 file changed, 4

[PATCH net-next 2/2] ath10k: Constify static qmi structs

2020-11-22 Thread Rikard Falkeborn
qmi_msg_handler[] and ath10k_qmi_ops are only used as input arguments to qmi_handle_init() which accepts const pointers to both qmi_ops and qmi_msg_handler. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn ---

[PATCH 1/2] ath10k: Fix an error handling path

2020-11-22 Thread Christophe JAILLET
If 'ath10k_usb_create()' fails, we should release some resources and report an error instead of silently continuing. Fixes: 4db66499df91 ("ath10k: add initial USB support") Signed-off-by: Christophe JAILLET --- drivers/net/wireless/ath/ath10k/usb.c | 2 ++ 1 file changed, 2 insertions(+) diff

ath10k-firmware: QCA9888 hw2.0: Add Plasma Cloud PA2200 specific BDFs

2020-11-22 Thread Sven Eckelmann
Hi, The support for this device is currently prepared for OpenWrt. This AP requires three special BDFs to get the Wi-Fi PHYs working (correctly). Now to the questions from the wiki page [1]: * description for what hardware this is: - it is a IPQ4019 based board - one QCA40xx radio is used

ath10k-firmware: QCA4019 hw1.0: Add Plasma Cloud PA1200 specific BDFs

2020-11-22 Thread Sven Eckelmann
Hi, The support for this device is currently prepared for OpenWrt. This AP requires two special BDFs to get the Wi-Fi PHYs working (correctly). Now to the questions from the wiki page [1]: * description for what hardware this is: - it is a IPQ4019 based board - one QCA40xx radio is used

ath10k-firmware: QCA4019 hw1.0: Add Plasma Cloud PA2200 specific BDFs

2020-11-22 Thread Sven Eckelmann
Hi, The support for this device is currently prepared for OpenWrt. This AP requires three special BDFs to get the Wi-Fi PHYs working (correctly). Now to the questions from the wiki page [1]: * description for what hardware this is: - it is a IPQ4019 based board - one QCA40xx radio is used