Commit graph

21,937 commits

Author SHA1 Message Date
Nisha Menon
bb06a20c2f qcacld-3.0: Enable feature to dump reo queue info in DDR
Enable DUMP_REO_QUEUE_INFO_IN_DDR to send cache flush cmd
to REO using cmd: iwpriv wlan0 txrx_stats 34 0

Cache flush cmd will invalidate the h/w cache and ensure
that h/w writes to DDR.
In the cmd callback, the reo status tlvs are processed
and the vaddr of the reo queue desc is used to read the
queue information from DDR and dump it in the host driver logs.

Change-Id: I4521b777d13c490ac687f9ff673182262bc52f62
CRs-Fixed: 2899824
2021-04-20 00:36:30 -07:00
Jianmin Zhu
e7e4e1fbec qcacld-3.0: Return 0 if rx aggregation missed
In QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION cmd parameters,
If attribute QCA_WLAN_VENDOR_ATTR_CONFIG_RX_MPDU_AGGREGATION is missed,
should return 0 instead of failed.

Change-Id: I5e570b9237768800e06d839814919d058a5e1d1f
CRs-Fixed: 2926104
2021-04-20 00:36:25 -07:00
snandini
6cc5d12787 Release 2.0.8.15E
Release 2.0.8.15E

Change-Id: Ic940160cd9411c34ae8268d70d28b861c99b803c
CRs-Fixed: 774533
2021-04-19 05:02:10 -07:00
Pragaspathi Thilagaraj
5ef550d62d qcacld-3.0: Enable partial roam scan for provided triggers
By default, the driver fills the roam scan scheme as none for
all the triggers in WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID
but if the roam scan scheme bitmap is set for particular
trigger, then for the corresponding trigger the roam scan scheme
should be sent as ROAM_TRIGGER_SCAN_MODE_PARTIAL.

Send ROAM_TRIGGER_SCAN_MODE_PARTIAL if roam scan scheme bitmap is
provided.

Change-Id: I82f16f7c0e24be472c95278eb3085f7d2623b63a
CRs-Fixed: 2914142
2021-04-19 05:02:09 -07:00
snandini
226285bfbd Release 2.0.8.15D
Release 2.0.8.15D

Change-Id: I1c754d55353eb40cf2e207164bdc23e0a1ceda11
CRs-Fixed: 774533
2021-04-19 00:33:16 -07:00
Deeksha Gupta
a42e0ba279 qcacld-3.0: Handle new reason code for TWT session
Firmware rejects TWT setup request due to roaming
in progress and channel switch with reason code
WMI_ADD_TWT_STATUS_ROAM_IN_PROGRESS,
WMI_ADD_TWT_STATUS_CHAN_SW_IN_PROGRESS.

Add support to handle TWT setup with new reason code.

Change-Id: I07dffc4a9ef10886c202f7c15300458018a7b7b6
CRs-Fixed: 2908380
2021-04-16 20:10:58 -07:00
snandini
f169ad66af Release 2.0.8.15C
Release 2.0.8.15C

Change-Id: Ia8ccb3618976523901fbba31cb74f06cb5ae8adc
CRs-Fixed: 774533
2021-04-16 03:02:32 -07:00
sheenam monga
58b684e9fe qcacld-3.0: Release reference of in_dev after fetching ipv4 list
Currently, while fetching ipv4 list in_dev is get via
in_dev_get and ref count of in_dev is incremented but
after fetching ip list in_dev_put is not used. So,
ref count will not be zero and may lead to issue while
destorying in_dev.

Fix is to use in_dev_put to maintain ref count to free
in_dev during rmmod.

Change-Id: I20a73127bb41c807315dbcd18adc1fb4278aa6d3
CRs-Fixed: 2921256
2021-04-16 03:02:32 -07:00
snandini
03924eab2c Release 2.0.8.15B
Release 2.0.8.15B

