Wykres commitów

3394 Commity

Autor SHA1 Wiadomość Data
Rajeev Kumar
7842768ed6 qcacld-3.0: Modify HDD peer create API to return OS status
HDD APIs should return native OS return code hence modify
hdd_add_peer_object() to return native OS return code

Change-Id: I04d42dbeff6613b7c24bbf7e9316f986499a2f56
CRs-Fixed: 1111447
2017-01-18 16:30:15 -08:00
Rajeev Kumar
9591d2bd2d qcacld-3.0: Modify HDD vdev destroy API to return OS status
HDD APIs should return native OS return code hence modify
hdd_destroy_and_release_vdev() to return native OS return code

Change-Id: I114f40c64df9bdef7035af84971416991375fa4f
CRs-Fixed: 1111443
2017-01-18 16:30:13 -08:00
Rajeev Kumar
deabf3ee4b qcacld-3.0: Modify HDD vdev create API to return OS status
HDD APIs should return native OS return code hence modify
hdd_create_and_store_vdev() to return native OS return code

Change-Id: I67ce7b066e497f2b76bf27df83b8bad594f592d0
CRs-Fixed: 1111438
2017-01-18 16:30:11 -08:00
Rajeev Kumar
ecf87ff235 qcacld-3.0: Modify HDD pdev destroy API to return OS status
HDD APIs should return native OS return code hence modify
hdd_release_and_destroy_pdev() to return native OS return code

Change-Id: I61457272c297e5fdaf36b459e002b2143ecd4d89
CRs-Fixed: 1111433
2017-01-18 16:30:09 -08:00
Rajeev Kumar
f49dfdbfb2 qcacld-3.0: Modify HDD pdev create API to return OS status
HDD APIs should return native OS return code hence modify
hdd_create_and_store_pdev() to return native OS return code

Change-Id: I430e148f9892024daa176c1dc2e2c00235654e77
CRs-Fixed: 1111425
2017-01-18 16:30:07 -08:00
Rajeev Kumar
99e4cf680d qcacld-3.0: Modify HDD psoc destroy API to return OS status
HDD APIs should return native OS return code hence modify
hdd_release_and_destroy_psoc() to return native OS return code

Change-Id: I95c173cbd5004d4c9d18ea31d7ce65e9f30a4813
CRs-Fixed: 1111418
2017-01-18 16:30:05 -08:00
Rajeev Kumar
138ef91746 qcacld-3.0: Modify HDD psoc create API to return OS status
HDD APIs should return native OS return code hence modify
hdd_create_and_store_psoc() to return native OS return code.

Change-Id: Ibc5a4f4aa5b9074d6924a8c5303d3adbeb4c8308
CRs-Fixed: 1111408
2017-01-18 16:30:04 -08:00
qcabuildsw
0a19878496 Release 5.2.0.5Y
Release 5.2.0.5Y

Change-Id: Id2d277dbc33bf72c10b3cbf9811d70bbd6231469
CRs-Fixed: 688141
2017-01-18 15:50:59 -08:00
Rajeev Kumar
ea95edd926 qcacld-3.0: Remove obsolete CDS mq APIs reference from HDD
After control path scheduler componentization CDS message queue
APIs are no longer used hence replace CDS mq APIs in HDD by
scheduler mq APIs.

Change-Id: I378c3354a66552e9c796befcd39b461980b93b27
CRs-Fixed: 1110497
2017-01-18 15:50:57 -08:00
qcabuildsw
366507af23 Release 5.2.0.5X
Release 5.2.0.5X

Change-Id: Ibc8a4b3fb6dd4967cf0e3598e354a28cd27dcd03
CRs-Fixed: 688141
2017-01-18 15:15:46 -08:00
Rajeev Kumar
59e011b83f qcacld-3.0: Remove obsolete hdd object manager APIs prototypes
HDD object manager APIs are moved to wlan_hdd_object_manager.[ch].
Hence remove obsolete hdd object manager APIs prototypes from
wlan_hdd_main.h

