Commit Graph

4774 Commits

Author SHA1 Message Date
Selvaraj, Sridhar
4c7411ea7e qcacld-3.0: Update proper status for disable roam cmd
Currently, for disable roam from supplicant, if STA is in
not connected state, driver wont send any commands to FW
as it is unnecessary. However, for this case, driver updates
fail status to supplicant.

Update success status for disable roam cmd when STA is in
not connected state.

Change-Id: I076d1b5389868b5d136e5adce730f6b3ec41e6f8
CRs-Fixed: 2042596
2017-05-19 13:51:48 -07:00
Selvaraj, Sridhar
5b5a06598f qcacld-3.0: Update ignore_assoc_disallowed while creating PE session
For MBO[Multi-Band Operations], supplicant configures driver to ignore
assocition disallowed even if assoc disallowed attribute is present
in MBO IE of target BSS. Currently driver is updating this config
in PE session and fails if PE session doesnot exist at the instance.

Save ignore_assoc_disallowed config to mac context and update the same
to PE session while creating it.

Change-Id: I0379c756f6150533723ba4306f9780e345c3f61f
CRs-Fixed: 2042550
2017-05-19 13:51:46 -07:00
snandini
62ba9bf960 Release 5.2.0.26E
Release 5.2.0.26E

Change-Id: Ia30bae4d02fcd787169088bb63ac6fcc3d50010b
CRs-Fixed: 774533
2017-05-19 11:51:09 -07:00
snandini
324eaed6c3 Release 5.2.0.26D
Release 5.2.0.26D

Change-Id: Icb241b161d79c7d5d96eed87f3d0b196d2d203ac
CRs-Fixed: 774533
2017-05-19 11:06:35 -07:00
Naveen Rawat
8021e459e1 qcacld-3.0: Fix memory leak in restart bss path
Function sapconvert_to_csr_profile is allocating memory for
pRSNReqIE without checking if it is already populated. This
will leak memory if this function is getting called for sap
restart. Fix this by first freeing memory if already allocated.

Change-Id: I562b1dabb330057b4f1b934b0edad692330aab70
CRs-Fixed: 2046608
2017-05-19 11:06:34 -07:00
snandini
0c0ae02833 Release 5.2.0.26C
Release 5.2.0.26C

Change-Id: I4bf54618ea918375886d6734390a0a8d11399405
CRs-Fixed: 774533
2017-05-19 06:32:04 -07:00
Naveen Rawat
2b6e3c9d51 qcacld-3.0: ini param support for disconnect threshold
This is qcacld-2.0 to qcacld-3.0 propagation.

This patch adds ini support for WMI_VDEV_PARAM_DISCONNECT_TH
which represents number of dropped packets before FW sends out
kickout event for that peer to host.

Change-Id: I4c82bd1b5d1bc5d8265e3b0e5e58c82cdcab7f50
CRs-Fixed: 862686
2017-05-19 06:32:03 -07:00
snandini
989ea669cb Release 5.2.0.26B
Release 5.2.0.26B

Change-Id: I55681e2f687e1170e6df3fafe52a58ea7b68090a
CRs-Fixed: 774533
2017-05-19 05:27:29 -07:00
Nitesh Shah
50a3de1447 qcacld-3.0: Add ini item used in DBS Scan selection policy
Add ini item gdbs_scan_selection for DBS Scan selection policy.

Change-Id: If71df05afac7139d4ceccd190e8196c7476445b5
CRs-Fixed: 2028112
2017-05-19 05:27:29 -07:00
Krunal Soni
d3676732ef qcacld-3.0: Remove serialization from set key req and rsp messages
Serialization is not required to deliver the set key request coming
from upper layer as well as set key response coming from lower layer.

Take the set key request coming through IOCTL thread, and directly
post the request to protocol layer. Similarly take the set key response
coming through worker thread, and post the request to protocol layer.

Change-Id: Idcd0047f6e323d982e3159f7ef376e6eeb201395
CRs-Fixed: 2046036
2017-05-19 05:27:27 -07:00
Abhishek Singh
d7bc91391a qcacld-3.0: Fix PMF regression for SAP
In PMF SAP case iface->rmfEnabled is not set and thus even
unprotected frames are received by driver and processed.

To fix this set iface->rmfEnabled while adding station.

Change-Id: I3cbe5d7d64ee0d38f64f9cf256ce338163edd302
CRs-Fixed: 2048364
2017-05-19 05:27:25 -07:00
Dustin Brown
edce4a571e qcacld-3.0: Fix WoW Pattern mem leak on unload
WoW patterns are maintained in an internal cache that is not cleaned
when the WLAN module is unloaded. Free the WoW pattern cache as part
of the WLAN module unload.

