Robert Marko <robert.marko@xxxxxxxxxx> writes: > On Thu, Jan 12, 2023 at 10:49 AM Kalle Valo <kvalo@xxxxxxxxxx> wrote: > >> >> Robert Marko <robert.marko@xxxxxxxxxx> writes: >> >> > On Thu, Jan 12, 2023 at 10:40 AM Kalle Valo <kvalo@xxxxxxxxxx> wrote: >> >> >> >> Robert Marko <robert.marko@xxxxxxxxxx> writes: >> >> >> >> > On Wed, Jan 11, 2023 at 6:10 PM Kalle Valo <kvalo@xxxxxxxxxx> wrote: >> >> >> >> >> >> Robert Marko <robert.marko@xxxxxxxxxx> writes: >> >> >> >> >> >> >> Really sorry, I just didn't manage to get this finalised due to other >> >> >> >> stuff and now I'm leaving for a two week vacation :( >> >> >> > >> >> >> > Any news regarding this, I have a PR for ipq807x support in OpenWrt >> >> >> > and the current workaround for supporting AHB + PCI or multiple PCI >> >> >> > cards is breaking cards like QCA6390 which are obviously really >> >> >> > popular. >> >> >> >> >> >> Sorry, came back only on Monday and trying to catch up slowly. But I >> >> >> submitted the RFC now: >> >> >> >> >> >> https://patchwork.kernel.org/project/linux-wireless/patch/20230111170033.32454-1-kvalo@xxxxxxxxxx/ >> >> > >> >> > Great, thanks for that. >> >> > >> >> > Does it depend on firmware-2 being available? >> >> >> >> The final solution for the users will require firmware-2.bin. But for a >> >> quick test you can omit the feature bit test by replacing >> >> "test_bit(ATH11K_FW_FEATURE_MULTI_QRTR_ID, ab->fw.fw_features)" with >> >> "true". Just make sure that the firmware release you are using supports >> >> this feature, I believe only recent QCN9074 releases do that. >> > >> > I was able to test on IPQ8074+QCN9074 yesterday by just bypassing the >> > test and it worked. >> > >> > Sideffect is that until firmware-2.bin is available cards like QCA6390 >> > wont work like with my hack. >> >> Not following here, can you elaborate what won't work with QCA6390? > > Our downstream hack does not work with QCA6390, Still not sure what you mean. Are you saying that this patch under discussion ("wifi: ath11k: use unique QRTR instance ID") also works with QCA6390 and it's possible to connect two QCA6390 devices on the same host? Or are you referring to some other hack? Or have I totally misunderstood? :) > so that is why its quite important for OpenWrt to have a generic > solution that works on all cards. I fully agree on importance of having a generic solution. It's just sad that it seems people who designed this didn't consider about having multiple devices on the same host. It looks like there's no easy way to implement a generic solution, we have only bad choices to choose from. Your solution[1] is racy and writing to a register which is marked as read-only in the spec. Qualcomm's solution[2] needs changes in firmware and it's uncertain if I'm able to convince all firmware teams to implement the support. (Currently only QCN9074 firmware supports this.) Thoughts? [1] https://patchwork.kernel.org/project/linux-wireless/patch/20221105194943.826847-2-robimarko@xxxxxxxxx/ [2] https://patchwork.kernel.org/project/linux-wireless/patch/20230111170033.32454-1-kvalo@xxxxxxxxxx/ -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches