Commit Graph

16957 Commits

Author SHA1 Message Date
nshrivas
7ffaa2b1e5 Release 5.2.0.148Q
Release 5.2.0.148Q

Change-Id: I6899681b003487ccd7e2c457fdaf9e4a489844c5
CRs-Fixed: 774533
2019-09-18 22:53:59 -07:00
Abhishek Singh
7944c9aef9 qcacld-3.0: Remove unused params from struct bss_params
struct bss_params has many legacy params which are not used. So
remove the unused params from struct bss_params.

Change-Id: I7d930e83ff0ce56bf8fb07789f9fca9f94fb6f74
CRs-Fixed: 2530215
2019-09-18 22:53:58 -07:00
Abhishek Singh
6e5c7a6f42 qcacld-3.0: Use add_bss_resp structure while handling add bss resp
The add_bss_req struct is used while handling add bss resp,
and is stored in vdev priv mlme.

The resp path require the info which can be filled from vdev resp
and thus no need to store the add_bss_req. From response fill and
use the add_bss_resp in add bss response handling path

Change-Id: I7ec1189c7d399e181f451a442a2578964eb4e47d
CRs-Fixed: 2529289
2019-09-18 22:53:52 -07:00
Manikandan Mohan
5953215f9b qcacld-3.0: Update dot11f frame spec files for 6Ghz support
Add 6GHZ operation information element structure and HE extended
capabilities for 6GHZ information element structure to dot11f frame
specification and parsing files. Also add them as optional IE in
required managment frames.

Change-Id: I5da20543c245e3e02806a20fbfe3ff4326db61f4
CRs-fixed: 2530409
2019-09-18 22:53:44 -07:00
Kiran Kumar Lokere
229212a653 qcacld-3.0: Refactor SAP module to use channel frequency
Update SAP data structures to use channel frequency values instead
of using the channel id values to support 6GHz channels in SAP.

Change-Id: I9ef5857e8dcf3f7d879495d3f3c3ead083fe0bf0
CRs-Fixed: 2513083
2019-09-18 22:53:37 -07:00
nshrivas
3ab297a01b Release 5.2.0.148P
Release 5.2.0.148P

Change-Id: I99717dfd7ae26e2d18ebe4965ee85f297c19d395
CRs-Fixed: 774533
2019-09-18 19:02:05 -07:00
Smita Ghosh
56a9bf7f86 qcacld-3.0: Disable the module under QMAA
Module depends on msm headers which are not yet available. Thus, disable
the module under QMAA.

Change-Id: I91000cb3140f7d47e418c6a97c9dcf8b464ecdd2
CRs-Fixed: 2529636
2019-09-18 19:02:04 -07:00
Alan Chen
50582ca9cb qcacld-3.0: Move clearing recovery flag to after platform driver callback
Platform driver is still doing MHI cleanup at the current location of
clearing the recovery flag. Clear it after platform driver callback.

Change-Id: Ifa81950790fa3d2704ed1aed85301a99c6383470
CRs-Fixed: 2526873
2019-09-18 19:01:57 -07:00
nshrivas
5073f0c2c3 Release 5.2.0.148O
Release 5.2.0.148O

Change-Id: I33155a68a44e2f9b7351263d26a0a7212671817b
CRs-Fixed: 774533
2019-09-18 11:22:51 -07:00
Ashish Kumar Dhanotiya
285213c6cb qcacld-3.0: Convert channel to frequency in rx mgmt handler
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, in the existing WMI interface handlers
and related functions, wherever missing, add frequency attributes to
identify unique channel operation.

Change-Id: I757f60cef414d206b275b4fbd192d5d22bbc93d7
CRs-Fixed: 2517901
2019-09-18 11:22:51 -07:00
wadesong
d3f8d3a927 qcacld-3.0: Fix a peer phy mode update discrepancy
In function wma_process_update_opmode, interface phy mode
is used to update peer phy mode to FW, which will cause
a mis-behavior in FW during channel switch.

