Commit Graph

7089 Commits

Author SHA1 Message Date
nshrivas
cf1ff1558a Release 5.2.0.151A
Release 5.2.0.151A

Change-Id: I001ab0efd86fc131f3e68894653748357da9a7a4
CRs-Fixed: 774533
2019-10-02 16:25:13 -07:00
nshrivas
64e369368b Release 5.2.0.151
Release 5.2.0.151

Change-Id: I04893938c58080dd8edb48798685186b7827c0d2
CRs-Fixed: 774533
2019-10-02 14:54:49 -07:00
nshrivas
667a5aab35 Release 5.2.0.150Z
Release 5.2.0.150Z

Change-Id: I0fd270bf4500f55ae840396430e91b70d7bf63dc
CRs-Fixed: 774533
2019-10-02 02:48:05 -07:00
Kiran Kumar Lokere
c220a51edb qcacld-3.0: Add VHT extended Nss BW support for 160MHz
Add VHT extended Nss BW support for 160MHz connection.

Change-Id: I8e2833a48ca5de0301634a88eb1a66002b4c9c20
CRs-Fixed: 2531279
2019-10-02 02:48:04 -07:00
nshrivas
2df1001a50 Release 5.2.0.150Y
Release 5.2.0.150Y

Change-Id: Ic12354c645dc6f5d8ac0dac5eb69f82fd709dc2b
CRs-Fixed: 774533
2019-10-01 22:10:23 -07:00
nshrivas
29dc088a95 Release 5.2.0.150X
Release 5.2.0.150X

Change-Id: Iaaa53b953da4209fc64e56889959f683bb7c4699
CRs-Fixed: 774533
2019-10-01 11:54:17 -07:00
Ashish Kumar Dhanotiya
b035570f53 qcacld-3.0: Fill correct txpower information
As a part of 802.11ax amendment, 6GHz band operation is added.
Since the 6 GHz channel numbers are overlapping with existing 2.4GHz
and 5GHz channel numbers, use frequency to identify unique channel
operation instead of channel number. Channel frequency is unique across
bands.

As a part of above requirement frequency attribute is added to the
struct sSirMacChanInfo, in driver some APIs directly copies this
structure info considering as every member of the structure as uint8_t,
as frequency is uint32_t this breaks above asumption and results into
corrupt info and gives undefined behaviour.

To address above issue, use the structure members individually and
give the information by member-by-member copy.

Change-Id: Ied6ad30d8a0800211f99371969ddd192ff40545c
CRs-Fixed: 2537975
2019-10-01 11:54:16 -07:00
Pragaspathi Thilagaraj
3548a66560 qcacld-3.0: Fix integer overflow in rrm_fill_beacon_ies()
In rrm_fill_beacon_ies(), the len is the total length of
IE + 2 bytes for element ID (1 byte) and length of the
IE(1 byte). Length is defined of type uint8_t and can have
only values upto 255. When the IE content length is 254,
adding 2 bytes to this will cause the len to overflow
resulting in continuous loop in rrm_fill_beacon_ies.

Change the len type to uint16_t to avoid integer overflow.

Change-Id: Id6a6bcce150f778e24316ccc5fb51c6e2a95fc5e
CRs-Fixed: 2537774
2019-10-01 11:54:10 -07:00
nshrivas
2feaa0a946 Release 5.2.0.150W
Release 5.2.0.150W

Change-Id: I22d3ee3b7b226190fef14d652ce4744541941cf0
CRs-Fixed: 774533
2019-10-01 10:01:27 -07:00
nshrivas
252518f6d8 Release 5.2.0.150V
Release 5.2.0.150V

Change-Id: Ib8b1ebbb307cfd6028d2c120292edffc6828aeff
CRs-Fixed: 774533
2019-10-01 08:01:27 -07:00
nshrivas
c073f33f21 Release 5.2.0.150U
Release 5.2.0.150U

Change-Id: I90484e60744299c6bfb662b62fd9e7cc255f3975
CRs-Fixed: 774533
2019-10-01 03:56:56 -07:00
nshrivas
c2824eacc0 Release 5.2.0.150T
Release 5.2.0.150T

