Commit Graph

3779 Commits

Author SHA1 Message Date
Dustin Brown
d5f1294562 qcacld-3.0: Acquire wakelock before sending VDEV_START
The host driver should not attempt to power collapse while pending
VDEV_START commands are in flight. Acquire a wakelock before sending a
VDEV_START request to firmware, and release it upon receipt of
VDEV_START response.

Change-Id: Iccca8ce4213b7527421f6b93fc4e08be9c31f471
CRs-Fixed: 2018066
2017-03-14 11:26:58 -07:00
Sandeep Puligilla
5581285544 Release 5.2.0.14V
Release 5.2.0.14V

Change-Id: I64e23eb45918fd068dc0a766289737a62c07bd4b
CRs-Fixed: 688141
2017-03-14 00:52:01 -07:00
Selvaraj, Sridhar
c7d808965f qcacld-3.0: Send proper reason code to Supplicant on beacon miss event
qcacld-2.0 to qcacld-3.0 propagation

Once the beacon miss event is received in driver, sta cleanup
happens and sends deauth reason code as 505 which is internal
value to driver(eSIR_SME_LOST_LINK_WITH_PEER_RESULT_CODE).

Send reason code as zero to Supplicant for Beacon miss kickout.
Cleanup the similar handling in csr_api_roam as it is redundant.

Change-Id: I6df97e05ac20f285646df3d5fe73800138a18d89
CRs-Fixed: 1025871
2017-03-14 00:52:00 -07:00
Sandeep Puligilla
3580ba0355 Release 5.2.0.14U
Release 5.2.0.14U

Change-Id: I0a76107f95b150f968fe57928586acd85e892088
CRs-Fixed: 688141
2017-03-14 00:13:32 -07:00
Selvaraj, Sridhar
046d77d673 qcacld-3.0: Add support to use generic netlink sockets for userspace apps
Currently user space communication functions[cnss diag, PTT socket app]
in host driver uses netlink user sockets which is a security concern from
Linux Android SE policies.

Add support for to use netlink family cld80211 which uses generic
netlink sockets.

Change-Id: I4ea49ac6d7c9381212c93567fdc40f90e04dfba4
CRs-Fixed: 1112784
2017-03-14 00:13:31 -07:00
Sandeep Puligilla
932f73b976 Release 5.2.0.14T
Release 5.2.0.14T

Change-Id: I4f21a8602879ff24868bff8d43d48184f017ed32
CRs-Fixed: 688141
2017-03-13 18:58:08 -07:00
Arif Hussain
6cec6bc14a qcacld-3.0: Fix supported operating classes IE order in assoc request
Strip supported operating classes IE from additional IE’s sent by user
and update the same to rearrange along with other IE’s in ascending
order.

Change-Id: I198e8e3aa8e0f977d916d7f3a6fc0e5951032769
CRs-Fixed: 2006920
2017-03-13 18:58:08 -07:00
Sandeep Puligilla
524c80fbd6 Release 5.2.0.14S
Release 5.2.0.14S

Change-Id: I833827a3aae814e30d7771c98c86e576eb2caffd
CRs-Fixed: 688141
2017-03-13 15:19:28 -07:00
Dustin Brown
a13cf0d2b5 qcacld-3.0: Change default value of gFwDebugModuleLogLevel
Update the default value of gFwDebugModuleLogLevel as per the request
of the firmware team.

Change-Id: I7d0c45689b962d39c5f9371a10f6da690129de99
CRs-Fixed: 2013439
2017-03-13 15:19:27 -07:00
Sandeep Puligilla
bc9f2b423a Release 5.2.0.14R
Release 5.2.0.14R

Change-Id: I9c3c435f0a63257ca02c5fb44b9c5ba6c3d8f911
CRs-Fixed: 688141
2017-03-13 14:41:01 -07:00
Dustin Brown
13995f0efc qcacld-3.0: Add gActiveBpfMode ini item
Active Mode Berkeley Packet Filter (Active BPF) is a new feature that
allows firmware to apply BPF even while the Apps processor is active.
There are 3 modes:
 * Disabled: do not apply BPF in active mode
 * Enabled: apply BPF to all packets in active mode
 * Adaptive: apply BPF up to some threshold to avoid performance impact

