[PATCH v3 ath-next] wifi: ath12k: Add EHT capabilities to scan probe frame
Jeff Johnson
jeff.johnson at oss.qualcomm.com
Fri Oct 9 07:45:17 PDT 2026
On 10/9/2026 2:55 AM, Gaole Zhang wrote:
> diff --git a/drivers/net/wireless/ath/ath12k/core.h b/drivers/net/wireless/ath/ath12k/core.h
> index a98fc6e0699d..e7373a523dc3 100644
> --- a/drivers/net/wireless/ath/ath12k/core.h
> +++ b/drivers/net/wireless/ath/ath12k/core.h
> @@ -1394,6 +1394,12 @@ static inline struct ath12k *ath12k_ah_to_ar(struct ath12k_hw *ah, u8 radio_idx)
> return &ah->radio[radio_idx];
> }
>
> +static inline bool ath12k_is_11be_enabled(struct ath12k_base *ab)
> +{
> + return test_bit(WMI_TLV_SERVICE_11BE, ab->wmi_ab.svc_map) &&
> + !ath12k_acpi_get_disable_11be(ab);
> +}
my review agent notes:
### Style: `ath12k_is_11be_enabled` placement** — `core.h:70`
The new inline is placed between `ath12k_ah_to_ar` and `ath12k_ar_to_ah`.
These two are a natural pair. Move `ath12k_is_11be_enabled` after
`ath12k_ar_to_ah` to avoid splitting that pair.
No need to repost just for this. If the reviewers are otherwise ok with this
version then I'll fix this in my 'pending' branch
> +
> static inline struct ath12k_hw *ath12k_ar_to_ah(struct ath12k *ar)
> {
> return ar->ah;
More information about the ath12k
mailing list