Change-Id: I75b818f1ba06154df16aecb55cc70741b622c9c4
CRs-Fixed: 774533
2021-04-15 16:33:03 -07:00
Srinivas Girigowda
948e2bfa0a qcacld-3.0: Add support to reject TWT setup incase of concurrency
Add support to reject TWT setup request if received when the below
mentioned concurrency scenario exists.

STA + SAP: SCC or MCC: Reject TWT setup
STA + P2P: SCC or MCC: Reject TWT setup

Change-Id: I5c4c2bcc032276a0b83b7a46a44dbf7933cda29f
CRs-Fixed: 2923726
2021-04-15 16:33:02 -07:00
Pragaspathi Thilagaraj
73e046e406 qcacld-3.0: Clear TWT context on receiving roam synch indication
The userspace doesn't expect TWT teardown or notify events after
roaming. So to clear the driver internal TWT context, for old
peer, call the mlme_init_twt_context() on roam synch complete.

Change-Id: If1e4fe2d79561885052caf8d5231d1c943f10c96
CRs-Fixed: 2912872
2021-04-15 16:32:57 -07:00
snandini
593ca3f257 Release 2.0.8.15A
Release 2.0.8.15A

Change-Id: I72b9ac41a6c4d11a5e502f30a4a903d2e62f8b14
CRs-Fixed: 774533
2021-04-14 17:52:05 -07:00
Pragaspathi Thilagaraj
12f644d482 qcacld-3.0: Set TWT wait for notify in concurrency TWT teardown
If firmware sends the TWT teardown due to concurrent session is
established, then the wait for notify flag is not set. So other
commands can be sent to firmware.

In case of TWT teardown due to concurrency, set the wait for
notify flag.

Change-Id: Ia1d5134e1c6d931f8c5ced1c011efb3489d343ad
CRs-Fixed: 2919799
2021-04-14 17:52:04 -07:00
Abhishek Singh
9bf83d10e9 qcacld-3.0: Handle TDLS HE mode in 11b mode to calculate phymode
If STA connection is in 11b mode and TDLS connect in HE, the
phymoe is not calculated properly.

Handle the HE mode in 11b network type as well.

Change-Id: I0ddafa0b4be8d6eab02c66be7c0f909c2d968918
CRs-Fixed: 2923182
2021-04-14 17:51:59 -07:00
Jingxiang Ge
64ce785659 qcacld-3.0: check if runtime pm enabled in runtime_suspend
check if runtime pm enabled in wlan_hdd_runtime_resume
and wlan_hdd_runtime_suspend.

Change-Id: I107f953d19ea6078d8bb8a59d51dcac6736ff914
CRs-Fixed: 2920169
2021-04-13 18:49:08 -07:00
snandini
e072d81654 Release 2.0.8.15
Release 2.0.8.15

Change-Id: I06648d225f220460ba8906bafe4d1860a1aec836
CRs-Fixed: 774533
2021-04-13 13:19:22 -07:00
Srinivas Girigowda
e0287b89b7 qcacld-3.0: Reject TWT setup if there exists another TWT session
Add support to reject the TWT setup request if there exists
another TWT session with different dialog id.

Change-Id: I59c0ba4279581bad14bec886d22c0ac65838ec17
CRs-Fixed: 2920494
2021-04-13 13:19:21 -07:00
Srinivas Girigowda
22d2deb4ab qcacld-3.0: Enhance mlme_twt_is_command_in_progress() to return active_cmd
Currently, mlme_twt_is_command_in_progress() function checks if the given
command is in progress or not. For inputs like WLAN_TWT_ANY, if this function
returns true then from the current logs, its not known which
active command in progress.

Hence for better debugging, enhance this function to return active command.

Change-Id: Ibc5c5babb042408b0e8988fe229d344ed98bfff3
CRs-Fixed: 2920494
2021-04-13 13:19:17 -07:00
snandini
617e337c2e Release 2.0.8.14Z
Release 2.0.8.14Z