Change-Id: I1ebd1876555d01551542f7029f53a72af6773dbc
CRs-Fixed: 2044774
2017-05-19 05:27:23 -07:00
snandini
8e354f029d Release 5.2.0.26A
Release 5.2.0.26A

Change-Id: I76b3d75b06f0251d0ee095f976195c8bb1e3fcc4
CRs-Fixed: 774533
2017-05-18 13:42:33 -07:00
Yue Ma
6dbbb183a9 qcacld-3.0: Add PLD APIs to support athdiag read/write
Add PLD APIs to support athdiag read/write though QMI messages.

Change-Id: I4887065fa390c7e3374a7297103bd93d3d35c429
CRs-fixed: 2043584
2017-05-18 13:42:32 -07:00
Amar Singhal
6f8592b71c qcacld-3.0: Propagate dynamic channel list
When channel list changes dynamically; it needs to be
propagated to kernel and firmware. Do the propagation in
the callback registered by hdd.

Change-Id: I2c9fb92a9abf1c26a8c57ee8be65bd5556bb84a1
CRs-Fixed: 2012415
2017-05-18 13:42:31 -07:00
Kiran Kumar Lokere
b1d412e15d qcacld-3.0: Add support for regulatory component ucfg apis
Add support for regulatory component ucfg apis to provide user
configuration

Change-Id: I994e53b17788472de979df9dce9e18c6f68de850
CRs-Fixed: 2012415
2017-05-18 13:42:29 -07:00
snandini
90289d4a4d Release 5.2.0.26
Release 5.2.0.26

Change-Id: I407444f7b1aea0e7d547170aa2bf3215d72e7d97
CRs-Fixed: 774533
2017-05-18 13:01:30 -07:00
Tushnim Bhattacharyya
85bedb9349 qcacld-3.0: Fix compilation issue in sme
Add check for variable initialization in csr_get_snr.

Change-Id: Id2742c95187923153aeb691455030199c65dbc62
CRs-Fixed: 2049172
2017-05-18 13:01:29 -07:00
snandini
13a6734684 Release 5.2.0.25Z
Release 5.2.0.25Z

Change-Id: Ib06e7cb822bf51ed49808e6f247430e416e8caca
CRs-Fixed: 774533
2017-05-18 07:29:17 -07:00
Ganesh Kondabattini
ae1c6a21cd qcacld-3.0: Update session id for set hw mode command
e_sme_command_set_hw_mode is always requested on session id 0 even
though it is supposed to go on different session id. This is due to
not updating session id when posting e_sme_command_set_hw_mode
command to SME.

Update session id in e_sme_command_set_hw_mode command.

CRs-Fixed: 2041453
Change-Id: I211f8b4cda3ef4ce216c1957eeea812e0eec5dc7
2017-05-18 07:29:17 -07:00
Ganesh Kondabattini
1c6365ca44 qcacld-3.0: Validate roc_ctx before accessing
Check for NULL pointer before accessing the roc_ctx in function
"wlan_hdd_cancel_pending_roc".

Change-Id: Ic01f2776567f6fc7d9fc89523b78fc697fb625a8
CRs-Fixed: 2045861
2017-05-18 07:29:15 -07:00
snandini
97070ae8e9 Release 5.2.0.25Y
Release 5.2.0.25Y

Change-Id: I6d646d22ef3aad8b82c2333264cd723680b88db3
CRs-Fixed: 774533
2017-05-18 06:37:00 -07:00
Amar Singhal
cab1b4f7d9 qcacld-3.0: Initialize hal_reg_capabilities extension
In case the service ready extension event is not available from
firmware, the hal_reg_capabilities in psoc structure do not get filled
up. But pdev channel list depends on hal_reg_capabilities extension
having proper range values values for channels. Since MCL has only
single pdev, unconditionally fill up the values in psoc service ready
ext data structures..

Change-Id: Idb2c8525d5789078654c1cba8d841dea03841ae8
CRs-Fixed: 2048054
2017-05-18 06:37:00 -07:00
snandini
a1370d90a8 Release 5.2.0.25X
Release 5.2.0.25X

Change-Id: Ib71c2c975a03a1d5235fe47f209e43b21027850b
CRs-Fixed: 774533
2017-05-17 21:07:37 -07:00
Kabilan Kannan
e8602fd411 qcacld-3.0: Fix TDLS set state cmd sequence for roaming
Firmware expects TDLS set state cmd before vdev stop, but
the cmd is going out of sequence during roaming and induce
crash in the system.
Send the TDLS set state cmd with correct sequence.

Change-Id: Ie106b8a8cebaa7f107c9eff67dda924b231162da
CRs-Fixed: 2045961
2017-05-17 21:07:37 -07:00
snandini
5a1f09d11b Release 5.2.0.25W
Release 5.2.0.25W

Change-Id: I373df7dc5062582cb37979cf58e6a9b9f57a523d
CRs-Fixed: 774533
2017-05-17 18:36:56 -07:00
Sandeep Puligilla
80038def4d qcacld-3.0: Update scan channels for emulation
Update default scan channels list with following channels
2.4G: 1, 6, 11
5G active: 36,40 passive: 52, 56, 140

Change-Id: Ib08f5242a285ff391a1cd2e17e5c26154b32e31b
CRs-Fixed: 2043613
2017-05-17 18:36:55 -07:00
snandini
dc3346576c Release 5.2.0.25V
Release 5.2.0.25V

Change-Id: If45e9b25a00492b9dbcf4e14e99a73a36802f6e1
CRs-Fixed: 774533
2017-05-16 01:23:40 -07:00
Will Huang
be32c2f5eb qcacld-3.0: Reject AssocReq without cipher IE to security SAP
When client send AssocReq without any cipher suite IE to DUT's SAP
which has security configure, driver/hostapd will not reject/delete
this client, this client will associate but eapol process will not
happen, so this client tlSTAState will not change to
OL_TXRX_PEER_STATE_AUTH state, and it blocks DUT's STA scan because
cds_is_connection_in_progress check this state.

This change is to reject it from driver when AssocReq without any
cipher suite IE received from DUT's SAP which has security configure.

Change-Id: Ia9a3b0791ac36c3ee6d48cf6df97f47a3752bd16
CRs-Fixed: 2033663
2017-05-16 01:23:40 -07:00
snandini
0564873ab6 Release 5.2.0.25U
Release 5.2.0.25U

Change-Id: Id52b89ee37dd115fe1e35f3b7faabd76c450bec3
CRs-Fixed: 774533
2017-05-16 00:46:26 -07:00
snandini
e225c15ced Release 5.2.0.25T
Release 5.2.0.25T

Change-Id: I0e53ca0faf3520c30ec7289a0f232d38695a131d
CRs-Fixed: 774533
2017-05-15 19:22:14 -07:00
Yue Ma
f978284f35 qcacld-3.0: Bypass firmware VDEV deletion during SSR
Since firmware has already asserted, VDEV deletion will timeout
finally which will result VDEV release failure in host driver.
Bypass it in SSR shutdown routine.

Change-Id: Ib9a4b8a4d49edf8178a1da8201f8a7c6931f487f
2017-05-15 19:22:13 -07:00
Yue Ma
e3e86ab602 qcacld-3.0: Restore pdev for module start/stop and SSR cases
For module start/stop and SSR cases, pdev is reused so it needs to be
restored to MAC/WMA contexts again.

Change-Id: Ifce95437d2c32a71c9376164f821f4e27df38409
CRs-fixed: 2021415
2017-05-15 19:22:11 -07:00
Yue Ma
5fe30ddee8 qcacld-3.0: Increase SSR timeout for Napier emulation
Increase SSR timeout long enough to complete SSR for Napier
emulation.

Change-Id: Ia0ed2314dd0528f75cf2b56064e1c6cf76c2daec
CRs-fixed: 2021415
2017-05-15 19:22:09 -07:00
snandini
670ce74600 Release 5.2.0.25S
Release 5.2.0.25S

Change-Id: I13768c1b09289d85d161276bafef9088eaa7e285
CRs-Fixed: 774533
2017-05-12 19:58:09 -07:00
Kabilan Kannan
aad2f0320d qcacld-3.0: Fix TDLS set state cmd sequence
Firmware expects TDLS set state cmd before vdev stop, but
the cmd is going out of sequence and induce crash in the
system.
Send the TDLS set state cmd with correct sequence

Change-Id: I5be19d8d44f86b60eed162ee3798f34e87892b15
CRs-Fixed: 2042194
2017-05-12 19:58:08 -07:00
Mukul Sharma
c3886aad85 qcacld-3.0: Remove serialization for get link speed cmd
Currently, Host serialize get link speed command through
MC thread which is truly not required.Hence removing
serialization for get link speed cmd.

