Gráfico de commits

3508 Commits

Autor SHA1 Mensagem Data
Nitesh Shah
d1266d7e62 qcacld-3.0: Initialize tdls global context variables after SSR
After SSR is done all the tdls global context variables are
not initialized in wlan_hdd_tdls_init() that can create
problem in TDLS.

Fix is to initialize tdls global context variables after SSR.

Change-Id: I6e777d4d61876ea85300e587c5d720e89bad3431
CRs-Fixed: 1116756
2017-01-29 22:24:14 -08:00
qcabuildsw
ccf84fc83e Release 5.2.0.7P
Release 5.2.0.7P

Change-Id: I8d053fa2997567080602cc3f9a749a5dbbe51bcc
CRs-Fixed: 688141
2017-01-28 04:50:21 -08:00
Arif Hussain
c6aa1ceb94 qcacld-3.0: Set CSN value in assoc request based on peer’s CSN value
Instead of using CSN value based on peer’s numSoundingDim, check peer’s
CSN value to make sure CSN value in assoc request should not be greater
than the peer CSN value.

Change-Id: I1456fbeb3ab1ef294d16b8383a5a094ca68d09c2
CRs-Fixed: 1116537
2017-01-28 04:50:20 -08:00
qcabuildsw
52b4459710 Release 5.2.0.7O
Release 5.2.0.7O

Change-Id: I65ca11d4a2b5478d9ca438cce3f3b1085756bef4
CRs-Fixed: 688141
2017-01-27 12:02:14 -08:00
Arif Hussain
4d43b9b9a6 qcacld-3.0: DFS CAC duration fix for emulation platform
For emulation platform, timer value multiplied by  100,
Set the CAC value accordingly, to get timer expire after
intended duration.

Change-Id: Ia99ee6f36b88bca3c297fc06d1f3b777a2114d14
CRs-Fixed: 1114332
2017-01-27 12:02:13 -08:00
qcabuildsw
e090f85797 Release 5.2.0.7N
Release 5.2.0.7N

Change-Id: I3d0bcae797dec4b95f8dd701a2933f474fbb0e9a
CRs-Fixed: 688141
2017-01-27 04:51:44 -08:00
Himanshu Agarwal
795b7f756c qcacld-3.0: Inline funcs for mgmt_txrx southbound API's
Use inline functions to access mgmt_txrx southbound API's.
This will remove the need to invoke these directly from the
structures.

Change-Id: I50f71261618fd6812265738597bd6f2968cef692
CRs-Fixed: 1110551
2017-01-27 04:51:43 -08:00
qcabuildsw
552bc1a02f Release 5.2.0.7M
Release 5.2.0.7M

Change-Id: Iac798297923d0f370a064ce21fcb395c4eda7c1d
CRs-Fixed: 688141
2017-01-27 01:59:48 -08:00
Poddar, Siddarth
3f1fb13bc6 qcacld-3.0: TSO MAP-UNMAP individual segments one by one
Add support to unmap tso segment when host receives
ol_tx_comletion_handler for a particular tso segment.
Host unmap all the fragments of corresponding tso segment
except 0th fragment.
0th fragment of each tso segment now points to EIT header
which is common across all the segments. So 0th fragment cannot
be unmapped until host receives tx completion for last tso segment.
Also, now with introduction of tso, skb map-unmap is not required
anymore for tcp packets as host anyway does map-unmap of each
tso segment before sending it.

CRs-Fixed: 1106688
Change-Id: I572c7dcd2d29cb19b398e13e0fe7ce6f88ee1641
2017-01-27 01:59:47 -08:00
qcabuildsw
4074fa3fd1 Release 5.2.0.7L
Release 5.2.0.7L

Change-Id: I1a9a679e0a04ed01df7c217ed069d2b9099957e5
CRs-Fixed: 688141
2017-01-26 14:39:20 -08:00
Yue Ma
52d355c480 qcacld-3.0: Use dev_pm_ops in PLD if there is no CNSS platform driver
Use dev_pm_ops for suspend/resume/suspend_noirq/resume_noirq ops in PLD
if there is no CNSS platform driver when using PCI bus.

