Commit Graph

610 Commits

Author SHA1 Message Date
qcabuildsw
6b3b1aea49 Release 5.1.0.26O
Release 5.1.0.26O

Change-Id: Iedf96ff5224311a2c9f740d86bb6436affb69926
CRs-Fixed: 688141
2016-09-12 19:04:19 -07:00
qcabuildsw
6dbbe0883c Release 5.1.0.26N
Release 5.1.0.26N

Change-Id: Ifbfd383304acc6140b2918d15b5d0e0c89c3e9b2
CRs-Fixed: 688141
2016-09-12 12:16:29 -07:00
qcabuildsw
9d1df66654 Release 5.1.0.26M
Release 5.1.0.26M

Change-Id: I779976f45b671b33cc4663d8470515d39aa688d0
CRs-Fixed: 688141
2016-09-12 11:12:40 -07:00
qcabuildsw
5d2c9db1df Release 5.1.0.26L
Release 5.1.0.26L

Change-Id: I4e1660efda00b9255b382ddba70b82cfd173ff54
CRs-Fixed: 688141
(cherry picked from commit 397a4fadd42064601c2b6c7ca9363cf84f9631ca)
2016-09-11 17:55:59 -07:00
qcabuildsw
9e93a61862 Release 5.1.0.26K
Release 5.1.0.26K

Change-Id: I0a31da9177ad6e978d6e72efba37153431c18a1e
CRs-Fixed: 688141
(cherry picked from commit 36008e6d9865769c8815dffeea10b18258c3c9b5)
2016-09-11 17:53:24 -07:00
Sandeep Puligilla
7e3e3c5fbb qcacld-3.0: Serialize peer create and delete
Peer create is called before peer delete which
triggered assert at firmware.

Remove the duplicate peer entry before creating
a new entry for the same peer by serializing
the messages.

Change-Id: Ibf044df5271e9cd2fc3e869bb28d101d3ea9ad43
CRs-Fixed: 1052279
(cherry picked from commit fe914b42b15af00236e3db8e0d6c7d408c5bc4be)
2016-09-11 17:52:47 -07:00
Selvaraj, Sridhar
a7fc763e16 qcacld-3.0: Update Assoc IEs to firmware after STA connects
As part of MBO(Multiband Operations), the Assoc IE's including
MBO IE need to be sent to FW as part of Roam Scan Offload command
so that these IE's can be used later in firmware initiated roams

Change-Id: Ia873c65a7813ae63d8e53d7445095990b0c2fed7
CRs-Fixed: 1039969
(cherry picked from commit 0af3520421400b65002604e0a3a9c7c714cc1e21)
2016-09-11 17:37:17 -07:00
qcabuildsw
a2c9394237 Release 5.1.0.26J
Release 5.1.0.26J

Change-Id: I1b94db3771c91e56767e97aa0a92f2e7747f2e3a
CRs-Fixed: 688141
(cherry picked from commit f55e364553887474f084902b5b657a40b31c75da)
(cherry picked from commit d5310cc84048776f7b153449370ebe6cb5ef8492)
2016-09-11 17:12:29 -07:00
Padma, Santhosh Kumar
3fdc7a8729 qcacld-3.0: Initialize session id for auth retry timer
qcacld-2.0 to qcacld-3.0 propagation

Currently session id is not initialized for auth retry timer
during roaming which can result in error in lim_deactivate_and_change_timer
during preauth. Fix this by initializing session id for auth retry timer.

Change-Id: Ia7093802c9240c967378de54695a258d80c395de
CRs-Fixed: 1043384
(cherry picked from commit 2095a2a7167cb8ca5fb23aa339639f360709edbb)
(cherry picked from commit 9232eaf4e118445b187252c8b8c80249da16c624)
2016-09-11 17:12:20 -07:00
Selvaraj, Sridhar
4577a9b955 qcacld-3.0: Send p2p ack indication directly to HDD from PE
qcacld-2.0 to qcacld-3.0 propagation

