Commit Graph

1583 Commits

Author SHA1 Message Date
hangtian
44b1743568 qcacld-3.0: Use status value 0 stands for tdls_mgmt success
Use status value 0 stands for tdls_mgmt success.

Change-Id: I64834f7beaf2a58fd544d4ff5501aac6e7e5b5c7
CRs-Fixed: 2377881
2019-01-14 17:32:33 -08:00
Visweswara Tanuku
633976b5b0 qcacld-3.0: Add iwpriv interface for Motion detection
iwpriv interface is added for configuring Motion detection
feature specific parameters

Added under flag WLAN_FEATURE_MOTION_DETECTION

Change-Id: Ic20c8c43782cf037317f412962fab4a6928eb0b9
CRs-Fixed: 2376722
2019-01-14 15:15:51 -08:00
hangtian
127c953c7f qcacld-3.0: Use qdf_mem_zero for zero initialization
Use qdf_mem_zero for zero initialization.

Change-Id: Ic2b8d907623cf67a4569aaf01398c1b3a2bff707
CRs-Fixed: 2376644
2019-01-14 08:38:03 -08:00
Wu Gao
5f764087a9 qcacld-3.0: Refactor five WNI cfg and one INI cfg
Based on new cfg framework, refactors below five WNI cfg items and one
INI cfg:
 - WNI_CFG_APSD_ENABLED
 - WNI_CFG_OBSS_DETECTION_OFFLOAD
 - WNI_CFG_OBSS_COLOR_COLLISION_OFFLOAD
 - WNI_CFG_CURRENT_TX_POWER_LEVEL
 - WNI_CFG_LOCAL_POWER_CONSTRAINT
 - gTxPowerCap

Change-Id: I5307fe73ad931eaec2e9471ddd36cd6d00061c76
CRs-Fixed: 2375860
2019-01-14 01:45:18 -08:00
Wu Gao
9d117fbfc2 qcacld-3.0: Refactor three INI in PMO
Based on cfg framework, refactor below INI:
 - CFG_RA_RATE_LIMIT_INTERVAL_NAME
 - CFG_ACTIVE_UC_APF_MODE_NAME
 - CFG_ACTIVE_MC_BC_APF_MODE_NAME

Change-Id: I3b1ee6254de158ad6408dc8c61e83be571e180af
CRs-Fixed: 2379743
2019-01-13 18:45:51 -08:00
Pragaspathi Thilagaraj
ecb607352a qcacld-3.0: Add vdev valid check for wmi vdev level commands
Check if vdev is active for the following roam related vdev
commands before sending it to wmi:
1. WMI_ROAM_SCAN_MODE
2. WMI_ROAM_SCAN_PERIOD
3. WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD
4. WMI_ROAM_AP_PROFILE
5. WMI_ROAM_CHAN_LIST
6. WMI_ROAM_SCAN_CMD
7. WMI_ROAM_SYNCH_COMPLETE

This will avoid the race condition where the vdev is deleted
and the vdev related commands for the deleted vdev are sent
to firmware before wmi_stop_inprogress is set at wmi.

Change-Id: I8b54bb5663ef517bc58141bc3b96fd9b863fd656
CRs-Fixed: 2344006
2019-01-11 18:08:06 -08:00
Yeshwanth Sriram Guntuka
fd265b2213 qcacld-3.0: Remove slub debug factor for WMA timeouts
In the scenario where vdev response is not received for
SAP start, HDD timer of 10secs expires ahead of vdev
response timer, which is of 12secs due to slub debug
factor. This can result in change interface to be
triggered by supplicant before fw down indication is
received. Vdev is logically deleted and peer removal
in objmgr fails due to vdev get_ref failure resulting
in peer leak on wlan shutdown.

Fix is to remove slub debug factor for vdev response
timeouts.

Change-Id: Id0741226ccaebbabb817853246c7b116bd447128
CRs-Fixed: 2376610
2019-01-11 15:58:12 -08:00
Jeff Johnson
5c6e19a5b4 qcacld-3.0: Remove HAL_NUM_BSSID
Macro HAL_NUM_BSSID is unused, so remove it.