Change-Id: I3e4281b6bd9f7a610c946dca1cb344410002fa6c
CRs-Fixed: 774533
2019-10-01 02:15:59 -07:00
nshrivas
2092127577 Release 5.2.0.150S
Release 5.2.0.150S

Change-Id: I06ceb270ff37443087e07153e91943848d9335c7
CRs-Fixed: 774533
2019-09-29 09:48:12 -07:00
nshrivas
2efd386d8d Release 5.2.0.150R
Release 5.2.0.150R

Change-Id: Ib838548276fcaa037683a4e329948487151916f4
CRs-Fixed: 774533
2019-09-28 23:40:26 -07:00
bings
8551233fd6 qcacld-3.0: Send assoc ind to upper layer after assoc rsp tx complete
Do not send assoc indication to hostapd until tx is completed over the
air. This ensures on receiving assoc resp tx status, M1 is triggered
from hostapd.

Otherwise, race condition happens between assoc response and M1 packet.

Change-Id: I1da7d5b2abcc35dc39fd8e3d8b834e1481d369f3
CRs-Fixed: 2507446
2019-09-28 23:40:25 -07:00
nshrivas
dd17b26468 Release 5.2.0.150Q
Release 5.2.0.150Q

Change-Id: Iab4583310d081169ed0701f9267393bf4ee05c0e
CRs-Fixed: 774533
2019-09-28 04:01:11 -07:00
nshrivas
dee2b1f3d3 Release 5.2.0.150P
Release 5.2.0.150P

Change-Id: I74f54681903c2535c2853e285c9f323ee9937a1b
CRs-Fixed: 774533
2019-09-27 17:12:15 -07:00
Srinivas Dasari
fffa0b4131 qcacld-3.0: Free the cached assoc request if a new assoc req rcvd
Driver caches the assoc request received from an SAE STA if it's
received before getting external auth(SAE) status from hostapd.
Station might retry the assoc frame(ex: if it doesn't get assoc
response within a specific interval) and the cached assoc request
is overwritten with new assoc request, but the cached assoc
request is not freed. Free the same to avoid memleaks.

Change-Id: I576f3b8b05d17afc66481419d1b5bdc0765c84aa
CRs-Fixed: 2535425
2019-09-27 17:12:15 -07:00
nshrivas
1efd360a78 Release 5.2.0.150O
Release 5.2.0.150O

Change-Id: Ib2cddb4b9c1b0e0701ab620108a2f33cf89e4408
CRs-Fixed: 774533
2019-09-27 14:56:40 -07:00
Pragaspathi Thilagaraj
9f23038aaa qcacld-3.0: Rename limTimers
Linux coding style doesn't allow camel case notations. So
rename limTimers to be in compliance.

Change-Id: I83807e8e5318cfad300365780f8cf9dc29037312
CRs-Fixed: 2482564
2019-09-27 14:56:39 -07:00
nshrivas
02d03e3e5c Release 5.2.0.150N
Release 5.2.0.150N

Change-Id: I62e9cb120f806456eb699728ce5c6caa1a23fe58
CRs-Fixed: 774533
2019-09-27 09:12:05 -07:00
nshrivas
1797d1d0e7 Release 5.2.0.150M
Release 5.2.0.150M

Change-Id: I0f0b9e8fa813dad94aaa566ecb04f8cd21f54149
CRs-Fixed: 774533
2019-09-27 07:56:28 -07:00
nshrivas
a515b7162d Release 5.2.0.150L
Release 5.2.0.150L

Change-Id: I77db4a07dfc50f73937ffca3b1bf56231d50b035
CRs-Fixed: 774533
2019-09-27 06:40:58 -07:00
Abhishek Singh
69c773d121 qcacld-3.0: Update channel width after sanity check
After sanity check in lim_set_ch_phy_mode the channel width is
updated but is not copied to des_chan.

So copy the new channel width to des_chan.

Change-Id: Iffdcabaa3bfe25083e9c4368621f8df71c152806
CRs-Fixed: 2536201
2019-09-27 06:40:57 -07:00
nshrivas
e6795dcd30 Release 5.2.0.150K
Release 5.2.0.150K

