Skip to content

Commit

Permalink
wcn36xx: Latch VHT specific BSS parameters to firmware
Browse files Browse the repository at this point in the history
This commit makes use of wcn36xx_smd_set_bss_vht_params() to extract VHT
parameters from the 80211_sta structure and latch appropriate bits in the
bss_params_v1 structure for transmission to the wcnss firmware.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200910150747.2179122-5-bryan.odonoghue@linaro.org
  • Loading branch information
Bryan O'Donoghue authored and Kalle Valo committed Sep 22, 2020
1 parent 2f0c0e3 commit 52054eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/ath/wcn36xx/smd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1702,6 +1702,8 @@ static int wcn36xx_smd_config_bss_v1(struct wcn36xx *wcn,
bss->tx_mgmt_power = bss_v0.tx_mgmt_power;
bss->max_tx_power = bss_v0.max_tx_power;

wcn36xx_smd_set_bss_vht_params(vif, sta_80211, bss);

PREPARE_HAL_BUF(wcn->hal_buf, (*msg_body));

wcn36xx_dbg(WCN36XX_DBG_HAL,
Expand Down

0 comments on commit 52054eb

Please sign in to comment.