During P2P functionality, Host will send GO NEG REQ and
receives ACK completion from firmware which will be queued
to indicate HDD. Meanwhile if host receives GO-NEG RESP it
will be sent directly to HDD via function callback. In HDD as
we got  GO NEG RESP before ACK completion for GO-NEG REQ, HDD
will generate pkt completion for GO NEG Request.
Now GO NEG CONFORMATION frame will be sent and driver will be
expecting completion for this. The GO NEG REQ ACK completion
which got buffered in PE will be delivered to Supplicant and
Supplicant assumes that this is the ACK for GO NEG CONF frame.
This causes early termination of remain on channel due to which
firmware may drop the GO NEG CONF frame and may not retry as ROC
is terminated.
Fix this by making ACK Completion indication to HDD via function
callback.

Git-commit: 32ddf4196f423b8eaea7ec6c0816e2961aa7fc45
Change-Id: I0dd3acb236b270839649d2becfdc007e7aae9fdd
CRs-Fixed: 1012547
(cherry picked from commit a3996d421de7f55d5a6f7da19d7ff4b568ce7c50)
(cherry picked from commit 42405db3bd3f4b10800cde8cdcd14f521461a5a7)
2016-09-11 17:12:10 -07:00
qcabuildsw
ed259c4236 Release 5.1.0.26I
Release 5.1.0.26I

Change-Id: I094f85d2360b2ac903959b507ef338c072568624
CRs-Fixed: 688141
(cherry picked from commit f287c5415c642efc4cecfa733c37be6cad5a19bb)
2016-09-11 17:10:03 -07:00
qcabuildsw
b9ab5eb1b8 Release 5.1.0.26H
Release 5.1.0.26H

Change-Id: Iffe2de323ce44467975ba96101666f0601150b11
CRs-Fixed: 688141
(cherry picked from commit c0aa8ed6e971fb369a5a6c51bc44e1e5715506fc)
2016-09-11 16:55:46 -07:00
Naveen Rawat
03e8d95c9e qcacld-3.0: Send HT/VHT CAPs IE to firmware per band
Send HT/VHT CAPs IE to firmware per band. This will allow certain
features like LDPC to be configured per band.

Change-Id: I21c83af984f9be3ade46121ef148b52568c3ad0f
CRs-Fixed: 1055774
(cherry picked from commit 2a94c5666ea0c66477d0086c8d5a401db8e4afcf)
2016-09-11 16:49:46 -07:00
qcabuildsw
f821d418ab Release 5.1.0.26G
Release 5.1.0.26G

Change-Id: I33404709241889245378b5e81d9e92f1a19733a7
CRs-Fixed: 688141
(cherry picked from commit 36d731d10bdba33f331ae189aece4686ef306706)
2016-09-10 19:08:43 -07:00
qcabuildsw
863e29e778 Release 5.1.0.26F
Release 5.1.0.26F

Change-Id: I2876cddbf5ff79c44d6331f5af61781138902357
CRs-Fixed: 688141
(cherry picked from commit 5a610a62d974d0009fef00110f98794cc1c9b256)
2016-09-10 19:08:36 -07:00
Hanumanth Reddy Pothula
1891fe4e6a qcacld-3.0: Resolve static analysis issues
qcacld-2.0 to qcacld-3.0 propagation

Resolved  static analysis issues,  variable initialization,
return on failure, validate data before using.

Change-Id: Ia6ffd422ae3f9bc8419f32aa914839a091841335
CRs-Fixed: 975049
(cherry picked from commit 3284a163a31f49bfd7f2b0f2319ee30c3710ee64)
2016-09-10 19:07:02 -07:00
Mahesh A Saptasagar
fb33542c94 qcacld-3.0: Log info about deauth/disassoc sent over air
qcacld-2.0 to qcacld-3.0 propagation.

Log success or failure status whether disassoc/deauth sent successfully
over the air.

