Search Linux Wireless

Re: [PATCH V6 2/2] ath11k: add support for setting fixed HE rate/gi/ltf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Crispin <john@xxxxxxxxxxx> writes:

> From: Miles Hu <milehu@xxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxx>
> Signed-off-by: John Crispin <john@xxxxxxxxxxx>

[...]

> --- 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



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux