Commit Graph

13895 Commits

Author SHA1 Message Date
Arif Hussain
0b634b48ed qcacld-3.0: Restore gDisableDfsJapanW53 ini support
Restore gDisableDfsJapanW53 ini support.

Change-Id: I085e62e7cd8b1fdfe931997d35915f55d079f11d
CRs-Fixed: 2371006
2019-01-01 17:06:03 -08:00
nshrivas
1bd0968261 Release 5.2.0.114E
Release 5.2.0.114E

Change-Id: I17a3e520e05e13e4d4a8226315ba5588bc04d08b
CRs-Fixed: 774533
2018-12-31 21:29:28 -08:00
Srinivas Dasari
b328f1a4f9 qcacld-3.0: Add changes to support OSEN AKM for HS-2.0
OSEN is a new AKM to support HS-2.0. This change is to support
the same.

Change-Id: I6d6c3c2bca76a346d83c6f1303ae86177f2fde67
CRs-Fixed: 2361385
2018-12-31 21:29:28 -08:00
nshrivas
71118e7ad7 Release 5.2.0.114D
Release 5.2.0.114D

Change-Id: I7672350c7684a834a1a7a00edcf016cadc018873
CRs-Fixed: 774533
2018-12-31 01:13:12 -08:00
Sourav Mohapatra
9e014cf171 qcacld-3.0: Add support to enable/disable RTT feature
Define a new ini param to provide control over enabling and disabling
support for RTT.

Change-Id: I4fcc2370f758f80f00aaf04a4f23e24934d92f52
CRs-Fixed: 2364495
2018-12-31 01:13:11 -08:00
Sourav Mohapatra
fec6d6c8c4 qcacld-3.0: Disable indoor channels only for SAP and not GO
In the present scenario, the indoor channels are disabled
in both SAP and GO.
Disable the indoor channels only in case of SAP.

Change-Id: Ic66c3af211bd65846ec0ecaac8375d037f15af9a
CRs-Fixed: 2203719
2018-12-31 01:13:07 -08:00
nshrivas
9991acf33b Release 5.2.0.114C
Release 5.2.0.114C

Change-Id: I6d1fb7a153e47a6780b48f6c4c395c628ed23c6d
CRs-Fixed: 774533
2018-12-30 03:59:10 -08:00
Abhishek Singh
caebb463d7 qcacld-3.0: Fix infinite for loop in wlansap_update_csa_channel_params
In wlansap_update_csa_channel_params if channel is not present in
op class table the for loop become infinite.

Add check to break the loop if BW is 20 and still entry is not found
in op class table.

Change-Id: I6ef6bc138a8df0e18b54bd16a47eba23b437616d
CRs-Fixed: 2373915
2018-12-30 03:59:09 -08:00
nshrivas
372d92da33 Release 5.2.0.114B
Release 5.2.0.114B

Change-Id: I78ebf228cd2496be4b01b1c670ddf9a6d1e075de
CRs-Fixed: 774533
2018-12-28 22:56:27 -08:00
Abhishek Singh
59e6aa940e qcacld-3.0: Remove wlan_serialization_legacy_init_callback
Each cmd in serialization list holds a vdev ref by
I8d573ff5a25e6dff928b2708e51ad7b97e292277. When vdev is
destroyed physically, it means vdev ref count is 0, all
serialization cmds of this vdev are released, so no need
to registed purge calback.

Change-Id: Iea75707c88154e1e3e87369285b82d1288523e22
CRs-Fixed: 2373677
2018-12-28 22:56:26 -08:00
nshrivas
00a705fc60 Release 5.2.0.114A
Release 5.2.0.114A

Change-Id: I4cf62a6adf8ffe669d871d1fca9ff9a36f73f6e3
CRs-Fixed: 774533
2018-12-28 19:20:31 -08:00
Srinivas Dasari
e3ef7c646d qcacld-3.0: Free memory allocated to FILS info in roam profile
Memory allocated to FILS info is not getting freed in some
cases such as back to back connection and disconnect handler.

Add changes to free memory in these cases.

CRs-Fixed: 2047172
Change-Id: I5baf4555d956045cb65eedbc87daef3045732286
2018-12-28 19:20:31 -08:00
nshrivas
e23f3f8097 Release 5.2.0.114
Release 5.2.0.114