Add an ini item called gActiveBpfMode to configure the Active BPF Mode
in firmware.

Change-Id: I6cf60d67238802fe1e1662c040910091f5c25bec
CRs-Fixed: 1111400
2017-03-13 14:41:00 -07:00
Sandeep Puligilla
a2743b2c4b Release 5.2.0.14Q
Release 5.2.0.14Q

Change-Id: I2ed0bbfdfc665669bd18e5ab580ae0e318c973c7
CRs-Fixed: 688141
2017-03-13 14:01:56 -07:00
Dhanashri Atre
09828f1c91 qcacld-3.0: Hash based rx steering
This change includes adding hooks in the data path to
send WMI command to enable LRO or/and configure a hash
seed value

Change-Id: I3f068307f7669c4ff8baa5102e9fb7729d4a348d
CRs-Fixed: 1094775
2017-03-13 14:01:55 -07:00
Sandeep Puligilla
b007e53b91 Release 5.2.0.14P
Release 5.2.0.14P

Change-Id: Ia01316a8f96d9d4d95461a88be9960ed0f387f90
CRs-Fixed: 688141
2017-03-13 11:12:21 -07:00
Varun Reddy Yeturu
c13305eeac qcacld-3.0: Do not take a reference to bss when disconnect is deferred
Propagation from cld3.0-1.1 to cld3.0-2.0

Do not indicate the roam event to user space if disconnect is
deferred, since it will soon be honored and a disconnect event
will be sent to the user space. Do not reference the kernel bss
data as well when disconnect is in progress.

Change-Id: I0b76a2af021efe0e1c8693c4e5908ed576770813
CRs-Fixed: 2017409
2017-03-13 09:53:00 -07:00
Sandeep Puligilla
0a184ecb2c Release 5.2.0.14O
Release 5.2.0.14O

Change-Id: Ibf029a419887ee0a54035b671896a21962cbe881
CRs-Fixed: 688141
2017-03-13 08:30:08 -07:00
Nitesh Shah
9a66f94f30 qcacld-3.0: Remove updating fw tdls state while deleting tdls sta
FW TDLS state supports single TDLS context. TDLS context in FW
does not need to be deleted while deleting TDLS sta in the host.
If FW TDLS state update comes for one vdev while TDLS context
is already present for other vdev, then FW will crash.

The change is to remove updating FW TDLS state while deleting
TDLS sta. This change also address cleaning up TDLS peer from
lim while informing to supplicant.

Change-Id: I300388def5052180d330cc82553085538e80202e
CRs-Fixed: 2013151
2017-03-13 17:42:42 +05:30
Sandeep Puligilla
d62b957d30 Release 5.2.0.14N
Release 5.2.0.14N

Change-Id: I4b860b5d121c8bf711d5a398897ba7d834370832
CRs-Fixed: 688141
2017-03-13 04:39:14 -07:00
Kapil Gupta
43c2f997ea qcacld-3.0: Correct API for acs channel range validation
qcacld-2.0 to qcacld-3.0 propagation

Add changes to correct the function to check for acs channel range.

CRs-Fixed: 1117328
Change-Id: Ie0a53c2f5ee26552d36da0e6c4dcda124abc71a7
2017-03-13 04:39:13 -07:00
Sandeep Puligilla
da06d74dc5 Release 5.2.0.14M
Release 5.2.0.14M

Change-Id: I865b3c8530ec1efc7cf9ddfffe73bb88456879b3
CRs-Fixed: 688141
2017-03-13 00:37:08 -07:00
Hong Shi
b707b05cc0 qcacld-3.0: Fix compilation error when TDLS macro disabled
Currently, 3 non-tdls ini config options are wrongly merged inside
TDLS macro when auto propagation from CLD2.0 to CLD3.0. Move the ini
configs outside of TDLS macro.

