Commit Graph

2492 Commits

Author SHA1 Message Date
Srinivas Girigowda
59ff755f86 qcacld-3.0: Validate session Id in sme_QosInternalReleaseReq
This is a qcacld-2.0 to qcacld-3.0 propagation.

Validate session Id in sme_QosInternalReleaseReq.

Change-Id: Id3ad752fe3e4c6f6fec18febb1c839003bef3df0
CRs-Fixed: 1013359
2016-10-12 20:31:49 -07:00
qcabuildsw
41f0429860 Release 5.1.0.30R
Release 5.1.0.30R

Change-Id: Ibdd57ff3fecd9ee040c7f5ca73f70afc4e31b0c1
CRs-Fixed: 688141
2016-10-12 17:45:02 -07:00
Prashanth Bhatta
ab00438c68 qcacld-3.0: Stop bus BW timer during recovery
During recovery, bus bandwidth (BW) compute timer may fire and
cause stability issues. Destroy the bus bandwidth timer during
shutdown and initialize during re-init.

Change-Id: I20d52f028e61e81bdda5004e30f1c143ef4d5f23
CRs-fixed: 1075655
2016-10-12 17:45:01 -07:00
Prashanth Bhatta
2ac92bda55 qcacld-3.0: Stop MC thread during recovery
As part of Dynamic Mode change, optimization is added to not to
stop the MC thread but just to flush the message queues but that
doesn't help in case of recovery where in MC thread is the one
which needs to be stopped first so that lower layers doesn't try
to post any messages and try to process them while firmware
doesn't exist. Processing such messages may cause stability
issues.
Stop the MC thread as part of recovery and bring-up thread again
during re-init.

Change-Id: Ie1cfbfa74f6b3e849361f2213a9d29f277aa09cc
CRs-fixed: 1075224
2016-10-12 17:44:59 -07:00
qcabuildsw
844498997f Release 5.1.0.30Q
Release 5.1.0.30Q

Change-Id: I7c7d2683e51eed645fd66681c25e3d68be1b769e
CRs-Fixed: 688141
2016-10-12 11:52:02 -07:00
Jeff Johnson
7240dd9e5e qcacld-3.0: Fix -Wmissing-prototypes in csr_tdls_process
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in csr_tdls_process.

Change-Id: I9b573e4bb3ee26678b77faae537a4968a7921db2
CRs-Fixed: 1075575
2016-10-12 11:52:01 -07:00
Jeff Johnson
c91a4fc47e qcacld-3.0: Fix -Wmissing-prototypes in csr_link_list
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in csr_link_list.

Change-Id: Iac3b07372d0bb3d949eb7f6dc3dd6b9c084619d2
CRs-Fixed: 1075575
2016-10-12 11:52:00 -07:00
Jeff Johnson
2249644ff1 qcacld-3.0: Fix -Wmissing-prototypes in lim_utils
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_utils.

Change-Id: I401597018b30acb6bb8675c7a2d03e2157b1318a
CRs-Fixed: 1075090
2016-10-12 11:51:58 -07:00
Jeff Johnson
5fc5176372 qcacld-3.0: Fix -Wmissing-prototypes in lim_sme_req_utils
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_sme_req_utils.

Change-Id: I7b0404a3ca41aa038b9e7db313eb1aadb6b92517
CRs-Fixed: 1075090
2016-10-12 11:51:56 -07:00
Jeff Johnson
9769900bfe qcacld-3.0: Fix -Wmissing-prototypes in lim_session
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_session.

Change-Id: Ied228b11bd6484ee96fa2db827cb675669e78487
CRs-Fixed: 1075090
2016-10-12 11:51:55 -07:00
Jeff Johnson
6db011e5c4 qcacld-3.0: Fix -Wmissing-prototypes in lim_send_sme_rsp_messages
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_send_sme_rsp_messages.

Change-Id: I5f97e655d54f06f752d8e83298250ce80e5369e0
CRs-Fixed: 1075090
2016-10-12 11:51:50 -07:00
Jeff Johnson
38112a38e2 qcacld-3.0: Fix -Wmissing-prototypes in lim_send_management_frames
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_send_management_frames.

Change-Id: I7d615fb0837ad427a14764ef8aecbe5c0f64d952
CRs-Fixed: 1075090
2016-10-12 11:51:48 -07:00
Jeff Johnson
1e259fa46b qcacld-3.0: Fix -Wmissing-prototypes in lim_process_probe_rsp_frame
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_probe_rsp_frame.

