提交線圖

2504 次程式碼提交

作者 SHA1 備註 日期
Selvaraj, Sridhar
ac4fcf34be qcacld-3.0: Add provision to configure Association disallowed functionality
As part of MBO[MultiBand Operations], association disallowed functionality
is added.i.e. if driver receives probe response/beacon with MBO IE
with association disallowed subattribute present, STA stops connection
attempt with the particular BSS.

This code change addresses the following:
1) Adds provision to ignore/disable association disallowed functionality in
host driver. Apply this change to enable STA to act as testbed for AP
association disallowed test case.

2) Limit the assoc disallowed functionality in host driver only for connect
cases, i.e. limit this only when driver tries to join BSS
[MLM_WT_JOIN_BEACON_STATE] since similar functionality is in supplicant to
take care of scan results case and checks for the assoc disallowed
subattribute presence in probe responses.

Change-Id: I66c6f7f31ebdaad32d01ab8882935861ddb54f51
CRs-Fixed: 1067826
2016-10-17 21:57:05 -07:00
qcabuildsw
999799766d Release 5.1.0.30T
Release 5.1.0.30T

Change-Id: Icf339515919926c70f0b7d03cde8472cea0ecde4
CRs-Fixed: 688141
2016-10-17 21:57:03 -07:00
Padma, Santhosh Kumar
1472fab275 qcacld-3.0: Fix warning during driver unload
During hdd_encrypt_decrypt_deinit, driver tries to acquire sme
global lock. But hdd_encrypt_decrypt_deinit is invoked after sme
close, where driver destroys sme global lock. This results
in failure to acquire sme global lock. Fix this by invoking
hdd_encrypt_decrypt_deinit before sme close. Also, move
hdd_encrypt_decrypt_init to hdd_features_init.

Change-Id: I2c9ab551ea53053db75dc197d6772d53e58f2dfc
CRs-Fixed: 1075442
2016-10-17 21:57:01 -07:00
Srinivas Girigowda
dbfb264005 qcacld-3.0: extscan: Logs cleanup
This is a qcacld-2.0 to qcacld-3.0 propagation.

Remove unnecessary logs and merge some of the logs together.

Change-Id: Ibf9fdf0a92cc71644f02d6890574eeed0d175d6f
CRs-Fixed: 1023849
2016-10-17 21:53:09 -07:00
Srinivas Girigowda
1efc80ea46 qcacld-3.0: Add input validation for SENDACTIONFRAME
This is a qcacld-2.0 to qcacld-3.0 propagation.

Add input validation for SENDACTIONFRAME driver command.

Change-Id: I3d1bf424e5e0f9a3b6f4662dd12a3a7314c7eace
CRs-Fixed: 1001449
2016-10-17 21:53:07 -07:00
Srinivas Girigowda
0fb6cc4dde qcacld-3.0: Fix buffer overwrite problem in CCXPLMREQ
This is a qcacld-2.0 to qcacld-3.0 propagation.

Set the number of channels to minimum of input data and
WNI_CFG_VALID_CHANNEL_LIST_LEN.

Change-Id: Ib6fca483ac99cddfcd3b739ce62e86ecd498f1f5
CRs-Fixed: 1001450
2016-10-17 21:53:06 -07:00
Srinivas Girigowda
0ee96441f4 qcacld-3.0: Reduce log levels and cleanup
This is a qcacld-2.0 to qcacld-3.0 propagation.

Reduce log levels and cleanup.

Change-Id: I05f88b7a49c4fc9c531dfe1574f38da2b416c827
CRs-Fixed: 1047807
2016-10-17 21:53:04 -07:00
Service qcabuildsw
02cbf171f6 Merge "qcacld-3.0: Handle disassociate reason code 34 and cleanup logs" into wlan-cld3.driver.lnx.1.1-dev 2016-10-17 20:45:39 -07:00
Service qcabuildsw
6029da2106 Merge "qcacld-3.0: Validate session Id in sme_QosInternalReleaseReq" into wlan-cld3.driver.lnx.1.1-dev 2016-10-17 20:45:39 -07:00
Srinivas Girigowda
fae5010b10 qcacld-3.0: Handle disassociate reason code 34 and cleanup logs
This is a qcacld-2.0 to qcacld-3.0 propagation.

Currently code honors disconnect reason code 34 but still log shows up
as invalid reason code. 34 is a valid 802.11 reason code.

Add eSIR_MAC_XS_UNACKED_FRAMES_REASON and clean up logs.

Change-Id: I32fb804792dd67dd31824a5387e4ecb419656420
CRs-Fixed: 1015244
2016-10-12 20:31:58 -07:00
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
16602d36f1 Release 5.1.0.30S
Release 5.1.0.30S

Change-Id: I1c7ea531cd3a7dc22fb99ce7a2537eed5a38631d
CRs-Fixed: 688141
2016-10-12 19:59:01 -07:00
Naveen Rawat
286def5833 qcacld-3.0: Fix NDI teardown issue on "ifconfig down" request
This is qcacld-2.0 to qcacld-3.0 propagation.

NAN data session is expected to be available across ifconfig up
and ifconfig down requests from user space. The userspace will
issue ifconfig down when it is done using the interface and will
bring up the interface again if required. NAN data interface
termination is expected to be done only on NDI delete request from
the userspace.

Change-Id: Ib9d7c1719077687bdd7e550404e874406ec50758
CRs-Fixed: 962367
2016-10-12 19:59:00 -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