wifi: ath12k: fbx: Add missing htt_metadata flag in ath12k_dp_tx()
PATCH 1/1 wifi: ath12k: fbx: Add missing htt_metadata flag in ath12k_dp_tx()
When AP-VLAN was added, we did not add HTT_TCL_META_DATA_VALID_HTT flag to the tx_info's meta_data_flags . Without this flag the firmware seems to reject all the broadcast (ap-vlan) frames. So lets add it same as ath11k did it in commit 5e8a373c8699 ("ath11k: Add support for dynamic vlan")
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
--- drivers/net/wireless/ath/ath12k/dp_tx.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/ath12k/dp_tx.c +1 -0
@@ -368,6 +368,7 @@ int ath12k_dp_tx(struct ath12k *ar, struct ath12k_link_vif *arvif, add_htt_metadata = true; msdu_ext_desc = true; ti.flags0 |=u32_encode_bits (1 ,HAL_TCL_DATA_CMD_INFO2_TO_FW ); + ti.meta_data_flags |=HTT_TCL_META_DATA_VALID_HTT ; ti.encap_type =HAL_TCL_ENCAP_TYPE_RAW ; ti.encrypt_type =HAL_ENCRYPT_TYPE_OPEN ; }
Signature · 1 line
2.48.1
Quoted 9 lines · Nicolas Escande
When AP-VLAN was added, we did not add
HTT_TCL_META_DATA_VALID_HTTflag to the tx_info'smeta_data_flags. Without this flag the firmware seems to reject all the broadcast (ap-vlan) frames. So lets add it same as ath11k did it in commit5e8a373c8699("ath11k: Add support for dynamic vlan")Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
Fixes 26dd8ccdba4d ("wifi: ath12k: dynamic VLAN support")Signed-off-by Nicolas Escande <[email protected]>
I left a 'fbx' in the title that needs to be removed here. I'll send a v2 if need be, but feel free to remove it yourselves if you take the patch as is.
Quoted 9 lines · Nicolas Escande
When AP-VLAN was added, we did not add
HTT_TCL_META_DATA_VALID_HTTflag to the tx_info'smeta_data_flags. Without this flag the firmware seems to reject all the broadcast (ap-vlan) frames. So lets add it same as ath11k did it in commit5e8a373c8699("ath11k: Add support for dynamic vlan")Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
Fixes 26dd8ccdba4d ("wifi: ath12k: dynamic VLAN support")Signed-off-by Nicolas Escande <[email protected]>
Thanks for the this. Can you pls resend the patch without fbx in the patch title? The rest looks good.
Vasanth
Quoted 8 lines · Vasanthakumar Thiagarajan
Quoted 5 lines · Nicolas Escande
When AP-VLAN was added, we did not add
HTT_TCL_META_DATA_VALID_HTTflag to the tx_info'smeta_data_flags. Without this flag the firmware seems to reject all the broadcast (ap-vlan) frames. So lets add it same as ath11k did it in commit5e8a373c8699("ath11k: Add support for dynamic vlan")
Quoted 6 lines
Quoted 4 lines
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
Fixes 26dd8ccdba4d ("wifi: ath12k: dynamic VLAN support")Signed-off-by Nicolas Escande <[email protected]>Thanks for the this.
My bad, I meant "Thanks for the fix"
Quoted 4 lines · Nicolas Escande
When AP-VLAN was added, we did not add
HTT_TCL_META_DATA_VALID_HTTflag to the tx_info'smeta_data_flags. Without this flag the firmware seems to reject all the broadcast (ap-vlan) frames. So lets add it same as ath11k did it in commit5e8a373c8699("ath11k: Add support for dynamic vlan")
checkpatch complains:
WARNING:UNKNOWN_COMMIT_ID: Unknown commit id '5e8a373c8699', maybe rebased or not pulled?
And I don't see such a change in kernel.org
Perhaps this is an out-of-tree change that should be referenced in a different way?
/jeff
Quoted 10 lines · Jeff Johnson
checkpatch complains:
WARNING:UNKNOWN_COMMIT_ID: Unknown commit id '5e8a373c8699', maybe rebased or not pulled?And I don't see such a change in kernel.org
Perhaps this is an out-of-tree change that should be referenced in a different way?
/jeff
Indeed I didn't realize that was not mainline, but just in our internal tree. My bad. Honestly surprised this has never been pushed upstream.
So the corresponding patch I was refering to is this one:
https://git.codelinaro.org/clo/qsdk/oss/system/feeds/wlan-open/-/blob/win.wlan_host_opensource.3.0.r24/patches/ath11k/207-ath11k-Add-support-for-dynamic-vlan.patch
How would you like to proceed ? I can respin it without this wrong reference if need be. But if one of you guys has a better fix or something we can drop it too
Thanks
Quoted 12 lines · Nicolas Escande
Quoted 10 lines · Jeff Johnson
checkpatch complains:
WARNING:UNKNOWN_COMMIT_ID: Unknown commit id '5e8a373c8699', maybe rebased or not pulled?And I don't see such a change in kernel.org
Perhaps this is an out-of-tree change that should be referenced in a different way?
/jeff
Quoted 8 lines
Indeed I didn't realize that was not mainline, but just in our internal tree. My bad. Honestly surprised this has never been pushed upstream.
So the corresponding patch I was refering to is this one:
https://git.codelinaro.org/clo/qsdk/oss/system/feeds/wlan-open/-/blob/win.wlan_host_opensource.3.0.r24/patches/ath11k/207-ath11k-Add-support-for-dynamic-vlan.patchHow would you like to proceed ? I can respin it without this wrong reference if need be. But if one of you guys has a better fix or something we can drop it too
Let me fix this up in the 'pending' branch
/jeff
Quoted 15 lines · Nicolas Escande
Quoted 10 lines · Jeff Johnson
checkpatch complains:
WARNING:UNKNOWN_COMMIT_ID: Unknown commit id '5e8a373c8699', maybe rebased or not pulled?And I don't see such a change in kernel.org
Perhaps this is an out-of-tree change that should be referenced in a different way?
/jeff
Indeed I didn't realize that was not mainline, but just in our internal tree. My bad. Honestly surprised this has never been pushed upstream.
Quoted 7 lines
So the corresponding patch I was refering to is this one:
https://git.codelinaro.org/clo/qsdk/oss/system/feeds/wlan-open/-/blob/win.wlan_host_opensource.3.0.r24/patches/ath11k/207-ath11k-Add-support-for-dynamic-vlan.patchHow would you like to proceed ? I can respin it without this wrong reference if need be. But if one of you guys has a better fix or something we can drop it too
Thanks
Fixed the subject and description in pending, please check:
Quoted 4 lines · Jeff Johnson
Fixed the subject and description in pending, please check:
Perfect, Thanks a lot Jeff
Jeff Johnson
AppliedQuoted 8 lines · Nicolas Escande
When AP-VLAN was added, we did not add
HTT_TCL_META_DATA_VALID_HTTflag to the tx_info'smeta_data_flags. Without this flag the firmware seems to reject all the broadcast (ap-vlan) frames. So lets add it same as ath11k did it in commit5e8a373c8699("ath11k: Add support for dynamic vlan")Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
[...]
Applied, thanks!
[1/1] wifi: ath12k: fbx: Add missing htt_metadata flag in ath12k_dp_tx()
commit: af1c6007a64e78b729eb5a8d149637a820077bee
Best regards,
Signature · 1 line
Jeff Johnson <[email protected]>