Use peer phy mode, instead of interface phy mode when
driver is sending WMI_PEER_PHYMODE cmd to FW.

Also to make peer phy mode population to FW possible,
add the following APIs to do host to FW phy mode
conversion:

	wma_host_to_fw_phymode_160
	wma_host_to_fw_phymode_11ax
	wma_host_to_fw_phymode

Fix some kernel-doc discrepancies for the following
existing functions:

	wma_fw_to_host_phymode
	wma_fw_to_host_phymode_160
	wma_fw_to_host_phymode_11ax

Change-Id: I6184a1735d37f648763b149795ac7930bce45346
CRs-Fixed: 2497684
2019-09-18 11:22:44 -07:00
Abhishek Singh
ac3df1e582 qcacld-3.0: Add flush callback for wma_cleanup_vdev_resp_and_hold_req
When wma_shutdown_notifier_cb post wma_cleanup_vdev_resp_and_hold_req
the msg.bodyptr is wma. Now during flush the drive will try to free
the msg.bodyptr and may lead to assert.

Fix this by adding dummy flush callback so that driver will not try
to free msg.bodyptr for this msg.

Change-Id: I0734a2ee80dff1d9d4437a009c4c0061485b4de5
CRs-Fixed: 2529950
2019-09-18 11:22:37 -07:00
nshrivas
c6c422915e Release 5.2.0.148N
Release 5.2.0.148N

Change-Id: I9c8ac56d3c574c5014f10d3fd2222d6c2de5bc47
CRs-Fixed: 774533
2019-09-18 05:37:52 -07:00
gaurank kathpalia
83edf09282 qcacld-3.0: Wait for ACS complete before undo acs
Currently the driver does undo acs which clears away
the acs cfg ch list, master ch list, and sap_ctx->ch_list
before the ACS is complete (race condition), which can
lead to pointer access after free.

Fix is to wait for ACS complete event, and then clear away
the above mentioned ch lists.

Change-Id: I55de1e94d1fc3ebb99891465131de11ea3204778
CRs-Fixed: 2519650
2019-09-18 05:37:52 -07:00
nshrivas
ddd4b412a3 Release 5.2.0.148M
Release 5.2.0.148M

Change-Id: I057a6987130970eb141c0eb3569b8cb3fcb43ec0
CRs-Fixed: 774533
2019-09-18 04:18:47 -07:00
Jianmin Zhu
e9fbc3f7b8 qcacld-3.0: Refactor channel switch
When channel switch, don't use tpSwitchChannelParams, fill
wma_vdev_start_req directly in LIM lim_send_switch_chnl_params.
Update wma_set_channel(struct wma_vdev_start_req *req)
PE/LIM call wma API directly for channel switch, don't post msg.
Clean up useless tpSwitchChannelParams.

Change-Id: I876207909ff0bc50f9ec1fbff639c0e9b7d03907
CRs-Fixed: 2529018
2019-09-18 04:18:46 -07:00
Manikandan Mohan
a440567c76 qcacld-3.0: Disable NDPs on SAP startup
NAN_NDP+SAP concurrency is not supported. Disable all NAN_NDP
sessions on SAP startup.

Change-Id: I73284ef4f820dd15df808b9c44da5f09c6b5db26
CRs-fixed: 2524112
2019-09-18 04:18:33 -07:00
nshrivas
a3d2312fff Release 5.2.0.148L
Release 5.2.0.148L

Change-Id: Ib162102440131e1d617c2c5a086a32607e6d0155
CRs-Fixed: 774533
2019-09-18 02:49:33 -07:00
Yeshwanth Sriram Guntuka
ea2fb37ebc qcacld-3.0: Add mlme APIs and strutures to maintain roam sm
Add mlme APIs and structures to set and get roam
state, supplicant roam disabled flag and rso control
bitmap.

Change-Id: Ic97da49035462afffd9c86c1d9f9af08515e6747
CRs-Fixed: 2520824
2019-09-18 02:49:33 -07:00
nshrivas
2428c751f1 Release 5.2.0.148K
Release 5.2.0.148K

