[PATCH ath-next 3/5] wifi: ath12k: add HAL ops for monitor TLV header decode and alignment
Miaoqing Pan
miaoqing.pan at oss.qualcomm.com
Thu Jun 18 02:19:23 PDT 2026
On 6/18/2026 5:13 PM, Vasanthakumar Thiagarajan wrote:
> ops get_tlv_hdr_align() seems unused, may be patch 4/5 is supposed to
> used this ops instead of removing the alignment?
Used in patch 4/5:
@@ -2973,39 +2975,38 @@ ath12k_wifi7_dp_mon_parse_rx_dest(struct ath12k_pdev_dp *dp_pdev,
struct sk_buff *skb)
{
struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev);
- struct hal_tlv_64_hdr *tlv;
+ struct ath12k_hal *hal = &ar->ab->hal;
+ u8 *tlv_value, *tlv = skb->data;
struct ath12k_skb_rxcb *rxcb;
enum hal_rx_mon_status hal_status;
u16 tlv_tag, tlv_len;
- u8 *ptr = skb->data;
+ u32 tlv_hdr_len;
+
+ tlv_hdr_len = hal->ops->get_tlv_hdr_align();
More information about the ath12k
mailing list