Commit Graph

17670 Commits

Author SHA1 Message Date
nshrivas
fd1cc0302e Release 5.2.0.190B
Release 5.2.0.190B

Change-Id: I9aaefb61ffdebe1ae1183385573ea18d67813932
CRs-Fixed: 774533
2020-06-12 01:04:08 -07:00
Sourav Mohapatra
8f28b9e42b qcacld-3.0: Check for invalid put_ref scenario for sta_info
Currently in the ref_count mechanism used for sta_info, the driver has
no checks to determine if there are any faulty ref counting instances.
In case multiple ref_put are done for a single take_ref, it can lead to
a memory corruption.

Add a sanity check in hdd_sta_info_put_ref that causes a device assert
in case the put_ref is called on a sta_info with already zero ref_count.

Change-Id: I0b502e1df4c37601b46cc727acc94a72a401e051
CRs-Fixed: 2707614
2020-06-12 01:04:08 -07:00
nshrivas
7066cf0560 Release 5.2.0.190A
Release 5.2.0.190A

Change-Id: I7903414ba20b1000f96c1455e2907efdc4eb85aa
CRs-Fixed: 774533
2020-06-11 05:30:53 -07:00
Min Liu
fde76d4e9c qcacld-3.0: Set Wi-Fi configurations - bandwidth configurations
Add attributes in SET(GET)_WIFI_CONFIGURATION to dynamically
configure capabilities - CHANNEL_WIDTH and DYNAMIC_BW.

Change-Id: I4d577f057e5d1b385ab7a6fadcb344dc30b85c4c
CRs-Fixed: 2694656
2020-06-11 05:30:53 -07:00
nshrivas
58347393f4 Release 5.2.0.190
Release 5.2.0.190

Change-Id: Ifa245908f2eee044dcea98323dac62d672a1c141
CRs-Fixed: 774533
2020-06-11 02:04:35 -07:00
Nisha Menon
46b0fb5f0c qcacld-3.0: Add node to sysfs to print wlan mem usage
The wlan_mem_stats node will print the DMA, SKB and heap
memory allocated in the wlan host driver. This is applicable
to perf and defconfig builds.
File path to new node is:
/sys/kernel/wifi/wlan/wlan_mem_stats

Change-Id: Ic05423d362de1ef07a3ecbdd6408a7226e2a3c2f
CRs-Fixed: 2680360
2020-06-11 02:04:35 -07:00
nshrivas
6d3dbec5df Release 5.2.0.189Z
Release 5.2.0.189Z

Change-Id: Ib875cdde7cdd1677d9d09900342a231d6ab5fa93
CRs-Fixed: 774533
2020-06-10 20:23:08 -07:00
Alan Chen
6ead5beaab qcacld-3.0: Add a wakelock and prevent suspend during idle shutdown
System suspend is occurring a few seconds before idle shutdown while
it was set to deinit state. Add a wakelock and prevent suspend during
idle shutdown.

Change-Id: I976bdece04857045e272c5c3e26db51fb63c51cf
CRs-Fixed: 2706275
2020-06-10 20:23:07 -07:00
Wu Gao
5e262a7c8b qcacld-3.0: Use min/max macro to update start/end range of 6ghz
Use MIN_6GHZ_CHANNEL to replace CHAN_ENUM_5945, MAX_6GHZ_CHANNEL to
replace CHAN_ENUM_7105, since min/max channel of 6ghz may be changed.

Change-Id: Ibb0aa4182162d956d632b271cbbfef5af07f918c
CRs-Fixed: 2706639
2020-06-10 20:23:04 -07:00
nshrivas
5d55b3cb4c Release 5.2.0.189Y
Release 5.2.0.189Y

Change-Id: I2e777b8ed05b708254285807b145408eb278089f
CRs-Fixed: 774533
2020-06-10 18:13:36 -07:00
Srinivas Dasari
662a62841c qcacld-3.0: Don't create wifi-aware0 interface if NAN is not supported
Currently, NAN discovery interface(wifi-aware0) is created if both
host and firmware support NAN separate vdev feature. But NAN
feature capability(gEnableNanSupport) is the master of these
capabilities. Don't create wifi-aware0 if gEnableNanSupport is
disabled.
Also, don't allow NAN iface creation for the kernels less
than 4.14 as NAN interface is allowed by kernel only from 4.14.

Change-Id: Iaf10974c373b2a77d2c24a78540910f78a3dc768
CRs-Fixed: 2706997
2020-06-10 18:13:36 -07:00
Saket Jha
160fab39e1 qcacld-3.0: Correct arguments for fisa rx flow setup
Due to recent changes, hal_rx_flow_setup_fse() should receive hal_soc as
argument during rx_flow setup.