Change-Id: I1ee784519c2197b4dc3f0119fb3a9f379fe7288b
CRs-Fixed: 2016679
2017-03-13 00:37:07 -07:00
Liangwei Dong
35bded49b3 qcacld-3.0: Fix peer invalid free issue
qcacld-2.0 to qcacld-3.0 propagation

tx_msdu_info.peer should be reset to NULL for
each MSDU. Each MSDU will be classified by
ol_tx_classify to get peer.

Change-Id: I68fe619435a6edfdd82fa083ad9cb81251705ad5
CRs-Fixed: 1109984
2017-03-13 00:37:04 -07:00
Sandeep Puligilla
e27c81a9cb Release 5.2.0.14L
Release 5.2.0.14L

Change-Id: I93590506d718388c058c45b5ae6f0cfcb7584198
CRs-Fixed: 688141
2017-03-12 21:40:19 -07:00
Kiran Kumar Lokere
35fb524572 qcacld-3.0: Enable channel bonding only in 11n or 11ac mode
Enable channel bonding only if the dot11 mode is 11n or 11ac

Change-Id: Ic0afdb8ed7c36838725fd63730fca0310d5a731f
CRs-Fixed: 2018363
2017-03-12 21:40:19 -07:00
Varun Reddy Yeturu
a578414c8a qcacld-3.0: Handle disconnect requests during LFR3 roaming
Propagation from cld3.0-1.1 to cld3.0-2.0

Upper layer can send cfg80211 disconnect command anytime in the life
of a connection. It arrive when firmware roaming may have started,
completed, failed, etc. Processing of roam events may collide with
processing of disconnect command in the host driver.

Defer the hdd disconnect command if roaming has started. Upon completing
roaming send the deferred disconnect command to sme which will
eventually complete the requested disconnect.

If disconnect is deferred during roaming, then do not send the
new roam event to supplicant since it is not expected and upon
honoring the disconnect later, a disconnect event would be
sent to supplicant.

Remove the earlier workaround done to send a try again error message
to upper layers upon receiving a disconnect request when roaming
is in progress

Firmware can now handle the ROAM_SCAN_OFFLOAD_STOP command even
if it is in the middle of roaming operation. Hence remove this
check in SME.

Add LFR3 roaming state to the cds_is_connection_in_progress API since
it currently captures only LFR2 roaming states.

Change-Id: Id352d94b41f0766889ceebd0b57b2c566ce3ca42
CRs-Fixed: 1114853
2017-03-12 21:40:17 -07:00
Sandeep Puligilla
426bd9eda3 Release 5.2.0.14K
Release 5.2.0.14K

Change-Id: I7be8bdeb135f5398a80506a272b9be60590a2867
CRs-Fixed: 688141
2017-03-11 23:21:24 -08:00
Nitesh Shah
77442574ca qcacld-3.0: Allow burst scan when SAP is on DFS channel
When SAP comes up on DFS channel, then scan windows scans
only limited APs since NL scan cache will be flushed every
7 secs and scan results shall be read by the wpa_supplicant
only after the scan done indication.

The change is to allow burst scan when SAP is on DFS channel.

Change-Id: Ia1458cf4f4f868f2d0c36b2679118016fd966528
CRs-Fixed: 2017252
2017-03-11 23:21:23 -08:00
Sandeep Puligilla
b551b434ef Release 5.2.0.14J
Release 5.2.0.14J

Change-Id: Iafd8d5708f040b908d1263d097ba70c1e8cf70e0
CRs-Fixed: 688141
2017-03-11 12:11:03 -08:00
Abhishek Singh
e6857812fe qcacld-3.0: Fix for ROC cmd timeout issue with new scan module
When converged scan is enabled all the scan commands are queued to
serialization module from scan module and use struct
scan_start_request pointing to umac_cmd pointer.

