Commit Graph

22649 次程式碼提交

作者 SHA1 備註 提交日期
Arun Kumar Khandavalli
40e2d02202 qcacld-3.0: update mlme caps for the EHT
update the mlme data structures with eht capabilities.

Change-Id: I3d6b450d673d07560086383a6e32f5602d59ae41
CRs-Fixed: 2911882
2021-04-19 00:52:39 -07:00
Arun Kumar Khandavalli
061fe45f3c qcacld-3.0: update the eht capabilities received from firmware
Update the wma structures with the eht capabilities received
from the firmware.

Change-Id: If571ab857e1f71b972655d9d48902b28e3974b1e
CRs-Fixed: 2911863
2021-04-19 00:52:34 -07:00
Abdul Muqtadeer Ahmed
5e3c6e4da0 qcacld-3.0: Add checks for the assoc req/res lengths
In some case assos req/res length can be less than their respective
fixed fields due to which they get assigned to negative value
but as they are unsigned variable these req/res lengths gets convert
to large positive values. So during page memory allocation for these
lengths, page memory allocation failure happens.

To address the above issue add checks for both assoc req/res lenghts
before calculating the value for them.

Change-Id: Iff404e72420b27bc2a467a25fe530f135ee97c91
CRs-Fixed: 2903644
2021-04-19 00:52:29 -07:00
snandini
9908dd8386 Release 5.2.0.230F
Release 5.2.0.230F

Change-Id: I2a7126507475ce0cf5386cee049e06c41746a89b
CRs-Fixed: 774533
2021-04-18 10:43:01 -07:00
Abhishek Ambure
f0cc4d0d06 qcacld-3.0: Update protected bit for mgmt action frames
Host checks RMF enable and robust action frame category, if both are
true then sets protected bit in mac header of management action frame.

Change-Id: I2d57c52b66ff7abd44dd02b73ad18f13fbdef009
CRs-Fixed: 2917058
2021-04-18 10:43:01 -07:00
Jeff Johnson
7d2bb43148 qcacld-3.0: Use makefile flag to select DLKM makefile
The kernel is transitioning from AndroidKernelModule.mk to
Build_external_kernelmodule.mk as the helper makefile for building
DLKMs. As the new makefile was introduced for the "taro" platform,
initially a platform check was introduced to determine which makefile
to include.  However this is not a scalable approach.

Recently the flag TARGET_USES_KERNEL_PLATFORM was added to the build
system, so update the logic such that when this flag is set to 'true'
we will use Build_external_kernelmodule.mk.

Change-Id: I2200b27753263b931cebdbff5445d50b1fc2b94f
CRs-Fixed: 2913254
2021-04-18 10:42:57 -07:00
snandini
dc91276973 Release 5.2.0.230E
Release 5.2.0.230E

Change-Id: Ia6eb62f8cfc3154d2b72297bb32dd1d9779f26f5
CRs-Fixed: 774533
2021-04-16 17:42:52 -07:00
Deeksha Gupta
e5f0ccb0f5 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 10:20:37 -07:00
snandini
2fb682786f Release 5.2.0.230D
Release 5.2.0.230D

Change-Id: I30c488ec7b183ac21c4c32dccf2dcfe836ce94b8
CRs-Fixed: 774533
2021-04-16 09:19:55 -07:00
bings
e4742ba697 qcacld-3.0: check 11be IE is configured or not from userspace
When starting SAP, If 11be IE is configured from userspace,
driver need check concurrency, update phymode as 11be and notify mlo mgr.

Change-Id: I22fdec5d978c91a8fc292af49462f045922254ae
CRs-Fixed: 2908938
2021-04-16 09:19:55 -07:00
snandini
d2a9541568 Release 5.2.0.230C
Release 5.2.0.230C

Change-Id: I8b06b1766c35ee2f0d92b48c8049f107875131e5
CRs-Fixed: 774533
2021-04-16 07:20:02 -07:00
sheenam monga
d672135750 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 at rmmod.

Change-Id: I20a73127bb41c807315dbcd18adc1fb4278aa6d3
CRs-Fixed: 2921256
2021-04-16 07:20:02 -07:00
snandini
818b142548 Release 5.2.0.230B
Release 5.2.0.230B