Change-Id: Ic39f476b211417469e004d85cd03c6b868d97405
CRs-Fixed: 2706239
2020-06-10 18:13:33 -07:00
nshrivas
9f20215b52 Release 5.2.0.189X
Release 5.2.0.189X

Change-Id: I9a74974d324e17c1587eccdbaba9134fd3c842f5
CRs-Fixed: 774533
2020-06-10 11:53:25 -07:00
Abhinav Kumar
555d20fd3d qcacld-3.0: Fix invalid opclass error while processing BCN RPT
In case if AP's country code present as "US 0x4" in beacon report
request, it means AP wants us to use global opclass.

Fix is to allow driver to use global opclass AP's country code
present as "US 0x4" in beacon report.

Change-Id: I3f6c132803dc4c5a85aea95c5fc39ac7be670aee
CRs-fixed: 2706733
2020-06-10 11:53:25 -07:00
nshrivas
610272d619 Release 5.2.0.189W
Release 5.2.0.189W

Change-Id: I9d29b5a5a454b3d8c782ec51acfa858f505cce4b
CRs-Fixed: 774533
2020-06-10 07:26:02 -07:00
Mohammed Siddiq
c09b4e4631 qcacld-3.0: Add ipci apis for SOC wake and athdiag
Add PLD layer ipci bus apis for soc wake request,
wake release, athdiag read and athdiag write.

Change-Id: I966b4d47b6967615c11420d0b991ac175bf7c276
CRs-fixed: 2702459
2020-06-10 07:26:02 -07:00
Abhishek Ambure
9e3400ac77 qcacld-3.0: Add support to configure max ndi host supports
Introduce INI "ndi_max_support" to configure max number of ndi
interfaces host supports. Host configures max number of ndi
interfaces support in firmware using WMI_INIT_CMD.

Change-Id: I287b9f96b98103e67cf35d0c02488a28af731044
CRs-Fixed: 2701557
2020-06-10 07:25:54 -07:00
nshrivas
9b85558666 Release 5.2.0.189V
Release 5.2.0.189V

Change-Id: I1f5c8c21e4ea993f41bc77b56a4986974ad8f881
CRs-Fixed: 774533
2020-06-10 01:56:06 -07:00
Utkarsh Bhatnagar
3b117bb647 qcacld-3.0: Add pointer sanity check for mac context
Add pointer sanity check for mac context in wma_send_peer_assoc_req
as cds_get_context may return Null for mac context

Change-Id: I75a54d728f2c276a9aeeb1ee7d8ea46180540ac8
CRs-Fixed: 2706149
2020-06-10 01:56:06 -07:00
nshrivas
bce7da8dfa Release 5.2.0.189U
Release 5.2.0.189U

Change-Id: I49aaac7b1119fc2c1951c37cadb54a01ab5f3537
CRs-Fixed: 774533
2020-06-09 23:59:29 -07:00
Kiran Kumar Lokere
2c3a4ea4e9 qcacld-3.0: Fix the 6G band capability config to FW
Convert the 6GHz capability local struct value to raw 32-bit
value to before configure it to FW.

Change-Id: Ia9f7d7d35b0f481ad9ae7d15eec5ee198158da88
CRs-Fixed: 2696392
2020-06-09 23:59:29 -07:00
nshrivas
01762e9be8 Release 5.2.0.189T
Release 5.2.0.189T

Change-Id: Ieb730ee9fd17892c9fa163737351203f85dcf500
CRs-Fixed: 774533
2020-06-09 21:53:26 -07:00
Ashish Kumar Dhanotiya
0e86934fd2 qcacld-3.0: Add driver command to dump function call mapping
Add driver command support to dump all the function call
mapping which is cached in global buffer.

Change-Id: I03b2162ccda171005e6fa8a7bb09cbf9c4819421
CRs-Fixed: 2677976
2020-06-09 21:53:25 -07:00
nshrivas
3c8f4c40b5 Release 5.2.0.189S
Release 5.2.0.189S

Change-Id: If589975cade227843bec0cab53130c592ca53851
CRs-Fixed: 774533
2020-06-09 19:16:01 -07:00
Utkarsh Bhatnagar
4d345a3488 qcacld-3.0: Add pointer sanity check in wma_post_chan_switch_setup
Add pointer sanity check in wma_post_chan_switch_setup

Change-Id: I2972d033605895b0fe626593854798b112621eab
CRs-Fixed: 2706172
2020-06-09 19:16:01 -07:00
nshrivas
ca6015c303 Release 5.2.0.189R
Release 5.2.0.189R

