Commit graph

21,930 commits

Author SHA1 Message Date
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
Gururaj Pandurangi
4b966d127d qcacld-3.0: Fix tx power calculation
Fix the TPE IE population for SAP. The total power and PSD power
are interchanged in TPE populate API.
Also, fix the TPC power calculation logic STA in non-PSD case when
TPE IE is present.
Populate current AP power type for SAP as well.

Change-Id: I0fb9b9318d1b5a3e1c8071714b7e3f6129828c92
CRs-Fixed: 2910658
2021-04-05 15:44:28 -07:00
Lincoln Tran
6a4eac9e68 qcacld-3.0: Fix call to set chan params
Set channel width when calling wlan_reg_set_channel_params_for_freq.
Also, in the case of 160MHz, mhz_freq_seg1 should be used instead of
mhz_freq_seg0 to get center frequency.
Send total eirp power to FW instead of psd power for PSD case as
part of WMI_VDEV_SET_TPC_POWER_CMDID.

Change-Id: Id37d2ca37c7ae1ac07df1444129801fcba37f219
CRs-fixed: 2906551
2021-04-05 11:31:04 -07:00
snandini
e9c4749fbd Release 2.0.8.14M
Release 2.0.8.14M

Change-Id: I5e5dc7fc63281bd4361a9e4ffcf079eccabcac4e
CRs-Fixed: 774533
2021-04-05 05:00:29 -07:00
sheenam monga
c4bea427da qcacld-3.0: Add ini to support different versions of IGMP
Add bit mask ini support to decide IGMP version

Change-Id: I2676f9adb83c421c28a1d19efb8fe13a64f34de9
CRs-Fixed: 2907553
2021-04-05 05:00:29 -07:00
snandini
57a1dcb996 Release 2.0.8.14L
Release 2.0.8.14L

Change-Id: I0ce8f8b86829264978f1bae596de16358233c5b5
CRs-Fixed: 774533
2021-04-02 22:09:34 -07:00
Amruta Kulkarni
9f97242cdb qcacld-3.0: Add Reject AP to BLM list after context change
In scenario, when ROAM HO failure is piggybacked on WOW wake up,
the blm reject AP addition fails as mutex can't be acquired in
interrupt context. With this change, the reject bssid blm
addition will happen after changing context to scheduler thread.

Change-Id: I685501b7ea48e4461922a7a50fb39c52d4d607f3
CRs-Fixed: 2880712
2021-04-02 22:09:33 -07:00
snandini
67df66442a Release 2.0.8.14K
Release 2.0.8.14K

Change-Id: I7dd08e520245c5bbb5f5c1c052e3bc2e20b8fbaf
CRs-Fixed: 774533
2021-04-02 14:35:10 -07:00