Commit Graph

19019 Commits

Author SHA1 Message Date
nshrivas
6afbd02bc9 Release 5.2.0.179C
Release 5.2.0.179C

Change-Id: Ia443cc84911dad870429ec1dc68da337848d1d5c
CRs-Fixed: 774533
2020-03-31 09:58:14 -07:00
Bapiraju Alla
08410b2625 qcacld-3.0: Fix return type for scheduler_msg callbacks
This fixes a CFI failure in callback assignment

Change-Id: I01fbd8cb65f8e33a66065d29d1aab983647a40ac
CRs-Fixed: 2651013
2020-03-31 09:58:13 -07:00
nshrivas
8fda3ad748 Release 5.2.0.179B
Release 5.2.0.179B

Change-Id: I86975113e1355590910f0cc912d59a3c51eec357
CRs-Fixed: 774533
2020-03-31 08:28:48 -07:00
Srinivas Dasari
48d77649cd qcacld-3.0: Don't add/remove peer for NDIs
NDIs don't have any peers and there is no need to send/receive
any data frames on NDI as such. NDPs latched on to the NDI
have peers and they are registered as STA properly.

Change-Id: I545ab01c6c67febdeba39ab52c9e4263e1757002
CRs-Fixed: 2651435
2020-03-31 08:28:48 -07:00
nshrivas
54505fadbf Release 5.2.0.179A
Release 5.2.0.179A

Change-Id: I7b74aca6edd8eb368820a1165cac273ebaa611f4
CRs-Fixed: 774533
2020-03-31 02:22:49 -07:00
gaurank kathpalia
bafe011f2c qcacld-3.0: Call undo acs as part of deinit adapter
As part of SSR, hdd stop adapter is called which in
turn calls undo acs which frees the sap channel lists.
Now if SAP was already on, and then SSR happens then this
channel list would be freed.
After SSR the SAP would again be restarted.
Now if the driver gets an LTE-coex event from the FW,
there would be no channel-list left in the ACS list, as
it would freed, so there would be no suitable channel
for SAP restart leading to SAP stuck on an unsafe
channel which impact LTE throughput.

Fix is to call undo acs as part of deinit adapter which
would ensure that interface down has happened.

Change-Id: I5bf7bfcc20ccc686792b6b1df5d42b03288f7766
CRs-Fixed: 2650261
2020-03-31 02:22:49 -07:00
nshrivas
cc1ec9c03d Release 5.2.0.179
Release 5.2.0.179

Change-Id: Ie966c5b2edd96eff340f0e1c70d7b00632f2dcc1
CRs-Fixed: 774533
2020-03-31 00:43:10 -07:00
gaurank kathpalia
fd254c58e8 qcacld-3.0: Correct condition for DBS required
In the API policy_mgr_checkn_update_hw_mode_single_mac_mode
the driver checks that if the bands are different, then go
for DBS and single mac mode is not required.
In the case of STA on 5ghz and SAP now coming up on 6ghz
the bands would be different but the hw mode needed
would be single MAC mode and not DBS, but according to the
check mentioned above the driver would still return and
the final hw mode would be stuck into DBS which would
lead to unnecessary power consumption because of the second
MAC being still swithched on having no vdev attached to it.

Fix is to check whether DBS is required and avoid the condition
mentioned above.

Change-Id: I91d91894dde1a3b84c22f9de59c83a5f0b727315
CRs-Fixed: 2651178
2020-03-31 00:43:10 -07:00
nshrivas
588bc4b96e Release 5.2.0.178Z
Release 5.2.0.178Z

Change-Id: Ib23bbb6893915dc95c8f686c0fba78c38bde6f97
CRs-Fixed: 774533
2020-03-30 22:55:22 -07:00
wadesong
24e614d24a qcacld-3.0: Refine 5GHz/6GHz channel frequency checking
With the introduction of 6GHz channels, some of the channel
frequency checking code have to be refined to make sure
all non-2.4GHz channel frequencies are identified by
!WLAN_REG_IS_24GHZ_CH_FREQ().

