Commit grafiek

25640 Commits

Auteur SHA1 Bericht Datum
Amit Mehta
c76ff11020 qcacld-3.0: Add TCP delack and tx rx param update APIs
Add TCP delack and tx rx param update APIs to DP component

Change-Id: Ic6dd63c3e43df628a0f766dafa1581001ea42d5a
CRs-Fixed: 3165030
2022-05-04 14:29:04 -07:00
Amit Mehta
2695c694c4 qcacld-3.0: Add tcp param update API
Add TCP param update APIs to DP component

Change-Id: Idc2574c3ab0b3bf1632954bc907b720fcd17675d
CRs-Fixed: 3165026
2022-05-04 14:28:59 -07:00
Amit Mehta
178d7f7753 qcacld-3.0: Add RPS indication APIs to DP component
Add APIS to configure RPS indication.

Change-Id: I5d5a3d2a20989daae3c904afb25a028bd2e37956
CRs-Fixed: 3165005
2022-05-04 14:28:53 -07:00
Madan Koyyalamudi
f4c0ad76f1 Release 5.2.1.20C
Release 5.2.1.20C

Change-Id: I5893ca112eadf879d58c1c804fffa9c389b83f1a
CRs-Fixed: 774533
2022-05-04 13:05:28 -07:00
Amit Mehta
4f0c6b8658 qcacld-3.0: Add rtpm_tput_policy API to dp component
Add rtpm tput policy helper functions

Change-Id: Ic8cb3889d9d67fbffab02f5b355c002db63650e3
CRs-Fixed: 3165000
2022-05-04 13:05:28 -07:00
Amit Mehta
e52153adec qcacld-3.0: DP Component Add bus bandwidth manager API
Add bus bandwidth manager API to DP component

Change-Id: I7e37b2687ec8092c5d437fb4d4bee5b1cda1670c
CRs-Fixed: 3164998
2022-05-04 13:05:22 -07:00
Amit Mehta
ed6a29b31c qcacld-3.0: add osif API to send tcp param update
Add new osif API to send TCP param update.

Change-Id: I487fabb53364703272f7e123802ecdb5fd77c3e8
CRs-Fixed: 3164977
2022-05-04 13:05:17 -07:00
Karthik Kantamneni
6b43ef6a50 qcacld-3.0: Implement DP component infra support
Implement DP component infra support, So that
DP component gets allocated and initialiazed.

Change-Id: Icdcbf92956dcf0984dd14262f3c7f29554b4eba8
CRs-Fixed: 3164965
2022-05-04 13:05:11 -07:00
Madan Koyyalamudi
c3269eb28d Release 5.2.1.20B
Release 5.2.1.20B

Change-Id: I00be0a2fcaf2a66f4ef4b7cb3acfb3f0605d8bc3
CRs-Fixed: 774533
2022-05-04 10:48:27 -07:00
Jyoti Kumari
c2f8b818db qcacld-3.0: Support twt in 11n mode
Currently TWT support is present from 11ax mode but now it can
get support from 11n mode if the below ini is present
enable_twt_in_11n=1
gDot11Mode=4

In 11n mode, STA checks the TWT responder bit from extended caps
of assoc response. If the TWT bit and the above mentioned ini
are enabled, then TWT commands can support.

Change-Id: I82e3f954954529abf04d8fdcd0238318047428d8
CRs-Fixed: 3185140
2022-05-04 10:48:27 -07:00
Jyoti Kumari
aadfa9a31f qcacld-3.0: Generalize mlme_set_twt_peer_capabilities() api
Currently mlme_set_twt_peer_capabilities() api is use to
update twt capabilities using he caps and he ops. But now
onwards partial TWT(requestor and responder) can be
supported from 11n mode also.
Make this api as generic so that it can be use for both
11ax and 11n.