Change-Id: I92e601defa73c65deb8a31c5f9aa498bafbe1297
CRs-Fixed: 1111317
2017-01-18 15:15:45 -08:00
qcabuildsw
aef5c9c96a Release 5.2.0.5W
Release 5.2.0.5W

Change-Id: I6c55c1aa860344ebe41bbb0c3e7f7778d1f58c2e
CRs-Fixed: 688141
2017-01-18 13:33:19 -08:00
Rajeev Kumar
9fdfbe06ee qcacld-3.0: Remove obsolete CDS message queue init/deinit APIs
After control path scheduler componentization CDS message queue
init/deinit APIs are no longer used hence remove them.

Change-Id: I65c14872bf20412eb1014deac0172f2bfacc0f0f
CRs-Fixed: 1111033
2017-01-18 13:33:18 -08:00
qcabuildsw
09ae2f3e64 Release 5.2.0.5V
Release 5.2.0.5V

Change-Id: I63f5c23501395a24f7ab737b9d0bb8afb0246ddd
CRs-Fixed: 688141
2017-01-17 16:29:52 -08:00
Sandeep Puligilla
985d1ee3ec qcacld-3.0: Update channel 144 macro name
Update the Channel 144 macro name to populate regulatory channel
information.

Change-Id: I878302c6bdabf093f4ab5858ff1bdb719f894764
CRs-Fixed: 1107600
2017-01-17 16:29:49 -08:00
qcabuildsw
b819b0ab33 Release 5.2.0.5U
Release 5.2.0.5U

Change-Id: If990b3c19816d81723cf83fe31e6dd96e8789441
CRs-Fixed: 688141
2017-01-17 13:12:41 -08:00
Naveen Rawat
b47287a0ad qcacld-3.0: Check if VDEV is valid before sending SET_IE to firmware
Check VDEV validity before sending WMI_VDEV_SET_IE_CMDID to firmware.

Change-Id: I3f6dfb69398df0c91097a3a0242343428c702029
CRs-Fixed: 1108037
2017-01-17 13:12:40 -08:00
qcabuildsw
70d643f931 Release 5.2.0.5T
Release 5.2.0.5T

Change-Id: If23548ea2d1d24e432ca3ee75ab7915c2e96744c
CRs-Fixed: 688141
2017-01-17 12:30:34 -08:00
Naveen Rawat
216605a441 qcacld-3.0: Do not upgrade SAP to 11AC for 5/10 MHz channel width
Do not upgrade SAP to 11AC due to gAP11ACOverride ini setting when
channel width is sub 20 MHz. Sub 20 MHz channel width operation is
not compatible with VHT rates.

Change-Id: I515cc60dbd3f76994f1288f9380618ee13ea1a23
CRs-Fixed: 1107601
2017-01-17 12:30:33 -08:00
qcabuildsw
6a730a428f Release 5.2.0.5S
Release 5.2.0.5S

Change-Id: I0ce9b0ab8008ab3367b24c9733859ef49e18596b
CRs-Fixed: 688141
2017-01-17 11:53:09 -08:00
Naveen Rawat
2165e3ddc7 qcacld-3.0: Fix NULL pointer dereference
Fix NULL pointer dereference.

Change-Id: If5032543798da87c83647899c1a0711ba924178a
CRs-Fixed: 1111041
2017-01-17 11:53:07 -08:00
Naveen Rawat
4f3983ec6d qcacld-3.0: NAN Datapath security changes
This is qcacld-2.0 to qcacld-3.0 propagation.

Implement NAN Datapath security changes. This mainly involves:
1) Getting CSID and PMK parameters from user layers and passing down
   to firmware.
2) Passing CSID and SCID parameter received from firmware to user layers.

