نمودار کامیت

2980 کامیت‌ها

مولف SHA1 پیام تاریخ
Abhishek Singh
88053d3ec2 qcacld-3.0: Remove unused structures from for set keys
Remove unused structures from wma_if.h and ani_sysytem_defs.h
for set key.

Change-Id: I68aff20694a4fc45fa61071bbc2ef4289351e9a9
CRs-Fixed: 3549004
2023-07-06 14:52:13 -07:00
Paul Zhang
df6fb6c453 qcacld-3.0: Set BW should backward compatible
Host updates channel bandwidth to the max supported bandwidth
on disconnection.
 hdd_cm_disconnect_complete_post_user_update
 -> hdd_set_mac_chan_width
 --> hdd_update_channel_width
 ---> sme_set_he_bw_cap

It causes that it could not support low BW, setting BW should
backward compatible to resolve this issue.

Change-Id: I05be526d701052c0147b5aa3ac1effa8d38b246f
CRs-Fixed: 3541945
2023-07-06 04:27:22 -07:00
Vinod Kumar Pirla
5910af22bd qcacld-3.0: Wrapper API to check duplicate session
Introduce new API which checks for duplicate session on all the
valid addresses in the adapter.

The existing sme_check_for_duplicate_session() API is extended
to take list of addresses to check for duplicate entry.
The list argument is expected to be NULL terminated to exit the
loop.

Change-Id: I71629aa89e901041d787de18e2305dbbbca5aa50
CRs-Fixed: 3524015
2023-07-04 09:14:47 -07:00
Vinod Kumar Myadam
ea0b027073 qcacld-3.0: Fix read current country code
In populate_dot_11_f_ext_chann_switch_ann API, will read current country
code from mac context which is not have the updated country code.

So, read the current country code directly from regulatory API,
wlan_reg_read_current_country.

Remove unused variables mac->scan.countryCodeCurrent,
mac_ptr->scan.countryCodeDefault and tagCsr11dinfo->countryCode.

Change-Id: Ice64ef1be5b775125ff3bcacfcab7684c6833cad
CRs-Fixed: 3529808
2023-06-21 22:48:37 -07:00
Abhishek Singh
d055aed7bb qcacld-3.0: Optimize force SCC API
Optimize force SCC API, to use PCL to get the required channel.

Change-Id: I440790e21dcb6437fe633316caf85bbf11a69f9a
CRs-Fixed: 3430837
2023-06-17 20:17:32 -07:00
Aditya Kodukula
7028b37955 qcacld-3.0: Fix typographical errors
Fix typographical errors spanned over various files in cld.

Change-Id: I82a7eec4335d617a43c89589418a21885074fde0
CRs-Fixed: 3529627
2023-06-15 21:23:48 -07:00
Gururaj Pandurangi
0a7681d655 qcacld-3.0: Add support to send Manual BA mode on each vdev
FW has BA Auto mode as default configuration and expects
Host to update if it is Manual trigger mode. Currently, Host
sends Manual mode trigger on assoc vdev as the partner vdev
is not yet created while setting this value. Modify the
logic to support to set Manual mode on each vdev post the
vdev start.

Change-Id: I3f1e806d2a1e9a28f3f380a0c087da494a7af27e
CRs-Fixed: 3401604
2023-06-12 16:26:01 -07:00
Pragaspathi Thilagaraj
a598c36737 qcacld-3.0: Cleanup redundant error logs
Change few repeating error logs to debug level.

Change-Id: Ie64d4a99e70dae6dd9548bfa90914075c73feb77
CRs-Fixed: 3509900
2023-06-11 14:18:11 -07:00
Gururaj Pandurangi
cebcec1646 qcacld-3.0: Add link switch stub API for legacy code
Add a stub API for link switch for non-11BE legacy code.