Change-Id: Id89e056927a914938efad7116796cbf64b5764db
CRs-Fixed: 3185133
2022-05-04 10:48:21 -07:00
Jyoti Kumari
abf8be9f56 qcacld-3.0: Add ini to support twt in 11n mode
Currently TWT works only in 11ax. Add enable_twt_in_11n
ini to support TWT in 11n mode.
False: DO not support TWT in 11n mode
True: Support TWT in 11n mode

Change-Id: If1011c9a24b9c285199d7b0e60e5614d6c1f8786
CRs-Fixed: 3185100
2022-05-04 10:48:16 -07:00
Madan Koyyalamudi
090783be72 Release 5.2.1.20A
Release 5.2.1.20A

Change-Id: If3b3898e4aad75dc75253b8669eecde72137f2e7
CRs-Fixed: 774533
2022-05-04 08:34:44 -07:00
Bing Sun
37569c2ee1 qcacld-3.0: Fix puncture support in 11be mode without MLO
Make puncture work for 11be. Puncture is in EHT operation IE. It should
be supported for 11be mode without MLO IE.

Change-Id: I4406e81895a53d2975aaf5049c8e98a879522888
CRs-Fixed: 3184867
2022-05-04 08:34:44 -07:00
Alan Chen
342972cb0e qcacld-3.0: Set virtual iface flag in hdd_close_ndi()
Inadequate error handling is causing NDI create to timeout when an
error occurs and follows different function call path. This results
in the is_virtual_iface flag not being set in some scenarios and
the wrong {un}register_netdevice() kernel function being called.
Hence, set the flag in hdd_close_ndi() as well in order to avoid call
the current {un}register function.

Change-Id: I58111ce2a4a0021f4070b2d22db5d997eb2332c2
CRs-Fixed: 3184560
2022-05-04 08:34:38 -07:00
Madan Koyyalamudi
ee94ac987a Release 5.2.1.20
Release 5.2.1.20

Change-Id: I162474bf43d728de84507bf199db23cffbc2c37d
CRs-Fixed: 774533
2022-05-03 17:55:12 -07:00
Ashish
8b9284cc88 qcacld-3.0: Validate bw in lim calculate tpc
Currently host driver does not validate bw in lim calculate
tpc api before is it gets next higher bw, there is a possiblity
that this bw becomes invalid and driver ends up with out of bound
access for get higher bw array.

In current scenario when host driver tries to start vdev on
frequency 2472 for country IN and executes this API for frequency
2472, at the same time country is changed to US and this frequency
becomes invalid. so in the execution of this API host driver gets
invalid bw from reg set param and ends up with out of bound access
for get higher bw array.

TO address above issue, add a check to validate bw before driver
acceses get higher bw array.

Change-Id: Ibd6a2ff44a7928bb2fd461e6c49d4e306e4de7f7
CRs-Fixed: 3186084
2022-05-03 17:55:12 -07:00
Madan Koyyalamudi
b339e73ca9 Release 5.2.1.19Z
Release 5.2.1.19Z

Change-Id: Iec0b11041c23822925233484093784020271302d
CRs-Fixed: 774533
2022-05-03 16:35:04 -07:00
Ashish
cd5571ea06 qcacld-3.0: Update correct RSSI for connected case getstainfo
When a station is connected to SAP and host driver receives
getstainfo command, it gives rssi info as part of tihs command.
Currently host driver does not update this rssi information
correctly because of which userspace is getting rssi info as
positive value which is not correct.

To address above issue, update rssi info correctly in the host
driver.

Change-Id: I87033184644a1d246f8669c74153c46837a35276
CRs-Fixed: 3184344
2022-05-03 16:35:04 -07:00
Madan Koyyalamudi
9e1ab38fee Release 5.2.1.19Y
Release 5.2.1.19Y

Change-Id: I2926c43f3676e4c838f15041325db409682b63ea
CRs-Fixed: 774533
2022-05-02 14:08:38 -07:00
Rahul Gusain
eb9d862389 qcacld-3.0: Update Set Roam Primary reason in the roam stop config
Currently, roam scan mode is updated as roam offload while setting
primary vdev, but expected scan mode in this case is none. This is due
to wrong reason is propagated from cm_roam_stop_req to
cm_roam_scan_offload_fill_rso_configs.
So, reason in roam stop config is updated with set roam primary which is
propagated to cm_roam_scan_offload_fill_rso_configs.