Change-Id: I25c85944abf4206f40b73f86996e9425c22df66a
CRs-Fixed: 1095382
2017-01-17 11:53:06 -08:00
Naveen Rawat
0a01705bc6 qcacld-3.0: Remove channel parameter check from ndp request
Parameter channel is not a mandatory argument for NDP requerst.
1) Do not fail NDP request if channel parameter is not present.
2) Add channel config parameter in NDP_Initiator_Request, which
   indicates if channel provided is optional, force or not provided
   at all.

Change-Id: I4d8dc4b3104cfe36c4bb1fdd0d44da5c6406d6b7
CRs-Fixed: 1079900
2017-01-17 11:53:04 -08:00
qcabuildsw
d18cc9297e Release 5.2.0.5R
Release 5.2.0.5R

Change-Id: I4eb80663982c9a98b7704455872cd42af3a8dfb1
CRs-Fixed: 688141
2017-01-17 11:12:40 -08:00
Krunal Soni
4f585b8873 qcacld-3.0: Fix NULL pointer dereferencing error in HDD
Issue has been identified in wlan_hdd_cfg80211_start_bss API where it is
trying to access ssid pointer before validating against NULL
which may result in system crash.

CRs-Fixed: 1110969
Change-Id: Ib70b9ed3bf7745aecfc9b2b2030a5fcc11c113b6
2017-01-17 11:12:39 -08:00
Krunal Soni
a6e505bc7b qcacld-3.0: Fix compilation error and disable unit test framework
for policy manager component, unit test framework has been created.
this unit test framework can be enabled or disabled through Kbuild
flag. As policy manager is matured, unit test framework needs to
be disabled.

While disabling unit test framework, couple of compilation errors have
been observed. Fix those compilation errors.

Change-Id: I2a3ee57cc082e5ebc598f0aea2d05f31fb878732
CRs-Fixed: 1110876
2017-01-17 11:12:37 -08:00
qcabuildsw
09149165fc Release 5.2.0.5Q
Release 5.2.0.5Q

Change-Id: I391adb6a43a948747c15a0436e0421f58e889c42
CRs-Fixed: 688141
2017-01-17 04:54:38 -08:00
Nitesh Shah
b9d3dbb4ab qcacld-3.0: Decrement TDLS state count while association in LFR
In LFR, wlan_hdd_tdls_notify_disconnect() will decrement TDLS
state count and increment it again. Thus, while associating
with new BSS, the TDLS connection does not happen.

Fix is not to increment TDLS state count again while association
occurs in LFR.

Change-Id: I219252265f1fecea09e9e3383209d2328102cde1
CRs-Fixed: 1111816
2017-01-17 04:54:36 -08:00
Nitesh Shah
d11bfa2420 qcacld-3.0: Decrement TDLS state count while association in LFR
In LFR, there is no disconnection event, thus the TDLS state
count does not get decremented. Thus, while associating with
new BSS, the TDLS connection does not happen.

Fix is to decrement TDLS state count while association occurs
in LFR.

Change-Id: I1b90174b6bc25bb701ffc83a85453d8edd586738
CRs-Fixed: 1104369
2017-01-17 04:54:35 -08:00
qcabuildsw
ea983259ca Release 5.2.0.5P
Release 5.2.0.5P

Change-Id: I957e960aff9fabb7e6fb0880ffd84a1a0d2cae3a
CRs-Fixed: 688141
2017-01-17 00:40:23 -08:00
Poddar, Siddarth
b92c8ecf2e qcacld-3.0: Add TSO magic cookie and freelist flag to last tso element
Fix to add TSO magic cookie and freelist flag to last tso element during
ol_tso_seg_list_init() to avoid any crash during WIFI OFF.

CRs-Fixed: 1111760
Change-Id: I4504a7f4e9ecfe99337a4f544bc2d3cc8a8c3a27
2017-01-17 00:40:22 -08:00
Poddar, Siddarth
0b8c6c5c3a qcacld-3.0: Add cookie to tso seg structure to debug double mem free
Add a field in qdf_tso_seg_t. This cookie helps to check
double memory free or memory corruption case.
When double mem free hits, it will result into QDF_BUG.