Change-Id: I5652a1698bd5b0affea7f119c762aba5655808a5
CRs-Fixed: 774533
2021-04-13 11:09:56 -07:00
Kiran Kumar Lokere
02352b777b qcacld-3.0: Add RSNXE IE in beacon addtional IE buffer
Add RSNXE IE to beacon additional buffer to include it in
beacon frames.

Change-Id: Ie27f35bfe7f4a1ad291aa081e23db3b3e4444a57
CRs-Fixed: 2919168
2021-04-13 11:09:55 -07:00
snandini
839764c640 Release 2.0.8.14Y
Release 2.0.8.14Y

Change-Id: I0c53316ab8400f5319da1347c99a80ccb3db341f
CRs-Fixed: 774533
2021-04-12 15:39:33 -07:00
Mohit Khanna
6f6bd6ab85 qcacld-3.0: Record pkt history in fisa path
Record per packet history in FISA aggregation path.

Change-Id: I737481343f6c8d19deb57d39adb64f3a10f7d6f7
CRs-Fixed: 2911868
2021-04-12 15:39:32 -07:00
snandini
f2e9d0f5b6 Release 2.0.8.14X
Release 2.0.8.14X

Change-Id: Ib57e275d83172362e03749722983f235b47d62f2
CRs-Fixed: 774533
2021-04-11 13:11:54 -07:00
Jianmin Zhu
a6b063fa61 qcacld-3.0: Disable TX_AGGREGATION_SIZE ini for HSP
HSP doesn't support TX_AGGREGATION_SIZE ini, need disable it to avoid
confusing.

Change-Id: I9e49ad5218f913f116cf4472f768f572740f14df
CRs-Fixed: 2918796
2021-04-11 13:11:54 -07:00
snandini
04de6f3cc3 Release 2.0.8.14W
Release 2.0.8.14W

Change-Id: I8b187a9aa6a9024c30bed6a1479fe727c23b5529
CRs-Fixed: 774533
2021-04-10 23:15:42 -07:00
Abhishek Singh
325ac1b0e9 qcacld-3.0: Update htSupportedChannelWidthSet on HT BW change
Currently if STA is connected to HT only AP and if BW change
due to OBSS scan the htSupportedChannelWidthSet is not updated
and thus TDLS peer which use htSupportedChannelWidthSet to get
BW may not consider the vdev BW for HT and thus peer's BW can
go beyond VDEV's BW.

Fix this by updating htSupportedChannelWidthSet on vdev restart
on HT BW change

Change-Id: I7253fd240206ec27eac3e2b1de8debf8705a8234
CRs-Fixed: 2920539
2021-04-10 23:15:42 -07:00
Aditya Kodukula
a27593c6be qcacld-3.0: Fix memory leak in set_wifi_test_config vendor command
In the current implementation of the function
__wlan_hdd_cfg80211_set_wifi_test_config, if the status returned by
get_cfg API is not Success, it returns froms the function without
freeing the allocated memory. This causes a potential memory leak.
To avoid this, free the allocated memory properly.

Change-Id: I5f9ac5f2edc49ebad662f18dbe09893f8bee6459
CRs-Fixed: 2918850
2021-04-10 23:15:37 -07:00
snandini
6eb29edb0e Release 2.0.8.14V
Release 2.0.8.14V

Change-Id: I3b1f53803c525ad486fd3d1bbef4d4f99ce1fcf6
CRs-Fixed: 774533
2021-04-09 15:10:34 -07:00
Bapiraju Alla
cd21320cc0 qcacld-3.0: Don't enable HIF_DETECTION_LATENCY feature for all targets
The feature HIF_DETECTION_LATENCY_ENABLE is not applicable for all targets.
To avoid issues, enable this feature based on target.

