Commit graph

10,084 commits

Author SHA1 Message Date
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
Will Huang
9913277e97 qcacld-3.0: Clear mac_ctx->sap.sapCtxList for SAP if SSR happen
While SSR happen, hdd_reset_all_adapters will not clear
mac_ctx->sap.sapCtxList[sapctx->sessionId].pSapContext, and later the
sapctx will assign new sessionId after SSR restart SAP and update to
mac_ctx->sap.sapCtxList. So sapctx/old sessionId still can be
referenced by like wlan_sap_is_pre_cac_active and call pre cac cleanup
on unexpected port.

When SAP restart and set global sapCtxList in sap_set_session_param(),
find matched sapctx and clear it before assigning updated value.

Change-Id: Id02733cb22267ac0c1899d8caf9ac47c65e24a88
CRs-Fixed: 2232398
2018-05-14 10:26:18 -07:00
Yeshwanth Sriram Guntuka
0e6f44655a qcacld-3.0: Decrement vdev ref count in wma_state_info_dump
Vdev ref count is incremented in wma_state_info_dump
and not decremented before return. This results in
vdev not deleted physically as part of wlan0 hdd_stop.
On hdd_open, a new vdev is created for wlan0 with same
mac addr as the previous wlan0 vdev. In scan, API to
get vdev by mac addr will return NULL since the first
wlan0 vdev is not physically deleted and not removed from
vdev list.

Fix is to decrement vdev ref count in wma_state_info_dump.

Change-Id: I67c90a721643f5bb7c6e212846f6d398055a6672
CRs-Fixed: 2233997
2018-05-14 10:26:15 -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
Bala Venkatesh
7cf5b66a92 qcacld-3.0: Fix NULL pointer access in sme_set_wlm_latency_level
'wma' pointer is initialized using the return value of
cds_get_context;This function can return NULL value.

Check for NULL pointer before dereferencing the 'wma'.

Change-Id: I529a34fba91f19bdd6c62d14e97cfabb476cdf7f
CRs-Fixed: 2239647
2018-05-12 07:45:34 -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
Arif Hussain
3b7ed833f2 qcacld-3.0: Fix tCsrRoamConnectedProfile initialization
Use correct size to mem zero tCsrRoamConnectedProfile
In csr_roam_save_ndi_connected_info() function.

Change-Id: I54d2bef0bd9202971dff47f9b25d43ff40258630
CRs-Fixed: 2232891
2018-05-12 04:31:08 -07:00
Dustin Brown
4cd46f86c3 qcacld-3.0: Add break for QCSAP_SET_FW_PROFILE_HIST_INTVL
The IOCTL handler mapping code for QCSAP_SET_FW_PROFILE_HIST_INTVL
mistakenly falls through to the next switch case. Add a break to prevent
executing two IOCTL callbacks for QCSAP_SET_FW_PROFILE_HIST_INTVL.

Change-Id: I6b0a17b87c22d1d2be3697456608e8ebe704afed
CRs-Fixed: 2232911
2018-05-12 04:31:03 -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
9a27ffa62e qcacld-3.0: Fix typo "continous"
Replace typo "continous" with correct spelling "continuous".

Change-Id: I6159508bf43b3504d8a44f2088c3b98aef449460
CRs-Fixed: 2238297
2018-05-12 04:30:53 -07:00
Jeff Johnson
55ceaf0187 qcacld-3.0: Fix typo "avaiable"
Replace typo "avaiable" with correct spelling "available".

Change-Id: I6f62d402bf73a1b8c8b3abebdf14a6d9a02d96d2
CRs-Fixed: 2238297
2018-05-12 04:30:48 -07:00
Jeff Johnson
6c6d27c461 qcacld-3.0: Fix typo "assocation"
Replace typo "assocation" with correct spelling "association".

Change-Id: I01445b034954ae80b55bfa3eb20b9754d56cd7de
CRs-Fixed: 2238297
2018-05-12 04:30:43 -07:00
Jeff Johnson
79e36881d4 qcacld-3.0: Fix typo "initalize"
Replace typo "initalize" with correct spelling "initialize".

Change-Id: Iba47549908aa42e7579cc88f13318c71eab96158
CRs-Fixed: 2238297
2018-05-12 04:30:38 -07:00
Jeff Johnson
45ecc2494a qcacld-3.0: Fix typo "Succesfully"
Replace typo "Succesfully" with correct spelling "Successfully".

Change-Id: I29dd54581aecbc4c1b0025f6c205576cb7961fd2
CRs-Fixed: 2238297
2018-05-12 04:30:33 -07:00
Jeff Johnson
37a41264d1 qcacld-3.0: Fix typo "funtion"
Replace typo "funtion" with correct spelling "function".

Change-Id: I05db828dd5830d4b95467ed5494f319113de9252
CRs-Fixed: 2238297
2018-05-12 04:30:29 -07:00
Jeff Johnson
b83ee48722 qcacld-3.0: Fix typo "successfull"
Replace typo "successfull" with correct spelling "successful".

Change-Id: I22f4e705e13eebe5bb6ce1ec01888af6b8a394fa
CRs-Fixed: 2238297
2018-05-12 04:30:24 -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
2e3ccd249e qcacld-3.0: Fix typo "seperator"
Replace typo "seperator" with correct spelling "separator".