Change the channel frequency identifying code within the
following functions according to the above guideline:

  wlan_hdd_cfg80211_start_acs()
  hdd_cfg80211_update_acs_config()
  hdd_get_sap_operating_band()
  hdd_update_acs_sap_config()
  wlan_hdd_sap_p2p_11ac_overrides()
  wlan_hdd_cfg80211_start_bss()
  wma_send_pdev_set_pcl_cmd()

Change-Id: I6dfb8b4e43a7f632255fb89552490ce404874998
CRs-Fixed: 2648176
2020-03-30 22:55:21 -07:00
nshrivas
b75e925166 Release 5.2.0.178Y
Release 5.2.0.178Y

Change-Id: I9664801a069527d18bbcf34c7a88a32a5e667672
CRs-Fixed: 774533
2020-03-30 21:18:11 -07:00
Yeshwanth Sriram Guntuka
250dd30af0 qcacld-3.0: Add support for logging hang event data
Add support to register recovery notifiers to log
hang event data.

Change-Id: I9b930d5f983d57a7359ba9f97ea65050c4f54a8a
CRs-Fixed: 2649142
2020-03-30 21:18:10 -07:00
nshrivas
473930c609 Release 5.2.0.178X
Release 5.2.0.178X

Change-Id: Idce4bbca2d404797508faacd37d1d988d099071b
CRs-Fixed: 774533
2020-03-30 15:28:44 -07:00
Chaoli Zhou
fdb7949d27 qcacld-3.0: Update policy manage table for GO+SAP+SAP case
Table pm_next_action_three_connection_dbs_2x2_table currently
doesn't support NeGo/Auto 5G + SAP 5G + SAP 2.4G case, which
cause the third connection for 2.4G SAP start failure, so update
the policy manage table to support it.

Change-Id: I4bed516f2ac31387d94c1753a7d539cc07d9814e
2020-03-30 15:28:43 -07:00
nshrivas
a0442fa3b6 Release 5.2.0.178W
Release 5.2.0.178W

Change-Id: I7797cea00e4a87fece042736c485657d1c56798f
CRs-Fixed: 774533
2020-03-30 13:38:54 -07:00
gaurank kathpalia
ec1bd31ce7 qcacld-3.0: BIGTK feature support
BIGTK feature support

Change-Id: Ide9b0db436e43152a4180a460f21a7340b443756
CRs-Fixed: 2648269
2020-03-30 13:38:54 -07:00
nshrivas
dca63a6617 Release 5.2.0.178V
Release 5.2.0.178V

Change-Id: I005e186c44b0836c5b503af760e8fa2d897636c0
CRs-Fixed: 774533
2020-03-30 11:41:47 -07:00
Qun Zhang
f4dd3e30e4 qcacld-3.0: Use dynamic memory allocation to avoid stack size limit
Due to stack size limit, use dynamic memory allocation instead of
using stack resource.

Change-Id: Icf00bc43718286e1b6239c5e35c6e11964712f8e
CRs-Fixed: 2650690
2020-03-30 11:41:47 -07:00
nshrivas
5163849797 Release 5.2.0.178U
Release 5.2.0.178U

Change-Id: If14b99438c534f8a91aaccf54ce34bdf57e3dc49
CRs-Fixed: 774533
2020-03-30 10:03:33 -07:00
Lihua Liu
ddb8d72760 qcacld-3.0: Add workaround for TXDMA HW limitation
Per HW team's analysis, we find a TXDMA HW limitation:
ADDR0&0x1FFFFFFF8 should not equal ADDR1&0x1FFFFFFF8.
Otherwise, TXDMA will run into exception, which cause TX fail.
ADDR0: the address of last words in previous buffer;
ADDR1: the address of first words in next buffer;