Change-Id: Ieabb86d8e4bd085e1673f043d5fb8339d265f743
CRs-Fixed: 774533
2019-09-18 01:19:41 -07:00
Lin Bai
a8df73b72a qcacld-3.0: Enable monitor mode for SDXPRAIRIE
Enable monitor mode for SDXPRAIRIE.

Change-Id: I70015845ea0d8dcc3aa2019ab8fdb300dc8eb49d
CRs-Fixed: 2529073
2019-09-18 01:19:40 -07:00
nshrivas
8120ad670b Release 5.2.0.148J
Release 5.2.0.148J

Change-Id: Icfaa1909a3b009d69681805949b8c8fab801f0b8
CRs-Fixed: 774533
2019-09-17 23:40:47 -07:00
Abhishek Ambure
8ed62cb4f0 qcacld-3.0: Keep IBSS code under feature flag in WMA
IBSS code is placed under QCA_IBSS_SUPPORT feature flag.

Change-Id: I08248985dc1a61ce8dce4eea9a6a6b8c01a93ec1
CRs-Fixed: 2525652
2019-09-17 23:40:47 -07:00
Jingxiang Ge
aaded4836e qcacld-3.0: Fix pdev object leak when wma ready event timeout
If wma ready event timeout, and pdev has been created but not
yet finished wmi_ready, so it will cause pdev object leak.

Fix is to release pdev without checking if wmi ready here.

Change-Id: Ib03a7a2733cd399064d68e4cb5ff8f699be62024
CRs-Fixed: 2525749
2019-09-17 23:40:37 -07:00
nshrivas
d7ffbe5dd2 Release 5.2.0.148I
Release 5.2.0.148I

Change-Id: I3a493dd5086269ed137f84d5f30b1a5fe672adbc
CRs-Fixed: 774533
2019-09-17 17:52:03 -07:00
Ashish Kumar Dhanotiya
980943882f qcacld-3.0: Release vdev reference in enable ns offload api
Currently if num ns offload count is 0, vdev reference is
not getting released in pmo core enable ns offload in fw api,
this is resulting in vdev ref leak.

To address above issue, release vdev ref count if num ns
offload count is 0.

Change-Id: I2cb7ebf974869f96e5c53faf3855c6c835c28a6c
CRs-Fixed: 2521504
2019-09-17 17:52:03 -07:00
nshrivas
8d510f9a4d Release 5.2.0.148H
Release 5.2.0.148H

Change-Id: Ic7addf8483b3e48c6d931a6bff993b5c3ff91391
CRs-Fixed: 774533
2019-09-17 10:20:15 -07:00
gaurank kathpalia
9d1acaff4a qcacld-3.0: Convert channel to chan freq for 6ghz support
Convert channel to chan freq for 6ghz support in
wma structures.

Change-Id: Ice52995968b06d974b115ec3eda6c7ab42657c73
CRs-Fixed: 2514449
2019-09-17 10:20:14 -07:00
nshrivas
d6ce848145 Release 5.2.0.148G
Release 5.2.0.148G

Change-Id: I3317f62f1b448a116cd14928f49d20531a0b2f76
CRs-Fixed: 774533
2019-09-17 06:37:42 -07:00
Vevek Venkatesan
050ea24ba3 qcacld-3.0: set same IPA bandwidth for both cons and prod pipes
Set the same IPA bandwidth for both the cons and prod pipes based
on total packet counts, to avoid overwrite voting by one another,
as per IPA-PM implementation.

Change-Id: I5f93e1ff91f9fbeb42ea8bd93792e288a073b6b1
CRs-Fixed: 2521811
2019-09-17 06:37:42 -07:00
nshrivas
f4cdaa62b3 Release 5.2.0.148F
Release 5.2.0.148F

