<robimarko>
Yes, some of them need to be on the same core
<\x>
those on the second line can be spread around
<\x>
but ce ones and edma? no go. you remove dma from core 0 and it fucks everything up
<mrkiko>
xback: I can say I tested your ath1'k sync patches and encountered not issue ; Tested-By: Enrico Mioso <mrkiko.rs@gmail.com> [IPQ806X/Netgear R7800]
jeff___m has quit [Remote host closed the connection]
jeff___m has joined #openwrt-devel
Mangix has joined #openwrt-devel
Tapper has joined #openwrt-devel
<jeff___m>
I'm trying to create a patch that sets qcom,board-id to a known value since my module doesn't report it correctly. I can't figure out what file in the ath11k source needs to be edited to set that value.. grep isn't helping much. Anyone?
<PaulFertser>
jeff___m: not in the ath11k source, in the DT for your board.
<PaulFertser>
jeff___m: there you can define additional properties per pcie device.
<PaulFertser>
jeff___m: like e.g. qcom,ath10k-calibration-variant is set for some boards in OpenWrt upstream.
<jeff___m>
Ah, I understand, thanks. I'm still wrapping my brain around how the DTS functions.
goliath has quit [Quit: SIGSEGV]
<PaulFertser>
I'm not sure this node name is correct, hm.
<jeff___m>
I think it needs to be qcom,board-id. Opening the board-2.bin file up in a hex editor, there's only like 5 board ids that it can be.. 160-164 and the default of 255
<PaulFertser>
There is qcom,ath11k-calibration-variant
<jeff___m>
So qcom,ath11k-calibration-variant = "Cigtech-WF-188"; would create a search variant=Cigtech-WF-188.. but there is no variant field in the board-2.bin file, only numeric, so I don't understand how the lookup would work with that field
<PaulFertser>
I have no idea, so you'll have to wait for robimarko again I'm afraid.
<jeff___m>
As far as the DTS patch - if my pcie address is 0000:01:00.0.. would the DTS property be pcie@0000:01:00.0 { qcom,board-id=164 } for example?
<jeff___m>
Since there's only 5 possible values for the board-id based on what is inside the board-2.bin file I'm gonna brute force it, but I just don't understand how to get the property correct in the DTS
<PaulFertser>
I do not see board-id property parsed by ath11k.
<PaulFertser>
So getting it there won't help.
<PaulFertser>
Ah, sorry, was looking at old branch.
<jeff___m>
Yeah I see it in drivers/net/wireless/ath/ath11k/core.c