We hit this limitation in NAT forward TSO jumbo case whose buffer
address of two fragments like below:
tso_frags = (
(length = 0x42, vaddr = 0xFFFFFFD0F5FA2F82, paddr = 0x1F5FA2F82),
(length = 0x05A8, vaddr = 0xFFFFFFD0F5FA2FC4, paddr = 0x1F5FA2FC4)
In this case, ADDR0 = 0x1F5FA2F82 + 0x42 -2 = 0x1F5FA2FC2,
ADDR1 = 0x1F5FA2FC4, then
ADDR0&0x1FFFFFFF8 = ADDR1&0x1FFFFFFF8.
To avoid this, shift server bytes for ADDR0.

Change-Id: If9334a6861a03432eb70356df41a11ad971159e3
CRs-Fixed: 2641066
2020-03-30 10:03:33 -07:00
nshrivas
547733e56a Release 5.2.0.178T
Release 5.2.0.178T

Change-Id: Ic06eaf6a5c4a877687bf08e2200005f613309e46
CRs-Fixed: 774533
2020-03-30 06:10:18 -07:00
hqu
14cdfe2c91 qcacld-3.0: Add support for DCS channel switch from DFS to DFS
Bring up SAP+SAP with acs mode on 5G and set chanlist only with
DFS channel, run heavy traffic to make noisy on SAP beacon channel,
then DCS will be triggered to do ACS again for choosing better
channel to switch, new DFS channel will be choosed, but channel
switch is failed.

DCS policy is SAP do channel switch one by one with the same target
channel, ignore three fail point concurrency check in
wlan_hdd_cfg80211_start_acs/wlansap_set_channel_change_with_csa/
wlansap_roam_process_dfs_chansw_update, furthermore need to add DFS
channel to acs channel list in sap_get_freq_list.

Change-Id: I7360792105cd1fdd4f4c75040c510cc620c3d5c5
CRs-Fixed: 2648641
2020-03-30 06:10:18 -07:00
nshrivas
4531110f1c Release 5.2.0.178S
Release 5.2.0.178S

Change-Id: I4dff29747a714cc12fb1d49994fae9c1949f139b
CRs-Fixed: 774533
2020-03-30 04:25:36 -07:00
sheenam monga
bf390c6c5c qcacld-3.0: Register RVS action frames for wake up
Currently the bitmap of action frames that can wake up the host
is sent via the wmi command WMI_WOW_SET_ACTION_WAKE_UP_CMDID.
This bitmap doesn't include RVS action frames so currently the
host doesn't wake up for rvs action frames.

Enable wake up for rvs action frames during runtime.

Change-Id: I9fac8e74cdb7b529f858f7f2027906ca2b3083b3
CRs-Fixed: 2649927
2020-03-30 04:25:36 -07:00
sheenam monga
1b3e81d4a3 qcacld-3.0: Add support to send robust av streaming frame
In function lim_process_action_frame handle frame
with action category ACTION_CATEGORY_RVS.

Change-Id: Ib1ee9f97561f6bddc5508e2cbf742fd68c5e8258
CRs-Fixed: 2649895
2020-03-30 04:25:13 -07:00
nshrivas
8a314c48f8 Release 5.2.0.178R
Release 5.2.0.178R

Change-Id: Ib02e86e4316ad8a80ba24c8437f0aa3f72238fa6
CRs-Fixed: 774533
2020-03-30 01:14:08 -07:00
Lincoln Tran
07504d2b8c qcacld-3.0: Rename func call to comply with qcacmn change
Regulatory function in qcacmn has new name so update
qcacld to have correct call.

Change-Id: I95e7c5148471ded68f97a7ac56d5eb4a770e82f2
CRs-fixed: 2650575
2020-03-30 01:14:08 -07:00
nshrivas
cb89f90348 Release 5.2.0.178Q
Release 5.2.0.178Q

Change-Id: Ia640ba33a68d0d42f3683ae77dbd71f3a3c03765
CRs-Fixed: 774533
2020-03-29 17:38:13 -07:00
Srinivas Dasari
491ae1e5f7 qcacld-3.0: Unblock wait for NDP_END indcation if req is a failure
When host driver sends NDP_END request to firmware, driver starts
a wait-for-complete and waits for the NDP_END confirm event.
It unblocks the wait upon getting successful NDP_END event from
firmware. But firmware sends response with a failure status if
the NDP is already gone and it doesn't send NDP_END event.
NDP_END requester waits till the timeout(2 seconds) happens for the
NDP_END confirm event from firmware in this case. Unblock the
wait-for-complete in this case also to avoid the unnecessary wait.

Change-Id: I779248455b07cd934ceaf2c23e79f3943aff5e41
CRs-Fixed: 2651663
2020-03-29 17:38:13 -07:00
nshrivas
5de60c69be Release 5.2.0.178P
Release 5.2.0.178P

Change-Id: Ic878fa958adc34f90c09ded7a23ab1b1abc11d9a
CRs-Fixed: 774533
2020-03-29 12:44:30 -07:00
Pragaspathi Thilagaraj
24c7af6849 qcacld-3.0: Add null check for frequency list in rrm scan done callback
When multiple measurement requests are received in a single beacon
report request, multiple iterative scans are triggered for each
request for the frequency list provided in the request. This results
in free of rrm context global frequency list by the second
request rrm scan in the iter measurement timer start failure path
and was accessed by the scan done callback of the 1st measurement
request.

Add null check for rrm context frequency list and also if the
timer is already running, send measurement done indication for
that request.

Change-Id: I149ba47872095228595cd52535fb76c422eefba7
CRs-Fixed: 2648618
2020-03-29 17:39:54 +05:30
nshrivas
eaac96d0a4 Release 5.2.0.178O
Release 5.2.0.178O

Change-Id: I693b0b075006b0d36eb9efe26881424be13d185d
CRs-Fixed: 774533
2020-03-29 01:28:52 -07:00
Yeshwanth Sriram Guntuka
dc0c05524a qcacld-3.0: Add support to collect EAPOL and DHCP stats
Add support to collect stats for EAPOL and DHCP packets.

Change-Id: Ibdf27a0ed2f23edca4952c63570d3f56af62b1ab
CRs-Fixed: 2650218
2020-03-29 01:28:52 -07:00
nshrivas
0dc16a1894 Release 5.2.0.178N
Release 5.2.0.178N

Change-Id: Ifed527c37143b1a026d5236e56b2966f334fc567
CRs-Fixed: 774533
2020-03-28 23:41:50 -07:00
Liangwei Dong
44acfe559b qcacld-3.0: Wait for EAP Failure frame tx done for P2P GO
In GO+STA MCC scenario, after GO and ref P2P client wps 8
ways EAP frame exchange, the GO will send EAP Failure to peer
to finish WPS and send disassoc frame to peer. The EAP Failure
frame is sent by data path, but the disassoc will go through
control path. In certain condition, the GO data path queue may
be in paused specially in MCC case, which may cause the disassoc
frame sent before EAP Failure frame. And that will finally result
to P2P connection failure.
To fix by checking EAP Failure tx pending before sending disassoc
to peer in GO case.

Change-Id: I1f4b19372066da7db4b2dda050ea7a2f4f737b17
CRs-Fixed: 2637298
2020-03-28 23:41:49 -07:00
nshrivas
564cbed6ff Release 5.2.0.178M
Release 5.2.0.178M

Change-Id: I7cff0e1fcbfcfa1562cbe770e40d91e101890ee5
CRs-Fixed: 774533
2020-03-28 10:41:27 -07:00
Tushnim Bhattacharyya
738552d241 qcacld-3.0: Use 6 mbps rate for 6Ghz mgmt frames
Extend 6 mbps rate usage for 6 Ghz management frames.

Change-Id: Idaff60865414dd8555877554f5626361e18f0c1f
CRs-Fixed: 2648909
2020-03-28 10:41:27 -07:00
nshrivas
f47707ef11 Release 5.2.0.178L
Release 5.2.0.178L

Change-Id: I1c6eb110b4a7bab9eb841bfa1bdb4345ea06b409
CRs-Fixed: 774533
2020-03-28 02:40:59 -07:00
Sravan Goud
021aad0312 qcacld-3.0: Request high bus bandwidth for monitor mode
Currently for monitor mode there is no bandwidth vote and
as a result voting level is none. So request high bus bandwidth
vote level for monitor mode.

Change-Id: I3efb755c80dadc07b5f672c18d9bae862eac378f
CRs-Fixed: 2643405
2020-03-28 02:40:59 -07:00
nshrivas
fb5421cf4a Release 5.2.0.178K
Release 5.2.0.178K

Change-Id: I6bd3264ba8dc44d2162fc15e8bde6a35ec36a957
CRs-Fixed: 774533
2020-03-27 21:09:00 -07:00
Gururaj Pandurangi
71a63998bf qcacld-3.0: Cleanup instances of CFG_MAX_TX_POWER
Remove max_tx_power from wlan_mlme_power struct
and ini_tx_power from lim_max_tx_pwr_attr struct
and all their instances.

Change-Id: I982a15b71b64d368b623128e04f09a8f3bf4f5ec
CRs-Fixed: 2645922
2020-03-27 21:09:00 -07:00
nshrivas
c257f188fc Release 5.2.0.178J
Release 5.2.0.178J

Change-Id: I5d47627c9e23f86f0205e1b0875c08fc6a504163
CRs-Fixed: 774533
2020-03-27 10:18:31 -07:00
Sourav Mohapatra
c836d39181 qcacld-3.0: Add conversion for new hang reasons
As a part of requirement, new hang reason codes were added to the
upstream.

Add the corresponding internal hang reason code mapping for the
upstreamed enum.

Change-Id: I55b44f9f51d5f9e7dd0be7461f1f0040ecdda4c3
CRs-Fixed: 2650294
2020-03-27 10:18:31 -07:00
Sourav Mohapatra
264f8d60d2 qcacld-3.0: Incorporate the new hang reason codes
As a part of requirement, there are new hang reasong codes added to the
qdf_hang_reason. Use those reason codes to trigger recovery at the
respective scenarios.

Change-Id: I4718012673ca206cb2f1112471f2b0d70caa6452
CRs-Fixed: 2630952
2020-03-27 10:18:10 -07:00
Sourav Mohapatra
9eb8bc01a0 qcacld-3.0: Modify cds_trigger_recovery as per modified QDF framework
The QDF framework for triggering self recovery is undergoing changes to
include support for multiple psoc driver. As the MCL host is still
multiple psoc agnostic, create dummy wrappers over the
cds_trigger_recovery so as to maintain compatibility with modified
qdf_trigger_self_recovery

Change-Id: I42163879c3e786a2b9ab2f9f5785be5531754e77
CRs-Fixed: 2617709
2020-03-27 10:17:47 -07:00
nshrivas
2e96bdbdf7 Release 5.2.0.178I
Release 5.2.0.178I

Change-Id: Ida4dd1897d8671b7b546fef7a873a5f59dbba90d
CRs-Fixed: 774533
2020-03-27 08:10:40 -07:00
Pankaj Singh
7bb841afbd qcacld-3.0: Add wait for vdev up operation completion in Monitor mode
During set channel request for monitor mode vdev start is triggered.
The vdev operation is completed only when vdev up is send to FW.
Wlan driver does not wait for completion of the vdev up operation
and after posting set channel request context is returned to supplicant.
Supplicant sends vdev stop operation for montior mode which results in
vdev up command sending to FW after vdev stop.

Fix, is to wait for completion of vdev up operation, then return the
context to supplicant.

change-ID: I33d7f9f85848b74d1206cff145e27ca2d96580a0
CRs-Fixed: 2627239
2020-03-27 08:10:35 -07:00
nshrivas
bf6b873f91 Release 5.2.0.178H
Release 5.2.0.178H

Change-Id: I7968df682548e5f5e7de40a9fd588920c3988e7b
CRs-Fixed: 774533
2020-03-27 04:59:06 -07:00
Kiran Kumar Lokere
b489e6be13 qcacld-3.0: Fix issue with 6GHz band cap configuration to FW
HE 6GHz band capabilities are copied from wrong byte offset hence
incorrect capabilities are configured to FW.

Fix the 6GHz band capability offset and size values while
configuring it to FW.

Change-Id: I0cc97610e32f3e5fbd64c6ed72d3591ae5127471
CRs-Fixed: 2645844
2020-03-27 04:59:06 -07:00
nshrivas
ce456fe70b Release 5.2.0.178G
Release 5.2.0.178G

Change-Id: I6302b2e803d81b5940b81dd87149cf9ba2746604
CRs-Fixed: 774533
2020-03-27 02:51:26 -07:00