Change-Id: I3c60f2603bce23b47224ae9a5d88881c2fbb8e01
CRs-Fixed: 1102423
2017-01-17 00:40:20 -08:00
qcabuildsw
487f4f9ef6 Release 5.2.0.5O
Release 5.2.0.5O

Change-Id: Id01bee7d3555e6bc16d5c5653605940ea14d281d
CRs-Fixed: 688141
2017-01-16 20:40:25 -08:00
Arif Hussain
2988e45d5c qcacld-3.0: Fix incorrect condition in sap_add_mac_to_acl function
Currently sap_add_mac_to_acl() function has incorrect validation check,
size of MacList will be always zero if no elements added to the list.

Validating size always be greater than zero will prevent adding first
element itself. There by breaking whole ACL functionality.

To fix this, remove ‘*size == 0’ condition in validation code.

Change-Id: Ic3e51db798a996870ef65cda0eddfd1ec738d290
CRs-Fixed: 1104152
2017-01-16 20:40:23 -08:00
qcabuildsw
48a4dc71bc Release 5.2.0.5N
Release 5.2.0.5N

Change-Id: I5edce1d296e9685b194b9cdd135e206d451c2409
CRs-Fixed: 688141
2017-01-16 19:57:02 -08:00
Sarada Prasanna Garnayak
c55b15b745 qcacld-3.0: Runtime PM packets tagging after wow suspend
qcacld-2.0 to qcacld-3.0 propagation.

Don't Tag Non-WoW packets as Runtime PM packets after
wow suspend. Some WMI Commands can be send in Runtime
PM context and MC thread context. Packets coming via
MC Thread Context can be tagged as Runtime PM packets
when runtime pm in progress.

Packets should be tagged in the same caller context to
avoid any race condition. Being stability issue, addressing
this issue by not tagging any non-wow commands as runtime pm
after wow suspend. This will ensure all the non-wow packets
coming after wow_suspend flag is set as non runtime pm packets
and will trigger a runtime resume.

Git-commit: 4a396d80c5cc2ded75098c61426521b9b2762c17
Git-commit: 2ee4bf4791cc5db30ec03eceaf591367deffe39a

CRs-Fixed: 1106513
Change-Id: Ic83fedd645a86d48feecf54c407bb46a9afda24b
2017-01-16 19:57:01 -08:00
qcabuildsw
b27e116c6f Release 5.2.0.5M
Release 5.2.0.5M

Change-Id: Id5ebbef139f40b1ca36239bd5ec51bb08c1c19be
CRs-Fixed: 688141
2017-01-16 17:38:20 -08:00
Naveen Rawat
3afe3c9492 qcacld-3.0: Remove obsolete rrm code
Remove obsolete rrm functions that are not being used.

Change-Id: I718009cad4f3f5fc9c060753940b61a071432013
CRs-Fixed: 1073378
2017-01-16 17:38:19 -08:00
qcabuildsw
6ee7e52a62 Release 5.2.0.5L
Release 5.2.0.5L

Change-Id: I5ff37995022e8ac78027f0c77560cf587f0c4e5b
CRs-Fixed: 688141
2017-01-16 13:36:29 -08:00
Rajeev Kumar
d31e154df3 qcacld-3.0: Return native os error code from hdd connect api
If hdd connect api fails it returns QDF status to supplicant.
Supplicant does not like positive error code and expects mode
data from driver and in absence of more data from driver it
triggers driver unload.

Add fix to convert qdf status to native os status before returning
error code to user space.

Change-Id: I375189bcf6b2974901b29a38cf33d0f0f2319a1b
CRs-Fixed: 1111393
2017-01-16 13:36:27 -08:00
qcabuildsw
559cf77f8d Release 5.2.0.5K
Release 5.2.0.5K