Change-Id: I313f3b85a52e6d01652513a2372ffd5e6fc7a580
CRs-Fixed: 774533
2021-04-15 22:52:19 -07:00
Bapiraju Alla
72752feac1 qcacld-3.0: Add lim APIs implementation to support 11be assoc
Currently, most of the EHT APIs are just defined. Add implementation
to handle association request and association response frames to
support 11be association.

Change-Id: Ic8d29d79b7e099ad81169bcfc22476e4223bd846
CRs-Fixed: 2908114
2021-04-15 22:52:19 -07:00
bings
9c55e8a7d9 qcacld-3.0: Add APIs to update 11be target capabilities
As part of 11be enhancements, firmware will send the 11be hardware
capabilities that are supported by the device. Add new HDD APIs to
store these 11be capabilities in the host driver.

Change-Id: Ib3baa41ea3d8ef2ce49b88e4b48d8bc29556cd66
CRs-Fixed: 2908045
2021-04-15 22:52:14 -07:00
Bapiraju Alla
8b9c2b1322 qcacld-3.0: Add support for 11be parameters configuration
As part of 11be enhancements in the driver, new configuration
parameters will be added. Define new APIs to support EHT
configuration parameters in the host driver.

Change-Id: Ic1890943a2f941e864d0df102e4954aac75d9f11
CRs-Fixed: 2908030
2021-04-15 22:52:08 -07:00
Bapiraju Alla
85ab46fde0 qcacld-3.0: Add support for EHT in management frames handling
Current driver implementation supports management frames handling
till 11ax. As part of 11be enhancements, new information elements
were added. To support 11be in host driver, update management
frames handling to support EHT information elements.

Change-Id: Id7064cbfe0b2c6a413be20c3ea64747a39312845
CRs-Fixed: 2907983
2021-04-15 22:52:04 -07:00
snandini
0939e544f3 Release 5.2.0.230A
Release 5.2.0.230A

Change-Id: I1d3a0f0d268d0f83e0ba608b244dc447b261c91f
CRs-Fixed: 774533
2021-04-15 19:50:42 -07:00
Aditya Kodukula
62b11a5b0c qcacld-3.0: Correct logical error in testing netlink attributes
In the function __wlan_hdd_cfg80211_set_wifi_test_config, if the
rf_test_mode is enabled in the 6GHz Security Test Mode vendor attribute
config, the if check returns the function without continuing to test the
next attribute. So to prevent this, correct the logical error.

Change-Id: Id42ead2416ce48b9203f8b4a085f80c7a33bad8e
CRs-Fixed: 2920598
2021-04-15 19:46:19 -07:00
snandini
5b6d52e875 Release 5.2.0.230
Release 5.2.0.230

Change-Id: If0cd2f7728a2a14cbc7a1d0aee878c58b40edcbb
CRs-Fixed: 774533
2021-04-15 17:45:53 -07:00
Aditya Kodukula
d915a3dd26 qcacld-3.0: Restore the ini parameter etsi13_srd_chan_in_master_mode
The commit Ic695e36e9b4fc9952cc405d1345b4a6a7d543dad, removed the
ini parameter etsi13_srd_chan_in_master_mode assuming that the
ini is obsolete and no longer being used. But, the ini is still
being used by the OEMs. So, revert the previous changes.

Change-Id: I6b2ba8b8e41ab96981b92e5ff4b2f610f92d7e43
CRs-Fixed: 2923688
2021-04-15 17:45:52 -07:00
snandini
cfbec79b78 Release 5.2.0.229Z
Release 5.2.0.229Z

Change-Id: I278b7fc4cc1dabb02f819b7775e0f605e50a1a53
CRs-Fixed: 774533
2021-04-15 09:29:22 -07:00
bings
162eed4f6f qcacld-3.0: Add eht_op and eht_cap of 11be for sme layer
Two new IE eht_op and eht_cap will be added for 11be.
Implement eht_op and eht_cap changes for sme layer.

Change-Id: If6d11e2cad2ff87ac82b07c7ecb9dd05ac53f0ee
CRs-Fixed: 2908058
2021-04-15 09:29:21 -07:00
snandini
e1569c87b8 Release 5.2.0.229Y
Release 5.2.0.229Y