Change-Id: I527bd35546eb21157498f235fe74710dd3f7688e
CRs-Fixed: 1016866
(cherry picked from commit d081fef10c8440830cea8d6e598087d5021687ae)
2016-09-10 19:06:46 -07:00
Anurag Chouhan
1a73428e0d qcacld-3.0: Don't re-initialize timer if initialization is evaluated to zero
qcacld-2.0 to qcacld-3.0 propagation.

Do not re-initialize periodic probe request timer if the calculated
value for "initScheduleTimeInMsecs" from max channel timer is zero.

Change-Id: I7cc03d84088c8c3f2b1e704c2e6c8c24c1a01189
CRs-Fixed: 909143
(cherry picked from commit 0d91c221310d699374b9d4373f7b5cd52ece3ac8)
2016-09-10 19:06:35 -07:00
qcabuildsw
500c1b329d Release 5.1.0.26E
Release 5.1.0.26E

Change-Id: Ib42d0372760133d27074f70bd0b9d60bb0409f69
CRs-Fixed: 688141
(cherry picked from commit 78aca0df5756decc780f8e62253f9784c6fa6858)
2016-09-10 19:06:33 -07:00
Kondabattini, Ganesh
b72e25cb7f qcacld-3.0: Define data structures for new AP requirements
qcacld-2.0 to qcacld-3.0 propagation

Defining data structures for below new requirements.
        - beacon_tx_rate
        - vendor_ie
        - vendor_ie_len
        - vendor_ie_assoc_policy
        - sta_inactivity_timeout
        - tx_pkt_fail_cnt_threshold
        - short_retry_limit
        - long_retry_limit
        - ampdu_size
        - supp_rate_set
        - extended_rate_set

Change-Id: I9d05cd7b8e051c4e9e4912cf866206ae32ec293d
CRs-Fixed: 1020078
(cherry picked from commit 8f57eee853baff54397c68c8cd71aeb50610a56a)
2016-09-10 19:06:29 -07:00
Agrawal Ashish
18361c5557 qcacld-3.0: Allow different beacon intervals for SAP
qcacld-2.0 to qcacld-3.0 propagation

Currently if user space sends two different beacon
interval in AP+AP, driver is not updating correct beacon interval.
Beacon interval should be sent as per session.

Change-Id: I13653701e7ed6fb2eb643bbb8e20e7c0102c2ec2
CRs-Fixed: 1037455
(cherry picked from commit 183b9b33087f5afc925d5899b468450e88b97998)
2016-09-10 19:06:25 -07:00
Padma, Santhosh Kumar
e7835652d6 qcacld-3.0: Add diag events for debugging
qcacld-2.0 to qcacld-3.0 propagation

Currently there are no diag events to debug auth, assoc timeouts
and memory failure. Add such diag events which can be useful during
failures.

Change-Id: Iec4c2a9946fbef388959fdc796273944d3be8003
CRs-Fixed: 954888
(cherry picked from commit 96f330d11abe16a35c13a87346e8e60cbd0c7141)
2016-09-10 19:06:23 -07:00
Padma, Santhosh Kumar
79412edee3 qcacld-3.0: Validate pHashTable
qcacld-2.0 to qcacld-3.0 propagation

When deauth/disassoc is received from peer at the same time when
cleanup in progress because of disconnect from supplicant, there
is a chance that pHashTable can be NULL. Memory pointed by
pHashTable is freed during peDeleteSession, which is called during
cleanup. In dphLookupHashEntry, pHashTable is referenced without
any NULL check, which can lead to crash. Fix this by validating
pHashTable for NULL check.

Add a NULL check in _limProcessOperatingModeActionFrame before
referencing sta context to resolve potential KW issue.

Change-Id: I74d5c739cade19941320ee02eddc09e4fc74b105
CRs-Fixed: 898375
(cherry picked from commit b303090fde8d3a14dbf6f9c80d635e27718a583d)
2016-09-10 19:06:21 -07:00
Padma, Santhosh Kumar
17fac9f9c5 qcacld-3.0: Reset memory allocation of BSS description
qcacld-2.0 to qcacld-3.0 propagation