Change-Id: Ib656cee2cd48cf15028397084ec8679627bce459
CRs-fixed: 1115528
2017-01-26 14:39:19 -08:00
qcabuildsw
285968f999 Release 5.2.0.7K
Release 5.2.0.7K

Change-Id: I5c65f06fc03752298926ff768ad513a7cc3c9915
CRs-Fixed: 688141
2017-01-26 10:51:09 -08:00
Jeff Johnson
8eaff30809 qcacld-3.0: Deinterleave the RSSI and SNR callbacks
Currently the RSSI and SNR callback functions are interleaved with
respect to the calling functions. The order in which the functions
currently appear in wlan_hdd_wext.c is:
	hdd_get_rssi_cb()
	hdd_get_snr_cb()
	wlan_hdd_get_rssi()
	wlan_hdd_get_snr()

Since each callback function is tightly coupled with its calling
function, it makes sense for the callback function to be contiguous
with the calling function in the code. Therefore change to order to:
	hdd_get_rssi_cb()
	wlan_hdd_get_rssi()
	hdd_get_snr_cb()
	wlan_hdd_get_snr()

Change-Id: I19078175049fc1a38716387df57f4e643dbbbd62
CRs-Fixed: 1116166
2017-01-26 10:51:08 -08:00
qcabuildsw
05bbbbb2d8 Release 5.2.0.7J
Release 5.2.0.7J

Change-Id: I2ecd07dd1ebc5554001402e9e8b190d073360c6f
CRs-Fixed: 688141
2017-01-26 01:09:53 -08:00
Sreelakshmi Konamki
0a942d4f66 qcacld-3.0: Update TSPEC IEs to CSR if TSPEC IE present in reassoc rsp
Currently TSPEC IEs are not updated to CSR when reassoc response included
TSPEC IEs. In LFR3 CCX roaming, CSR doesnt get TSPEC IE data as reassoc rsp
doesnt include RIC data.
Del TSPEC is not being processed properly at CSR level as it doesnt have
any TSPEC information.

Add changes to update TSPEC IEs and length to CSR after successful
CCX roaming.

Change-Id: I0e024c8264cb2e06042d517824245db1f1d09aea
CRs-Fixed: 1108440
2017-01-26 01:09:52 -08:00
Padma, Santhosh Kumar
31bac74c81 qcacld-3.0: Send scan results to kernel as and when driver receives
Currently scan results are first cached in SME and then they are
updated to kernel using results in SME cache. This may result in
updation of stale entries to kernel. Fix this by sending scan results
to kernel as and when driver receives them.

Also, add changes to send ext scan results to kernel.

Change-Id: I18f4b36cf3a9fc2e191352c868f69d797eb0a786
CRs-Fixed: 1098411
2017-01-26 01:09:50 -08:00
qcabuildsw
be22d10f2f Release 5.2.0.7I
Release 5.2.0.7I

Change-Id: I8ae55fc5fcc5bca47d189e4c0fc7ee73962e0dc4
CRs-Fixed: 688141
2017-01-26 00:21:59 -08:00
Arunk Khandavalli
b0b940bc19 qcacld-3.0: Increase the interface change timeout to 100sec
Presently interface change timer is 5seconds, during stress and high
cpu workload scenarios 5sec time may not be enough for user space to
bring-up WLAN after driver load.
Hence, increasing the timer value to 100sec.

Change-Id: I01b2a82fcf6841bfddfe473332701068b93d855c
CRs-Fixed: 1113583
2017-01-26 00:21:58 -08:00
qcabuildsw
b6e77cc461 Release 5.2.0.7H
Release 5.2.0.7H

Change-Id: I8a6c3d967482e7e4071781592de68c2faa70a34f
CRs-Fixed: 688141
2017-01-25 18:33:11 -08:00
Mahesh Kumar Kalikot Veetil
319dbcde3d qcacld-3.0: Initialize debugfs support in QDF
Invoke QDF debugfs API from CDS to initialize and cleanup.