Change-Id: Id22a5968f5f56f7e4e832a75f93ccdf2ffe30ea1
CRs-Fixed: 774533
2021-04-15 07:03:21 -07:00
bings
b9792c62d3 qcacld-3.0: Add 11BE phy mode in csr/sap layer
Implement 11BE phy mode in csr/sap layer

Change-Id: I7f35379b94dcb64dec0da463b95967125dc7fd14
CRs-Fixed: 2908011
2021-04-15 07:03:21 -07:00
snandini
da147eba76 Release 5.2.0.229X
Release 5.2.0.229X

Change-Id: I6fe9633cf3410773668b4887d69399869c51f783
CRs-Fixed: 774533
2021-04-15 04:58:49 -07:00
wadesong
aa459740c5 qcacld-3.0: Add support for rome and genoa
Add soft links to .qca6174 and .qcn7605 so the latest code
can be compiled with rome and genoa chipsets.

Change-Id: I364b38d7f285c2148f78a915616fcc602b3b47f7
CRs-Fixed: 2912418
2021-04-15 04:58:49 -07:00
snandini
9c4b0b655a Release 5.2.0.229W
Release 5.2.0.229W

Change-Id: I2afe4f869866151b4fb1cd0f9666e2f0c92012d3
CRs-Fixed: 774533
2021-04-15 02:56:11 -07:00
Srinivas Girigowda
997c8a07aa 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 02:56:11 -07:00
Vulupala Shashank Reddy
2ac9c7e39c qcacld-3.0: Fill timestamp for Mgmt tx packets for packet capture
Currently in packet capture mode for tx mgmt packets tsf_delta
filled in tsf timeestamp, which is incorrect.

So, fill tsf timestamp in Mgmt tx packets for packet capture.

Change-Id: I90da072ee6d7e0f7a9b6271086e163a71208b7f5
CRs-Fixed: 2916982
2021-04-15 02:56:06 -07:00
snandini
07e0fb8a78 Release 5.2.0.229V
Release 5.2.0.229V

Change-Id: I19ca36f69e610a61605a0c8421dd43879c259fb9
CRs-Fixed: 774533
2021-04-15 00:12:15 -07:00
Alan Chen
f717540bf2 qcacld-3.0: Remove wake reason log to avoid excessive logging
There is excessive logging in wma_wake_event_packet that does not
add much value in debugging. Hence, remove it entirely from the code.

Change-Id: If0ea6d9ea33d741f734ccf14ad3d1f1b4e261dd0
CRs-Fixed: 2923733
2021-04-15 00:12:15 -07:00
Alan Chen
753f93e6e0 qcacld-3.0: Change PMO_ACTION_BLKACK to PMO_MAC_ACTION_BLKACK
There is a compilation error due to use of PMO_ACTION_BLKACK, which
is not defined. Change PMO_ACTION_BLKACK to PMO_MAC_ACTION_BLKACK to
resolve this issue.

Change-Id: I011c4c323bfa7d104c6a6879aba93085a35fed3d
CRs-Fixed: 2923577
2021-04-15 00:12:10 -07:00
snandini
348c91574d Release 5.2.0.229U
Release 5.2.0.229U

Change-Id: I9ae7086362f40db600df573046441727c0ef5194
CRs-Fixed: 774533
2021-04-14 22:11:40 -07:00
wadesong
c4976dd8e4 qcacld-3.0: Add flag to enable rome device id
With the changes introduced in

  Change-Id: I91e87ffa32d77e2bab15fca09514cdefb1075c71
  Change-Id: Ie6579d1ed34de2c183f9ce2d411a02d6c8137da5

wlan chipset's device id won't be available in
pld_pcie_id_table unless a chip specific macro is defined;
and cnss2 will do strict device id matching after wlan
driver registers to it.

This has been a problem for rome on auto platforms because
there has been no chip specific macro defined in its
defconfig file(qca6174_defconfig).

Add rome specific macro into qca6174_defconfig to make sure
wlan driver exports the correct device id when registering
to cnss2 driver on msm-5.4, so cnss2 device id check can
be passed and wlan driver init doesn't fail.

Change-Id: Idd7a86380613b9f624cfa6e4574d40065e85a221
CRs-Fixed: 2907268
2021-04-14 22:11:40 -07:00
Mohit Khanna
73a1e0a529 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-14 22:11:36 -07:00
snandini
f98c307cf5 Release 5.2.0.229T
Release 5.2.0.229T