CRs-Fixed: 3182222
Change-Id: I6d0db95f475038e659bddeb24b79ac4f67c9c079
2022-05-02 14:08:37 -07:00
Madan Koyyalamudi
df76975c2f Release 5.2.1.19X
Release 5.2.1.19X

Change-Id: I6b622e520ce6787a4347a7839fcab48752d08a4e
CRs-Fixed: 774533
2022-05-02 00:04:38 -07:00
Vulupala Shashank Reddy
7309dbf3db qcacld-3.0: Send correct Nth beacon config to FW in pkt capture
Currently, when user sets pkt capture beacon capture config
using vendor command, both nth beacon interval and connect
beacon config is sent to firmware. This leads to reception
of all beacons even if nth beacon interval is configured.

Whenever nth beacon interval and connect beacon is configured
from user, firmware expects host to not send connect beacon
config to FW. This change also adds Nth beacon filter check
for beacons in packet capture management rx path.

Change-Id: I046a282c5f79598b686c4fd95554e2330c6bfb39
CRs-Fixed: 3150806
2022-05-02 00:04:38 -07:00
Madan Koyyalamudi
2de07c36ed Release 5.2.1.19W
Release 5.2.1.19W

Change-Id: Ib4930672dc107ca5c3dfade087fbf3bee6c55e9a
CRs-Fixed: 774533
2022-05-01 06:45:13 -07:00
Aravind Kishore Sukla
f8b221da43 qcacld-3.0: Send the correct SAE authentication failure reason code
Currently driver fills the reason code as
STATUS_UNSPECIFIED_FAILURE when sae authentication frame is
received or sent with failure status code.
So while processing SAE auth frame sent by AP, the DUT STA reports as
“Wrong password” instead of “Auth error” in the user interface.

Parse the status field for SAE Auth frames received from the
external authentication status command. This should be passed to the
userspace as part of connect failure indication

Change-Id: I9061cef6ac73a74021901dfa056551f51033de0c
CRs-Fixed: 3182981
2022-05-01 06:45:13 -07:00
Madan Koyyalamudi
4a113b4116 Release 5.2.1.19V
Release 5.2.1.19V

Change-Id: I2308219ebc1eb7f3ffdc49f47101c9f189a7db15
CRs-Fixed: 774533
2022-04-29 12:39:43 -07:00
Karthik Kantamneni
4e6e2f07ef qcacld-3.0: Fix uninitialized SWLM timer deletion
Currently if SWLM is disabled then SWLM based flush timer will
not be initialiazed, but during cleanup path timer deletion is called.

Fix is to check SWLM enablement before deleting flush timer.

Change-Id: I12a4c62bdda35854230de02248f55892dcf5caa2
CRs-Fixed: 3184918
2022-04-29 12:39:43 -07:00
Madan Koyyalamudi
2de5e67729 Release 5.2.1.19U
Release 5.2.1.19U

Change-Id: I639667150011e2cf0d8a1f745ba077e1b5be8e94
CRs-Fixed: 774533
2022-04-29 11:16:28 -07:00
Srinivas Dasari
57bfa343e8 qcacld-3.0: Use hdd_for_each_sta_ref_safe API for connection status
When a NAN request(NAN enable/disable/any generic) is received
from userspace, host driver checks if any connection(STA/SAP/P2P)
is in progress by iterating through adapters. The request would be
rejected if any adapter has connection_in_progress status.

But if the adapter is getting cleaned up in parallel while
iterating through the list for connection status, the iterator
callback may stuck in loop. So, use hdd_for_each_sta_ref_safe()
API to avoid stuck in loop.

