Skip to content

Commit

Permalink
ath11k_nss: Fix IPQ6018 wifi offloading
Browse files Browse the repository at this point in the history
This patch was mostly cosmetic for ipq8074 to supress warnings about
invalid memory region. In this case the M3 dump region. This isn't
necessary for operation or offloading, and is used for firmware
debugging.

However due to the memory layout of ipq6018 it was causing issues of NSS
offloading properly loading. 'idx' shouldn't be incremented, and instead
should just break.

Signed-off-by: Sean Khan <[email protected]>
  • Loading branch information
qosmio committed Jun 7, 2024
1 parent 25a11f6 commit 9608d04
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
--- a/drivers/net/wireless/ath/ath11k/qmi.c
+++ b/drivers/net/wireless/ath/ath11k/qmi.c
@@ -2100,6 +2100,9 @@ static int ath11k_qmi_assign_target_mem_
@@ -2100,6 +2100,8 @@ static int ath11k_qmi_assign_target_mem_
ab->qmi.target_mem[idx].type = ab->qmi.target_mem[i].type;
idx++;
break;
+ case M3_DUMP_REGION_TYPE:
+ idx++;
+ break;
default:
ath11k_warn(ab, "qmi ignore invalid mem req type %d\n",
Expand Down

0 comments on commit 9608d04

Please sign in to comment.