Change-Id: I8b67f46e94b08babee04102d65b7803e4db1da00
CRs-Fixed: 1083792
2017-01-25 18:33:10 -08:00
Houston Hoffman
9e06e54d26 qcacld-3.0: Do mem_init before calling qdf_spinlock_create
Doing mem_init first allows other qdf_features to allocate
memory for profiling and tracking using the qdf_mem_alloc
apis.

Change-Id: Id4f830a83a745763058ff2f05138b80558fe1d1f
CRs-Fixed: 1100552
2017-01-25 18:33:08 -08:00
qcabuildsw
efb9ae1104 Release 5.2.0.7G
Release 5.2.0.7G

Change-Id: I3c546b9d82e9db06189485a23d02c81b9ff90f8f
CRs-Fixed: 688141
2017-01-25 17:51:50 -08:00
bings
373b99b95b qcacld-3.0: Fix dead loop in hdd_get_sap_operating_channel
qcacld-2.0 to qcacld-3.0 propagation

In the while loop of hdd_get_sap_operating_channel,
sap_operating_band should be revalued, otherwise it causes
dead loop.

Change-Id: I9cb1ae738066567d032f99621ffe04d3beb74b8c
CRs-Fixed: 1094604
2017-01-25 17:51:48 -08:00
qcabuildsw
da367fc02c Release 5.2.0.7F
Release 5.2.0.7F

Change-Id: I08c9ddeda12bbfffd5b7d8e900180b47757736fc
CRs-Fixed: 688141
2017-01-25 17:14:47 -08:00
bings
394afddedf qcacld-3.0: Do not set ACS flag if no ACS to be done
qcacld-2.0 to qcacld-3.0 propagation

wlan_hdd_cfg80211_change_iface will abort if ACS_IN_PROGRESS
is set, which causes iface type mismatch between hostapd and
driver.

When force SCC if same band is enabled, driver will not do ACS
for the second AP. So do not set ACS_IN_PROGRESS if no ACS to
be done.

Change-Id: I2c975c89dc1cf0d11980ad11c8d0d256c680594d
CRs-Fixed: 1105386
2017-01-25 17:14:46 -08:00
qcabuildsw
d85b848e26 Release 5.2.0.7E
Release 5.2.0.7E

Change-Id: I44c94e5059ae8fff5ad9b42a1e16f2e25a80e750
CRs-Fixed: 688141
2017-01-25 16:21:33 -08:00
Dustin Brown
e9c6b3a24b qcacld-3.0: Avoid large stack allocation in getPhyMode ioctl
The getPhyMode ioctl allocates a large struct on the stack. This is
problematic for a number of reasons, and can cause compilation errors.
Migrate the allocation to the heap instead.

Change-Id: I7a1df6bbc89dd169d11a541f1ebcded6136792e9
CRs-Fixed: 1114990
2017-01-25 16:21:32 -08:00
qcabuildsw
b4f978ad57 Release 5.2.0.7D
Release 5.2.0.7D

Change-Id: I9ad09a7aa29b0f408f3c92c2386d2d011f094654
CRs-Fixed: 688141
2017-01-25 10:06:03 -08:00
Yue Ma
e42c8453ee qcacld-3.0: Register suspend_noirq/resume_noirq to kernel
Register suspend_noirq/resume_noirq callbacks to kernel. It will
make sure no wake up is pending from firmware and if initial wake
up is received then failing it should trigger resume.

Change-Id: I1882011cab7365a026827a60c44375f0f1dc6102
2017-01-25 10:06:02 -08:00
qcabuildsw
fd910796f7 Release 5.2.0.7C
Release 5.2.0.7C