Change-Id: Ia7bab02710ee2bbb9f487571ec98992ac338961f
CRs-Fixed: 2915968
2021-04-09 15:10:34 -07:00
Bapiraju Alla
2c94725484 qcacld-3.0: Don't configure FW dbg log levels for every vdev create
Currently FW dbg log levels are configured for every vdev creation.
But this is pdev level configuration and doesn't required to configure
for every vdev. Because of this WMI commands are getting flooded.

To avoid this, configure FW debug log levels only for first vdev
creation.

Change-Id: Ie395c1a7b0756a08ad7948997531c6920d83ae0b
CRs-fixed: 2913901
2021-04-09 15:10:29 -07:00
Yeshwanth Sriram Guntuka
aa4fce03a0 qcacld-3.0: Ignore RTPM suspend on pending IPA tx comps
In STA+SAP mode, disable pipes is not done as part of either
last client disconnection or SAP down. In the scenario where
APPS suspend does not get triggered, IPA pipes are not disabled
and on runtime suspend, PCIe link is suspended which would result
in a NOC error if IPA HW accesses wlan registers.

Fix is to avoid runtime suspend if there are any pending IPA
tx completions.

Change-Id: I190da658d233cb5d6c85846312ddc7a251f9f9d5
CRs-Fixed: 2918334
2021-04-09 15:10:25 -07:00
snandini
446ea30bf2 Release 2.0.8.14U
Release 2.0.8.14U

Change-Id: I6c24484e2b762a3d81fc252f039e92024b2a1a61
CRs-Fixed: 774533
2021-04-09 12:11:26 -07:00
Srinivas Girigowda
c1db41bdff qcacld-3.0: Add support for TWT re-negotiation failure
1. If the TWT setup parameter re-negotiation results in failure,
   then host driver shall trigger TWT teardown for the
   existing TWT session.
2. Upon receiving the TWT teardown confirmation from the firmware,
   host driver shall cleanup TWT session, send teardown notification
   to the user space and ready for next TWT setup command.

Change-Id: I553ae7de8d900a3dc12d563b781f9fefa36f8a0b
CRs-Fixed: 2916548
2021-04-09 12:11:25 -07:00
snandini
d6b8ea216e Release 2.0.8.14T
Release 2.0.8.14T

Change-Id: Ib3ea004b2a2b662dd7948be5a53fed257391d8ac
CRs-Fixed: 774533
2021-04-09 08:04:10 -07:00
sheenam monga
1d36a273e4 qcacld-3.0: Add feature flag to support IGMP offload
Add Feature flag WLAN_FEATURE_IGMP_OFFLOAD to support
IGMP offload feature.

Change-Id: I3a58e66a4e323e03c6d32c02ac1b401f23eb9d3c
CRs-Fixed: 2916022
2021-04-08 22:12:13 -07:00
snandini
ada752ef82 Release 2.0.8.14S
Release 2.0.8.14S

Change-Id: I49f2d2ddb8be007e859a55b300b72e207eaf808e
CRs-Fixed: 774533
2021-04-07 20:41:54 -07:00
Kiran Kumar Lokere
92b20896c9 qcacld-3.0: Add support for RF test mode and safe mode config
Add RF test mode and safe mode configuration support for 6GHz.

Change-Id: Icb6382f425b21e89a8cb2481c8f7bf480c4f6c19
CRs-Fixed: 2904749
2021-04-07 20:41:54 -07:00
Lincoln Tran
d9380f3a2c qcacld-3.0: Add operating class triplet to country IE
The operating class triplet was removed from country IE. Add the logic
to populate it back in.

Change-Id: Ia9a1489e04d832b650dbe203534f38980e7e1506
CRs-fixed: 2913363
2021-04-07 15:22:57 -07:00
snandini
4d89b07c2f Release 2.0.8.14R
Release 2.0.8.14R

Change-Id: Ib41603588633f0204517b40ff4540dfa136ed7dd
CRs-Fixed: 774533
2021-04-07 09:22:46 -07:00
sheenam monga
3496342c63 qcacld-3.0: Send igmp offload command to fw
Send igmp offload command to fw with disable flag
once host comes to resume state from suspended state.

