ath10k: advertize beacon_int_min_gcd as 100 while bring up multi vaps
authorMaharaja Kennadyrajan <mkenna@codeaurora.org>
Tue, 18 Sep 2018 12:07:26 +0000 (17:37 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 1 Oct 2018 14:03:26 +0000 (17:03 +0300)
commit4600563f9319006782bdacef0dfff2f493202eb0
treeb65a8fd76211e2690ad8e5e2beaea5c0e9b8d13d
parentd70c0d463f9dd67037426bad243f647efec527d3
ath10k: advertize beacon_int_min_gcd as 100 while bring up multi vaps

With the latest firmware design, the beacon interval should be
greater than 100 to bring the multiple vaps.

Set beacon_int_min_gcd to 100, when the wmi service
WMI_SERVICE_VDEV_DIFFERENT_BEACON_INTERVAL_SUPPORT is enabled
in the firmware. If not, beacon_int_min_gcd will be set
to the default value 1.

Tested in QCA4019 with firmware ver 10.4-3.2.1.1-00015
Tested in QCA9888 with firmware ver 10.4-3.5.1-0005

Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.h