[PATCH v3 7/7] ath10k: implement wmi-tlv backend
Michal Kazior
michal.kazior at tieto.com
Mon Dec 1 22:38:26 PST 2014
On 1 December 2014 at 15:46, Kalle Valo <kvalo at qca.qualcomm.com> wrote:
[...]
> diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
> index b1cb90bb4c1c..ac7fbe8605bc 100644
> --- a/drivers/net/wireless/ath/ath10k/core.c
> +++ b/drivers/net/wireless/ath/ath10k/core.c
> @@ -833,6 +833,11 @@ static int ath10k_core_init_firmware_features(struct ath10k *ar)
> ar->max_num_stations = TARGET_10X_NUM_STATIONS;
> ar->htt.max_num_pending_tx = TARGET_10X_NUM_MSDU_DESC;
> break;
> + case ATH10K_FW_WMI_OP_VERSION_TLV:
> + ar->max_num_peers = TARGET_TLV_NUM_PEERS;
> + ar->max_num_stations = TARGET_TLV_NUM_STATIONS;
> + ar->htt.max_num_pending_tx = TARGET_NUM_MSDU_DESC;
Just a quick note: TARGET_TLV_NUM_MSDU_DESC should be used for
max_num_pending_tx here.
Michał
More information about the ath10k
mailing list