Change-Id: I39a4252155c9182ca4e1e0ec8ea2fff5596c14fc
CRs-Fixed: 3436120
2023-06-10 15:52:49 -07:00
Surya Prakash Sivaraj
aaae25f8ab qcacld-3.0: Make ssid whitelisting per vdev
Whitelist SSIDs are configured per netdev.

Therefore, move the ssid white list configurations
from psoc level to per vdev level.

Change-Id: Ia555f0c15362099afaae562a2779f7c26c1f4fe5
CRs-Fixed: 3510816
2023-06-09 23:58:47 -07:00
Gururaj Pandurangi
ce6aedc04b qcacld-3.0: Add EHT OMI control field support
Add EHT OMI control field support with BW, RX NSS, and TX
NSTS extension subfields. These fields are combined with
the corresponding HE OMI control subfields to support the
transmission and reception of PPDUs for bandwidths greater
than 80 MHz.

Change-Id: I09603b3b7dcd7bc84fe2075c9ec48b0b6da3b265
CRs-Fixed: 3469763
2023-06-09 23:58:42 -07:00
Gururaj Pandurangi
1deaec1954 qcacld-3.0: Add support to force power save on active MLO links
Add support to force power save on all the active MLO links
for a defined number of beacon periods. Force power save
allows the firmware to suspend STA links for X beacon
periods and remain asleep even if the AP advertises TIM as
opposed to regular power save mode where STA links wake up
if the AP indicates that it has buffered data to send.

Change-Id: I98251f84edeebc462703cb2ad7d9ef3f73b460a4
CRs-Fixed: 3507781
2023-06-09 23:58:26 -07:00
Gururaj Pandurangi
119dbedef1 qcacld-3.0: Disable BSS color collision detection for EMLSR
Disable BSS color collision detection for the following-
- Testbed STA for all modes
- STAUT if EHT mode is EMLSR.
As part of BSS color collision detection, scan is invoked in
FW after the defined detection period and as part of this,
EMLSR exit happens in the middle of tx/rx. Thus, disable the
capability for EMLSR mode.

Change-Id: I6417f7c081c1408372924b20d8985a597a536e27
CRs-Fixed: 3507796
2023-06-09 05:21:11 -07:00
Jyoti Kumari
e218dceb43 qcacld-3.0: Filter out passive/dfs channel during get pcl
Filter out passive/dfs channel during get pcl for LL_LT_SAP.

Change-Id: Ica11ca7d085369286a47b73af1a259bb17329ba8
CRs-Fixed: 3493007
2023-06-08 02:11:48 -07:00
Vijay Patil
882f3a6e57 qcacld-3.0: Update INI and cfg HE caps for user BW configuration
Update Preamble Puncturing INI parameter "he_rx_pream_punc" to
default which gets from FW.

Also update the cfg HE 2 GHz and 5 GHz capabilities parameters
instead of memcpy.

Change-Id: If424ce4a4fe771a2817677a50a472a2c77529d90
CRs-Fixed: 3515585
2023-06-07 13:58:17 -07:00
Aditya Kodukula
744adf0e1c qcacld-3.0: Fix typos in cld
Fix typos spanned over multiple files in cld.

Change-Id: I88def5a2898c9e3e5cf32d123521faa53ef42e70
CRs-Fixed: 3521886
2023-06-07 13:58:12 -07:00
Gururaj Pandurangi
06e870d45d qcacld-3.0: Fix sanity checks and MLO macro definitions
Fix sanity checks of unsigned integer values in HDD APIs
and move MLO macros to the HDD MLO file from SME.

Change-Id: I3a8ff8a379be1fcbfd357e145ebc7aa53fde3818
CRs-Fixed: 3423121
2023-05-30 19:14:04 -07:00
Asutosh Mohapatra
d826a41922 qcacld-3.0: Don't scan 6 GHz channels if fcc constraint set
If fcc constraint is set host disables all 6 GHz channels
except for the STA, P2P client connect 6 GHz channels,
but host shouldn't scan any 6 GHz channels.
Add changes to filter out 6 GHz channels from scan list.