Change-Id: I0916219f8560c6e78d475cf94e6f048557d54384
CRs-Fixed: 1075090
2016-10-12 11:51:47 -07:00
Jeff Johnson
662ba06e20 qcacld-3.0: Fix -Wmissing-prototypes in lim_process_probe_req_frame
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_probe_req_frame.

Change-Id: I8d253570f1ab52b52964a6ff67477f7150d39e5d
CRs-Fixed: 1075090
2016-10-12 11:51:45 -07:00
Jeff Johnson
a0495a6085 qcacld-3.0: Fix -Wmissing-prototypes in lim_process_mlm_rsp_messages
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_mlm_rsp_messages.

Change-Id: Ib4f962d436e427d39303511c60799e9efcb25779
CRs-Fixed: 1075090
2016-10-12 11:51:43 -07:00
Jeff Johnson
3a4d31e84a qcacld-3.0: Fix -Wmissing-prototypes in lim_process_mlm_req_messages
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_mlm_req_messages.

Change-Id: I82d77da22143e4d6e421392457be51c3e11b62f0
CRs-Fixed: 1075090
2016-10-12 11:51:42 -07:00
Jeff Johnson
4f9d4a2aa8 qcacld-3.0: Fix -Wmissing-prototypes in lim_ft*
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_ft & lim_ft_preauth.

Change-Id: I566992b77e47309f8a98fa5be8b46014140820a1
CRs-Fixed: 1075090
2016-10-12 11:51:40 -07:00
qcabuildsw
327d4b3fc8 Release 5.1.0.30P
Release 5.1.0.30P

Change-Id: I6ac966108bfd0d8ba9d1c19d37dbfdab113f6a81
CRs-Fixed: 688141
2016-10-12 11:03:48 -07:00
Kiran Kumar Lokere
1aa9c9ac12 qcacld-3.0: Add support to configure the 80MHz preference
Add support to configure the 80MHz preference over 160MHz
connection when the peer AP is capable of 160MHz 2x2 mode.

Change-Id: I67d62a358141c470176667429f982053d162c4f8
CRs-Fixed: 1075815
2016-10-12 11:03:47 -07:00
qcabuildsw
9d8c2f003c Release 5.1.0.30O
Release 5.1.0.30O

Change-Id: Ie55bb1f87e160cc458b6052bcf2b4acf5f534600
CRs-Fixed: 688141
2016-10-12 09:24:19 -07:00
Rajeev Kumar Sirasanagandla
0be56dfdbc qcacld-3.0: Add ini to configure RTS profiles to FW
qcacld-2.0 to qcacld-3.0 propagation

INI parameter to configure different RTS profiles
to firmware during wlan startup.

Based on this value the FW shall configure any of the
following parameters:

- RTSCTS_DISABLED
- RTSCTS_ENABLED_4_SECOND_RATESERIES
- CTS2SELF_ENABLED_4_SECOND_RATESERIES
- RTSCTS_ENABLED_4_SWRETRIES
- CTS2SELF_ENABLED_4_SWRETRIES

Change-Id: Id2a9d64e626288920e0d0a73badca9f9e241decb
CRs-Fixed: 940886
2016-10-12 09:24:18 -07:00
qcabuildsw
29ac683dd2 Release 5.1.0.30N
Release 5.1.0.30N

Change-Id: I9de09b7de2a7f9751428a08d3a3fea5cd1201abf
CRs-Fixed: 688141
2016-10-12 01:25:13 -07:00
Srinivas Girigowda
ca42292f2b qcacld-3.0: Update get_concurrency_matrix to advertise STA + NAN
This is a qcacld-2.0 to qcacld-3.0 propagation.

Update the get_concurrency_matrix API to advertise the support
for STA + NAN concurrency.

Change-Id: Ie178cdb8c01294ef103baebfd7805d80e4c3c3be
CRs-Fixed: 987047
2016-10-12 01:25:12 -07:00
Srinivas Girigowda
67e2da67cb qcacld-3.0: Validate CCXBEACONREQ IE fields
This is a qcacld-2.0 to qcacld-3.0 propagation.

Validate CCXBEACONREQ IE fields.