Change-Id: I7f10f3f13abe9fcd74415ed93947fc6b50441ed0
CRs-Fixed: 688141
2017-01-25 08:17:24 -08:00
Poddar, Siddarth
8e3ee2d56e qcacld-3.0: Reduce the threshold of drop in the intra-bss forwarding path
In case of intra-bss forwarding, tx-path consumes all the tx descriptors
and pause netif queues. As a result, there would be some left for stack
triggered packets such as ARP packets which leads to ref STA disconnection.
To avoid this, reserved a pool of descriptors(OL_TX_NON_FWD_RESERVE = 100)
for high priority packets such as ARP/EAPOL etc and drop the packets
to be forwarded in host itself.

CRs-Fixed: 1095203
Change-Id: I7d473118ef3d986f79aa5b7a47286235d7adcab4
2017-01-25 08:17:23 -08:00
qcabuildsw
38e0adc46d Release 5.2.0.7B
Release 5.2.0.7B

Change-Id: I56ac05daf0a0da39ae282eff3f50bee8ab059970
CRs-Fixed: 688141
2017-01-24 19:33:11 -08:00
Arunk Khandavalli
0dd8c01127 qcacld-3.0: Do not invoke the kernel registered function from driver
Netdev-ops/cfg80211-ops are registered to the kernel and should
be invoked only by the kernel in the context of the user.
In this scenario during SSR as part of cfg80211_stop_ap for p2p_go
the driver is directly invoking hdd_hostapd_stop(netdev ops) which
clears the DEVICE_OPENED flag, which should be done only if the
INTERFACE_DOWN is triggered by the kernel. To resolve this
directly stop the queues rather than using the netdev ops.

Change-Id: I1d9349a2c52fe8de17313bdced494ccd5bc9d641
CRs-Fixed: 1114722
2017-01-24 19:33:10 -08:00
qcabuildsw
17eab830e9 Release 5.2.0.7A
Release 5.2.0.7A

Change-Id: I1ca3fd54cadd58fadfdf78a80b02634b3e0b6190
CRs-Fixed: 688141
2017-01-23 14:36:09 -08:00
Yuanyuan Liu
10fc3d328d qcacld-3.0: Switch to new recovery APIs
Swith to new recovery APIs with dev instance and recovery reason.
As recovery could have different mode and be target specific.

Change-Id: I26a1a2a0d23a687a5babcaf4ba4e5c6e788fedac
2017-01-23 14:36:08 -08:00
qcabuildsw
a63c78b5f6 Release 5.2.0.7
Release 5.2.0.7

Change-Id: Ibca1f9f4a0d41f0f39ea103dcea577181545e375
CRs-Fixed: 688141
2017-01-23 13:06:46 -08:00
Rajeev Kumar
feb96388e1 qcacld-3.0: Fix 80 columns issue introduced in tSirMsgQ clean up
Fix code exceeding 80 columns introduced after replacing tSirMsgQ
message types in mac with converged scheduler apis.

Change-Id: I8fe87318fd913d6fa8dbabdb7ebfaa96fd57d959
CRs-Fixed: 1114457
2017-01-23 13:06:45 -08:00
Rajeev Kumar
156188e64e qcacld-3.0: Remove redundant type casts for scheduler msg
Complete cld driver is using common scheduler message queue APIs
hence remove redundant type casts associated with scheduler message
queue structures and APIs.

Change-Id: Ia5d6208cc365acd94f20bbc7cadc0e22be6fbd01
CRs-Fixed: 1114379
2017-01-23 13:06:18 -08:00
Rajeev Kumar
416b73f3d0 qcacld-3.0: Remove duplicate tSirMsgQ structure from MAC module
After control path scheduler componentization every legacy module
is supposed to use common converged scheduler message types and APIs.
Remove duplicate tSirMsgQ message types in mac and use converged scheduler
message queue APIs.

Change-Id: If47df18043f8127a20a72562bf45afe37dabca72
CRs-Fixed: 1114378
2017-01-23 13:06:16 -08:00
Rajeev Kumar
229f1d3cc0 qcacld-3.0: Remove obsolete CDS mq APIs reference from CDS module
After control path scheduler componentization CDS message queue
APIs are no longer used hence remove obsolete CDS mq APIs from CDS
module.