Change-Id: Iffd64eb3a915158c77c781e6cb8813bc5204d840
CRs-Fixed: 3481012
2023-05-27 05:57:22 -07:00
Asutosh Mohapatra
ad7bf16e25 qcacld-3.0: Set roam pcl after computing pdev current channel list
Currently roam pcl is updated after roam, connection and CSA.
Pdev current channel list is updated for many other scenarios,
but roam pcl is not modified accordingly.

To address this issue, update roam pcl every time after computing
pdev current channel list.

Change-Id: Ie86d5592255419de8f4040a3206d275ef926cf03
CRs-Fixed: 3481026
2023-05-26 20:21:55 -07:00
Gururaj Pandurangi
118e60c17b qcacld-3.0: Fix the HE, EHT testbed default configuration
Fix  the following HE, EHT testbed default configuration
values based on the WFA testbed requirement.
- Beamformee SS (= 160 MHz) = 0
- EPCS Priority Access Supported = 0 (Not Supported)
- EHT OM Control Support = 0 (Not Supported)
- Triggered TXOP Sharing Mode 1 support = 0 (Not Supported)
- HTC-HE support = 0 (disabled)

Change-Id: Id393046dfb93691b224f71b19248d349d32b8107
CRs-Fixed: 3469777
2023-05-20 04:03:13 -07:00
sandhu
44117f5007 qcacld-3.0: Return correct status for buffered cmd
Return correct status for buffered iwpriv command

Change-Id: I0030a7f639678da9955a461251d61312414f5010
CRs-Fixed: 3496366
2023-05-20 01:45:42 -07:00
Gururaj Pandurangi
9c54d84369 qcacld-3.0: Fix the EHT MCS rates for 5 GHz testbed STA
Fix the EHT MCS rates for 5 GHz 20 MHz-only testbed STA.
This allows for the required MCS rates 0-7 and 8-9 to be
enabled that were currently reset in set EHT testbed
defaults API.

Change-Id: I13555882c68e5b5454415d5a63cc02d12be5f43a
CRs-Fixed: 3487863
2023-05-17 00:37:38 -07:00
Vinod Kumar Pirla
e99282ca0e qcacld-3.0: Use MAC addr derive logic for link adapters
Currently the link addresses of link adapters are static and
are allocated during adapter create.
To randomize the MAC address as part of connection Android
framework sends new MAC address, which will be set as MLD address
incase of ML interface, but the link addresses are not changed.

Use the MAC address from Android framework and generate new
link addresses from that for each link. Manage interface
change logic and redundant code.

Change-Id: I40c86cfd05b304c48ab048ea793cc34fb4d250f9
CRs-Fixed: 3485639
2023-05-13 14:44:32 -07:00
Srinivas Girigowda
72b8810c2c qcacld-3.0: Add support for start capture
Add support for start capture.

Change-Id: I93a15b0bf8b9c26bd53d33378a7daefece448d68
CRs-Fixed: 3415870
2023-05-10 11:46:58 -07:00
Vinod Kumar Pirla
c72b4146c6 qcacld-3.0: Use ML BSS peer MLD address for PMKSA operation
If PMKID present in AP expires, AP rejects the PMKID based association.
Current design is to clear the cache using BSSID/MAC address of link
in such cases to let a fresh SAE authentication to happen.
But host driver stores PMKSA with MLD address for ML BSS.
Adapt to the same and update PMKSA cache clear APIs to use
MLD address instead of link address.

Use the API which gives ML BSS peer's MLD address for
MLO VDEV or else legacy address for non MLO VDEV to remove
the correct entry in PMKSA cache based on association.

Change-Id: I4af9814e377737eef4a54fdf15db9f6bac38d954
CRs-Fixed: 3433723
2023-04-26 18:24:38 -07:00
Mohammed Ahmed
0e1e73b9fe qcacld-3.0: Add 6 GHz to list of emulation scan channels
Current code does not have 6 GHz scan channels for emulation mode.
Fix this by adding 3 channels in the 6 GHz frequency range.

