Commit Graph

4009 Commits

Author SHA1 Message Date
nshrivas
606c86caac Release 5.2.0.77V
Release 5.2.0.77V

Change-Id: Ieec825e6ab6c95613851f74ce592791c1adba18c
CRs-Fixed: 774533
2018-05-14 20:15:46 -07:00
Vignesh Viswanathan
03f5f0eb56 qcacld-3.0: Free body if session is NULL in lim_process_switch_channel_rsp
In lim_process_switch_channel_rsp, if pe_find_session_by_session_id
returns NULL, memory of body pointer is not freed leading to memory
leak.

Free memory allocated for body pointer if session entry is NULL in
lim_process_switch_channel_rsp.

Change-Id: I939aceb3ed993fd1488b72db9df526c1724f0ac5
CRs-Fixed: 2236980
2018-05-14 20:15:46 -07:00
nshrivas
9afe1ef8b9 Release 5.2.0.77U
Release 5.2.0.77U

Change-Id: Ibc59c1cdb94d27d4c809ee218e8c302740ed3056
CRs-Fixed: 774533
2018-05-14 19:07:59 -07:00
nshrivas
d99e51eda6 Release 5.2.0.77T
Release 5.2.0.77T

Change-Id: I1f6e1a4801e549ecdf7ea1b7056862abeec2d26e
CRs-Fixed: 774533
2018-05-14 17:59:48 -07:00
nshrivas
0fe4d03414 Release 5.2.0.77S
Release 5.2.0.77S

Change-Id: I8a32f0ee55de211a3650ac205b4dcaab4d67f5e2
CRs-Fixed: 774533
2018-05-14 16:50:34 -07:00
Visweswara Tanuku
2e2ac0338d qcacld-3.0: Use LDPC flag from Vendor IE for VHT20 case
qcacld-2.0 to qcacld-3.0 propagation

Update LDPC flag from Vendor IE instead of VHT capabilities
for VHT20 case.

Change-Id: I7bb916353586529fb78f1caeda68687663e44af2
CRs-Fixed: 2091292
2018-05-14 16:50:33 -07:00
nshrivas
ad8cfa1185 Release 5.2.0.77R
Release 5.2.0.77R

Change-Id: I21df33f557cadf9abeddc1e8975bb02a3aaa0749
CRs-Fixed: 774533
2018-05-14 13:58:42 -07:00
Arif Hussain
5fa1378112 qcacld-3.0: Add missing status check in __lim_process_sme_disassoc_cnf()
Fix typo in checking mlm status by adding missing
eLIM_MLM_WT_DEL_BSS_RSP_STATE state check in
__lim_process_sme_disassoc_cnf() function.

Change-Id: Id2acde09023ba117e1d938035db9e9a0d7b303b3
CRs-Fixed: 2232883
2018-05-14 13:58:41 -07:00
nshrivas
29188cc2b1 Release 5.2.0.77Q
Release 5.2.0.77Q

Change-Id: I26e7b409aa2867f0d63b9a471153ac4e60b9dfa2
CRs-Fixed: 774533
2018-05-14 12:50:43 -07:00
nshrivas
249cab7ba0 Release 5.2.0.77P
Release 5.2.0.77P

Change-Id: I08197cfba945ef89b4e99fe3192754c9f273f82e
CRs-Fixed: 774533
2018-05-14 11:39:09 -07:00
nshrivas
bc70f0da98 Release 5.2.0.77O
Release 5.2.0.77O

Change-Id: If8ffedce617fa264b5ddc64c1e5ad85d47dbf19a
CRs-Fixed: 774533
2018-05-14 10:26:22 -07:00
gaurank kathpalia
c63859d9f0 qcacld-3.0: Send RSN caps in RSO command
Association request initiated by the host contains
the RSN capabilities which contains both the flags
of PMF, i.e PMF required and PMF capable. The DUT
may connect to a non PMF AP or only a PMF capable AP,
if the DUT is PMK capable and not PMF required,
but connection to a non PMF AP isnt allowed
if the DUT is configured as PMF required.
In the Association request, the DUT advertises its
RSN capabilities, and accrding to them, the connection
(PMF/non PMF) happens. But these capabilities arent
sent to the firmware, so while roaming, the DUT may
connect to a non-PMF AP, as in the re-assoc request
the DUT would still advertise PMF-REQUIRED as false,
which would be violation of protocol.