Change-Id: Iec2c6830028bf13dd90ac0a842774a4a7138286c
CRs-Fixed: 2911248
2021-04-07 09:22:46 -07:00
sheenam monga
f5917bfcf7 qcacld-3.0: Add support to offload igmp feature to fw
offload igmp feature to fw in case of suspended state
to avoid high power consumption.

Change-Id: I05fbf23dc2836f8f5dc6e2f45b35bf2d30c39790
CRs-Fixed: 2907644
2021-04-07 09:22:41 -07:00
snandini
78801b3398 Release 2.0.8.14Q
Release 2.0.8.14Q

Change-Id: Iddf891954a5136582065688294394eee33238335
CRs-Fixed: 774533
2021-04-07 07:09:39 -07:00
sheenam monga
689290d021 qcacld-3.0: Add ini to enable disable igmp offload
enable/disable the IGMP offload feature to FW.

Change-Id: I57241b193598124cba147e86c2d5199c1d5c53ee
CRs-Fixed: 2904964
2021-04-07 07:09:39 -07:00
snandini
962fbb0cdb Release 2.0.8.14P
Release 2.0.8.14P

Change-Id: I85ce8bc7368ee63d6626d2ce33902378222c2615
CRs-Fixed: 774533
2021-04-06 21:21:28 -07:00
Paul Zhang
eca38e5722 qcacld-3.0: Kbuild: Refine add-wlan-objs
The current implementation of add-wlan-objs does not work correctly
with GNU Make 3.81 which is widely in use. So refine the function in a
manner that works with 3.81 as well as newer versions of Make.

Change-Id: Ic689367cccc16cf6ab23eeeb58665d84c5db3a26
CRs-Fixed: 2903606
2021-04-06 21:21:28 -07:00
Rakesh Pillai
95f8f86e54 qcacld-3.0: Reset tcp delack setting only if its enabled
Currently the tcp delack reset config is initiated,
unconditionally, when the bus bandwidth timer is stopped.
This leads to unnecessary tcpdelack settings even if
it has not been enabled.

Reset the tcp delack setting from bus bandwidth timer stop
only if tcp delack is enabled.

Change-Id: I492ed18e80703f64bb0340d781f64760d6da2004
CRs-Fixed: 2914604
2021-04-06 21:21:23 -07:00
snandini
09d1d1e2d1 Release 2.0.8.14O
Release 2.0.8.14O

Change-Id: Ibe4d46f19ef53ee1fa4c0dd6594e2b17519303fb
CRs-Fixed: 774533
2021-04-05 18:21:58 -07:00
Lincoln Tran
6549e02ce3 qcacld-3.0: Update the AP pwr mode when country changes
Currently, the AP power mode is only updated during HE OP IE population.
This causes the country IE to use the incorrect TX powers since HE OP is
populated afterwards. Add a call to update the power mode whenever the
country changes.

Change-Id: I46641d12f1aed045dbe1becf4b96ff65c5746c5b
CRs-fixed: 2910774
2021-04-05 18:21:58 -07:00
snandini
4b954f966b Release 2.0.8.14N
Release 2.0.8.14N

Change-Id: I221d610a6612818495fcd2ab6139f2e29b6d9535
CRs-Fixed: 774533
2021-04-05 15:44:33 -07:00
Karthik Kantamneni
048b699a11 qcacld-3.0: In resume sequence mark runtime resume as success properly
Currently runtime resume is marked as success after kicking
HTC queues, due to this non PM marked WMI commands are not
sent out properly.

Fix this by marking runtime resume as success before kicking
HTC queues, since resume is set as success as part of HTC kick
queues WMI commands will be sent out properly.

Change-Id: I5e3f98cbc5888bdf83f760b055c9b706c18737ef
CRs-Fixed: 2899609
2021-04-05 15:44:33 -07:00