Change-Id: Ifd8e1051a1c98ba8d879ea7218a8c31ce986df34
CRs-Fixed: 774533
2019-09-17 03:56:00 -07:00
guangde
3e57c247d2 qcacld-3.0: update PTP timestamp for Rx packet
Host driver could not get correct timestamp of Rx AMPDU packet sometimes.
The reason is PTP timestamp is stored in PPDU_END info, only last msdu
description contain it.Rx indication which sent from target has limited
number of MSDU.If none of them is last msdu, Host driver will not get
the correct timestamp.
Add two parameters to record the last system time and timestamp. If
Host driver detect no last msdu in Rx indication, It will calculate the
timestamp according to the difference of two parameters and current
system time.

Change-Id: Iea94f5c0a681ec1d377cbed9dd5b00b100223cc7
CRs-Fixed: 2513659
2019-09-17 03:56:00 -07:00
nshrivas
4613baba7f Release 5.2.0.148E
Release 5.2.0.148E

Change-Id: Ic9cc64d6f6618c5522b17d3ab6f8fd50266bc294
CRs-Fixed: 774533
2019-09-17 02:20:05 -07:00
Kiran Kumar Lokere
5e5c1d06ff qcacld-3.0: Fix vendor VHT IE config support in SAP
Use the correct configuration parameter to enable the
vendor VHT IE support in SAP mode.

Change-Id: I15330d372fe2b83bb229aa967bea5d43813ada95
CRs-Fixed: 2526798
2019-09-17 02:20:03 -07:00
Pragaspathi Thilagaraj
dd6a45dace qcacld-3.0: Fix roam scoring weightage ini configuration
To ensure the total weigtage of various factors doesn't exceed
100, there is a check in mlme_init_scoring_cfg(). If the total
weightage for roam score exceeds 100, the default values are
pushed for the weight configs.

In this computation, the enable/disable value is also added,
which results in configuration only upto 99%. Fix this weight
configuration and remove the enable flag value addition to the
total weight.

Change-Id: I15cf70428b2e8afa2203299dae98c287e5e2222d
CRs-Fixed: 2527361
2019-09-17 02:19:56 -07:00
nshrivas
c7283b8779 Release 5.2.0.148D
Release 5.2.0.148D

Change-Id: I3e0e22b355343f4c929c1b3b421b1ed99a8456e5
CRs-Fixed: 774533
2019-09-17 01:07:45 -07:00
Abhishek Ambure
6867746429 qcacld-3.0: Keep IBSS code under feature flag in HDD
IBSS code is placed under QCA_IBSS_SUPPORT feature flag.

Change-Id: Ib3c2d24c703e19d3c25c7b89932751faac5e2874
CRs-Fixed: 2527264
2019-09-17 01:07:45 -07:00
nshrivas
eb1fe06954 Release 5.2.0.148C
Release 5.2.0.148C

Change-Id: Id70283c9f0a04810c80dc8f5b190fd897529d6ae
CRs-Fixed: 774533
2019-09-16 23:49:14 -07:00
Alok Kumar
eaac9a6304 qcacld-3.0: Add Feature Flag to record Rx paddr in CE History
Add Feature Flag HIF_RECORD_RX_PADDR for Helium only to record
paddr for IOVA and virtual address in CE descriptor history.

Change-Id: I926fbd0fa74cc7e1488a5c7cac007a6432d50d2e
CRs-Fixed: 2528295
2019-09-16 23:49:13 -07:00
nshrivas
d5fc97bac2 Release 5.2.0.148B
Release 5.2.0.148B

Change-Id: I42cd96dce3feef6bcb35cb63892d056351ffdf77
CRs-Fixed: 774533
2019-09-16 22:25:20 -07:00
Hangtian Zhu
2b2adde18f qcacld-3.0: Add macro protection for throughput level checking in rx cbk
Add macro protection for throughput level checking in rx callback.

Change-Id: I43c4a0cabb770b6ef9538b90e07fd218b40f743b
CRs-Fixed: 2522061
2019-09-16 22:25:19 -07:00
nshrivas
e8946af19c Release 5.2.0.148A
Release 5.2.0.148A