Change-Id: I18235a2e2cec1c3c02f7ba9627f08f4acc1231f2
CRs-Fixed: 774533
2018-12-28 16:12:10 -08:00
Jianmin Zhu
5252e04745 qcacld-3.0: Avoid keeping in DBS mode when STA connect 5G AP
If Connect candidate has two or more APs in different band,
switch to DBS firstly. After associated 5G AP, will check and
try to switch to single MAC mode.  But during DUT STA-AP key
negotiation, set hw mode cmd is refused to avoid EAPOL fail.

Fix: Delay N sec to check and set hw mode after associated, let
EAPOL handshake finish first.

Change-Id: I7d975fb56fedc30d66c21782607d148137e53e82
CRs-Fixed: 2372485
2018-12-28 16:12:09 -08:00
nshrivas
5b39c24385 Release 5.2.0.113Z
Release 5.2.0.113Z

Change-Id: Ie3388755b8eff10599f50ca4547486d6734eae55
CRs-Fixed: 774533
2018-12-28 12:26:44 -08:00
Abhinav Kumar
c1059384a6 qcacld-3.0: Address checkpatch errors added as part of VHT & WMM CFG items
Address checkpatch errors added as part of VHT & WMM CFG items.

Change-Id: I2c3d5466264781cee8197778806a349cfbf06957
CRs-Fixed: 2359406
2018-12-28 12:26:44 -08:00
Ashish Kumar Dhanotiya
efae55b005 qcacld-3.0: 11d and 11h inis are not getting updated
As part of ini convergence, enabled_11d and enabled_11h inis are
moved to converged framework but these inis are not removed from
legacy initialization path which is overwritting these values
to constant values and thus these inis are not taking effect.
Morever in the converged code also these inis are getting
initialized with default values instead of the values given
from ini file.

To address this issue, remove the legacy initialization of these
inis and in the converged ini path initialize these values with
the values configured in the ini files.

Change-id: I3d02c0d543fd561f1fd948b5c2850a509b1104e7
CRs-fixed: 2371528
2018-12-28 12:26:39 -08:00
nshrivas
af44e4f081 Release 5.2.0.113Y
Release 5.2.0.113Y

Change-Id: Ia5f2761f0ef77488b447150ce07d73fcf60f7cd1
CRs-Fixed: 774533
2018-12-28 07:13:18 -08:00
Wu Gao
a67c3801b7 qcacld-3.0: Active tdls psoc enable and disable
Call tdls psoc enable/disable in HDD component enable/disable.

Change-Id: Ibdeb977ea474c57085d18d87bb589f0aa8063db8
CRs-Fixed: 2373030
2018-12-28 07:13:18 -08:00
nshrivas
3ca3db6088 Release 5.2.0.113X
Release 5.2.0.113X

Change-Id: Idd876038ae9aec285772c3c1fbbea7e6f435f4c6
CRs-Fixed: 774533
2018-12-28 04:38:10 -08:00
Wu Gao
c3e1ba9174 qcacld-3.0: Remove unused tdls api in hdd
Remove below unused tdls api in hdd:
- wlan_hdd_tdls_extctrl_config_peer
- wlan_hdd_tdls_extctrl_deconfig_peer
- wlan_hdd_cfg80211_tdls_scan
- wlan_hdd_cfg80211_send_tdls_discover_req

Change-Id: Ib6407bb18bc77e92e1cdd3b38d6ff3051f03b74c
CRs-Fixed: 2373063
2018-12-28 04:38:09 -08:00
nshrivas
835219f5a4 Release 5.2.0.113W
Release 5.2.0.113W

Change-Id: I1b2b926f47514b1cc69dd05bfd43933fe1311d26
CRs-Fixed: 774533
2018-12-28 02:23:01 -08:00
Manikandan Mohan
2bd0977920 qcacld-3.0: Move IBSS INI params to converged CFG component
Update qcacld driver to move IBSS INI params to converged CFG
component and cleanup HDD ini entriesi

Change-Id: Id8e4c0505113e556a8d64915a648f17fc5c0daf5
CRs-fixed: 2358493
2018-12-28 02:23:00 -08:00
Manikandan Mohan
d350c194b4 qcacld-3.0: Move offload ini params to converged CFG
Move misc offload ini params to converged CFG component and
cleanup HDD ini config.