Change-Id: Ia2895394025056d4957856bb9bde0350b55d25ca
CRs-Fixed: 2042492
2017-05-12 19:58:07 -07:00
snandini
79f0ba6ffe Release 5.2.0.25R
Release 5.2.0.25R

Change-Id: Ia3f894d45fea71f682133180821c6df548681fa3
CRs-Fixed: 774533
2017-05-11 22:53:07 -07:00
Abhishek Singh
478886090e qcacld-3.0: Allocate proper size for the lim peer idx pool
In station role, peer idx pool's index 1 is reserved for BSS.
for TDLS the index should start from 2.

Thus for station role if number of supported peer is n, the peer
idx pool size should be n + 2

Thus set peer idx pool size to n + 2 if TDLS is enabled.

Change-Id: Ie1afb16bb4a7fb914142d27080dfa257bc9ffeac
CRs-Fixed: 2044524
2017-05-11 22:53:06 -07:00
snandini
f73e582912 Release 5.2.0.25Q
Release 5.2.0.25Q

Change-Id: Id6a019aa16ce9bd9015eff7aa70959931a65c096
CRs-Fixed: 774533
2017-05-11 03:47:29 -07:00
snandini
749af68f7f Release 5.2.0.25P
Release 5.2.0.25P

Change-Id: Ie6a883213b03b9c7b763e5dabb866f1c210b954e
CRs-Fixed: 774533
2017-05-11 02:13:31 -07:00
Abhishek Singh
69ccb5164f qcacld-3.0: Use common scan api to wait on scan to get completed
Add changes to use common scan api to wait on scan to get completed

Change-Id: I45181908a6a81de21e4ba906f54ae3190aa212d0
CRs-Fixed: 2038093
2017-05-11 02:13:30 -07:00
snandini
7f00499ee9 Release 5.2.0.25O
Release 5.2.0.25O

Change-Id: Id381cbcf298874181c43eae728d8269555bec292
CRs-Fixed: 774533
2017-05-11 01:26:13 -07:00
yeshwanth sriram guntuka
626b24560c qcacld-3.0: Fix excessive logs in pmkid lookup api
Fix excessive logs in pmkid lookup using bssid api.

Change-Id: Ica534fc1a8028c9a4e6cc2d8ae155fd81849c03c
CRs-Fixed: 2038017
2017-05-11 01:26:13 -07:00
Naveen Rawat
b677c242af qcacld-3.0: Fix mismatch between assoc ie length and ext cap
Assoc IE length sent in ROAM START cmd to firmware is cumulative len
of all the IEs passed to firmware. Update in Ext Cap was causing this
length value to be wrong. Update the Ext Cap IE length correctly when
updating Assoc IE length.

Change-Id: I3c4acf507d533896993a51c443407ecac290628a
CRs-Fixed: 2026407
2017-05-11 01:26:11 -07:00
Naveen Rawat
418d308c01 qcacld-3.0: Do not disable Roaming if multiple STA are active
Do not disable Roaming if multiple STA are active, individual STA
session are controlled by adapter->fast_roaming_allowed.

Change-Id: Ic979f4addd3b9e4f940291817c9a797302e3ac66
CRs-Fixed: 1104238
2017-05-11 01:26:09 -07:00
Jayachandran Sreekumaran
68c952c716 qcacld-3.0: Add acs config parameter acs_policy
A new external acs configuration parameter acs_policy.
This parameter indicates the external ACS module whether
its mandatory or preferrable to select a channel
from the preferred channel list provided by the
driver

Change-Id: I80925109349c68c95f25ba27d87bd68964c4eb04
CRs-Fixed: 2037034
2017-05-11 01:26:07 -07:00
snandini
256d67d383 Release 5.2.0.25N
Release 5.2.0.25N

Change-Id: Idb74cc8cf5261b48320afce6aaea0e4df6634d1e
CRs-Fixed: 774533
2017-05-08 15:41:35 -07:00
Dhanashri Atre
e08ba71363 qcacld-3.0: Do not typecast physical address to 32 bits
Do not typecast the physical address passed to hash list to
32 bits. The physical address maybe greater than 32 bits which
will lead to a mismatch during look-up.

Change-Id: I095e1e63c59da74bc8a2507273e7c6487d0b19e7
CRs-Fixed: 2044161
2017-05-08 15:41:34 -07:00
snandini
c897b6e4f7 Release 5.2.0.25M
Release 5.2.0.25M

Change-Id: Ib80dc9bf4833be3a2d4990908af4c356a16315f2
CRs-Fixed: 774533
2017-05-08 14:59:11 -07:00