Change-Id: I1b452943179b57f3430a93530213e99b5ae11b86
CRs-Fixed: 774533
2020-06-09 16:29:48 -07:00
Utkarsh Bhatnagar
e78f2a6224 qcacld-3.0: Add pointer sanity check in wma_pre_chan_switch_setup
Add pointer sanity check in wma_pre_chan_switch_setup

Change-Id: If7753f0e99993c3744b5c0d801284b4648a0fde8
CRs-Fixed: 2705037
2020-06-09 16:29:48 -07:00
Utkarsh Bhatnagar
7306d6ec05 qcacld-3.0: Add pointer sanity check for mac_phy_cap
Add pointer sanity check for mac_phy_cap in wma_update_hw_mode_list
as target_psoc_get_mac_phy_cap may return Null for mac_phy_cap

Change-Id: Id45b77fa4daf3df0680ee247355dbc87e0402dd9
CRs-Fixed: 2706156
2020-06-09 16:29:45 -07:00
nshrivas
7cd1daa826 Release 5.2.0.189Q
Release 5.2.0.189Q

Change-Id: I0e49dfacca301be0b21cc63683e4cec1f15bd1e2
CRs-Fixed: 774533
2020-06-09 14:30:39 -07:00
Ashish Kumar Dhanotiya
9f588185d9 qcacld-3.0: Add connect id for the connection manager
Add connect id in the policy manager for the newly designed
connection manager infrastructure.

Change-Id: Ib7bd08e5326ead04da88175636777bf5dd4e255b
CRs-FIxed: 2705700
2020-06-09 14:30:38 -07:00
Vulupala Shashank Reddy
0570165f4e qcacld-3.0: Update pktcapture support
Update pktcapture support for packet capture mode.

Change-Id: Id7281d57b7eb547027a999e9662e6ca3c612673d
CRs-Fixed: 2700679
2020-06-09 14:30:33 -07:00
nshrivas
940be6b36c Release 5.2.0.189P
Release 5.2.0.189P

Change-Id: I9275f25dbfb942a2b8500ef7973ac072967db229
CRs-Fixed: 774533
2020-06-09 06:28:56 -07:00
Rakesh Pillai
efb077864e qcacld-3.0: Add Null check for soc before accessing
Check if the soc pointer is not NULL, before we
try to derefernce this pointer.

Change-Id: Ife499e7617365278c4ac8fd41e2ce32d4e19fae9
CRs-Fixed: 2702127
2020-06-09 06:28:56 -07:00
nshrivas
fb96116daa Release 5.2.0.189O
Release 5.2.0.189O

Change-Id: Ia6cd58a1d816e41f8a323877dd45957188dfac3e
CRs-Fixed: 774533
2020-06-09 04:22:51 -07:00
Ashish Kumar Dhanotiya
2291ae2e2c qcacld-3.0: Add dealloc api to free memory allocated for ll_stats
Currently there is no dealloc api for ll_stats request to free
the memory allocated for the ll_stats request's priv structure
because of which memory is not freed from the request manager
infrastructure, instead host frees the memory in request api. with
this mechanism there is a race condition where if timeout occurs then
in the caller api memory is freed for the response list and after
processing the response list if the response callback comes then
memory is allocated and inserted in the response list which will
never be freed as the response list is already processed in the
caller api after the timeout.

Add a dealloc function for ll_stats request to free the memory with
The help of request manager infrastructure.

Change-Id: If91d777901d0c4c598a138b1439de7de024249a4
CRs-Fixed: 2703825
2020-06-09 04:22:50 -07:00
nshrivas
9710663965 Release 5.2.0.189N
Release 5.2.0.189N

Change-Id: I3a91e81605f828f24a6e4671fb28d47d67acb4f9
CRs-Fixed: 774533
2020-06-08 21:09:34 -07:00
Jinwei Chen
d6165e65cb qcacld-3.0: update FISA entry vdev if flow search failed
If FISA flow search is failing by HW, but same FISA flow is
already present in host FISA SW table, vdev will not be updated
accordingly, so RX frame might be dropped due to vdev mismatch
when do FISA flush.

update vdev in FISA SW entry correctly.

Change-Id: I0907c6d2d1e25424fbebd6277f326346deba6569
CRs-Fixed: 2704610
2020-06-08 21:09:34 -07:00
nshrivas
ae529e4bbd Release 5.2.0.189M
Release 5.2.0.189M

Change-Id: Ifb926b1fd92a3f928cd5644ff35d56f8c9f45196
CRs-Fixed: 774533
2020-06-08 18:36:45 -07:00
Yeshwanth Sriram Guntuka
db69ffd8ce qcacld-3.0: Ignore tx timeout on SAP when wlan is suspended
SAP tx timeout indication is received when wlan is suspended
causing excessive logging to console and eventually WD
timeout.