Change-Id: I68eb8068b1972c0ceb4cd744727462a25c52875e
CRs-Fixed: 3461763
2023-04-18 00:40:30 -07:00
Pragaspathi Thilagaraj
282f018e47 qcacld-3.0: Handle TDLS concurrency during CSA
If CSA on SAP/P2P GO causes MCC with the current STA TDLS vdev,
then teardown the TDLS connections, disable off channel and send
disable TDLS to firmware.
If CSA causes MCC -> DBS or MCC -> SCC then allow TDLS and update
the peer off channel list to firmware
Disable TDLS off-channel before SAP/P2P GO vdev restart.
Once CSA is complete, TDLS off-channel will be re-enabled based
on the concurrency.

Add interface manager changes to notify STA channel switch.

Change-Id: I36b359a7e1cf570cfb2b2f0e6abedf148a8fd174
CRs-Fixed: 3445112
2023-04-12 12:53:47 -07:00
Surabhi Vishnoi
704dbe521a qcacld-3.0: Remove wait for sta_authorised_event from FW
Firmware do not send WMI_PEER_STATE_CHANGE_EVENTID when WMI_PEER_AUTHORIZE
peer param is sent from host on peer. Host waits for this event from
firmware for 10ms and then times out. This leads to unnecessary delay of
atleast 10ms in enabling the TX queues every time after connection and
roaming.

So this change cleans up the existing handling of WMI_PEER_STATE_EVENTID
and removes wait for sta_authorised_event. This will improve the latency
in enabling the queues from host.

Change-Id: Iaf54d8298dab3cd47ad4779ec9ee11dc8f0bad0d
CRs-Fixed: 3436763
2023-04-04 16:30:09 -07:00
Surabhi Vishnoi
68fdc5a00f qcacld-3.0: Reduce the log level from warn to debug
Reduce the log level of logging from warn to debug which occurs
during roaming.

Change-Id: I623ce4f6ba9fa4a54e3b06c6833f4630f49d7f44
CRs-Fixed: 3449210
2023-04-04 01:31:20 -07:00
Arun Kumar Khandavalli
c0abdd6342 qcacld-3.0: Move serialization call to inside the umac
umac serialization details should not be exposed to OSIF, currently
during the vdev deletion OSIF is directly calling serialization
resulting in layer violation.

Move the serialization call from OSIF to inside the umac.

Change-Id: Idd972f31b074d4281c5914c8e34deafd0d0da0d7
CRs-Fixed: 3397919
2023-03-27 21:07:59 -07:00
Surya Prakash Sivaraj
83299d06fc qcacld-3.0: Add support for AKM25
Add support for FT-SAE-EXT-KEY AKM.

Change-Id: Ia013a81f67d204fed486ab130b3480654703f59c
CRs-Fixed: 3406625
2023-03-27 11:20:51 -07:00
Abhishek Singh
f96ac10656 qcacld-3.0: Use Scan entry bss transition instead of csr scan entry
Cleanup to use scan entry bss transition instead of legacy
csr scan entry.

Change-Id: Ib54552698d39ba7286327d2b454c2a02b036cd28
CRs-Fixed: 3430503
2023-03-15 17:40:51 -07:00
Rachit Kankane
e0b7095e74 qcacld-3.0: Update to change CSA count
Add variables and APIs in SAP and SME to change CSA count
for SAP / GO.
Currently the default CSA count is 10, this API allows
to reduce the CSA count if required as per the requirements

Change-Id: I17c101cd0c809f49d57d2aaf87fc37d90b92ea1f
CRs-Fixed: 3431384
2023-03-15 09:31:04 -07:00
Sai Pavan Akhil Remella
c8a5f9ac8d qcacld-3.0: Send the vendor attributes with Roam stats
As part of commit I6d04f0946e6735613a4cf3d4361bf31052314fa0
a vendor command was added to enable roam stats event.
This change registers callback to send the added vendor
command event to userspace.