Due to this if there is already an scan req going on and ROC is
queued driver fails to find ROC request in csr_get_active_scan_entry()
as the CSR try to interpret umac_cmd pointer as tSmeCmd.
And thus sometime ROC cmd times out.

Fix this by interpreting umac_cmd as struct scan_start_request for
scan cmd instead of tSmeCmd.

Change-Id: I6674a54b60d28d799188261b1e56b0c657c1ac19
CRs-Fixed: 2013212
2017-03-11 12:11:02 -08:00
Sandeep Puligilla
a330c8cd93 qcacld-3.0: Legacy scan for ssid support
Update Legacy scan for ssid code according to
new scan common module.

Change-Id: Ieb20c84c56f91b32a0b2c6381ad0f19c363df34d
CRs-Fixed: 2013212
2017-03-11 12:11:00 -08:00
Sandeep Puligilla
82f6497a54 Release 5.2.0.14I
Release 5.2.0.14I

Change-Id: Ibd37a37819c6722b0a2d6d79720c35a4d66e5dcd
CRs-Fixed: 688141
2017-03-11 00:52:30 -08:00
Dustin Brown
0a4cfeb33d qcacld-3.0: Enhance gEnableSifsBurst for legacy mode
Enhance gEnableSifsBurst to support legacy mode for 11n certification
	0 - disabled
	1 - enabled, but disabled for legacy mode
	3 - enabled

propagation from qcacld-2.0

Change-Id: Ia0a21cec25ce46b3ef2ed0ee8d4e4682558da468
CRs-Fixed: 2018162
2017-03-11 00:52:29 -08:00
Sandeep Puligilla
2b16fc1dd3 Release 5.2.0.14H
Release 5.2.0.14H

Change-Id: Ibd4e621878f2de8f075cb958431267561ae3284a
CRs-Fixed: 688141
2017-03-10 20:27:06 -08:00
Sandeep Puligilla
e663c5cefa Release 5.2.0.14G
Release 5.2.0.14G

Change-Id: Ie4606e085cb1a5666a93c9002b22dd82dd6bfa11
CRs-Fixed: 688141
2017-03-10 18:30:58 -08:00
Nitesh Shah
41896ab13c qcacld-3.0: Remove 160 MHz support hardcoded from STA Assoc Req
This change is to remove the hardcoded 160 MHz support in STA
Assoc Request in VHT Capabilities IE.

Change-Id: I1ddbea312348c115a1a891fbc2dfde4e2790a79f
CRs-Fixed: 2017691
2017-03-10 18:30:58 -08:00
Nitesh Shah
c8c444042c qcacld-3.0: Add 160/80+80 MHz support for STA mode
Allow 160 MHz and 80+80 MHz support in concurrency mode.
Also add support for 160 MHz and 80+80 MHz in VHT Capabilities IE
in STA assoc request frame.

Change-Id: Id3aab3308c68d0a623d5c4916e1bd46c6deaedde
CRs-Fixed: 2014380
2017-03-10 18:30:56 -08:00
Sandeep Puligilla
89d4d0c645 Release 5.2.0.14F
Release 5.2.0.14F

Change-Id: I2c880903a8105e8160dcb7507321ebcff492a60a
CRs-Fixed: 688141
2017-03-10 16:53:05 -08:00
Nishank Aggarwal
f3f2284d74 qcacld-3.0: Set different scan priority for p2p search and p2p listen
The p2p search should be preempted if there is p2p listen
requested by action frame tx. So p2p listen should always
have high priority than p2p search.

Change-Id: I551e95ab3381bcbf002e67478a82f8ef31b56b5b
CRs-Fixed: 2011260
2017-03-10 16:53:04 -08:00
Sandeep Puligilla
65e7069eeb Release 5.2.0.14E
Release 5.2.0.14E

