Repository navigation
mac80211: ath11k: fix rssi for ipq5018 and qcn6122 - #20834
Conversation
892f8fd to
bfbcff7
Compare
|
here is what iw station dump returned before applying patch after patch applied Luci SNR values we not populating either. There is an open ticket for it the patch fixes that issue as well, luci now fully populates all fields correctly after applying patch |
|
Can you send this to upstream |
7e7a0a2 to
83233f5
Compare
|
yes i am just looking to test it thoroughly first. I hope to get some feedback and some pointers on submitting upstream. |
|
If you have more questions feel free to ask. :) |
9c069ef to
5f2f43f
Compare
|
commit title prefix should be |
5f2f43f to
a3be2f7
Compare
a3be2f7 to
ab94f61
Compare
|
Confirming that local build with latest push (ab94f61) populates RSSI correctly for both radios of GL-B3000. |
0f82536 to
39642d2
Compare
|
Please add a description to the patch itself. The text from the commit should be fine. Please also send this upstream. |
|
tested successfully on my local devices (MX2000, MR5500, SPNMX56, and MX5500), well done! |
2915bb6 to
9ae934f
Compare
9ae934f to
3ff1c40
Compare
|
I think its ready for prime-time |
3ff1c40 to
2ca9d67
Compare
| @@ -0,0 +1,25 @@ | |||
| references: | |||
| upstream commit: [031ffa6c2cd305a57ccc6d610f2decd956b2e7f6] | |||
| Subject: [PATCH] wifi: ath11k: fix rssi station dump not updated in QCN9074 | |||
There was a problem hiding this comment.
line should read:
wifi: ath11k: fix rssi station dump not updated in QCN9074
and delete the two lines above
and subject should be the same as the file name, so either change the filename or the subject
There was a problem hiding this comment.
just so I am clear
line 1 should read : wifi: ath11k: fix rssi station dump not updated in QCN9074
and drop the reference for the commit ? or in other words
replace
references:
upstream commit: [031ffa6c2cd305a57ccc6d610f2decd956b2e7f6]
Subject: [PATCH] wifi: ath11k: fix rssi station dump not updated in QCN9074
with
wifi: ath11k: fix rssi station dump not updated in QCN9074
correct ?
and file name to
mac80211-ath11k-fix-rssi-for-ipq5018-and-qcn6122.patch
2ca9d67 to
9dc372e
Compare
Add pending patch to fix RSSI station data on IPQ5018 and QCN6122. Signed-off-by: Scott Mercer <[email protected]> [ improve commit description, replace patch ] Link: openwrt#20834 Signed-off-by: Christian Marangi <[email protected]>
9dc372e to
6065edf
Compare
Add pending patch to fix RSSI station data on IPQ5018 and QCN6122. Signed-off-by: Scott Mercer <[email protected]> [ improve commit description, replace patch ] Link: openwrt#20834 Signed-off-by: Christian Marangi <[email protected]>
|
also just realised something. |
|
It Will eventually and trust me QCOM is aware of the similarities
Il Gio 27 Nov 2025, 03:10 Zhi-Jun You ***@***.***> ha scritto:
… *castiel652* left a comment (openwrt/openwrt#20834)
<#20834 (comment)>
also just realised something.
@Ansuel <https://github.com/Ansuel> QCN6122 is not supported in upstream
so you might need to omit it from the patch.
—
Reply to this email directly, view it on GitHub
<#20834 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE2ZMQT7HOE7H4MS6IVWXLT36ZMRHAVCNFSM6AAAAACMUHICHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKOBTHEZTONRZGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Add pending patch to fix RSSI station data on IPQ5018 and QCN6122. Signed-off-by: Scott Mercer <[email protected]> [ improve commit description, replace patch ] Link: openwrt/openwrt#20834 Signed-off-by: Christian Marangi <[email protected]>
Add pending patch to fix RSSI station data on IPQ5018 and QCN6122. Signed-off-by: Scott Mercer <[email protected]> [ improve commit description, replace patch ] Link: openwrt#20834 Signed-off-by: Christian Marangi <[email protected]>
Add pending patch to fix RSSI station data on IPQ5018 and QCN6122. Signed-off-by: Scott Mercer <[email protected]> [ improve commit description, replace patch ] Link: openwrt/openwrt#20834 Signed-off-by: Christian Marangi <[email protected]>
…PQ5018 and QCN6122 Add pending patch to fix RSSI station data on IPQ5018 and QCN6122. Signed-off-by: Scott Mercer <[email protected]> [ improve commit description, replace patch ] Link: openwrt/openwrt#20834 Signed-off-by: Christian Marangi <[email protected]> mac80211: fix netns crash [ 201.286070] CPU: 0 UID: 0 PID: 34 Comm: kworker/u8:1 Tainted: G S O 6.12.51 #0 [ 201.294509] Tainted: [S]=CPU_OUT_OF_SPEC, [O]=OOT_MODULE [ 201.299812] Hardware name: Bananapi BPI-R64 (DT) [ 201.304422] Workqueue: netns cleanup_net [ 201.308347] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 201.315304] pc : cfg80211_switch_netns+0x270/0x2d0 [cfg80211] [ 201.321086] lr : cfg80211_switch_netns+0x26c/0x2d0 [cfg80211] [ 201.326846] sp : ffffffc081143ca0 [ 201.330153] x29: ffffffc081143ca0 x28: 61c8864680b583eb x27: 0000000000000000 [ 201.337287] x26: ffffffc080c46000 x25: ffffff8000d28800 x24: ffffffc081143d80 [ 201.344421] x23: ffffff800834e360 x22: ffffffc080d6b280 x21: ffffffc07904aeb8 [ 201.351554] x20: ffffff800834c200 x19: ffffff8005e90000 x18: 0000000000000000 [ 201.358688] x17: 0000000000000000 x16: 000000000000001d x15: ffffffc081143cf8 [ 201.365821] x14: ffffff8005703600 x13: 00000000000003bb x12: 0000000000000000 [ 201.372955] x11: 00000000000000c0 x10: 0000000000000000 x9 : ffffffc081143bd0 [ 201.380088] x8 : 0000000000000000 x7 : 7f7f7f7f7f7f7f7f x6 : 1f1f1f1f1f1f6348 [ 201.387222] x5 : 0000000000000004 x4 : ffffff8000ce8000 x3 : 0000000000000000 [ 201.394355] x2 : 0000000000000000 x1 : ffffff8005e90800 x0 : 00000000ffffffea [ 201.401489] Call trace: [ 201.403926] cfg80211_switch_netns+0x270/0x2d0 [cfg80211] [ 201.409340] ops_exit_list+0x40/0x80 [ 201.412910] cleanup_net+0x344/0x558 [ 201.416480] process_one_work+0x174/0x300 [ 201.420489] worker_thread+0x278/0x430 [ 201.424234] kthread+0xd8/0xdc [ 201.427283] ret_from_fork+0x10/0x20 Fixes: e005cdea1028 ("mac80211: update to version 6.16") Signed-off-by: Janusz Dziedzic <[email protected]> Link: openwrt/openwrt#20829 Signed-off-by: Hauke Mehrtens <[email protected]> mac80211: mwl8k: inject DSSS Parameter Set element into beacons if missing Some Marvell AP firmware used with mwl8k misbehaves when beacons do not contain the DSSS Parameter Set (WLAN_EID_DS_PARAMS) with the current channel. When hostapd/mac80211 omits this element (which is valid on some bands), the firmware may report bogus RX channel information and AP mode becomes unusable. Backport the upstream fix that ensures beacons always carry the DSSS Parameter Set for mwl8k: when setting the beacon, detect if the element is missing and inject it after SSID and Supported Rates (per spec ordering). This mirrors behaviour in newer Marvell drivers and restores stable operation. Tested on Linksys EA4500 (88W8366). Fixes: openwrt/openwrt#19088 Link: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git/commit/?id=c4e1ac09ee1c750890e36cb1f841f25518f23589 Signed-off-by: Pawel Dembicki <[email protected]> Link: openwrt/openwrt#20757 Signed-off-by: Hauke Mehrtens <[email protected]> ath11k: fix transmit queue flushing through flush_sta implementation for main warning print "ath11k c000000.wifi: failed to flush transmit queue 0" is observed during busy times. The mac80211 fallback implementation of `flush_sta` does not handle the per STA queues well. This is fixed by providing a ath11k specific implementation of flush_sta telling the firmware to flush a given station. The draining of the transmit queues should therefore stop correctly, even if new packets arrive in the mean time. An upstream ath11k RFC is available at: https://patchwork.kernel.org/project/linux-wireless/patch/GV1P250MB14333A5BF24623C4753A10E1E8E0A@GV1P250MB1433.EURP250.PROD.OUTLOOK.COM/ The patch was tested on a Xiaomi AX3600. Signed-off-by: Florian Maurer <[email protected]> Tested-by: Florian Maurer <[email protected]> Co-authored-by: Benjamin Berg <[email protected]> Tested-by: Flole <[email protected]> Link: openwrt/openwrt#20293 Signed-off-by: Christian Marangi <[email protected]> mac80211: ath11k: backport of the latest changes applied for ath11k in 6.16.12 This includes the following commits from upstream Linux between 6.16 and 6.16.12: wifi: ath11k: clear initialized flag for deinit-ed srng lists wifi: ath11k: fix sleeping-in-atomic in ath11k_mac_op_set_bitrate_mask() wifi: ath11k: fix dest ring-buffer corruption wifi: ath11k: fix source ring-buffer corruption wifi: ath11k: fix dest ring-buffer corruption when ring is full wifi: ath11k: fix group data packet drops during rekey [1] wifi: ath11k: fix NULL dereference in ath11k_qmi_m3_load() [1] The patch "940-ath11k-Revert-clear-the-keys-properly-when-DISABLE_K.patch" has been removed, as it has been fixed upstream in "wifi: ath11k: fix group data packet drops during rekey" and is added in 945 patch. Related: openwrt/openwrt#18705 Related: openwrt/openwrt#9555 Related: openwrt/openwrt#14117 Signed-off-by: Agustin Lorenzo <[email protected]> Link: openwrt/openwrt#20395 Signed-off-by: Hauke Mehrtens <[email protected]> mac80211: ath11k: reordered the patches 906 and 907 and refreshed, no functional changes Remove leading 0 from filename. Signed-off-by: Agustin Lorenzo <[email protected]> Link: openwrt/openwrt#20395 Signed-off-by: Hauke Mehrtens <[email protected]> mac80211: realtek: rtw88: add RTL8822CS support Add Realtek RTL8822CS support to the rtw88 package. Signed-off-by: Tianling Shen <[email protected]> Link: openwrt/openwrt#20423 Signed-off-by: Nick Hainke <[email protected]> mac80211: realtek: add support for RTL8814AE/RTL8814AU This adds support for RTL8814AE/RTL8814AU PCI/USB adapters. Run-tested: x86/64/rockchip USB adapter tested: Hawking HW17ACU Wireless-AC1750. Signed-off-by: Marty Jones <[email protected]> Link: openwrt/openwrt#19052 Signed-off-by: Hauke Mehrtens <[email protected]> mac80211: use https instead of http Use CDN first, if fails, it will use https://mirror2.openwrt.org/sources Signed-off-by: Andy Chiang <[email protected]> Link: openwrt/openwrt#19979 Signed-off-by: Hauke Mehrtens <[email protected]> mac80211: Fix compilation of iwlwifi driver The Intel iwlwifi mld driver uses some updated thermal functions. Adapt the driver to compile again kernel 6.6 again. Fixes: 9c82d499995b ("mac80211: iwlwifi fix BE200 probe") Link: openwrt/openwrt#19948 Signed-off-by: Hauke Mehrtens <[email protected]> mac80211: iwlwifi: Add DRIVER_11BE_SUPPORT The driver support Wifi 7, add dependency to DRIVER_11BE_SUPPORT. Link: openwrt/openwrt#19948 Signed-off-by: Hauke Mehrtens <[email protected]> mac80211: Refresh patches Automatically Refresh the patches. Fixes: 4d3a35f3689 ("mac80211: remove rt2x00_platform_data") Link: openwrt/openwrt#19948 Signed-off-by: Hauke Mehrtens <[email protected]> mac80211: iwlwifi fix BE200 probe Fix probing and load correct drivers when using last backports. Signed-off-by: Janusz Dziedzic <[email protected]> Link: openwrt/openwrt#19927 Signed-off-by: Hauke Mehrtens <[email protected]> mac80211: add support for MLD AP client probing Select a link for outgoing probe packets Signed-off-by: Felix Fietkau <[email protected]> mac80211: extend connection monitoring for MLO Required for latest mt76 Signed-off-by: Felix Fietkau <[email protected]> Revert "mac80211: extend connection monitoring for MLO" This reverts commit d73ec79a6b31ae4684f30f5dc01f2f073aba2ce8. mac80211: remove rt2x00_platform_data All of this uses OF now. No need to keep platform data around. Signed-off-by: Rosen Penev <[email protected]> Link: openwrt/openwrt#19804 Signed-off-by: Robert Marko <[email protected]>
Add pending patch to fix RSSI station data on IPQ5018 and QCN6122. Signed-off-by: Scott Mercer <[email protected]> [ improve commit description, replace patch ] Link: openwrt#20834 Signed-off-by: Christian Marangi <[email protected]>
Add pending patch to fix RSSI station data on IPQ5018 and QCN6122. Signed-off-by: Scott Mercer <[email protected]> [ improve commit description, replace patch ] Link: openwrt#20834 Signed-off-by: Christian Marangi <[email protected]>
Add pending patch to fix RSSI station data on IPQ5018 and QCN6122. Signed-off-by: Scott Mercer <[email protected]> [ improve commit description, replace patch ] Link: openwrt#20834 Signed-off-by: Christian Marangi <[email protected]>
references:
symptoms: iw station dump displays default value for avg signal (-95dbm) and signal (0dbm)
As described in the refrenced upstream commit, there was a header change
for HAL_RX_MPDU_START between ipq8074 and qcn9074. This caused wrong peer_id fetch
from msdu in the 9074 and the ipq5018 and subsequently the qcn6122 which uses the
ipq5018 hw_opts.
solution: use the updated qcn9074 mpdu_info_get_peerid implimentation with the new tlv
format, from the referenced upstream commit.