In CCX, BSS description is sent as part of beacon report. If BSS
description has random values, it leads to CCX certification failure.
Fix this by resetting memory allocated with zero. Also, reset memory
allocated to send beacon report to avoid this issue.

Change-Id: I445942b64ca9f382f8d24ca19665d6bda2341a80
CRs-Fixed: 931441
(cherry picked from commit c7a96bbd498d6d096f1dcade7fce0f6c1732248e)
2016-09-10 19:06:20 -07:00
qcabuildsw
8ff87d80f6 Release 5.1.0.26D
Release 5.1.0.26D

Change-Id: I1b02ff4038a6e55a6860ccb6c0d0027aec3a4da4
CRs-Fixed: 688141
(cherry picked from commit 9315cb9888f85f24102a55dc021644281221d75f)
2016-09-10 19:06:13 -07:00
Manjeet Singh
fde0c04dc2 qcacld-3.0: Pass valid data to kernel upon processing GET_STAWPAIE IOCTL
qcacld-2.0 to qcacld-3.0 propagation.

While processing GET_STAWPAIE, based on interface, driver calls
WLANSap_getstationIE_information()/csrRoamGetWpaRsnReqIE() to
get WPA-RSN IE data. For suppose WPA-RSN IE length is greter than
DOT11F_IE_RSN_MAX_LEN(114), then these functions returns failure
by updating only data length. But as calling functions are not
checking return value, driver updates kernel buffer with invalid
data.
Add check to validate WLANSap_getstationIE_information() and
csrRoamGetWpaRsnReqIE() return value.
Also update DOT11F_IE_RSN_MAX_LEN to 255 from 114 and update
IOCTL numbers.

Change-Id: If021318e526c1b1a5616f9447be11174aa4c6a34
CRs-Fixed: 1000857
(cherry picked from commit cc0e12838a8d5ca3fe509bb152b73caeb478744c)
2016-09-10 19:05:47 -07:00
qcabuildsw
7c04b1ab17 Release 5.1.0.26C
Release 5.1.0.26C

Change-Id: I0c04b972eaef33eaad3001ea3f3682acd36fb667
CRs-Fixed: 688141
(cherry picked from commit b3949fa06a87310ed41daba3e0dd357eeb7cdc72)
2016-09-10 19:05:41 -07:00
Krishna Kumaar Natarajan
6553ea16be qcacld-3.0: Handle protected dual of public action frame
Handle protected dual of public action frame in lim_process_action_frame.

GAS comeback request/response frames will be converted into protected dual of
public action frame on encryption. These frames should be passed to userspace
for further processing.

Change-Id: I25e7f06369cdd238a561ddb5a825a63fe35f7b17
CRs-Fixed: 1063665
(cherry picked from commit 7745335fbdebcd81b274c703e5a080d61dd86428)
2016-09-10 19:05:38 -07:00
qcabuildsw
b33a1b8392 Release 5.1.0.26B
Release 5.1.0.26B

Change-Id: I17835a32e5ef3da009dd42b841a73da832b93863
CRs-Fixed: 688141
(cherry picked from commit 050f0dd635c69769575ef00dbc1214de497ac282)
2016-09-10 19:05:35 -07:00
Sreelakshmi Konamki
beacc2eae2 qcacld-3.0: Resolve unknown code issues in MTRACE logs
qcacld-2.0 to qcacld-3.0 propagation

Some MTRACE logs returns 'unknown code' instead of code and data passed
to MTRACE. To resolve this unknown code issues in MTRACE logs,
add any missing MTRACE code enums in corresponding trace functions.
Both mac_trace_msg_tx() and mac_trace_msg_rx() were not handling
eWniMsgTypes enums, we don't have module Id for SME to handle
in those functions itself. So, modified mac_trace_msg_tx() to mac_trace().