Change-Id: I3c504797b1b9619d3e4ecc1c37256dea75127e14
CRs-Fixed: 3403536
2023-03-14 10:37:03 -07:00
Jeff Johnson
21953c301b qcacld-3.0: Remove struct sme_session_params
The usage of struct sme_session_params was removed by:
  qcacld-3.0: Send vdev create to fw from object create notification
  Change-Id Ibba02f6b5885d7b3a62529ef51768f520395513e

But the struct itself wasn't removed, so remove it now.

Change-Id: I86b23fe60186fe43b6c07ade034fd98598da3127
CRs-Fixed: 3429715
2023-03-13 12:26:14 -07:00
Jeff Johnson
8242cb38ff qcacld-3.0: Remove typedef csr_session_open_cb
The last use of typedef csr_session_open_cb was removed by:
  qcacld-3.0: Register Open/close session callbacks once
  Change-Id Ia94857ce4cc608be30e9974ddde8a6261d45f6e3

Since this typedef is unused, remove it.

Change-Id: I73d21bd04a3a28130e09a40dc71112d1c8af4d62
CRs-Fixed: 3428822
2023-03-13 12:26:03 -07:00
Jeff Johnson
d3dc58e48b qcacld-3.0: Refine csr_issue_set_context_req_helper()
The function csr_issue_set_context_req_helper() currently takes 9
parameters. However, three of these parameters are unused, so remove
them from the function signature. In addition, rename the session_id
parameter to vdev_id to align with current nomenclature.

Change-Id: I3eec487bb8d29c39d615c54dd8c5f58c26894bc4
CRs-Fixed: 3429882
2023-03-13 11:08:16 -07:00
Jeff Johnson
4f168c325a qcacld-3.0: Remove struct csr_scanstruct::numChannelsDefault
Member numChannelsDefault in struct csr_scanstruct is written but
never read. Since the value is unused, this member is obsolete, so
remove it.

Change-Id: Id08de8421a1891a4b7cde5d191c4e168b2313c12
CRs-Fixed: 3424922
2023-03-08 00:44:29 -08:00
Jeff Johnson
1a9aefb4b5 qcacld-3.0: Remove sme_send_he_om_ctrl_*_update() prototypes
The functions sme_send_he_om_ctrl_bw_update() and
sme_send_he_om_ctrl_nss_update() were removed by the following patch:

  qcacld-3.0: Add support to configure HE +HTC support and OMI Tx
  Change-Id Ic3ad5952198472ecda79471a37ff527dfdbcdbf0

However the prototypes were not removed, so remove them now.

Change-Id: I8d3bc19b629d22eb06161dff972388d816b652ab
CRs-Fixed: 3424786
2023-03-06 18:47:12 -08:00
Qun Zhang
29869c5fa8 qcacld-3.0: Support obtaining thermal level for non-offload case
Currently thermal level can be got from upper layer only
for FW thermal mgmt offload case. Per the requirement,
refine the code to support it for thermal non-offload
case as well.
Similar to offload thermal mitigation, add TX_OFF and
shutdown two states for non-offload case. Host will fully
stop TX traffic in TX_OFF state and target will trigger
shutdown when temperature come to the range of shutdown.
Per above requirement, add below four INI to configure
thermal temperature threshold value as need for TX off
and target shutdown.
gThermalTempMinLevel4
gThermalTempMaxLevel4
gThermalTempMinLevel5
gThermalTempMaxLevel5

Change-Id: I40d097ab8a5801052553ad7adedd38be475c7669
CRs-Fixed: 3413165
2023-03-02 04:17:22 -08:00
Jyoti Kumari
da3f3f0403 qcacld-3.0: Do not pass mode as arg in policy_mgr_is_vdev_ll_sap
Do not pass mode as an argument in policy_mgr_is_vdev_ll_sap().
Use vde_id to get the mode for further condition check.