Change-Id: Ie64a642abdd7923e91801186aa5743094a739fc9
CRs-Fixed: 1025185
2016-10-12 01:25:10 -07:00
Srinivas Girigowda
d79b345496 qcacld-3.0: Add back these ese functions
Due to incorrect merge resolve, these functions got removed.
Add the functions back.

Change-Id: I5bdaab2e93d221ca15179d8b35e9a86619e9b489
CRs-Fixed: 950762
2016-10-12 01:25:08 -07:00
Srinivas Girigowda
476deeb893 qcacld-3.0: Fix buffer overwrite problem in CCXBEACONREQ
This is a propagation from qcacld-2.0 to qcacld-3.0.

Set the number of IE fields to minimum of input data and
SIR_ESE_MAX_MEAS_IE_REQS

Change-Id: Ie53cfec7872ab69530bbb8932f9f9e85fb319f92
CRs-Fixed: 993561
2016-10-12 01:25:06 -07:00
qcabuildsw
0b18c45266 Release 5.1.0.30M
Release 5.1.0.30M

Change-Id: I82211cf75cc0b990207306bffbeb5d2836308d8c
CRs-Fixed: 688141
2016-10-12 00:45:07 -07:00
Hanumanth Reddy Pothula
3370212bf7 qcacld-3.0: Invalidate session ID after successful session close
Presently, host sets session ID to invalid(0xFF) once it posts the
message for sme to close session. During the close session if there
are any north bound command pending in queue, Host is sending the
command with invalid session ID to firmware, leading to device crash.

Set session ID to invalid only once sme session is closed.

Change-Id: Ib8a6a8e8a8af842064f6500b4bb62266eae7c1f8
CRs-Fixed: 1074111
2016-10-12 00:45:06 -07:00
qcabuildsw
901d75a1a1 Release 5.1.0.30L
Release 5.1.0.30L

Change-Id: I3f16e78cf03ed587ec6c7482c76164f61431640b
CRs-Fixed: 688141
2016-10-11 23:47:21 -07:00
Jeff Johnson
d3d4b6af4c qcacld-3.0: Fix -Wmissing-prototypes in lim_process_assoc_rsp_frame
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_assoc_rsp_frame.

Change-Id: I232343baf74227d525f1004ab2d57fd3d68702d4
CRs-Fixed: 1075090
2016-10-11 23:47:20 -07:00
Jeff Johnson
5948a1869e qcacld-3.0: Fix -Wmissing-prototypes in lim_ibss_peer_mgmt
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_ibss_peer_mgmt.

Change-Id: I399108d2e880631f60afec51d2c6472d623f907d
CRs-Fixed: 1075090
2016-10-11 23:47:18 -07:00
Jeff Johnson
72c8e7c7e4 qcacld-3.0: Fix -Wmissing-prototypes in lim_assoc_utils
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_assoc_utils.

Change-Id: I28ac7560d042f4d81560d3bbeea8ac18beb5e453
CRs-Fixed: 1075090
2016-10-11 23:47:15 -07:00
Jeff Johnson
b9f21bca25 qcacld-3.0: Fix -Wmissing-prototypes in lim_admit_control
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_admit_control.

Change-Id: Ic2ff63f07d59d7242f0c37917201f239b00dfe37
CRs-Fixed: 1075090
2016-10-11 23:47:13 -07:00
Jeff Johnson
9902821db3 qcacld-3.0: Fix -Wmissing-prototypes in dph_hash_table
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in dph_hash_table.

Change-Id: I9513060929343a61c329e55e15f7e6ec18d1e166
CRs-Fixed: 1075090
2016-10-11 23:47:11 -07:00
Jeff Johnson
7e5ac8eb10 qcacld-3.0: Fix -Wmissing-prototypes in cfg_api
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in cfg_api.

Change-Id: I6c282c78da047a9979b90c52fdcfd7b1b7b3b46e
CRs-Fixed: 1075090
2016-10-11 23:47:09 -07:00
Jeff Johnson
414e9f39a1 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_tdls
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_tdls.

Change-Id: I27b2be04166a61579d0013766094c660cff304e2
CRs-Fixed: 1074336
2016-10-11 23:47:07 -07:00
qcabuildsw
a2c7320863 Release 5.1.0.30K
Release 5.1.0.30K

