All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: John Crispin <john@phrozen.org>
Cc: Miles Hu <milehu@codeaurora.org>,
	Johannes Berg <johannes@sipsolutions.net>,
	linux-wireless@vger.kernel.org, ath11k@lists.infradead.org
Subject: Re: [PATCH V6 2/2] ath11k: add support for setting fixed HE rate/gi/ltf
Date: Tue, 15 Sep 2020 20:00:11 +0300	[thread overview]
Message-ID: <87zh5rkmas.fsf@codeaurora.org> (raw)
In-Reply-To: <20200804081630.2013619-2-john@phrozen.org> (John Crispin's message of "Tue, 4 Aug 2020 10:16:30 +0200")

John Crispin <john@phrozen.org> writes:

> From: Miles Hu <milehu@codeaurora.org>
>
> This patch adds ath11k support for setting fixed HE rate/gi/ltf values that
> we are now able to send to the kernel using nl80211. The added code is
> reusing parts of the existing code path already used for HT/VHT. The new
> helpers are symmetric to how we do it for HT/VHT.
>
> Signed-off-by: Miles Hu <milehu@codeaurora.org>
> Signed-off-by: John Crispin <john@phrozen.org>

[...]

> --- a/drivers/net/wireless/ath/ath11k/wmi.h
> +++ b/drivers/net/wireless/ath/ath11k/wmi.h
> @@ -119,6 +119,22 @@ enum {
>  	WMI_HOST_WLAN_2G_5G_CAP	= 0x3,
>  };
>  
> +/* Parameters used for WMI_VDEV_PARAM_AUTORATE_MISC_CFG command.
> + * Used only for HE auto rate mode.
> + */
> +enum {
> +/* HE LTF related configuration */
> +	WMI_HE_AUTORATE_LTF_1X = (1 << 0),
> +	WMI_HE_AUTORATE_LTF_2X = (1 << 1),
> +	WMI_HE_AUTORATE_LTF_4X = (1 << 2),
> +
> +/* HE GI related configuration */
> +	WMI_AUTORATE_400NS_GI = (1 << 8),
> +	WMI_AUTORATE_800NS_GI = (1 << 9),
> +	WMI_AUTORATE_1600NS_GI = (1 << 10),
> +	WMI_AUTORATE_3200NS_GI = (1 << 11),
> +};

BIT()?

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@codeaurora.org>
To: John Crispin <john@phrozen.org>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	Miles Hu <milehu@codeaurora.org>,
	linux-wireless@vger.kernel.org, ath11k@lists.infradead.org
Subject: Re: [PATCH V6 2/2] ath11k: add support for setting fixed HE rate/gi/ltf
Date: Tue, 15 Sep 2020 20:00:11 +0300	[thread overview]
Message-ID: <87zh5rkmas.fsf@codeaurora.org> (raw)
In-Reply-To: <20200804081630.2013619-2-john@phrozen.org> (John Crispin's message of "Tue, 4 Aug 2020 10:16:30 +0200")

John Crispin <john@phrozen.org> writes:

> From: Miles Hu <milehu@codeaurora.org>
>
> This patch adds ath11k support for setting fixed HE rate/gi/ltf values that
> we are now able to send to the kernel using nl80211. The added code is
> reusing parts of the existing code path already used for HT/VHT. The new
> helpers are symmetric to how we do it for HT/VHT.
>
> Signed-off-by: Miles Hu <milehu@codeaurora.org>
> Signed-off-by: John Crispin <john@phrozen.org>

[...]

> --- a/drivers/net/wireless/ath/ath11k/wmi.h
> +++ b/drivers/net/wireless/ath/ath11k/wmi.h
> @@ -119,6 +119,22 @@ enum {
>  	WMI_HOST_WLAN_2G_5G_CAP	= 0x3,
>  };
>  
> +/* Parameters used for WMI_VDEV_PARAM_AUTORATE_MISC_CFG command.
> + * Used only for HE auto rate mode.
> + */
> +enum {
> +/* HE LTF related configuration */
> +	WMI_HE_AUTORATE_LTF_1X = (1 << 0),
> +	WMI_HE_AUTORATE_LTF_2X = (1 << 1),
> +	WMI_HE_AUTORATE_LTF_4X = (1 << 2),
> +
> +/* HE GI related configuration */
> +	WMI_AUTORATE_400NS_GI = (1 << 8),
> +	WMI_AUTORATE_800NS_GI = (1 << 9),
> +	WMI_AUTORATE_1600NS_GI = (1 << 10),
> +	WMI_AUTORATE_3200NS_GI = (1 << 11),
> +};

BIT()?

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

  parent reply	other threads:[~2020-09-15 17:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-04  8:16 [PATCH V6 1/2] nl80211: add support for setting fixed HE rate/gi/ltf John Crispin
2020-08-04  8:16 ` John Crispin
2020-08-04  8:16 ` [PATCH V6 2/2] ath11k: " John Crispin
2020-08-04  8:16   ` John Crispin
2020-09-08  6:07   ` Kalle Valo
2020-09-08  6:07   ` Kalle Valo
2020-09-11 20:15     ` Aloka Dixit
2020-09-11 20:15     ` Aloka Dixit
     [not found]     ` <010101747ecf2d5c-5543939f-2417-438a-8d0a-c31832121a00-000000@us-west-2.amazonses.com>
2020-09-14 17:40       ` John Crispin
2020-09-14 17:40         ` John Crispin
2020-09-15 17:00   ` Kalle Valo [this message]
2020-09-15 17:00     ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh5rkmas.fsf@codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=ath11k@lists.infradead.org \
    --cc=johannes@sipsolutions.net \
    --cc=john@phrozen.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=milehu@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.