Change-Id: Ic7833dcb17154003565ccbece31a490ee9f43beb
CRs-Fixed: 3183232
2022-04-29 11:16:27 -07:00
Madan Koyyalamudi
dcf35b71db Release 5.2.1.19T
Release 5.2.1.19T

Change-Id: I57059d52fa4215a112bd1d3e3a48de5537644264
CRs-Fixed: 774533
2022-04-29 09:00:52 -07:00
Deeksha Gupta
edf869fd02 qcacld-3.0: Fix pack and unpack eht cap
Fix lim pack and unpack eht cap issue

Change-Id: I161cf7ece463f6b724ce0bf07ce892b8bd730b92
CRs-Fixed: 3180757
2022-04-29 09:00:51 -07:00
Deeksha Gupta
e59ec6bf79 qcacld-3.0: Add support to decode EHT cap IE
Currently parser code doesn't have support to decode optional
fields in EHT capability IE which are dependent on HE cap IE.

To achive this, add API to decode EHT cap IE in beacon frames.

Change-Id: I2f2c5de1dcc49a4fc1b70364d751926edaff8faa
CRs-Fixed: 3159696
2022-04-29 09:00:46 -07:00
Deeksha Gupta
0803c718b4 qcacld-3.0: Add support to encode EHT capabilities IE
Currently parser code doesn't have support for packing of optional fields
in EHT capability IE which are dependent on HE cap IE.

To achive this, add API to encode EHT cap IE and include the generated EHT
capability IE bytes in beacon frames.

Change-Id: I8e85673d3413272beb54c8388045501f7b3bc0a1
CRs-Fixed: 3159697
2022-04-29 09:00:39 -07:00
Deeksha Gupta
f88c2a171f qcacld-3.0: Update EHT IEs handling as per D1.4
EHT capabilities and EHT operation IE definitions are updated as per
new draft version D1.4. Update corresponding IE handling as per new
definitions.

Change-Id: Ic321ea0d037a5f59fb6bc42f9ed013509dd2ea49
CRs-Fixed: 3160713
2022-04-29 09:00:33 -07:00
Deeksha Gupta
aab85cb217 qcacld-3.0: update EHT capabilities IE as per draft 1.4
Update dot11f EHT capabilities IE definitions as per 11be draft 1.4
specification.

Change-Id: I61493035c6d04658abcd51e53abb1266c2316d46
CRs-Fixed: 3160526
2022-04-29 09:00:27 -07:00
Paul Zhang
4b23c1c5e8 qcacld-3.0: Enhancement to configure BA mode to fw
Currently, it can only set 2 or 3 for WMI_VDEV_PARAM_BA_MODE per the value
from attribute QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ADDBA_BUFF_SIZE.

For enhancement, add logic:
	5 - buffer size 512
	6 - buffer size 1024

Change-Id: I8716b48659e9165604f04522f5703e9e5e46a907
CRs-Fixed: 3181782
2022-04-29 09:00:21 -07:00
Madan Koyyalamudi
8d112cf123 Release 5.2.1.19S
Release 5.2.1.19S

Change-Id: Ib5bf5ae05caae59d1630e485c5dd04ba857e8d06
CRs-Fixed: 774533
2022-04-29 05:24:14 -07:00
Madhvapathi Sriram
bba43fa7fb qcacld-3.0: Move user EDCA setting variable to PE session
Do not have user_edca_set variable in the packed structure.
The packed structure is used in various places for copying
and casting.

Change-Id: Ic9203d73757830113df91c37da883eb19f7bff10
CRs-Fixed: 3182540
2022-04-29 05:24:14 -07:00
Madan Koyyalamudi
30ab61f49d Release 5.2.1.19R
Release 5.2.1.19R

Change-Id: Ie679f85c01538d609206d6dda964ad8428cf97b8
CRs-Fixed: 774533
2022-04-29 04:12:45 -07:00
Vulupala Shashank Reddy
014ec22131 qcacld-3.0: Avoid compilation error when pkt capture enabled
Currently tso_desc moved from dp_tx_desc_s to dp_tx_ext_desc_elem_s,
so make corresponding change in pkt capture to avoid compilation
error when pkt capture is enabled.