Change-Id: I6de44b9fb375325101161ec8a9587591047c5d1a
CRs-Fixed: 688141
2016-10-11 17:12:50 -07:00
Jeff Johnson
fdb73435f6 qcacld-3.0: Fix potential reference of uninitialized roam profile
Currently in hdd_send_re_assoc_event() there are several guard tests
which protect the function from executing unless all of the
prerequisite information is present. If any of the tests fail then the
code performs centralized cleanup. One of the cleanups performed is to
free the roam profile.  Unfortunately at the time most of the guard
tests are performed the roam profile has not been retrieved from SME,
and has not been initialized in any other way.  This would ultimately
result in csr_roam_free_connect_profile() reading "garbage" values for
pBssDesc and pAddIEAssoc.  Address this issue by relocating the
existing qdf_mem_zero() of the roam profile so that the roam profile
is initialized before any of the guard tests are performed.

Change-Id: I2a2ba92ffb5b73c3ba4f54482d8f2b37f6e2dad6
CRs-Fixed: 1076422
2016-10-11 17:12:49 -07:00
qcabuildsw
d9d97ee5e5 Release 5.1.0.30J
Release 5.1.0.30J

Change-Id: Ife2c057c1421e36ca09ae2cb14912e25a1cadf2d
CRs-Fixed: 688141
2016-10-11 14:56:31 -07:00
Dustin Brown
5e06bd358d qcacld-3.0: Null-check 5GHz band before configuration
There is a null pointer dereference during 5GHz band configure when wifi
mode is forced to 802.11b in the ini config file. Perform a null check
before 5GHz configuration and skip if needed.

Change-Id: I70b7576e7bf49fa66a8c88de49dad9a1643cc7cb
CRs-Fixed: 1074146
2016-10-11 14:56:30 -07:00
qcabuildsw
b4cbcd5423 Release 5.1.0.30I
Release 5.1.0.30I

Change-Id: I6136df1242c6f94a3a95129cd58d118a25bf9c15
CRs-Fixed: 688141
2016-10-11 10:43:41 -07:00
Dustin Brown
10a7b71ecc qcacld-3.0: Cleanup qpower vendor command
The original qpower vendor command implementation incorrectly configured
the qpower setting in firmware. Cleanup the implementation.

Change-Id: Id84eb7cf579a29da30f3366edef24821fcd5be55
CRs-Fixed: 1075582
2016-10-11 10:43:39 -07:00
qcabuildsw
b7102417bf Release 5.1.0.30H
Release 5.1.0.30H

Change-Id: I4f0f44bc22903fb4403c4794bd1b73109d9f6493
CRs-Fixed: 688141
2016-10-11 10:06:14 -07:00
Jeff Johnson
0d3a9d2a18 qcacld-3.0: Remove unused functions from cds_regdomain.c
Functions get_reg_dmn_for_country & cds_get_reg_dmn_5g are no longer
being used, so remove them.

Change-Id: I03308f6fd7802acf7e80c01f15f42c99bb77ce7e
CRs-Fixed: 1075544
2016-10-11 06:24:37 -07:00
Jeff Johnson
a7d169b1dc qcacld-3.0: Fix -Wmissing-prototypes in CDS
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in CDS.

Change-Id: I40141f7a9e7394e0071b84b32a2d2b95cfa3a09b
CRs-Fixed: 1075544
2016-10-11 06:24:37 -07:00
Jeff Johnson
6c3c2b56aa qcacld-3.0: Fix -Wmissing-prototypes in BMI
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in BMI.

Change-Id: I701a9620ad93b41b5bcfd79d0c048f62e8151a18
CRs-Fixed: 1075533
2016-10-11 06:24:37 -07:00
Jeff Johnson
af2a093bf5 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_wext
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_wext.

Change-Id: I35f793352b7a166018945f9a9ac8457bf58ee809
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
3ae708d442 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_tx_rx
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_tx_rx.

Change-Id: Ic1eaf337ff339e979c3f78e667be9539eb47f5dc
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
dde3449880 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_tsf
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_tsf.

Change-Id: I37e98814da218d9322a8d3ac05a0e19523859281
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00
Jeff Johnson
6376abe7a4 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_softap_tx_rx
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_softap_tx_rx.

Change-Id: I26dd53307454d2c4dd887345eb77a9d362b5fdf2
CRs-Fixed: 1074336
2016-10-11 06:24:37 -07:00