Change-Id: I053f3fbb55b7bc7c5fa20df6cf430a1f8a8bcb30
CRs-Fixed: 774533
2021-04-14 10:51:48 -07:00
Abhishek Singh
ec812d5929 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 10:51:48 -07:00
snandini
c0d4925140 Release 5.2.0.229S
Release 5.2.0.229S

Change-Id: I451e21c2344190176e3af0c256717c9601d54c7c
CRs-Fixed: 774533
2021-04-14 05:34:17 -07:00
Wu Gao
755ad505a3 qcacld-3.0: Disable force wake for SDX65
It enabled two pipes for IPA DBS case on SDX65,  and froce wake
doesn't support this case. So disable it on this platform.

Change-Id: Ie8a23f11a5cd089b205c5b6ec27c39a9da9ddad9
CRs-Fixed: 2901043
2021-04-14 05:34:17 -07:00
Paul Zhang
84c234f62f qcacld-3.0: Support congestion report on multiple interfaces
Support congestion report on multiple interfaces

Change-Id: Iff650519c5b0e48ad63bb0a05d1c736ec40b385d
CRs-Fixed: 2832477
2021-04-14 05:34:12 -07:00
Vulupala Shashank Reddy
d1f7201b35 qcacld-3.0: Fill timestamp for packet capture rx data packets
For rx data packets in packet capture mode fill timestamp
from msdu start.

Change-Id: Iebbdcf303e67369f855d5cf3514df0e03e38dedd
CRs-Fixed: 2917013
2021-04-14 05:34:08 -07:00
snandini
1e88f3d40f Release 5.2.0.229R
Release 5.2.0.229R

Change-Id: I757dbadeec7464a3c549d37c1fdde52913c7a5c4
CRs-Fixed: 774533
2021-04-14 00:52:16 -07:00
Abhishek Ambure
61c1774ff7 qcacld-3.0: Forward all vendor specific action frames to supplicant
On reception of vendor specific action frames, host performs basic sanity
on vendor specific action frames fields and then forwards to supplicant.

Change-Id: Ib22b9a431411fff8128e461972b81b66688a0919
CRs-Fixed: 2897656
2021-04-14 00:52:16 -07:00
snandini
62712aeed1 Release 5.2.0.229Q
Release 5.2.0.229Q

Change-Id: Ic4670935239c53880ecb586f6237017bbf5dbae7
CRs-Fixed: 774533
2021-04-13 18:53:48 -07:00
Pragaspathi Thilagaraj
1a5d01bd93 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-13 18:53:47 -07:00
Gururaj Pandurangi
900c3acdac qcacld-3.0: Remove all wlan_reg_chan_has_dfs_attribute instances
Use wlan_reg_chan_has_dfs_attribute_for_freq API to check DFS
attribute flag instead of unused wlan_reg_chan_has_dfs_attribute
API as part of regulatory clean-up effort.

Change-Id: I7ff75f56ebd641d500c365f756526b787986dcbe
CRs-Fixed: 2908159
2021-04-13 18:53:43 -07:00
snandini
cd50332b0f Release 5.2.0.229P
Release 5.2.0.229P

Change-Id: I4f680dded8c97b57c92c5335beed521a9a84d40c
CRs-Fixed: 774533
2021-04-13 14:50:40 -07:00
Jeff Johnson
8ccb229505 qcacld-3.0: Kbuild: Update WLAN_CFG_OVERRIDE handling
Currently Kbuild handles WLAN_CONFIG_OVERRIDE directives by writing
the overrides into a file and then including the file. This violates
one of the requirements of the Hermetic Build feature which forbids
modifying the source directory. This is also subject to a race
condition where multiple concurrent builds attempt to write to the
file in parallel, and one of the builds ends up consuming the
overrides from both builds.

To avoid these issues update the WLAN_CFG_OVERRIDE handling to no
longer use a file, but to instead just $(eval) the overrides.

Change-Id: Iac159228a82b0a8134e272ce63ed568050e8e6ae
CRs-Fixed: 2917351
2021-04-13 14:50:40 -07:00
snandini
25e31a23f4 Release 5.2.0.229O
Release 5.2.0.229O

Change-Id: Idf0c050337990fd9558ef15ceb261a72fb141d43
CRs-Fixed: 774533
2021-04-13 11:52:15 -07:00