qcacld-3.0: Send beacon tx rate to firmware

Add data structures to save beacon tx rate.
The beacon data rate is multiples of 100 Kbps.
Firmware expects the data rate in the form of hw rate codes.
So convert the data rates to hw rate code.
And send it to firmware.

Change-Id: Ia39fd4c14defa729f75f2c45748fe5b04b909647
CRs-Fixed: 2099052
This commit is contained in:
Jiachao Wu
2017-08-23 16:52:34 +08:00
gecommit door snandini
bovenliggende 2cc96b1146
commit 712d4fd6a6
17 gewijzigde bestanden met toevoegingen van 163 en 9 verwijderingen

Bestand weergeven

@@ -996,7 +996,7 @@ typedef struct tagCsrRoamProfile {
/* addIe params */
tSirAddIeParams addIeParams;
uint8_t sap_dot11mc;
uint8_t beacon_tx_rate;
uint16_t beacon_tx_rate;
tSirMacRateSet supported_rates;
tSirMacRateSet extended_rates;
struct qdf_mac_addr bssid_hint;

Bestand weergeven

@@ -333,7 +333,7 @@ struct csr_roamstart_bssparams {
#endif
tSirAddIeParams addIeParams;
uint8_t sap_dot11mc;
uint8_t beacon_tx_rate;
uint16_t beacon_tx_rate;
uint32_t cac_duration_ms;
uint32_t dfs_regdomain;
};