Fix is to send these RSN capabilities to the
firmware as part of roam scan offload params,
to have firmware save the configuration, and
send the RE-assoc request with PMF required as
true, if the DUT supports PMF required.

Change-Id: Iff58f7ba3b2fee7a834bd625225bbb3d62f33557
CRs-Fixed: 2234977
2018-05-14 10:26:21 -07:00
nshrivas
c56e6fcd3d Release 5.2.0.77N
Release 5.2.0.77N

Change-Id: Ieb3d7fdbde6cd8d2d8607a625322d3fbd5ed75d2
CRs-Fixed: 774533
2018-05-12 08:45:29 -07:00
Vignesh Viswanathan
053efa32c8 qcacld-3.0: Add check for min buffer length in find_ie_defn
In find_ie_defn function, if the current IE is an Ext IE with EID=255,
the third byte of the IE is accessed to get the extn_eid. However, if
the actual buffer length is less than 3, then an OOB read would occur
while trying to access extn_eid.

Add check to access pbuf + 2 for extn_eid only if nbuf is greater than 2.

Change-Id: Id9708176affe35a85eb21a07901ae8ed62b78b9e
CRs-Fixed: 2237141
2018-05-12 08:45:28 -07:00
Sandeep Puligilla
39cec0833b qcacld-3.0: Add Null pointer check for packet buffer
Add Null pointer check for packet buffer before dereference
it in lim_send_addba_response_frame() API.

Change-Id: I46c637b7534fe200ec586b07e34d9a4baee5ac7e
CRs-Fixed: 2232740
2018-05-12 08:45:25 -07:00
nshrivas
6522ea5601 Release 5.2.0.77M
Release 5.2.0.77M

Change-Id: I81a66e5a50fa30ae2be1d7bc93a3e6bfa223dcc1
CRs-Fixed: 774533
2018-05-12 07:45:35 -07:00
nshrivas
29aa4943a3 Release 5.2.0.77L
Release 5.2.0.77L

Change-Id: Iea55329d6287b11ecd8b1dcf3aa641558f85c1ee
CRs-Fixed: 774533
2018-05-12 06:28:06 -07:00
Vignesh Viswanathan
18eb2b2aff qcacld-3.0: Post Probe request frames to SCAN queue instead of PE queue
Currently in pe_handle_mgmt_frame, all management frames are posted
into the PE message queue. The beacon and probe response frames are
filtered before posting into the PE message queue, however the PE
message queue can still be flooded with probe request frames.

Post probe request frames via SCAN queue with the appropriate
callback function.

Change-Id: Ie29ad9602d3389af467b8f893624b86265a44421
CRs-Fixed: 2238190
2018-05-12 06:28:05 -07:00
nshrivas
7456328697 Release 5.2.0.77K
Release 5.2.0.77K

Change-Id: I50b37e35736219af4e609e17c52f869ef8fe9ad7
CRs-Fixed: 774533
2018-05-12 04:31:14 -07:00
Srinivas Girigowda
eb6ecf3f96 qcacld-3.0: Consistently use policy_mgr_dual_mac_config
Remove duplicate structs wmi_dual_mac_config and sir_dual_mac_config
and use policy_mgr_dual_mac_config.

Change-Id: I6da6539f519ec46ee274ba3f3ae042e5fd9c25d2
CRs-Fixed: 2190993
2018-05-12 04:31:13 -07:00
Jeff Johnson
33142e6fb6 qcacld-3.0: Fix typo "doesnt"
Replace typo "doesnt" with correct spelling "doesn't".

Change-Id: Ic3063f9fe74e10f656e00e86c8f38ccf1132f22d
CRs-Fixed: 2238297
2018-05-12 04:30:58 -07:00
Jeff Johnson
810596ad7a qcacld-3.0: Fix typo "paramter"
Replace typo "paramter" with correct spelling "parameter".

Change-Id: I3f6f090a4f5348f64241e08c87b9bcd342696e10
CRs-Fixed: 2238297
2018-05-12 04:30:19 -07:00
Jeff Johnson
0f04e20f06 qcacld-3.0: Fix typo "occurence"
Replace typo "occurence" with correct spelling "occurrence".

Change-Id: I80f61cae1d993bf7373dbe47a48099b8dedbfdfb
CRs-Fixed: 2238297
2018-05-12 04:30:15 -07:00
Jeff Johnson
f2cf659cc2 qcacld-3.0: Fix typo "diable"
Replace typo "diable" with correct spelling "disable".