Change-Id: I41de5f2cd21162b008b33484e5cfaf6af24dbada
CRs-Fixed: 774533
2019-09-27 05:20:12 -07:00
nshrivas
1a40b7b6cb Release 5.2.0.150J
Release 5.2.0.150J

Change-Id: Ibb3648aeac1e9bcb18694444c2a2ad91623e44ee
CRs-Fixed: 774533
2019-09-27 02:46:36 -07:00
Abhishek Singh
52dc8abc44 qcacld-3.0: Cleanup unused params from struct bss_params part 2
Cleanup unused params from struct bss_params after moving to
vdev target if for add bss request.

Change-Id: Ib3cf3726b4b4c692a0323669770632f2031d4e9a
CRs-Fixed: 2535156
2019-09-27 02:46:30 -07:00
nshrivas
08751f70dd Release 5.2.0.150I
Release 5.2.0.150I

Change-Id: If6c274e6bb991ab11f46cb0de61c2fb071119a4d
CRs-Fixed: 774533
2019-09-26 22:05:07 -07:00
nshrivas
a99ac5c82d Release 5.2.0.150H
Release 5.2.0.150H

Change-Id: Iec686a83701737d2ccb244e069e2c0f088623db2
CRs-Fixed: 774533
2019-09-26 17:33:13 -07:00
nshrivas
953aaf29d2 Release 5.2.0.150G
Release 5.2.0.150G

Change-Id: If27ee6203b8ab87e45d33fd6e3585f7b5d8452cd
CRs-Fixed: 774533
2019-09-26 14:53:32 -07:00
Liangwei Dong
a96e0027c1 qcacld-3.0: Populate channel flags for vdev_mlme.des_chan
When vdev_mgr_start_send is introduced, the Dfs->dfs_curchan
will be filled from mlme "des_chan" by tgt_dfs_set_current_channel.
Set correct channel flags to des_chan so that dfs radar functions
can get correct channel information.

Change-Id: I643acadb97c3924261b45f598a50fa82d9a224e6
CRs-Fixed: 2529996
2019-09-26 14:53:32 -07:00
Pragaspathi Thilagaraj
b3d5253c22 qcacld-3.0: Replace typedef tLimMlmStaContext
Linux coding style doesn't allow camel case notations. So
replace tLimMlmStaContext with the original structure.

Change-Id: Iea2968d9cf993c405390f0ff9712755137cebc07
CRs-Fixed: 2482105
2019-09-26 14:53:13 -07:00
nshrivas
f342a1205d Release 5.2.0.150F
Release 5.2.0.150F

Change-Id: Ib51839783ac2d1be76ee7d2e98cbe8ca2b7d2559
CRs-Fixed: 774533
2019-09-26 10:33:59 -07:00
Abhishek Singh
cf340dd8e7 qcacld-3.0: Move common code for set channel and add bss to new api
Some of the code in set channel and add bss API is duplicate so move
it to a API which can be called from both place.

Change-Id: I73f1f7b06034cff88589f6818a94a202604287e1
CRs-Fixed: 2535158
2019-09-26 09:07:43 -07:00
Jianmin Zhu
9c35741281 qcacld-3.0: Refactor LFR2 and OCB vdev start
Refactor LFR2 and OCB vdev start, fill vdev mlme directly,
don't use wma_vdev_start_req.

Clean up wma_vdev_start_req
Clean up wma_vdev_start

Change-Id: Ic647271dee8c69f8cb9500fa3b5388ce7ef39ace
CRs-Fixed: 2534828
2019-09-26 21:32:45 +05:30
nshrivas
28dd6b2cd2 Release 5.2.0.150E
Release 5.2.0.150E

Change-Id: Ic955f290e161c9e90672f9c4e9f3d96068605c9b
CRs-Fixed: 774533
2019-09-26 05:52:25 -07:00
nshrivas
201baa6159 Release 5.2.0.150D
Release 5.2.0.150D

Change-Id: I85d781c6a885909b297efe5aebb1809a146abd84
CRs-Fixed: 774533
2019-09-26 01:20:33 -07:00
nshrivas
b34f21a47a Release 5.2.0.150C
Release 5.2.0.150C