Change-Id: I7d83783d9fd126bb8b17a5c3292eac91c0966280
CRs-Fixed: 1114375
2017-01-23 13:06:14 -08:00
Rajeev Kumar
15cf7ab108 qcacld-3.0: Remove obsolete CDS mq APIs reference from utils module
After control path scheduler componentization CDS message queue
APIs are no longer used hence replace CDS mq APIs in utils module
by scheduler mq APIs.

Change-Id: I3f02eda08586fb6a41616de076d1acfee4a1cf68
CRs-Fixed: 1114374
2017-01-23 13:06:12 -08:00
Rajeev Kumar
f7d844213d qcacld-3.0: Remove obsolete CDS mq APIs reference from MAC module
After control path scheduler componentization CDS message queue
APIs are no longer used hence replace CDS mq APIs in MAC module
by scheduler mq APIs.

Change-Id: Ic977fc81ac3902e1fdc7eeca10ed8000fc1b8bc6
CRs-Fixed: 1114373
2017-01-23 13:06:11 -08:00
Rajeev Kumar
b60abe47ab qcacld-3.0: Remove obsolete CDS mq APIs reference from WMA module
After control path scheduler componentization CDS message queue
APIs are no longer used hence replace CDS mq APIs in WMA module
by scheduler mq APIs.

Change-Id: I57e878480eff8998a307bbacf3e480b8b77b9f3a
CRs-Fixed: 1114371
2017-01-23 13:06:09 -08:00
qcabuildsw
be5e2a8495 Release 5.2.0.6Z
Release 5.2.0.6Z

Change-Id: I1a99a4061ce446264cd0bc45a667502c7d2d8975
CRs-Fixed: 688141
2017-01-23 11:21:01 -08:00
Yuanyuan Liu
06a342ffdb qcacld-3.0: Implement update_status driver callback
Implement update_status driver callback, which will be called
when platform driver wants to update wlan driver status.

CRs-Fixed: 1111424
Change-Id: I0c4a20119e383d00e2dbd395159351572b956566
2017-01-23 11:21:00 -08:00
qcabuildsw
c92f5b10d4 Release 5.2.0.6Y
Release 5.2.0.6Y

Change-Id: Ib6be5b9aacf6c7d5aa3ffbbeed6adf2982d2a839
CRs-Fixed: 688141
2017-01-23 10:53:10 -08:00
Rakesh Sunki
d92d1089f2 qcacld-3.0: Fix NDP non-auto responder mode
propagation from qcacld-2.0 to qcacld-3.0

In NDP non-auto responder mode, peer create happens despite
the response request status is indicated as failure from the
framework as the status of the NDP responder request is not
saved in the protocol engine. So, later when host receives
responder response from the firmware, host does not check
responder request status before sending peer create request.

Fix by sending ndp peer create request only if the firware request
a peer create by setting a flag in responder response message. This
way host does not need to save the responder request success/failure
status per NAN service. Firmware sets the peer create flag to true
only if the status flag in the responder request was indicated as
success.

Change-Id: I4fc8429e71a10829726990cf218720f6f99b085c
CRs-Fixed: 1086217
2017-01-23 10:53:09 -08:00
qcabuildsw
061079d6c4 Release 5.2.0.6X
Release 5.2.0.6X

Change-Id: I7a889e3a84a2cf3a8e3bbeb8607898fe78fdd78f
CRs-Fixed: 688141
2017-01-23 10:21:47 -08:00
Dustin Brown
0cbc7574e8 qcacld-3.0: Port Dynamic MC/BC Filter ioctls from qcacld-2.0
Port the dynamic MC/BC filter configuration ioctls from qcacld-2.0 to
qcacld-3.0

Change-Id: Ie2fd9e519ac62ea77b149fd5dcf400d9b30621ad
CRs-Fixed: 1102502
2017-01-23 10:21:46 -08:00
qcabuildsw
a74d21194d Release 5.2.0.6W
Release 5.2.0.6W

Change-Id: I32e9c424eefda699fe0e0c6c94bfa5e57c416ac3
CRs-Fixed: 688141
2017-01-23 07:58:18 -08:00