Commit Graph

4375 Commits

Author SHA1 Message Date
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
Yu Wang
1f69b14c04 qcacld-3.0: correct dependency for QCA_CONFIG_SMP
QCA_CONFIG_SMP should only depend on CONFIG_SMP
Remove other incorrect dependencies.

Change-Id: I6eeba9e98bd7b3cfcce8457f0385da155c6a6e71
CRs-Fixed: 2017603
2017-03-13 00:37:05 -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
bings
7762da1a12 qcacld-3.0: Enable missed WLAN macro definitions on sdxhedgehog platform
qcacld-2.0 to qcacld-3.0 propagation

Some WLAN driver feature enabling macros are missing on sdxhedgehog
platform, enabling them in Kbuild file to make sure the driver's
behaviors are the same as on mdm9x50

Change-Id: I018e98dea60c7c73ad119394a1016ef592c6552a
CRs-Fixed: 2014423
2017-03-10 20:27:05 -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
Kapil Gupta
e92d91f8df qcacld-3.0: Fix invalid memory access issue in wma_tx_packet
tpSirMacFrameCtl points to tx_frame however after deletion of
tx_packet, tpSirMacFrameCtl pointer is not updated which is
causing invalid memory access.

Add changes to update tpSirMacFrameCtl once tx_frame got deleted.

Change-Id: Ifb10899f0a518a935641af88a7ef45b0a6fd293c
CRs-Fixed: 1103839
2017-03-10 05:14:12 -08:00
qcabuildsw
b8d28efcc1 Release 5.2.0.14
Release 5.2.0.14

Change-Id: I01085a0a5ef1567f1b615f4d8f335d0cf73bc345
CRs-Fixed: 688141
2017-03-10 03:06:20 -08:00
yeshwanth sriram guntuka
a1ba9a2bfc qcacld-3.0: Downgrade WMM AC for data frames for invalid tspec
As per the current implementation wmmAcTspecValid is reset during roaming
and set after establishing TSpec but currently wmmAcTspecValid is not
considered before classifying the data frames based on AC and UP.
Due to above issue after roaming we are still sending packets with UP
for which tspec session is not established.

Fix above issue by checking wmmAcTspecValid for AC before
classifying the frame.

Change-Id: I37039fa568696f0861b02d094c3a513dbc2b9967
CRs-Fixed: 915555
2017-03-10 03:06:19 -08:00
qcabuildsw
98fc74c3a7 Release 5.2.0.13Z
Release 5.2.0.13Z

Change-Id: Icf9040a03cad270720f31de8009c7c60e060302e
CRs-Fixed: 688141
2017-03-10 01:36:35 -08:00
yeshwanth sriram guntuka
92fefea5ed qcacld-3.0: Fix rate population on channel change of SAP
On channel change of SAP to 5G, SAP is populating 2.4G basic
rates in 5G beacon.

Set number of supported and extended rates to zero for populating
rates based on network type. CSR layer will pick default rates if
hostapd rates are passed as zero

Change-Id: Ia393f7b6067f31dc8f792cda2bd74c441c2112e6
CRs-Fixed: 1105867
2017-03-10 01:36:34 -08:00
qcabuildsw
9c73a1a4f9 Release 5.2.0.13Y
Release 5.2.0.13Y

Change-Id: Iccd26258abbf18da0eedef059c6afab42300634e
CRs-Fixed: 688141
2017-03-10 00:38:51 -08:00
Sarada Prasanna Garnayak
f21c296946 qcacld-3.0: Fix the 64-bit division linking error on 32bit arch
The 64-bit division in 32-bit architecture call 64-bit-by-64-bit
division routines "__aeabi_uldivmod", which is not defined for
the 32-bit architecture.

Use do_div asm-generic library api for division operation to avoid
the arch specific division "undefined symbol:  __aeabi_uldivmod"
linking error during wlan driver load on 32-bit target.

CRs-Fixed: 2014971
Change-Id: I43253d1eb9f726ac0a96d21f4511a5a282c7bb2d
2017-03-10 00:38:50 -08:00
qcabuildsw
71f71222ba Release 5.2.0.13X
Release 5.2.0.13X

Change-Id: I2f3203defbfa26c56dd2001adec53255f9d1d0fe
CRs-Fixed: 688141
2017-03-09 23:58:30 -08:00
Selvaraj, Sridhar
1ffa0ec5d7 qcacld-3.0: Add complete wlan_start_comp at hdd_wlan_startup
As part of I707054c44a882f6dd4a4a9df2b6821b93b724f7a, completion
of wlan_start_comp variable is removed at hdd_wlan_startup,
that leads to timeout crash waiting for driver registration.

Add complete wlan_start_comp at hdd_wlan_startup.

Change-Id: I2e80465cd1ec66b9330b8f6e9b11fd14076035eb
CRs-Fixed: 2017668
2017-03-10 10:07:41 +05:30
qcabuildsw
ed7978440f Release 5.2.0.13W
Release 5.2.0.13W

Change-Id: Ie7ed637a2ee793586d577a8bf96ca40c1d221ec1
CRs-Fixed: 688141
2017-03-09 17:09:32 -08:00
Kiran Kumar Lokere
7006e0ad76 qcacld-3.0: Disable Qpower with UAPSD or max ps-poll enabled
Disable Qpower when UAPSD is enabled or if the max ps poll is
configured by user.

Change-Id: If9c747406d65a6f89fa123592c3f9d79724b8ae0
CRs-Fixed: 2017432
2017-03-09 17:09:31 -08:00
qcabuildsw
95e9b7552b Release 5.2.0.13V
Release 5.2.0.13V

Change-Id: Idffd1f2791e38ba3b52de9b498211c9053426645
CRs-Fixed: 688141
2017-03-09 13:05:58 -08:00
Naveen Rawat
443f5cda75 qcacld-3.0: Remove eSmeCommandOemDataReq
Remove OEM DATA REQ serialization enum, since wifi positioning
component does not use command serialization.

Change-Id: I16cb21a9ea6b4610dbde4ab51a6cec7542a7e0c0
CRs-Fixed: 2003488
2017-03-09 13:05:56 -08:00
qcabuildsw
f05cc09433 Release 5.2.0.13U
Release 5.2.0.13U

Change-Id: Ifaf64306eb72bfe4133bd9258037a8c613b92108
CRs-Fixed: 688141
2017-03-09 12:26:14 -08:00