Change-Id: Ie12c31d4cf536ba6c80f0e28524b4c99c23600d1
CRs-Fixed: 3414277
2023-03-01 10:29:27 -08:00
Jyoti Kumari
d749270732 qcacld-3.0: Rename policy_mgr_is_ll_sap_present() properly
Rename policy_mgr_is_ll_sap_present() into
policy_mgr_is_vdev_ll_sap(). As this api mainly checks
whether the given vdev is ll sap or not

Change-Id: I7f87aceeb0ed6ac5bb7014db1fd6213e62e6305e
CRs-Fixed: 3413644
2023-02-24 04:58:36 -08:00
Gururaj Pandurangi
13c8307266 qcacld-3.0: Add an API to configure EHT OM control
Add support to configure EHT OM control. Also, configure
HE OM control within band specific HE cap structures.

Change-Id: I658281902699be27db536e2134dbd76c99aec41b
CRs-Fixed: 3377862
2023-02-15 00:53:35 -08:00
Gururaj Pandurangi
bd9a5ea405 qcacld-3.0: Set dfs bit in channel params if state is DFS
Set the dfs bit to true in csr update channel params struct
only if the channel state is DFS.

Change-Id: Ib36b1c0a0b16bc0b42462396e8871adcf7b5e16d
CRs-Fixed: 3392038
2023-02-15 00:53:23 -08:00
Gururaj Pandurangi
d2c6becf75 qcacld-3.0: Fix HE and EHT MCS NSS rates for 160 MHz
Fix HE and EHT MCS NSS rates for 160 MHz channel
bandwidth. Copy the MCS and NSS values for 160 MHz from
MLME cfg into per band HE and EHT capability structures
since the latter is used for sending the values to FW.

Change-Id: I958c5778497c6bc81eae7709e8d5f497056faaca
CRs-Fixed: 3392023
2023-02-14 21:22:13 -08:00
Gururaj Pandurangi
d595b21680 qcacld-3.0: Add support for TB sounding feedback rate limit
Add support for TB sounding feedback rate limit in EHT
capabilities.

Change-Id: I72a240a737041e2fb0480b642c801bdbf9e5eb66
CRs-Fixed: 3346252
2023-02-14 21:22:02 -08:00
Gururaj Pandurangi
38c42e203e qcacld-3.0: Add new SME API to update EHT capabilities
Add a new SME API to update session EHT capabilities.
This includes Tx BFee support as well as Tx BF settings for
different bandwidths such as < 80 MHz, 160 MHz, and 320 MHz.
For future scope, more EHT caps can be updated within this
same API based on the inputs.

Change-Id: I16b0e8ec9a4c97f6475f871bda3a4627168d43d7
CRs-Fixed: 3277133
2023-02-14 21:21:56 -08:00
Gururaj Pandurangi
fa4bb2dfbf qcacld-3.0: Force active ML links based on link mac address
Add support to force enable/disable MLO links in MLSR mode
based on link mac address. The input will be an array of
active link mac addresses. Force enable the links associated
with all the mentioned link addresses and force disable the
links associated with mac addresses that are not given in
the input.

Change-Id: I14660f14ba6381da04460b641f971734c03aa9a7
CRs-Fixed: 3391992
2023-02-14 21:21:50 -08:00
Kiran Kumar Lokere
63becdd216 qcacld-3.0: Support for EHT MCS and NSS configuration
Support for EHT MCS and NSS configuration

Change-Id: I3e41576bb3759e3c81ac8a6c271aa2d0ffcb5a1e
CRs-Fixed: 3283122
2023-02-14 03:26:16 -08:00
David Oladunjoye
5bc44f573e qcacld-3.0: Fix kernel doc for TWT
There are function parameters missing in kernel doc for TWT.
Add the parameters to kernel doc and fix mispellings.

Change-Id: Ice88e22fed8fb01760b4ed7981cb6b042f3751d6
CRs-Fixed: 3349940
2023-02-06 21:39:58 -08:00