Change-Id: I113d66005b4e49cad64ec5e3397f02e54198c736
CRs-Fixed: 774533
2019-09-16 21:08:53 -07:00
Alan Chen
2efb7f03b7 qcacld-3.0: Change default value of gEnablePowerSaveOffload to 2
gEnablePowerSaveOffload is curretly set to 0 but the default recommended
value is 2. Change default value of gEnablePowerSaveOffload to 2.

Change-Id: I456b0947715be39756e2971a2b2cdcd40e527e4c
CRs-Fixed: 2498218
2019-09-16 21:08:53 -07:00
nshrivas
8ad55d8160 Release 5.2.0.148
Release 5.2.0.148

Change-Id: I7b2d570f8d3a5507a88cd45547ced187225c13c4
CRs-Fixed: 774533
2019-09-16 19:43:17 -07:00
gaurank kathpalia
45b7556c81 qcacld-3.0: Flush the scan result only in lost link case
Currently the driver flushes the scan entry in the scan
db for the BSSID which it was connected to in deauth, disassoc
and lostlink case.
In case of disassoc, and deauth, ap is still alive, hence
there is a chance for connection, but in lostlink case
there is no chance as the AP is switched off.
So if the supplicant finds the scan result in the scan
cache, it would try connect with this, but since the AP is not
present, and cannot service anymore, it would result to a
failed connect attempt.
After several failure attempts, supplicant would blacklist the
AP for some time.
If the AP is alive again, the DUT cannot connect to it since
it is blacklisted. Hence this situation leads to blacklisting
a AP which did not send any assoc reject, and can service the
DUT.

Fix is to clear the scan cache so that supplicant cannot try to
send connect request for this AP to the driver, hence there
would be no point to blacklist the AP.
This would ensure the wireless connection with this AP in
future.

Change-Id: I14fb36ef588856750917d83c32644b135186def9
CRs-Fixed: 2525539
2019-09-16 19:43:16 -07:00
nshrivas
e1357ed84f Release 5.2.0.147Z
Release 5.2.0.147Z

Change-Id: I3c9865ad562b99905e298a0cb7905ad5e75bb6d3
CRs-Fixed: 774533
2019-09-16 18:32:19 -07:00
gaurank kathpalia
12eacc2c93 qcacld-3.0: Verify the channel before adding BSSID to connect list
Currently the driver does not verify the channel of the
AP and adds that to the connect list.
If a connect comes to the driver for this BSSID, then the
driver sends the same channel to the FW to start the vdev
which results in an assert due to channel not valid.

Fix is to check the validity of the channel and send a
vdev start only with a valid channel frequency.

Change-Id: Ic5c8c446f8731b32123051126503b071428f122c
CRs-Fixed: 2515158
2019-09-16 18:32:18 -07:00
nshrivas
9e031da385 Release 5.2.0.147Y
Release 5.2.0.147Y

Change-Id: Ic5dcec447dd7c797d1b63f073684b96f1eb48690
CRs-Fixed: 774533
2019-09-16 15:14:10 -07:00
Amar Singhal
2e4ccccf54 qcacld-3.0: Use frequency based channel enumerations
CONFIG_LEGACY_CHAN_ENUM has been removed. That macro needs channel number
based enumeration. Use channel frequency going forward. So change to
frequency based channel enumeration.

Change-Id: I234eb070a6dcfaf3325bbd523c19188d5b2bbd24
CRs-Fixed: 2513098
2019-09-16 15:14:10 -07:00
Amar Singhal
40dd5196a2 qcacld-3.0: Add configuration items for 6 GHZ
6 GHZ has introduced new set of frequency based APIs. Also there is
conditional usage of 6 GHZ band. Add configuration items for these.

Change-Id: I22703989ec7e6711af640f1f9d0afded46026b8a
CRs-Fixed: 2513098
2019-09-16 15:14:01 -07:00