Ignore SAP tx timeout indication when wlan is suspended.

Change-Id: Ie09ac187e6d38c12c6c33a8b4ada19c9aabc45f9
CRs-Fixed: 2705201
2020-06-08 18:36:44 -07:00
Pragaspathi Thilagaraj
7f725e3312 qcacld-3.0: Print next RSSI threshold for periodic scan roam trigger
The driver prints the current RSSI threshold and next RSSI
threshold for LOW RSSI roam trigger. Print these info for
Periodic scan roam trigger also.

Change-Id: I4140cae3631356949c925b8d21c032e6c02d4539
CRs-Fixed: 2694906
2020-06-08 18:36:40 -07:00
nshrivas
5e587a7cd6 Release 5.2.0.189L
Release 5.2.0.189L

Change-Id: I0ce8206d8c4091ff06d7d9dfc4d08dc85c19bf08
CRs-Fixed: 774533
2020-06-08 16:00:55 -07:00
Utkarsh Bhatnagar
0f2b6666fe qcacld-3.0: Remove check for IBSS in lim_process_assoc_rsp_frame
IBSS capability information bit is valid only for beacon
and probe response. So, ignore it in association response.

Change-Id: I3495d697ac726f494234900178abb1531e1912cb
CRs-Fixed: 2703576
2020-06-08 16:00:55 -07:00
Abhishek Ambure
a6afc073d0 qcacld-3.0: Add ini support to configure max ndp sessions in fw
Introduce INI "ndp_max_sessions" to configure max number of ndp
sessions host supports. Firmware advertises max number of ndp
sessions supported in wmi_service_ready_ext2 event. If the firmware
advertises non-zero value of max ndp sessions then host configures
max ndp sessions support in firmware using WMI_INIT_CMD.

Host uses a minimum of "ndp_max_sessions" value and firmware
advertised max ndp session value to configure max number of ndp
sessions in firmware.

Change-Id: I613815f384f9b0a61711324c85ecfa095d133360
CRs-Fixed: 2673120
2020-06-08 16:00:50 -07:00
nshrivas
17f0046990 Release 5.2.0.189K
Release 5.2.0.189K

Change-Id: I3546a1b7ff1d444f57d65c60133e33d79cf48207
CRs-Fixed: 774533
2020-06-08 13:50:10 -07:00
Min Liu
22bc5b94d3 qcacld-3.0: Set Wi-Fi configurations - PHY_MODE
Add attributes in SET_WIFI_CONFIGURATION to dynamically
configure capabilities - PHY_MODE.

Change-Id: I3085cfed5b188d2ccba87a4b47ac597ebbbec76e
CRs-Fixed: 2694250
2020-06-08 13:50:10 -07:00
nshrivas
aed685234b Release 5.2.0.189J
Release 5.2.0.189J

Change-Id: I780feed7735f9503c326c93b11a20c525435c694
CRs-Fixed: 774533
2020-06-08 10:30:23 -07:00
Jinwei Chen
a6758b25d2 qcacld-3.0: Bypass FISA for RX DHCP frame
DHCP frame usually can not be aggregated, but if they go to FISA
path which will require FISA resource support for them, this looks
is not necessary.

Bypass FISA path for RX DHCP frame.

Change-Id: Ic1eac06abb5790813ee4d17ec1df6b215a1bcdb5
CRs-Fixed: 2691447
2020-06-08 10:30:23 -07:00
bings
22cb0a7581 qcacld-3.0: fix hdd_convert_timeout_reason build error
hdd_convert_timeout_reason is also used in hdd_connect_done.
Define hdd_convert_timeout_reason when it is used.

Change-Id: Ifa03959969474d9cafb1315d53b83cae21745280
CRs-Fixed: 2703672
2020-06-08 10:30:17 -07:00
nshrivas
c4162a3ac0 Release 5.2.0.189I
Release 5.2.0.189I

Change-Id: I271f45c6846cbf63bf0521b90c6838cbee76512e
CRs-Fixed: 774533
2020-06-07 17:42:29 -07:00
Bapiraju Alla
2f20b939d1 qcacld-3.0: Specify exact size of the version string while coping
While coping version strings in cds_hang_event_notifier_call, specify
exact size of QWLAN_VERSIONSTR/QDF_HANG_EVENT_VERSION to avoid buffer
overflow.

Change-Id: Ie2203600a2c92bb78ba076b609375ca219773b19
CRs-Fixed: 2702069
2020-06-07 17:42:29 -07:00