Commit Graph

4021 Commits

Author SHA1 Message Date
Arif Hussain
0e24680997 qcacld-3.0: Add support to send A-MSDU aggregation type to firmware
Add support to send A-MSDU aggregation type to firmware.

Change-Id: Id97efa6b7ff658b11462f9d6b6c8e79107e5f128
CRs-Fixed: 2234350
2018-05-15 13:54:08 -07:00
nshrivas
ff843ff442 Release 5.2.0.78C
Release 5.2.0.78C

Change-Id: Idce8a8149f9792f1aff1f1b66a00e382f1b4094c
CRs-Fixed: 774533
2018-05-15 10:05:40 -07:00
Wen Gong
3f00338bf7 qcacld-3.0: Change WLAN_FEATURE_HDD_MEMDUMP_ENABLE
Change WLAN_FEATURE_HDD_MEMDUMP_ENABLE to WLAN_FEATURE_MEMDUMP_ENABLE

Change-Id: Id4ef8de4dc7b566f3b29b9e045c1530c873a426c
CRs-Fixed: 2241236
2018-05-15 10:05:40 -07:00
nshrivas
f189a752f9 Release 5.2.0.78B
Release 5.2.0.78B

Change-Id: I482d14f0b8bb0097c2d4f55bd2e6c00d9b6fb3fb
CRs-Fixed: 774533
2018-05-15 08:48:30 -07:00
Visweswara Tanuku
d0c726b4b9 qcacld-3.0: Block SoftAP channel switch in response to ECSA frame
qcacld-2.0 to qcacld-3.0 propagation

SoftAP is changing channel in response to ECSA frame from STA
Do not let SoftAP switch channel in response to ECSA.

Change-Id: Ie9ddbf10c13f62205fdd60c512a560b35c6610ba
CRs-Fixed: 2121117
2018-05-15 08:48:29 -07:00
Vignesh Viswanathan
5ce817eb54 qcacld-3.0: Optimize SAP beacon handling for protection
Currently SAP beacon callback loops through PE sessions to check
if the beacon's channel matches any active SAP channel and then
invokes sch_beacon_process_for_ap API. In sch_beacon_process_for_ap
we again loop through all the PE sessions to identify the session
where the SAP is active.

Optimize this by looping only once through all PE sessions in
lim_handle_sap_beacon and invoke sch_beacon_process_for_ap with
the SAP session's session_id.

Change-Id: Ia74e17845de161508b6c8efff6aca82cf4d9c961
CRs-Fixed: 2226237
2018-05-15 08:48:25 -07:00
nshrivas
b1482540a0 Release 5.2.0.78A
Release 5.2.0.78A

Change-Id: Ib5354f1295f8fb2366c8bea7587d88b68b393a91
CRs-Fixed: 774533
2018-05-15 05:56:49 -07:00
nshrivas
77b1c865ac Release 5.2.0.78
Release 5.2.0.78

Change-Id: Iee5be9e9d11c10f7caf86c1add6a28cadc8561fe
CRs-Fixed: 774533
2018-05-15 04:33:47 -07:00
nshrivas
3edad82e68 Release 5.2.0.77Z
Release 5.2.0.77Z

Change-Id: I18086c49d1c70a2101162807d5fd917f943af7f7
CRs-Fixed: 774533
2018-05-15 03:21:30 -07:00
nshrivas
389e2bb771 Release 5.2.0.77Y
Release 5.2.0.77Y

Change-Id: I2bd3b7a7486420de9ce843a7ac82c155d9ff0f30
CRs-Fixed: 774533
2018-05-15 00:36:13 -07:00
nshrivas
2fc8b6eb81 Release 5.2.0.77X
Release 5.2.0.77X

Change-Id: I0330ac9a29c6e4bd3d3c2c2f046df73516e79df7
CRs-Fixed: 774533
2018-05-14 23:15:35 -07:00
nshrivas
ba7f8acd85 Release 5.2.0.77W
Release 5.2.0.77W

Change-Id: I51a8f029cdc4215b267e212375636a7ce0a01c89
CRs-Fixed: 774533
2018-05-14 21:54:40 -07:00
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