]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
wcn36xx: Add 802.11ac HAL param bitfields
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Sat, 29 Aug 2020 03:38:43 +0000 (04:38 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 2 Sep 2020 08:48:28 +0000 (11:48 +0300)
This patch enumerates four previously unused bits in
wcn36xx_hal_config_sta_params_v1 describing

- HT LDPC enable
- VHT LDPC enable
- VHT TX BF enable
- VHT MU Beamformee enable

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200829033846.2167619-8-bryan.odonoghue@linaro.org
drivers/net/wireless/ath/wcn36xx/hal.h

index 30476f857d231f4ed03f34ad1b2870577d4d0f31..c7661fb50c101547284494d2a9da47c64f5aceb9 100644 (file)
@@ -1515,7 +1515,11 @@ struct wcn36xx_hal_config_sta_params_v1 {
        u8 p2p;
 
        /* Reserved to align next field on a dword boundary */
-       u8 reserved;
+       u8 ht_ldpc_enabled:1;
+       u8 vht_ldpc_enabled:1;
+       u8 vht_tx_bf_enabled:1;
+       u8 vht_tx_mu_beamformee_capable:1;
+       u8 reserved:4;
 
        /* These rates are the intersection of peer and self capabilities. */
        struct wcn36xx_hal_supported_rates supported_rates;