Change-Id: If3a8610462e4d1230e02a74158f8f34ca0d301bb
CRs-Fixed: 774533
2019-09-25 23:57:35 -07:00
nshrivas
ef0d160c71 Release 5.2.0.150B
Release 5.2.0.150B

Change-Id: I3625969a0e4453422c782ea872fac9871a5415af
CRs-Fixed: 774533
2019-09-25 13:22:51 -07:00
nshrivas
92a28cb0d1 Release 5.2.0.150A
Release 5.2.0.150A

Change-Id: If0e122726287766ae5b0624dbc8a8f16da506f16
CRs-Fixed: 774533
2019-09-25 11:53:35 -07:00
nshrivas
2426dfc03b Release 5.2.0.150
Release 5.2.0.150

Change-Id: I230315dd2d2573d3aceaedb638f0d518f1c554e4
CRs-Fixed: 774533
2019-09-25 10:37:24 -07:00
bings
fe33a7c071 qcacld-3.0: Stop roam timer when receiving deauth roam event
Stop roam timer when receiving deauth roam event as FW suggests,
otherwise roam timer will be timeout.

Change-Id: I5dad9cea21b4b1c701904ec1efdc39b9b6a34bd8
CRs-Fixed: 2497029
2019-09-25 10:37:24 -07:00
Abhinav Kumar
523ca376a9 qcacld-3.0: Add support to dynamically enable roaming in STA+STA
Currently in STA+STA scenario roaming is enabled on the
first connected STA1 and is enabled on the other STA2 on
STA1 disconnection. This change adds support to dynamically
enable or disable roaming on any STA.

Change-Id: I34dc2730fb38193ea3dd0ec35c79df233f270913
CRs-Fixed: 2520827
2019-09-25 10:37:15 -07:00
Yeshwanth Sriram Guntuka
1669fc0508 qcacld-3.0: Add CSR APIs to maintain roam state machine
Add CSR APIs to maintain the roam state machine.

Change-Id: I68728cb657c5a492f141bea90b2da0d70cb61f08
CRs-Fixed: 2520826
2019-09-25 10:37:09 -07:00
nshrivas
9f1d8c516e Release 5.2.0.149Z
Release 5.2.0.149Z

Change-Id: I9f6fc0ba5caa3309e4bd6a0c6469d4a9a78d8e60
CRs-Fixed: 774533
2019-09-25 09:20:38 -07:00
nshrivas
596e524549 Release 5.2.0.149Y
Release 5.2.0.149Y

Change-Id: I95c9e92498f3cce99042136cdcd39332141a7923
CRs-Fixed: 774533
2019-09-25 06:14:10 -07:00
nshrivas
6e84bde0ad Release 5.2.0.149X
Release 5.2.0.149X

Change-Id: Id55e54fe8ce7a1c8de2f8e9baae76e8acbb4d154
CRs-Fixed: 774533
2019-09-25 04:58:54 -07:00
Pragaspathi Thilagaraj
683c1cfe6c qcacld-3.0: Fix invalid vdev_id value while sending link report frame
In lim_send_link_report_action_frame(), the link report action
frame is filled in response to the link measurement request from
the AP. wma_tx_frame() is called to send the frame to the firmware.
But the vdev_id is initialized to 0 in
lim_send_link_report_action_frame(), but is not updated from
pe_session before passing it in wma_tx_frame. SO when STA comes
up on vdev 1, the vdev value is still sent as 0. This results in
the action frame dropped in firmware.

Fill the vdev_id from pe_session before sending it to firmware.

Change-Id: I5ee830fc6ca542c29f555bce63a77c3309777d3b
CRs-Fixed: 2530258
2019-09-25 04:58:45 -07:00
nshrivas
3c33fde7c7 Release 5.2.0.149W
Release 5.2.0.149W

Change-Id: I19614a7cf8a98efa9450f8c86ea0cb05f5385edd
CRs-Fixed: 774533
2019-09-25 02:30:55 -07:00
nshrivas
1981a0febe Release 5.2.0.149V
Release 5.2.0.149V

Change-Id: I33276475648c6ace71f7b374a03a7fcf1b70dbd7
CRs-Fixed: 774533
2019-09-25 01:08:50 -07:00