Change-Id: I1ec74d691ac2289074e1e8451f418cc4cb482540
CRs-Fixed: 688141
2017-03-10 16:10:08 -08:00
Jeff Johnson
688f475de9 qcacld-3.0: Remove unused scanevent from hdd_wext_state_t
Currently struct hdd_wext_state_s (typedefed as hdd_wext_state_t)
contains the field "qdf_event_t scanevent". This event is created, but
beyond that it is never used. Since this object is obsolete, remove
it.

CRs-Fixed: 2017476
Change-Id: I7bd4290e1b4d0df069e8e6e6c9347c1ac3c01c63
2017-03-10 16:10:07 -08:00
Jeff Johnson
920b8ee5bf qcacld-3.0: Remove unused completion_var from hdd_wext_state_t
Currently struct hdd_wext_state_s (typedefed as hdd_wext_state_t)
contains the field "struct completion completion_var". This completion
object is initialized, but beyond that it is never used. Since this
object is obsolete, remove it.

Change-Id: Ibebd7b4d1e8879b4de223a8be4bab2ca0d2fc165
CRs-Fixed: 2017354
2017-03-10 16:10:05 -08:00
qcabuildsw
10d844ba7c Release 5.2.0.14D
Release 5.2.0.14D

Change-Id: I666b943e9409d0e68009b430c0d4a29ec255eccb
CRs-Fixed: 688141
2017-03-10 07:19:21 -08:00
Kapil Gupta
957827b875 qcacld-3.0: Add monitor time for PER based roam
Curretly FW considers minimum time of hysteresis for PER based roam as
constant value which is 25 seconds.

Add changes to make this configurable using ini.

Change-Id: I1a985594d515f42d1aaca8e4ef174fb29b51586a
CRs-Fixed: 2005849
2017-03-10 07:19:20 -08:00
Kapil Gupta
6e6c26b06e qcacld-3.0: Disable PER based roaming by default
Add changes to disable PER based roam by default.

CRs-Fixed: 1114094
Change-Id: I52768029d3ccf007b7d9999e796de3366ac0ae35
2017-03-10 07:19:19 -08:00
Kapil Gupta
5cda2251d6 qcacld-3.0: Changes for PER based roaming
DUT should be able to roam to a better access point if current
AP is having congestion/packet error.

This roam also devise a new selection logic for candidate
selection which considers channel congestion and AP capabilities.

Change-Id: I39594e37bd209be2603a4636514e2c9b1a907761
CRs-Fixed: 1090934
2017-03-10 07:19:17 -08:00
qcabuildsw
db406a21b7 Release 5.2.0.14C
Release 5.2.0.14C

Change-Id: I6386e5bd5bf9d89aef5ce6148ddad011863d6057
CRs-Fixed: 688141
2017-03-10 06:40:56 -08:00
Mukul Sharma
9223f23020 qcacld-3.0: Pass suspend/resume ini params to PMO
Pass suspend/resume ini params to PMO.

Change-Id: I2997e101524355645f13eaf5726e57bfd5ccd2a1
Crs-Fixed: 2016634
2017-03-10 06:40:55 -08:00
qcabuildsw
c2755e74c5 Release 5.2.0.14B
Release 5.2.0.14B

Change-Id: I45a167148c335e64aa9b5664dccddd7192eeb462
CRs-Fixed: 688141
2017-03-10 05:55:10 -08:00
Abhishek Singh
a0b4dc18db qcacld-3.0: Fix PMF SAP not sending SA query for duplicate req
In case STA is in connected state, and the PMF SAP receive Assoc
request from the STA, the assoc request is silently dropped.
Instead the SAP should send assoc resp with comeback time and
start SA query.

Fix it by not dropping the duplicate assoc request frame for PMF
capable STA.

Change-Id: I812fb40541c93e7cac470b9154217844eac8a86d
CRs-Fixed: 2017250
2017-03-10 05:55:09 -08:00
qcabuildsw
0a0ffed76a Release 5.2.0.14A
Release 5.2.0.14A

Change-Id: I9e27f32a12b07b95c5b822a1f03fbea6336a8b90
CRs-Fixed: 688141
2017-03-10 05:14:13 -08:00