Change-Id: I91a0006650dac3b92097698c79e44cfdb4f64994
CRs-Fixed: 688141
2017-01-16 12:15:47 -08:00
Agrawal, Ashish
9f84c40158 qcacld-3.0: Update unsafe channel list for sta based on SAP operating band
qcacld-2.0 to qcacld-3.0 propagation

If SAP band is 2.4Ghz, driver will allow 5Ghz unsafe channels
in station scan list for connection / roaming.
And if SAP band is 5Ghz, We will allow 2.4Ghz unsafe channels
in station scan list for connection / roaming.

Change-Id: Ia204e5cabb6d8b87def90e42d4192afd5878e6fe
CRs-Fixed: 1062202
2017-01-16 12:15:45 -08:00
qcabuildsw
42ea7477f0 Release 5.2.0.5J
Release 5.2.0.5J

Change-Id: I2ad5fe2408837adda781c14174caa08f625a0e61
CRs-Fixed: 688141
2017-01-16 11:31:09 -08:00
yeshwanth sriram guntuka
310b3ac34c qcacld-3.0: Add support for vendor abort scan
Add vendor abort scan which takes adapter and scan
id as input. Supplicant may abort a scan if a
preferred AP or P2P peer device is found.

Change-Id: Ia9cbf4bb38d2111b1fcf42a1e1f51d1049f5a9ab
CRs-Fixed: 1090800
2017-01-16 11:31:07 -08:00
qcabuildsw
a9589d303e Release 5.2.0.5I
Release 5.2.0.5I

Change-Id: I1d3be129dcece26d40a1f8ba1796a8e34c7fd26b
CRs-Fixed: 688141
2017-01-16 10:52:51 -08:00
Selvaraj, Sridhar
d753e7cfe7 qcacld-3.0: Return error status to user space if set fast roam fails
Currently, when the set fast roam from user space fails in HDD, host
driver is not returning failure status. This causes timeout in user
space awaiting more data from driver eventually leading to supplicant
driver connection loss and wifi disabling and re-enabling.

Return failure status when the set fast roam command fails in HDD.

Change-Id: Id53d9fe0a2fb18fc4da4f174f6f031350dc20af2
CRs-Fixed: 1111083
2017-01-16 10:52:50 -08:00
qcabuildsw
429bb9c1cc Release 5.2.0.5H
Release 5.2.0.5H

Change-Id: I12929a98fff94a6e2c4aa3f8962d515bcd64017b
CRs-Fixed: 688141
2017-01-15 18:13:57 -08:00
Sandeep Puligilla
4d976b6d07 qcacld-3.0: Cancel host roaming during del session
-Disconnect triggered due to deauth from peer, at
 the Same instance supplicant also triggered change iface
 which initiated stop adapter.
-Disconnect triggered host based lost link scan and .
 Stop adapter triggered vdev delete.
-VDEV delete is sent before Scan request which triggered
assert at firmware.

Cancel all the host based roaming scans as part of sme
close session handling.

Change-Id: I350b840264751615779bc20dad96723c8bf41b76
CRs-Fixed: 1107525
2017-01-15 18:13:56 -08:00
qcabuildsw
eb5f405e8c Release 5.2.0.5G
Release 5.2.0.5G

Change-Id: I53c2c199c3e40fcb6c0e44255e8b65655acc493d
CRs-Fixed: 688141
2017-01-14 13:17:26 -08:00
Manjeet Singh
bcd1cfd83b qcacld-3.0: Change gThermalMitigationEnable default value to 0
gThermalMitigationEnable=0 could be deleted in WCNSS_qcom_cfg.ini,
this leads gThermalMitigationEnable enable since it is enabled
by default in the code.

Change gThermalMitigationEnable default value to 0 in code.

CRs-Fixed: 1110072
Change-Id: Id02d51a4f7cb983d43d7adaa9055e82fc51c8f2f
2017-01-14 13:17:25 -08:00