Change-Id: I14b3d95dc1577d02230168d305d1d1c4c7fef2fd
CRs-fixed: 2358489
2018-12-28 02:22:55 -08:00
nshrivas
aed4e3d88d Release 5.2.0.113V
Release 5.2.0.113V

Change-Id: I364d1f35ebf9e421f3c19fcf887b9a47883adf8d
CRs-Fixed: 774533
2018-12-27 22:10:30 -08:00
Jianmin Zhu
d443946b3d qcacld-3.0: Fix scan info memory leak in csr scan callback
In specific scan result callback, before issue connect, check
whether need HW mode change. If HW mode change is unneeded or
return FAILED, need free roam profile in scan info after issue
connect.

Change-Id: I81b37babcbdf474a3cfa58edb8c21dbcbd467d6f
CRs-Fixed: 2373157
2018-12-27 22:10:29 -08:00
nshrivas
2aa3c8a096 Release 5.2.0.113U
Release 5.2.0.113U

Change-Id: I13ffa46d2a7ea2bcc6aa6342c56bb7c86ff9f77a
CRs-Fixed: 774533
2018-12-27 15:35:54 -08:00
Abhishek Singh
98278ceed1 qcacld-3.0: Initialize component configs with zero
Initialize all component configs structure sent to component
with zero to avoid any uninitialized values.

Change-Id: I4c1681e622d64641708e51590d283b82c8b0c82c
CRs-Fixed: 2373161
2018-12-27 15:35:54 -08:00
nshrivas
4cf4b94002 Release 5.2.0.113T
Release 5.2.0.113T

Change-Id: I7e51e02e75eba92503cbc144b7faab90a1a53f46
CRs-Fixed: 774533
2018-12-27 03:21:07 -08:00
Liangwei Dong
b007863932 qcacld-3.0: Handle FW not support SBS
If FW doesn't support SBS, return QDF_STATUS_E_NOSUPPORT
to allow connect request in current HW mode.

Change-Id: Ie960fe993ea95cf40dd43fb56c71edd94efda63b
CRs-Fixed: 2370206
2018-12-27 03:21:07 -08:00
nshrivas
8343a9b621 Release 5.2.0.113S
Release 5.2.0.113S

Change-Id: Ibb71b76d60d65dc8d7f574141d41a7b4caf7600c
CRs-Fixed: 774533
2018-12-27 01:05:11 -08:00
Wu Gao
b901f0e704 qcacld-3.0: Use enum wmi_tdls_state as type of tdls state
Define tdls state as enum wmi_tdls_state, and pass it to
wmi_unified_update_fw_tdls_state_cmd.

Change-Id: I77defc28f78bf3152241f6fb75a7235e06c39c14
CRs-Fixed: 2372455
2018-12-27 01:05:11 -08:00
Manikandan Mohan
06d38d8c48 qcacld-3.0: Add 11K offload param to converged CFG component
Update driver to move 11K offload params to converged CFG component
and remove redundant entries from HDD config.

Change-Id: I7703ca5b23d5fa95a3b5dc5ccd9690771a4bf43d
CRs-fixed: 2357708
2018-12-27 01:05:06 -08:00
nshrivas
7165bc3ab0 Release 5.2.0.113R
Release 5.2.0.113R

Change-Id: I709362626614f5eb2cc11f49c18ffb004eebe8d7
CRs-Fixed: 774533
2018-12-26 22:45:53 -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
nshrivas
72f4849b0e Release 5.2.0.113Q
Release 5.2.0.113Q

Change-Id: I194da59a169de0da307ab370c706c7ce6c95c6e7
CRs-Fixed: 774533
2018-12-26 20:27:24 -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
nshrivas
080e92385c Release 5.2.0.113P
Release 5.2.0.113P

Change-Id: I47f9fc93f4324330847808caa692eebd1aae0f9e
CRs-Fixed: 774533
2018-12-26 18:01:08 -08:00
Rajeev Kumar
7b7bb3f440 qcacld-3.0: Add option to disable psoc idle timer
Add option to disable idle psoc timer by changing min
value to 0 and when 0 value is set in INI file then do
not start the psoc idle timer.