Change-Id: Ifb0d0086c1356a92fd868a22c2f1e1693f66066a
CRs-Fixed: 2238297
2018-05-12 04:30:06 -07:00
Jeff Johnson
4ceed38fbf qcacld-3.0: Fix typo "recieve"
Replace typo "recieve" with correct spelling "receive".

Change-Id: I16de4aedcd0f401da8b11fa0ea4989ad1e73bf57
CRs-Fixed: 2238297
2018-05-12 04:30:02 -07:00
Jeff Johnson
6201829f3a qcacld-3.0: Fix typo "retrive"
Replace typo "retrive" with correct spelling "retrieve".

Change-Id: I09ae4ea41031a0a8108e1b60494eedb8751c5b3e
CRs-Fixed: 2238297
2018-05-12 04:29:54 -07:00
Jeff Johnson
c00ae5bd4d qcacld-3.0: Fix typo "aquired"
Replace typo "aquired" with correct spelling "acquired".

Change-Id: I67700be588fb55e033eef98d9de0e54a4b19a57c
CRs-Fixed: 2238297
2018-05-12 04:29:32 -07:00
Jeff Johnson
fe8e9497e9 qcacld-3.0: Fix typo "lenght"
Replace typo "lenght" with correct spelling "length".

Change-Id: I227fe599d88c68982dd102f71c0bad30cd5d93cf
CRs-Fixed: 2238297
2018-05-12 04:29:06 -07:00
Jeff Johnson
60ed45a086 qcacld-3.0: Fix typo "paramters"
Replace typo "paramters" with correct spelling "parameters".

Change-Id: I13d41a0092666bc89743b9beb03e0253e6b613fc
CRs-Fixed: 2238297
2018-05-12 04:28:56 -07:00
Jeff Johnson
9020f0c390 qcacld-3.0: Fix typo "mangement"
Replace typo "mangement" with the correct spelling "management".

Change-Id: Ie9c993096ec9bc774a59caee0f3730b7be2b1372
CRs-Fixed: 2238297
2018-05-12 04:28:46 -07:00
nshrivas
164093fd46 Release 5.2.0.77J
Release 5.2.0.77J

Change-Id: I04499273530a8ef1bd7d70b95cb60ee5cea72326
CRs-Fixed: 774533
2018-05-12 01:25:40 -07:00
nshrivas
569a6e10f9 Release 5.2.0.77I
Release 5.2.0.77I

Change-Id: I79e7df034560521f325cafb7df4ae0d0df163d01
CRs-Fixed: 774533
2018-05-11 23:56:56 -07:00
gaurank kathpalia
f29064edac qcacld-3.0: Remove cds_pkt_free in assoc request api
In the API lim_send_assoc_req_mgmt_frame, the host
allocates memory for the assoc request packet
taking all inputs of payload and the mac header
size etc, and in case the mem allocation fails
it clears away the memory allocated to the packet
with cds packet free, which was not even allocated

Fix is to remove the packet free in case of memory not
allocated

Change-Id: I3fb75b1947dfe039605c42aa19c2d0bacc7bf55d
CRs-Fixed: 2216741
2018-05-11 23:56:55 -07:00
nshrivas
ebde99fe87 Release 5.2.0.77H
Release 5.2.0.77H

Change-Id: I1cd5bee4907c75509d55e38612573357005ae203
CRs-Fixed: 774533
2018-05-11 22:40:02 -07:00
nshrivas
1c5582ed1e Release 5.2.0.77G
Release 5.2.0.77G

Change-Id: I7d458eae6a676dc0271b250392a4216d452f6eff
CRs-Fixed: 774533
2018-05-11 21:12:32 -07:00
Pragaspathi Thilagaraj
06219bfc33 qcacld-3.0: Fix integer truncation in convert_wsc_opaque
In the function convert_wsc_opaque, driver does copy of the
new parameters present in the additional IEs of the upstream
assoc request frame. While copy of the IE length pOld->length to
curAddIELen, possible integer truncation could occur, as the
curAddIELen is of the type uint8_t whereas pOld->length is of
type uint16_t.

Change the data type of curAddIELen to uint16_t. Make changes in
convert_p2p_opaque and convert_wfd_opaque as well.