Change-Id: I66dbe4a79aac3e8e97ba8ffd5c09a63e6e0f684d
CRs-Fixed: 2238297
2018-05-12 04:30:11 -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
77f89bb156 qcacld-3.0: Fix typo "Suported"
Replace typo "Suported" with correct spelling "Supported".

Change-Id: I45047e0deebc95f9467cb67a4998b5ca85fca7f4
CRs-Fixed: 2238297
2018-05-12 04:29:58 -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
06095fbeac qcacld-3.0: Fix typo "adress"
Replace typo "adress" with correct spelling "address".

Change-Id: I9bd286f412f3912b60caa75df630432f5c14c8ac
CRs-Fixed: 2238297
2018-05-12 04:29:49 -07:00
Jeff Johnson
626f4d93d3 qcacld-3.0: Fix typo "pacakge"
Replace typo "pacakge" with correct spelling "package".

Change-Id: Id5446269c492c146dbd18d09842c603a9839c248
CRs-Fixed: 2238297
2018-05-12 04:29:44 -07:00
Jeff Johnson
0f7440e180 qcacld-3.0: Fix typo "comand"
Replace typo "comand" with correct spelling "command".

Change-Id: Ib2c4ac1cd6415ee4a2239a952239d5f15790c7f0
CRs-Fixed: 2238297
2018-05-12 04:29:39 -07:00
Jeff Johnson
78073fa604 qcacld-3.0: Fix typo "hander"
Replace typo "hander" with correct spelling "handler".

Change-Id: I562b02085c38d308b37a5b42787a18bd834f0876
CRs-Fixed: 2238297
2018-05-12 04:29:36 -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
e444c108f4 qcacld-3.0: Fix typo "connnection"
Replace typo "connnection" with correct spelling "connection".

Change-Id: I080bf56159601de7a51aa0e8798564f00653b1c2
CRs-Fixed: 2238297
2018-05-12 04:29:28 -07:00
Jeff Johnson
d6a8af963d qcacld-3.0: Fix typo "existance"
Replace typo "existance" with correct spelling "existence".

Change-Id: I58be5bc661c42b61e7e161d7641e6c39edc0bf7c
CRs-Fixed: 2238297
2018-05-12 04:29:25 -07:00
Jeff Johnson
276ae04a5c qcacld-3.0: Fix typo "Compatability"
Replace typo "Compatability" with correct spelling "Compatibility".

Change-Id: I0f7b36def9a9701c640266d41ee78e6836270ea2
CRs-Fixed: 2238297
2018-05-12 04:29:21 -07:00
Jeff Johnson
453e6c0c58 qcacld-3.0: Fix typo "platfrom"
Replace typo "platfrom" with correct spelling "platform".

Change-Id: If155514d72d70ec326985b1ddff066f2fa3367c2
CRs-Fixed: 2238297
2018-05-12 04:29:17 -07:00
Jeff Johnson
a6cab553e2 qcacld-3.0: Fix typo "addreses"
Replace typo "addreses" with correct spelling "addresses".

Change-Id: Ib630c87d966eed104aec8669de636863a5fa555e
CRs-Fixed: 2238297
2018-05-12 04:29:12 -07:00
Jeff Johnson
11d7c9db98 qcacld-3.0: Fix typo "occured"
Replace typo "occured" with correct spelling "occurred".

Change-Id: I4d64bee7c9c929b4e7fce0c17d98136cff737fc4
CRs-Fixed: 2238297
2018-05-12 04:29:09 -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
5e19a943c0 qcacld-3.0: Fix typo "intialized"
Replace typo "intialized" with correct spelling "initialized".

Change-Id: Ia9dccc1aee513a5846ea6f0308ede89fdee220de
CRs-Fixed: 2238297
2018-05-12 04:29:02 -07:00
Jeff Johnson
38c1c7df49 qcacld-3.0: Fix typo "fuction"
Replace typo "fuction" with correct spelling "function".

Change-Id: Ie34a95eddeaa4f8410dea87fb226e16d2ab96a6a
CRs-Fixed: 2238297
2018-05-12 04:28:59 -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
fa7d9601ef qcacld-3.0: Fix typo "seperate"
Replace typo "seperate" with correct spelling "separate".

Change-Id: Ic2e69d5a15366c0c2fe57d2f378cac0e11228f8e
CRs-Fixed: 2238297
2018-05-12 04:28:53 -07:00
Jeff Johnson
dd2f1fc72e qcacld-3.0: Fix typo "adapater"
Replace typo "adapater" with correct spelling "adapter".

Change-Id: Ifde6c8e45d6e7e5d644982273928b84b067b0792
CRs-Fixed: 2238297
2018-05-12 04:28:49 -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
Dustin Brown
237baeebc1 qcacld-3.0: Return success in wlan_hdd_cfg80211_register_frames
Currently wlan_hdd_cfg80211_register_frames falls through to error
handling at the end of the success path. Return success instead.

Change-Id: I28eda918d3d5858cc42ef3958abe918b9ed788e9
CRs-Fixed: 2240003
2018-05-12 01:25:39 -07:00