Change-Id: I6593f8ef9a15e1817215021c694c20ddf1aaa252
CRs-Fixed: 2370954
2018-12-26 18:01:08 -08:00
nshrivas
7646224d90 Release 5.2.0.113O
Release 5.2.0.113O

Change-Id: I6e2c42c7676182f55ef0f03112a18f14f6aee9dc
CRs-Fixed: 774533
2018-12-26 12:33:25 -08:00
Abhinav Kumar
3b724f5fa9 qcacld-3.0: Fix memleak in scan for ssid if scan req allocation fails
In scan for ssid if scan req allocation fails in csr_scan_for_ssid,
status is success and thus the memories are not freed for
scan_info.profile results in memleak.

Fix is to free mem for scan_info.profile in case if scan req allocation
fails in csr_scan_for_ssid.

Change-Id: I45ac2093bdd6d2d17b353f805a157dcea80a2623
CRs-Fixed: 2372803
2018-12-26 12:33:25 -08:00
nshrivas
f6ff31b081 Release 5.2.0.113N
Release 5.2.0.113N

Change-Id: I24442184bf3b3dc9ac4174e6e21ef917ebed7ad5
CRs-Fixed: 774533
2018-12-26 10:12:18 -08:00
Pragaspathi Thilagaraj
df0f544dab qcacld-3.0: Add new "roam_score_delta" and "roam_score_delta_bitmap" ini
Add two new WCNSS_qcom.ini values:
"roam_score_delta" - Factor by which the new roaming candidate
ap score should be greater than the score of the current
connected AP.
"roam_score_deltabitmap" - Roam triggers for which
roam_score_delta needs to be applied on the roam score of the
candidate AP.

Populate these two values to wlan_mlme_scoring_cfg from cfg
component in mlme_init_scoring_cfg. The values are sent to
firmware over the WMI TLV WMI_ROAM_AP_PROFILE in the below code
flow:
csr_update_score_params()->__lim_process_roam_scan_offload_req()
->wma_process_roaming_config()->wma_roam_scan_offload_ap_profile

Change-Id: I64f2a2328e485418547dae937c657f85225f1457
CRs-Fixed: 2367910
2018-12-26 10:12:18 -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
7d0a3cf99f qcacld-3.0: Send BTM query over 11k neighbor report
Add new WCNSS_qcom.ini value:
"prefer_btm_query" - Set this flag to enable the firmware to
send btm query for neighbor list. If this flag is not set,
the firmware will fallback to current mechanism of sending
11k neighbor report request instead of btm query.

When this prefer_btm_query is set, host driver will modify
btm_offload_config bit 8 which will be read by firmware to
get this ini value.

Change-Id: Id424c0da7207b0185cee67172782ef5c1d9fd131
CRs-Fixed: 2369000
2018-12-26 10:12:10 -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
Jianmin Zhu
f2de84f371 qcacld-3.0: Involve VDEV SM when STA switch channel width
When found AP channel width change from beacon:
    1. Set channel switch in progress with reason
	LIM_SWITCH_CHANNEL_HT_WIDTH, Send
	WLAN_VDEV_SM_EV_FW_VDEV_RESTART.
    2. Call lim_ht_switch_chnl_params in
        mlme_vdev_restart_send if reason is
	LIM_SWITCH_CHANNEL_HT_WIDTH, set ht width switch
	callback.
    3. Send WLAN_VDEV_SM_EV_RESTART_RESP in
        wma_vdev_start_resp_handler and clear channel switch in
	progress.
    4. Send WMA_SWITCH_CHANNEL_RSP in mlme_vdev_start_continue.
    5. Send WLAN_VDEV_SM_EV_START_SUCCESS in ht width switch
	callback to up vdev.

Change-Id: I46651e9aa17ebe049e44179d3a8fcc5a214762be
CRs-Fixed: 2372486
2018-12-26 10:12:01 -08:00
nshrivas
4177948219 Release 5.2.0.113M
Release 5.2.0.113M

Change-Id: Ie3236c1eed226669deb3bdfa6bf56df1af1e061c
CRs-Fixed: 774533
2018-12-26 07:47:35 -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