Change-Id: Ic26660fca4a02a265bfc9553b066c7ee42f1d1f4
CRs-Fixed: 2231770
2018-05-11 21:12:31 -07:00
nshrivas
a4bda4fdd8 Release 5.2.0.77F
Release 5.2.0.77F

Change-Id: Ib0e644bdb10e49d906dd15f4a35c1754d9072846
CRs-Fixed: 774533
2018-05-11 16:17:59 -07:00
Arif Hussain
fe3de0de42 qcacld-3.0: Refactor lim_is_pkt_candidate_for_drop()
refactor lim_is_pkt_candidate_for_drop function to
include logic IBSS mode.

Change-Id: I3446e8f4d373e8f88d56d010a48a70cecf4b3062
CRs-Fixed: 2232890
2018-05-11 16:17:58 -07:00
nshrivas
d15b6c2883 Release 5.2.0.77E
Release 5.2.0.77E

Change-Id: Ib4cad9087caa33fd55916d8ff4f3c30f223566e3
CRs-Fixed: 774533
2018-05-11 13:22:49 -07:00
nshrivas
cbe80f4367 Release 5.2.0.77D
Release 5.2.0.77D

Change-Id: I80b39d94dc954422368e2446bbf9212273039ca8
CRs-Fixed: 774533
2018-05-09 22:53:39 -07:00
nshrivas
351a989b06 Release 5.2.0.77C
Release 5.2.0.77C

Change-Id: Ic6b5eb94a55d380b42b7be963508f06d7d82c50d
CRs-Fixed: 774533
2018-05-09 20:22:51 -07:00
nshrivas
39b22c8810 Release 5.2.0.77B
Release 5.2.0.77B

Change-Id: Ieaec9f0a601ceded100a7e2326224d809453b43b
CRs-Fixed: 774533
2018-05-09 17:36:16 -07:00
Vignesh Viswanathan
69a76a9f4e qcacld-3.0: Add sanity check variable_data len in update_fils_data
In function update_fils_data, fils_indication->num_variable_data
is the actual length of the data present in the array variable_data.
While accessing variable_data array to copy cache identifier, HESSID
and realm identifiers, the length of the array is not checked and
could lead to OOB access.

Add check to validate remaining data length in variable_data array
before accessing it to copy various fields.

Change-Id: Ifc1f5d55964bcd7fdcc2676ea9c2afede0fe6803
CRs-Fixed: 2231767
2018-05-09 17:36:13 -07:00
nshrivas
e5d8787b0a Release 5.2.0.77A
Release 5.2.0.77A

Change-Id: I339818db2580cffee8848072249a98bea6adf269
CRs-Fixed: 774533
2018-05-09 16:31:24 -07:00
Jeff Johnson
9421434405 qcacld-3.0: Remove obsolete P2P macros
As a result of P2P componentization a variety of P2P-related macros
are no longer used, so remove them.

Change-Id: I693c4f11575968ce0aae9f3ecac9e008b0dbf5b9
CRs-Fixed: 2237726
2018-05-09 16:31:24 -07:00
Jeff Johnson
118a4a05af qcacld-3.0: Fix typo "capabilites"
Replace typo "capabilites" with correct spelling "capabilities".

Change-Id: I1c84c401fd732227d63a159bea7f7f3cefacf153
CRs-Fixed: 2237725
2018-05-09 16:31:19 -07:00
Jeff Johnson
5ead5ab10f qcacld-3.0: Fix typos "sucess" and "sucessful"
Replace typos "sucess" and "sucessful" with correct spellings
"success" and "successful"

Change-Id: I30746cbab4533da9b052261fa9bb87214188138b
CRs-Fixed: 2237724
2018-05-09 16:31:15 -07:00
nshrivas
723a4c1566 Release 5.2.0.77
Release 5.2.0.77

Change-Id: Ie3125bfe6e9634ae3c1b7a6bd9df599de7c530e2
CRs-Fixed: 774533
2018-05-09 15:19:59 -07:00
nshrivas
edf7269a88 Release 5.2.0.76Z
Release 5.2.0.76Z

Change-Id: I64cc682422ab715985698bde3e3c2bda87a7843e
CRs-Fixed: 774533
2018-05-09 08:39:20 -07:00
nshrivas
b7dac3c947 Release 5.2.0.76Y
Release 5.2.0.76Y

Change-Id: Ib149fff9605831bafae0db4d0741f6db44b1c638
CRs-Fixed: 774533
2018-05-09 06:19:18 -07:00