Change-Id: I18260c5df0872470b2309e31e8d2011f5fac70d1
CRs-Fixed: 3156011
2022-04-29 04:12:45 -07:00
Madan Koyyalamudi
c6cba8be7e Release 5.2.1.19Q
Release 5.2.1.19Q

Change-Id: Ic3d15bdd656390ad8f937256b35df9fc01da2dc6
CRs-Fixed: 774533
2022-04-29 00:57:40 -07:00
Jia Ding
0e8a200692 qcacld-3.0: Support tx_bitrate for SON node info
tx_bitrate is used as indication of macThroughputCapacity in transmitter
link metric for backhaul STA link.

tx_bitrate is added in wlan_node_info structure and os_if interface is
exposed so that SON module could get the tx_bitrate parameter.

Change-Id: Ib9949906b3247519bf8c1ce786d6b93d38d4d8ea
CRs-Fixed: 3154548
2022-04-29 00:57:40 -07:00
Madan Koyyalamudi
0e0c2a645c Release 5.2.1.19P
Release 5.2.1.19P

Change-Id: I3312114b815ca253cfb835abe18b00469b7e0756
CRs-Fixed: 774533
2022-04-28 15:46:12 -07:00
Vinod Kumar Myadam
fb7f77bec3 qcacld-3.0: Add WMI_SCAN_FILTER_PROBE_REQ in control flags
Passing WMI_SCAN_FILTER_PROBE_REQ in scan control flags to fw,
for sync with host triggered scans

Change-Id: Ided83c10c48427db29c95a2dc8eac6df6ff467f7
CRs-Fixed: 3184905
2022-04-28 15:46:12 -07:00
Madan Koyyalamudi
73ef4c636c Release 5.2.1.19O
Release 5.2.1.19O

Change-Id: Ia190acd21d8a9cb83860b4eb2f9f1c8486e3d3db
CRs-Fixed: 774533
2022-04-28 13:06:07 -07:00
Surya Prakash Sivaraj
f61aa78712 qcacld-3.0: Use CM SM to get the roam sync state
Use the Connection Manager state machine to check if the
VDEV is currently in roam sync state. RSO states can be
changed dynamically based on the roaming configuration, whereas
the state machine would maintain the state.

Change-Id: Ic5c9a3a322febfe6b71f4684d5074dad599ecd37
CRs-Fixed: 3183191
2022-04-28 13:06:07 -07:00
Madan Koyyalamudi
60d05baf38 Release 5.2.1.19N
Release 5.2.1.19N

Change-Id: I67412c745a4be5d9798db0c14349e895281a51dc
CRs-Fixed: 774533
2022-04-28 03:12:24 -07:00
Bing Sun
6cd2f373f1 qcacld-3.0: Add CONFIG_FEATURE_WDS dependency configs
Enable configs which are needed by WDS, if WDS is enabled.

Change-Id: Ib57aa40a70a699ce975ff4ef2157417322858ea1
CRs-Fixed: 3183053
2022-04-28 03:12:24 -07:00
Madan Koyyalamudi
7db8deaeaf Release 5.2.1.19M
Release 5.2.1.19M

Change-Id: I7a779527ca17c684c9c59382beb67c07e58f630d
CRs-Fixed: 774533
2022-04-27 22:57:02 -07:00
Amruta Kulkarni
f42a94bae2 qcacld-3.0: Set chan freq to value passed to api
During monitor mode set target chan freq is incorrectly set
change is to set the chan freq to correct freq value in
wlan_hdd_set_mon_chan and wlan_hdd_cfg80211_set_mon_ch api's.

Change-Id: Ie5e7ce7cdf7417cddfdba808a76ab466397dfd9c
CRs-Fixed: 3183292
2022-04-27 22:57:02 -07:00