Change-Id: I27af9b314c83af59fa961bdc2c6c759e5838430f
CRs-Fixed: 2378333
2019-01-11 13:37:25 -08:00
Jeff Johnson
91f32b1a2b qcacld-3.0: Remove HAL_MAX_SUPP_CHANNELS/OPER_CLASSES
Change I2a28564ccb5ad85d65a62a5e9f0ac6c500a80c2d ("qcacld-3.0: Remove
struct sTdlsLinkEstablishParams") removed the only usage of macros
HAL_MAX_SUPP_CHANNELS and HAL_MAX_SUPP_OPER_CLASSES. Since these are
obsolete, remove them.

Change-Id: Ib31ef84d69b48ba095bf587c51003911a2a3b85e
CRs-Fixed: 2378332
2019-01-11 13:37:21 -08:00
Jeff Johnson
2295019a9b qcacld-3.0: Remove HALMSG_NUMBYTES_STATION_BITMAP
Change I77617df14093806f19c0d587e953f63ae86f8ffe ("qcacld-3.0: Cleanup
the unused quiet timers and TX control API") removed the only usage of
macro HALMSG_NUMBYTES_STATION_BITMAP. Since it is obsolete, remove it.

Change-Id: I5a232962a9a85f7af9b82261d70cd8a3e56413b8
CRs-Fixed: 2378331
2019-01-11 13:37:16 -08:00
Jeff Johnson
66d9fad9d4 qcacld-3.0: Revamp tBeaconGenParams
Currently all but one of the fields in tBeaconGenParams are unused. In
addition the one field that is used, as well as the struct itself, do
not conform to the Linux coding style. Therefore replace the typedef
with a properly named struct which contains a properly named field.

Change-Id: I246f45831854db07d5ff6835a1df222e771a5146
CRs-Fixed: 2378330
2019-01-11 13:37:12 -08:00
Jeff Johnson
54e533d073 qcacld-3.0: Remove umac_ota_ack_cb[] from t_wma_handle
Change I414269abb5a5c616cc890dab450a7782e6829d0e ("qcacld-3.0:
Management MGMT TXRX component over HTT") removed all usage of the
legacy umac_ota_ack_cb[] array in t_wma_handle. However it left behind
the actual unused array, so remove it.

Change-Id: Ia909360edefeb413025e8d437199a3f21c808030
CRs-Fixed: 2378329
2019-01-11 13:37:08 -08:00
Jeff Johnson
a2f8e8fe2c qcacld-3.0: Harmonize legacy PMM and SME definitions
The PMM module and message definitions are not used by the current
version of the driver. However the message ID number space overlaps
with the SME message IDs. In order to harmonize the code:
- Remove the legacy PMM Module & Message ID definitions
- Consolidate the SME Module & Message ID definitions
- Update the dispatch logic to correctly indicate it is SME and not
  PMM messages which are being dispatched

Change-Id: Idcf66633c2060e52e930addaa8cecb3faf89bc90
CRs-Fixed: 2378317
2019-01-11 13:36:28 -08:00
Kiran Kumar Lokere
7d6e4c9dc1 qcacld-3.0: crypto convergence support for SET KEY
Make changes to the legacy code to support the
new SET KEY converged infrastructure.

Change-Id: Ic5359e3a9035ac5f2a937a9a1013fa92764cda9d
CRs-Fixed: 2358795
2019-01-08 20:24:43 -08:00
Harprit Chhabada
efea6f517c qcacld-3.0: Clean up a policy manager CFG item
Clean WNI_CFG_ENABLE_MCC_ADAPTIVE_SCHED CFG item of policy
manager.

Change-Id: Ib73ea3385bedf3a8d35e60f3672950e27b8ed93d
CRs-Fixed: 2373863
2019-01-08 11:42:54 -08:00
Abhinav Kumar
025ee99f58 qcacld-3.0: Remove obsolete WEP configuration
Remove wepType field from struct tSetStaKeyParams, as
it is an obsolete WEP configuration.

Change-Id: I895541bef0cc08a75ba7c54e792ad15002ff0b0c
CRs-Fixed: 2373003
2019-01-08 07:28:05 -08:00
Rajasekaran Kalidoss
7152a355fa qcacld-3.0: Send freq in mgmt frame req for LFR2
currently freq is sent as 0 in send auth mgmt frame
request to firmware(WMI_MGMT_TX_SEND_CMDID). In SAP 2G
+ STA doing LFR2 DBS roam from 5G to 2G scenario, the
preauth request get sent in 5g band rather than 2G.
So LFR2 preauth send request should have the exact
frequency parameter. only then FW can send the auth req
in appropriate frequency.

Change-Id: I17f47ee559768fee1fd5055d953791117e7b04c5
2019-01-08 05:17:04 -08:00
Yeshwanth Sriram Guntuka
adfeaded2e qcacld-3.0: Send invalid RSSI absolute threshold value
RSSI absolute threshold value sent to firmware in the
default case is 0 even when hw db2dbm capability is
enabled which can break firmware roaming.

Fix is to send min rssi value of -128dbm when hw db2dbm
service capability is enabled.

Change-Id: I0a595e9f4af170411a0813a3390ddbb57d26bce1
CRs-Fixed: 2376606
2019-01-08 00:19:13 -08:00
Liangwei Dong
f9c0960f95 qcacld-3.0: Don't set unsupported key type to FW
If target doesn't support AES_GMAC BIP cipher,
skip the key install wmi command.
Host will do the BIP MMIE validation.

Change-Id: I7536a0bb8a2dab653eae8f729e57bdcb5fef5e19
CRs-Fixed: 2370637
2019-01-07 19:59:00 -08:00
Jeff Johnson
73ffa7b90f qcacld-3.0: Remove WMA_DEFAULT_QPOWER macros
The following macros are unused, so remove them:
- WMA_DEFAULT_QPOWER_MAX_PSPOLL_BEFORE_WAKE
- WMA_DEFAULT_QPOWER_TX_WAKE_THRESHOLD

Change-Id: I9b0f760ebbadbdecf9549a813a9b72e07a97a9e8
CRs-Fixed: 2375433
2019-01-07 19:58:50 -08:00
Jeff Johnson
6c7d9a1b6f qcacld-3.0: Remove WMA EXTSCAN macros
The following WMA EXTSCAN macros are obsolete, so remove them:
- WMA_MAX_EXTSCAN_MSG_SIZE
- WMA_EXTSCAN_REST_TIME
- WMA_EXTSCAN_MAX_SCAN_TIME
- WMA_EXTSCAN_BURST_DURATION

Change-Id: I568f6757f7a60fcc24f0843ca8cddd29f8a78ab7
CRs-Fixed: 2375432
2019-01-07 19:58:45 -08:00
Jeff Johnson
5918e364f3 qcacld-3.0: Remove WMA_CHAN_START/END_RESP macros
Change I654e53fa2441e03723f150d973c124985c67f2b4 ("qcacld-3.0: Add new
params in ACS calc process") introduced macros WMA_CHAN_START_RESP and
WMA_CHAN_END_RESP, but did not add any code which uses them. Since
they are unused, remove them.

Change-Id: I7a5f20cb8e72c19f52d5a44afb3b480eaa84c06b
CRs-Fixed: 2375431
2019-01-07 19:58:41 -08:00
Jeff Johnson
90f55253cf qcacld-3.0: Remove WMA_SCAN_NPROBES_DEFAULT
Change I840c6a5f83c6cdc479e6746f36a29c2a7970c964 ("qcacld-3.0: Remove
wma_get_buf_extscan_start_cmd()") removed the only usage of macro
WMA_SCAN_NPROBES_DEFAULT. Since it is now obsolete, remove it.

Change-Id: If4907fcc397ba77bd58d8423b1695896a7197597
CRs-Fixed: 2375430
2019-01-07 17:28:21 -08:00
Jeff Johnson
5574f6fa3c qcacld-3.0: Remove WMA_TX_Q_RECHECK_TIMER_MAX_WAIT
Change I33b56bb627ac914ca6fe96949de373b015853fc9 ("qcacld-3.0:
Decrease tx drain wait time during del bss") removed the only
usage of macro WMA_TX_Q_RECHECK_TIMER_MAX_WAIT. Since it is
obsolete, remove it.

Change-Id: Iec4ad45efcd7bc407f639226f7aa21ed39d753e9
CRs-Fixed: 2375429
2019-01-07 13:58:18 -08:00
Jeff Johnson
0cfe284fe0 qcacld-3.0: Remove legacy typedef tBeaconFilterIe
The legacy typedef tBeaconFilterIe is unused, so remove it, along with
the underlying tEidByteInfo typedef.

Change-Id: Id02c67ff49892d63cd2443a2639f4bc7d4253a7f
CRs-Fixed: 2375428
2019-01-07 13:58:13 -08:00
Jeff Johnson
08eee0d8e6 qcacld-3.0: Remove struct sAniProbeRspStruct typedefs
The typedefs for struct sAniProbeRspStruct are unused. Since the Linux
coding style discourages the use of typedefs, remove these so that
they won't possibly be used in the future.

Change-Id: I71965804bd32e3413314e81447ee004e6e663e49
CRs-Fixed: 2375427
2019-01-07 13:58:07 -08:00
Jeff Johnson
995163a512 qcacld-3.0: Remove legacy scan typedefs
The following legacy scan typedefs are obsolete, so remove them:
- tStartScanParams
- tEndScanParams
- tAbortScanParams

Change-Id: Ie106be72b2ff1d1969018d0db14da9408df97747
CRs-Fixed: 2375426
2019-01-07 13:58:02 -08:00
Jeff Johnson
103e4fb219 qcacld-3.0: Remove WMA_NVDownload_Start()
Macro WMA_NVDownload_Start() is obsolete, so remove it.

Change-Id: Iabdf9cd343a36dca78c527a45aa80338c1b43057
CRs-Fixed: 2374847
2019-01-07 08:46:25 -08:00
Jeff Johnson
150d961938 qcacld-3.0: Remove typedef tBeaconFilterMsg
Change Id235d6303ce7c740f907147afc7248d833772067 ("qcacld-3.0:
Cleanup eWNI_SME_SET_BCN_FILTER_REQ") removed the usage of typedef
tBeaconFilterMsg, but didn't actually remove the obsolete typedef,
so remove it now.

Change-Id: Id7a24e18a6aa4fb7cfa6747f264bd3e6eeaa1ad8
CRs-Fixed: 2374845
2019-01-07 00:12:23 -08:00
Jeff Johnson
e1eb7480f7 qcacld-3.0: Remove MHF fields from t_wma_handle
The enable_mhf_offload and last_mhf_entries_timestamp fields of
t_wma_handle are unused, so remove them.

Change-Id: If07fa52f93caa0c2f2bb191603c6a96830dad469
CRs-Fixed: 2374844
2019-01-07 00:12:11 -08:00
Jeff Johnson
424bc294e3 qcacld-3.0: Remove obsolete Scan Params typedefs
Typedefs tInitScanParams and tFinishScanParams are unused, so remove
them, along with tSirScanEntry and tSirLinkTrafficCheck that is used
just by them.

Change-Id: I5f9c58236f8c5fe639c5b896a66b9dc290e54ab1
CRs-Fixed: 2374281
2019-01-07 00:08:06 -08:00
Jeff Johnson
4e7862fbb2 qcacld-3.0: Remove txRateFlags from tSirIbssPeerInfoParams
The txRateFlags field in tSirIbssPeerInfoParams is initialized to zero
but is otherwise unused, so remove it.

Change-Id: I8efcb18869dfe1c5e2a42395bb40c281391b3bfa
CRs-Fixed: 2374278
2019-01-07 00:07:48 -08:00
gaurank kathpalia
1be77fa6a9 qcacld-3.0: Add Dot11 mode related CFG items in mlme cfg
Add dot11mode related cfg items in mlme cfg, and replace
old WNI dot11 modes with new MLME DOT11 mode enums

Change-Id: I6e866959f440ae781432c8aaa724b229c0874856
CRs-Fixed: 2362540
2019-01-07 00:07:19 -08:00
Abhishek Singh
ef6f38c913 qcacld-3.0: Refactor the prints for rx management frames
Refactor the prints for rx management frames. Do not print rx
frames in wma_form_rx_packet, as txrx module take care of it.

Change-Id: I52403c9dd32919507af13782dc838ff8076070cd
CRs-Fixed: 2375675
2019-01-07 00:07:10 -08:00
Harprit Chhabada
98225f6b0d qcacld-3.0: Add flag CONFIG_WMI_BCN_OFFLOAD to dependent APIs
Change I4fdbf041b53b5f1606d324714f01088742a9307f ("qcacld-3.0:
Modify Kbuild to add new beacon header file") added new file
wmi_unified_bcn_api.c to Kbuild with flag CONFIG_WMI_BCN_OFFLOAD.

Add this flag to all dependent APIs.

Change-Id: Id3f77434179b739d5563b490d25b1c1386e1831f
CRs-Fixed: 2374758
2019-01-03 06:47:35 -08:00
Arif Hussain
49698119d9 qcacld-3.0: Make sure to initialize global target_if before soc create
Make sure to initialize global target_if before soc create
as part of this psoc notifications are registered.

Change-Id: Id5491a2aac49450774532fe69ee24e18c9a7c594
CRs-Fixed: 2351426
2019-01-02 09:28:00 -08:00
Jeff Johnson
6dcb44ac13 qcacld-3.0: Rename pAddPeriodicTxPtrnParams
Per the Linux coding style both mixed-case names and so-called
Hungarian notation are frowned upon, therefore replace the identifier
pAddPeriodicTxPtrnParams everywhere it occurs.

Change-Id: Id15f65781eb6ead662add691aa299df0ca60bc3f
CRs-Fixed: 2371907
2018-12-26 22:45:52 -08:00
Jeff Johnson
0536c17571 qcacld-3.0: Avoid memory leak when adding a TX pattern
In wma_process_add_periodic_tx_ptrn_ind() the buffer allocated for the
WMI parameter will be leaked if wma_find_vdev_by_addr() fails. To
avoid this, reorder the operations so that the buffer is not allocated
unless wma_find_vdev_by_addr() is successful.

Change-Id: Idbd180dcc1bcae5b71f6a56adcfa3b4a7e2595da
CRs-Fixed: 2371905
2018-12-26 22:45:48 -08:00
Harprit Chhabada
253e36ad50 qcacld-3.0: Modify Kbuild to add new beacon header file
In wmi new file, wmi_unified_bcn_api.c is added.
Add this file in Kbuild.

Change-Id: I4fdbf041b53b5f1606d324714f01088742a9307f
CRs-Fixed: 2366772
2018-12-26 20:27:24 -08:00
Pragaspathi Thilagaraj
ae7dc766b3 qcacld-3.0: BTM changes to add new WCNSS_qcom.ini to configure btm params
Add the following new WCNSS_qcom.ini value:
"prefer_roam_score_for_candidate_selection" - choose to sort the
candidates on roam score or preferred AP list send in the BTM
request frame by AP.
When this ini is set, host driver will
modify btm_offload_config bit 7 which will be read by firmware
to get this ini value.

“roam_candidate_validity_timer” - roam cache entries validity
timer. The candidates in the roam cache are valid only for this
time value. This value is sent to firmware over the wmi command
on the structure wmi_roam_offload_tlv_param

"btm_disassoc_timer_threshold" - Disassociation timer threshold
to wait after which the full scan for roaming can be started
after the AP has sent the disassoc imminent

Change-Id: I3ba5ba2182b1b6d722d9c315757332a1b3e62521
CRs-Fixed: 2369018
2018-12-26 10:12:14 -08:00
Pragaspathi Thilagaraj
39d616074e qcacld-3.0: Add new WCNSS_qcom.ini "bss_load_bss_sample_time"
Add new ini item "bss_load_sample_time" to send the monitor
time window for which the beacons are to be sampled to collect
the bss load information.
Also add changes to send bss load trigger parameters only during
RSO start during initial connection

Change-Id: I61d1f3745b56199838fc886f1ed3a05786653501
CRs-Fixed: 2372147
2018-12-26 10:12:06 -08:00
Pragaspathi Thilagaraj
30251ecf5a qcacld-3.0: Handle the wmi event from WMI_ROAM_BLACKLIST_EVENTID
When firmware receives BTM request with disassoc imminent set,
the firmware should blacklist the AP and should not roam to it
for disassoc timer duration sent in the btm frame. The new wmi
event WMI_ROAM_BLACKLIST_EVENTID received from the firmware
carries the bssid to be blacklisted.

Handle this wmi event WMI_ROAM_BLACKLIST_EVENTID and update the
mac_ctx->roam.rssi_disallow_bssid with the bssid entries
received from firmware.

Change-Id: Ib41bcb91f123ce24b7d28407468e4597af7b5e1a
CRs-Fixed: 2369078
2018-12-26 07:47:34 -08:00
Pragaspathi Thilagaraj
69f0b69ca9 qcacld-3.0: Send bss load trigger values to firmware
Introduce the following new WCNSS_qcom.ini values:
"enable_bss_load_roam_trigger"
"bss_load_threshold"
Send these values over the new wmi command,
WMI_ROAM_BSS_LOAD_CONFIG_CMDID if "enable_bss_load_roam_trigger"
is set to true.

This wmi command will be sent to firmware as part of the RSO
start or update config.

Change-Id: Ib2e21904bc7b8d87e5f51824d2694b90a3ac53f2
CRs-Fixed: 2367770
2018-12-26 07:47:25 -08:00
Jeff Johnson
256002f959 qcacld-3.0: Converge on struct del_ts_param
The driver currently defines two different data structures to hold
Delete Tspec parameters:
- tDelTsParams
- struct del_ts_param

In this case having two different structures to provide the same
functionality is pointless. Furthermore, due to the way in which these
structures are used, there is an implicit requirement that they be
exactly identical. This approach is very fragile. To align with the
converged software architecture and to improve code maintainability
remove the legacy typedef and exclusively use the unified WMI
structure.

Change-Id: Ia70b1e17e4446259ff32107ffbc11646d078e1c0
CRs-Fixed: 2371915
2018-12-25 05:20:48 -08:00
Jeff Johnson
9851fcc55b qcacld-3.0: Converge on struct add_ts_param
The driver currently defines two different data structures to hold
Add Tspec parameters:
- tAddTsParams
- struct add_ts_param

In this case having two different structures to provide the same
functionality is pointless. Furthermore, due to the way in which these
structures are used, there is an implicit requirement that they be
exactly identical. This approach is very fragile. To align with the
converged software architecture and to improve code maintainability
remove the legacy typedef and exclusively use the unified WMI
structure.

Change-Id: I298202748b8a0f6c2a9f8a36ca7cdee071d000bf
CRs-Fixed: 2371914
2018-12-25 02:59:10 -08:00
Jeff Johnson
cf2ec16b6a qcacld-3.0: Converge on struct delts_req_info
The driver currently defines two different data structures to hold
Delete Tspec Request parameters:
- tSirDeltsReqInfo
- struct delts_req_info

In this case having two different structures to provide the same
functionality is pointless. Furthermore, due to the way in which these
structures are used, there is an implicit requirement that they be
exactly identical. This approach is very fragile. To align with the
converged software architecture and to improve code maintainability
remove the legacy typedef and exclusively use the unified WMI
structure.

Change-Id: I0951c8da636bcbf81a335c0ea1250d721ca5c573
CRs-Fixed: 2371913
2018-12-25 02:59:06 -08:00
Jeff Johnson
5402441a01 qcacld-3.0: Converge on struct aggr_add_ts_param
The driver currently defines two different data structures to hold
aggregate AddTspec parameters:
- tAggrAddTsParams
- struct aggr_add_ts_param

In this case having two different structures to provide the same
functionality is pointless. Furthermore, due to the way in which these
structures are used, there is an implicit requirement that they be
exactly identical. This approach is very fragile. To align with the
converged software architecture and to improve code maintainability
remove the legacy typedef and exclusively use the unified WMI
structure.

Change-Id: I960bd79b04838ac675ad49e332a47671faccaaa7
CRs-Fixed: 2371912
2018-12-25 02:59:02 -08:00
Jeff Johnson
56471b94c5 qcacld-3.0: Converge on struct mac_tspec_ie
The driver currently defines two different data structures to hold
a TSpec IE field:
- tSirMacTspecIE
- struct mac_tspec_ie

In this case having two different structures to provide the same
functionality is pointless. Furthermore, due to the way in which these
structures are used, there is an implicit requirement that they be
exactly identical. This approach is very fragile. To align with the
converged software architecture and to improve code maintainability
remove the legacy typedef and exclusively use the unified WMI
structure.

Change-Id: I2e9da1d72dae3c4b0baa13306ee7ec127895a4f2
CRs-Fixed: 2371911
2018-12-25 00:40:34 -08:00
Zhang Qian
e33b4b94f8 qcacld-3.0: Clean up OCB legacy code
Clean up OCB legacy code after feature componentization.

CRs-Fixed: 2177619
Change-Id: Ib8a26c9e67e78e53f8b2b4929276060687254ea1
2018-12-24 22:29:37 -08:00
Yeshwanth Sriram Guntuka
14ab04c72f qcacld-3.0: Add host support for db2dbm RSSI changes
Add host support for db2dbm RSSI changes. Firmware
indicates this capability when underlying hardware
has RSSI reporting feature. Based on this capability
host will know if firmware sends SNR or RSSI. If no
capablity is present then host will convert SNR to
rssi using a fixed offset of -96. If capability is
present host will directly use the rssi as it is.

Change-Id: I9058f16c6280d466feb96cf88a8a0d8cd7b02032
CRs-Fixed: 2364023
2018-12-24 03:32:38 -08:00