Change-Id: Ia994c971178e24843f652b67336afeaec5e949ab
CRs-Fixed: 871983
(cherry picked from commit 5e12a6f7a67de546c8567341f35707da61cf00b8)
2016-09-10 19:05:23 -07:00
Naveen Rawat
cb186cf882 qcacld-3.0: Fix nan data interface create
1) In function wma_update_hdd_cfg update tgt_cfg before calling hdd callback
   function.
2) In function hdd_init_nan_data_mode correct check for status returned from
   sme_open_session

Change-Id: Ibf86c348f95c6f5589c2089600dbe176b1fda5fe
CRs-Fixed: 962367
(cherry picked from commit c6e52d750fee0675efdbe08d7e6f0c274887cb65)
2016-09-10 19:05:19 -07:00
Rakesh Sunki
cf1c9abd5c qcacld-3.0: Fix NDP ping failure issue
After completing NDP initiator and response between two NDP peers,
ping failure between the peers is observed due to mismatch in the
broadcast station id set in the driver and the broadcast MAC address
for the NDI. This sta id is eventually used as local id to fetch the
peer associated with the sta id and extract the vdev id from the peer
handler,  which was pointing to the incorrect vdev leading to ping
packets drop in the firmware due to incorrect vdev id.

Assign the broadcast id for NDI same as the NDI self
peer's sta id, which will point to the correct vdev id.

Change-Id: I4a4eeae149a4347da236cb768cf41141d9efdaca
CRs-Fixed: 1059527
2016-09-10 18:49:07 -07:00
qcabuildsw
2072f396ed Release 5.1.0.26A
Release 5.1.0.26A

Change-Id: I931a9ecf31d438f50fe8b8454914d734f4254271
CRs-Fixed: 688141
2016-09-10 14:11:42 -07:00
Abhishek Singh
e36aa82922 qcacld-3.0: If association timeout send deauth to cleanup the peer session
qcacld-2.0 to qcacld-3.0 propagation

In the scenario where association times out because device has missed
the assoc resp sent by peer, the peer assumes the device to be
connected and thus when device again sends the auth for fresh
connection the peer sends deauth. Thus fresh connection also fails.

To avoid this send deauth after association time out, to cleanup
the session in peer.

Change-Id: I1f7bfbe804da0dc92ce4ece87dc65954b086133c
CRs-Fixed: 987455
2016-09-10 14:11:15 -07:00
qcabuildsw
e546c9b241 Release 5.1.0.26
Release 5.1.0.26

Change-Id: Ic579e7747b2600bfd2d3b2a409ed62b32f4d497c
CRs-Fixed: 688141
2016-09-10 14:10:12 -07:00
qcabuildsw
d1353d2dd0 Release 5.1.0.25Z
Release 5.1.0.25Z

Change-Id: I0769ee052ee49cc19f8b13d0d2b8b95f3c3032f1
CRs-Fixed: 688141
2016-09-10 14:05:24 -07:00
qcabuildsw
5dae0fea7d Release 5.1.0.25Y
Release 5.1.0.25Y

Change-Id: I57535b476c010ea470707aeade5136a18c01a94e
CRs-Fixed: 688141
2016-09-07 11:48:53 -07:00
qcabuildsw
070c9dd2ce Release 5.1.0.25X
Release 5.1.0.25X

Change-Id: Iaf245d3adfc32267070783c3dab671c69754fd90
CRs-Fixed: 688141
2016-09-06 18:23:52 -07:00
Masti, Narayanraddi
d8a56fbc4a qcacld-3.0: Do not include 11b rates in TDLS setup request
qcacld-2.0 to qcacld-3.0 propagation

If base channel is 5 GHz and when we support all 11a and 11g
rates, then there is no need to advertise 11b rates in TDLS setup
request/response frames.
Advertising 11b rates also leading to IOT issues with few third
party devices.
Fix is to ensure that 11b rates are not included if base channel is
5ghz.

Change-Id: I45590a4067194e8929bac225b1a82ec510903539
CRs-Fixed: 955788
2016-09-06 18:23:51 -07:00
Ganesh Kondabattini
53e873e85f qcacld-3.0: Update the scan list with correct APs
qcacld-2.0 to qcacld-3.0 propagation

In the current implementation, DUT doesn't initialize the social
channels 1, 6 and 11 and doesn't support P2P discovery in 5GHz only
mode. So we don't see any AP's on 1, 6 and 11 channels during p2p scan.

Change-Id: I317119bbbc30d44214c11076faceba8101cf835a
CRs-Fixed: 962252
2016-09-06 18:23:49 -07:00
Masti, Narayanraddi
6319f063aa qcacld-3.0: Maintain session id for TDLS functionality in lim struct
qcacld-2.0 to qcacld-3.0 propagation

Currently, since we are using same member from lim structure for p2p and
TDLS there could be possibilities that session id is overwritten
by p2p which would lead in not sending Tx completion indication from
lim to hdd thus leading to Tx timeout though we have received tx completion
indication from FW.

Fix is to create new session id for TDLS frames transmission

Change-Id: I1f78f24ac01e0b26c92238dbe831af88aa267bd5
CRs-Fixed: 991455
2016-09-06 18:23:48 -07:00
qcabuildsw
b08f5ccd2c Release 5.1.0.25W
Release 5.1.0.25W

Change-Id: I9c362816e75c8f209544092abb1d55308c45328b
CRs-Fixed: 688141
2016-09-06 17:24:52 -07:00
qcabuildsw
b456c02f99 Release 5.1.0.25V
Release 5.1.0.25V

Change-Id: Ibc735962b5f17e3823a796ccd7774d257bf52bf0
CRs-Fixed: 688141
2016-09-06 16:27:08 -07:00
qcabuildsw
7d06dd55c9 Release 5.1.0.25U
Release 5.1.0.25U

Change-Id: Ie1ea4337b4dc365fac9ffc29ca16d80382ab8c32
CRs-Fixed: 688141
2016-09-06 15:24:24 -07:00
qcabuildsw
46cec9839a Release 5.1.0.25T
Release 5.1.0.25T

Change-Id: I66653f57351115b5fdc393586f2f1b3510907db0
CRs-Fixed: 688141
2016-09-06 14:26:16 -07:00
qcabuildsw
38e8ce8849 Release 5.1.0.25S
Release 5.1.0.25S

Change-Id: If822dd1351e437779f2e74851cbe4e178f4b8b1e
CRs-Fixed: 688141
2016-09-06 13:29:18 -07:00
qcabuildsw
5e7f144a65 Release 5.1.0.25R
Release 5.1.0.25R

Change-Id: I6410c7b3b3a520c98b51bcb95339164aed306d40
CRs-Fixed: 688141
2016-09-05 01:23:19 -07:00
qcabuildsw
32e0c6ffc1 Release 5.1.0.25Q
Release 5.1.0.25Q

Change-Id: I4020618927aae783a8327b3266f8c045d2635f99
CRs-Fixed: 688141
2016-09-03 07:45:18 -07:00
Masti, Narayanraddi
4d8860cc10 qcacld-3.0: Fix to reset HT oper mode after legacy AP goes away
qcacld-2.0 to qcacld-3.0 propagation

HT oper mode is set to overlap legacy mode when a legacy
AP (11a only) comes in vicinity of SAP. HT oper mode should
be reset when legacy AP moves out of vicinity of SAP.
Reset function was not resetting HT oper mode in mac context
which was leading to issue.

Fix resets the operating mode to pure HT operating mode after
legacy AP moves out of vicinity of SAP.

Change-Id: Ie5af79341c60cd42c7030699cd1c165ef323e011
CRs-Fixed: 943414
2016-09-03 07:45:18 -07:00
qcabuildsw
c34f885076 Release 5.1.0.25P
Release 5.1.0.25P

Change-Id: I8ba2c3b7d80e3a6a56c1a990a988c93817ade213
CRs-Fixed: 688141
2016-09-02 21:27:01 -07:00