Commit Graph

27236 Commits

Author SHA1 Message Date
Liangwei Dong
77d14af550 qcacld-3.0: Handle disable EHT flag in connect request
If user sets flag ASSOC_REQ_DISABLE_EHT in connect request, driver
will send action oui "ffffff 00 01" to host mlme and also firmware
for action id ACTION_OUI_11BE_OUI_ALLOW, so that all the AP will
be not matched with this OUI and 802.11be mode will not be allowed,
possibly downgrade to 11ax will happen.
If user doesn't set ASSOC_REQ_DISABLE_EHT, driver/firmware will
recover to default oui setting.

Change-Id: I9eab732f1bd29018d44b215c1d6c9bfac9dafe95
CRs-Fixed: 3314489
2022-10-21 15:23:38 -07:00
Madan Koyyalamudi
f0287ac02a Release 5.2.1.42R
Release 5.2.1.42R

Change-Id: I38fca1b0d5f574f52318344cfa666915ac4e107c
CRs-Fixed: 774533
2022-10-21 03:22:23 -07:00
Qun Zhang
c1640bd3b0 qcacld-3.0: Add INI to configure sap default BW when do restart
Currently CH_WIDTH_MAX is set as default BW when sap do restart,
then apply some checking rules to get the final BW. It's possible
the final BW is greater than sap original BW. But a greater BW
isn't expected in some use cases where greater BW may introduce
some unexpected issues.
Add INI to configure sap original BW as default BW when do sap
restart as required.

Change-Id: Ie274a3eea73c2af9424a8b9ce21bee34eeaaef2e
CRs-Fixed: 3315486
2022-10-21 03:22:22 -07:00
Madan Koyyalamudi
141552d25e Release 5.2.1.42Q
Release 5.2.1.42Q

Change-Id: I74bd9dad9a59216cd7d9c023767025bea58daa70
CRs-Fixed: 774533
2022-10-21 01:29:24 -07:00
Prasanna JS
f710a3a515 qcacld-3.0: Add NULL pointer check
NULL check validation before using "add_ie" pointer
to avoid unexpected behavior.

Change-Id: I4dc81d454a23bf4f995d62879e7fff8b7d409136
CRs-Fixed: 3316818
2022-10-21 01:29:24 -07:00
Prasanna JS
bf8543915e qcacld-3.0: Add check to update SR IE in template
In case of same MAC concurrency, if SR is disabled / enable
due to concurrency, add check to add / remove SR IE from
Beacon, Probe response, Association response frames including
HESIGA_VAL15 bit setting correctly.

Change-Id: Ibde929af1964d8efc978f5cf3e13feda066569f5
CRs-Fixed: 3315671
2022-10-21 01:29:18 -07:00
Madan Koyyalamudi
6fcf823d9f Release 5.2.1.42P
Release 5.2.1.42P

Change-Id: I1149a51625f36a376526c9c4b5b1af0e63e651e4
CRs-Fixed: 774533
2022-10-20 23:48:39 -07:00
Vishal Miskin
be5f412f41 qcacld-3.0: Derive tsf_sync_qtime in hdd_get_tsftime_from_qtime
Derive tsf_sync_qtime in hdd_get_tsftime_from_qtime as it takes
necessary locks to read TSF parameters.

Change-Id: Ie866de1acd02ce6bd723828071bfb54b9e337517
CRs-Fixed: 3298476
2022-10-20 23:48:39 -07:00
Madan Koyyalamudi
572eae1f63 Release 5.2.1.42O
Release 5.2.1.42O

Change-Id: I43389bf47f449d63fc7b10cf854192609d866723
CRs-Fixed: 774533
2022-10-20 21:15:01 -07:00
Amruta Kulkarni
58271d00af qcacld-3.0: Define TID to link mapping IE
Tid to link mapping IE is defined as a data buffer.
It's an optional IE that can be present in beacon,
probe response, association and re-association frames.

Change-Id: I30575115836be54fdbaab93d2e45ac4980f6e281
CRs-Fixed: 3256064
2022-10-20 21:15:01 -07:00
Madan Koyyalamudi
ac0237cda5 Release 5.2.1.42N
Release 5.2.1.42N

Change-Id: Ia50bafd5c20331de8743184d4ab03b5e37c74dfe
CRs-Fixed: 774533
2022-10-20 18:01:25 -07:00
Qun Zhang
25d4a9736b qcacld-3.0: Fix a scheduler_msg CFI failure
This fixes a scheduler_msg CFI failure for function
mlme_wma_vdev_detach_post_cb().

Change-Id: I6271bf9de8d800aac8a804d1daf646063347a71c
CRs-Fixed: 3316558
2022-10-20 18:01:24 -07:00
Divyajyothi Goparaju
96f6e5174d qcacld-3.0: Modify mode check for 11ACrates
Currently to set11ACRates checking the mode
as 11ac or 11ac_only, for higher modes like
11ax which will support 11ac as well skips the
set11ACRates.

Modify condition to set11ACRates for all 11ac
supported modes.

Change-Id: Ic6bd15afcc08bd308ac3f68f149c608de63ccaba
CRs-Fixed: 3305714
2022-10-20 18:01:19 -07:00
Gururaj Pandurangi
6864e1582c qcacld-3.0: Add new API to extract link ID for all MLO modes
Currently, Host populates link IDs per link and sends it to FW
in case of EMLSR mode. Add new API to exclusively extract link
ID per vdev and share with FW via peer assoc command and hence
extend this logic across all MLO modes.

Change-Id: I270f3a54ee806bdcf1a2713f5a569d3a52743954
CRs-Fixed: 3300101
2022-10-20 18:01:15 -07:00
Madan Koyyalamudi
79bbfdfbdc Release 5.2.1.42M
Release 5.2.1.42M

Change-Id: I93800762b43ea5f5d8c86e6daff423a6394fdb72
CRs-Fixed: 774533
2022-10-20 14:39:45 -07:00
Pragaspathi Thilagaraj
b9049d0879 qcacld-3.0: Fix validation of neighbor_look_up_threshold
Fix the validation of the neighbor_lookup_threshold value
before calculating the absolute value of the RSSI.

Change-Id: I5295919d311bb28962a64e7c41864f650d6d4005
CRs-Fixed: 3315426
2022-10-20 14:39:45 -07:00
Ashish Kumar Dhanotiya
f1141f815f qcacld-3.0: Vdev NULL Pointer access
Currently host driver accesses vdev without psoc
lock when it check for peer leak. There is a
possibility that when one thread tries to access
the peer leaks other thread deletes this vdev.
Similar issues are possible when driver checks for
vdev leak and pdev leak.

To address above issues, check objmgr leaks inside
psoc lock.

Change-Id: I83b7bb72508875b5e4b98ae050c9ce2af4ca56b3
CRs-Fixed: 3309498
2022-10-20 14:39:40 -07:00
Paul Zhang
b5080fb430 qcacld-3.0: enhancement the beacon filter table
Enhancement the beacon filter table to add more
elements and extension elements.

Change-Id: Iee3bc9d768227102a971bafdb41db445c0f03d31
CRs-Fixed: 3296203
2022-10-20 14:39:34 -07:00
Madan Koyyalamudi
0572ed0dcc Release 5.2.1.42L
Release 5.2.1.42L

Change-Id: I43c7e5b7e4e2f0c44a728eaf0361efbe84d90f2f
CRs-Fixed: 774533
2022-10-20 12:50:14 -07:00
Anuj Khera
19bc73179e qcacld-3.0: Add check for favorite channel while BSS start
Add check for QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL while
getting the sap mandatory frequency.

Change-Id: Ia1dfdfb0818ed94620295e3f4046fbe16b5a92d8
CRs-Fixed: 3301096
2022-10-20 12:50:13 -07:00
Divyajyothi Goparaju
4ed23d7914 qcacld-3.0: Replace wlan_reg_is_passive_or_disable_for_freq
As part upgrading legacy APIs with 6 GHz power APIs
Replace all occurrences of
wlan_reg_is_passive_or_disable_for_freq API with new API
wlan_reg_is_passive_or_disable_for_pwrmode.

Change-Id: If8429146e3e4e4cb25505de9855671dca2eb6474
CRs-Fixed: 3306631
2022-10-20 12:50:07 -07:00
Anuj Khera
87738a235e qcacld-3.0: Add check for Liberal mode in P2P Go Mode
P2P-Go mode CSA Should be done only after first CLI Connection.
Added check for Liberal mode in P2P go Case for Channel Switch

Change-Id: Ia070baaee4f73e555b770a275aa9b401825be81b
CRs-Fixed: 3297932
2022-10-20 12:50:01 -07:00
Madan Koyyalamudi
cc3a9a6d00 Release 5.2.1.42K
Release 5.2.1.42K

Change-Id: Ia1a9dd4b0c6205126d83f8136f1a2dfc40201479
CRs-Fixed: 774533
2022-10-20 10:54:47 -07:00
Anuj Khera
0b1f2e4e97 qcacld-3.0: Add check for 6 GHz in case of SCC
Check for 6 GHz channel for SCC was not there due to which,
6 GHz + 5 GHz(DFS) MCC was happening even if we are forcing SCC.

Change-Id: Iac02b1990ffa91a5b0688d6976bc38cbbd10acfb
CRs-Fixed: 3301115
2022-10-20 10:54:47 -07:00
Madan Koyyalamudi
e88c0c51f7 Release 5.2.1.42J
Release 5.2.1.42J

Change-Id: I1586439359ba9cdb0ffe104a96776367d462fd87
CRs-Fixed: 774533
2022-10-20 07:40:47 -07:00
Jyoti Kumari
47e5799911 qcacld-3.0: Support STA/GC/SAP/GO/ML-STA plus ll SAP concurrency
If there is existing interface STA/GC/SAP/GO/ML STA and
low latency SAP tries to come then allow only if below
condition satisfies
1. DBS hw_mode: Allow if existing interface is on 2.4 GHz
channel otherwise reject.
2. SBS hw_mode: Allow if existing interface channel and low
latency SAP channel are mutually exclusive.

Change-Id: I67a883b89f63fa581379cb303da6c11b43e65912
CRs-Fixed: 3296640
2022-10-20 07:40:47 -07:00
Madan Koyyalamudi
c6ff700c6f Release 5.2.1.42I
Release 5.2.1.42I

Change-Id: I451328a89278d90a4862777c66772acda7a6be61
CRs-Fixed: 774533
2022-10-20 03:00:00 -07:00
Jeff Johnson
e4696ca9d3 qcacld-3.0: Fix misspelling of "possibility"
Fix misspelling of "possibility" in sap_ch_select.c.

Change-Id: Ibc1bfdb4697f2a8e74d792fefece2010b04b44cd
CRs-Fixed: 3313903
2022-10-20 03:00:00 -07:00
Liangwei Dong
60add48b86 qcacld-3.0: Check potential SAP MCC during disable link
SAP MCC with ML STA link is not preferred since SAP is only
allowed off channel for max 32 ms.
If All ML STA are 5/6 GHz band, force SCC will not happen
for 2 GHz only SAP. Inactive one link if both ML STA are on non
2 GHz band.

Change-Id: I3450a0e66e583320cb91cd549317a197e5d1e039
CRs-Fixed: 3307863
2022-10-20 02:59:55 -07:00
Jeff Johnson
acbcd46c30 qcacld-3.0: Fix misspellings of "nonce"
In lim_process_fils.c there are multiple functions which use a
misspelled term for "nonce" so replace them with the correct spelling.

Change-Id: I9bdbf136f9d4587bb7e68ff7b807c77095bc2b67
CRs-Fixed: 3313800
2022-10-20 02:59:49 -07:00
Madan Koyyalamudi
e3219fa06e Release 5.2.1.42H
Release 5.2.1.42H

Change-Id: I79d6c93279eb5f2475c91bc05b066ff6f66af2a7
CRs-Fixed: 774533
2022-10-20 01:11:20 -07:00
Yu Wang
3ead0539e3 qcacld-3.0: remove improper concurrency combination dump
In hw mode change offload case, frequency of the connections
in table pm_conc_connection_list may be updated later than the
mac frequency info which is updated when processing hw mode
transition event, then the current concurrency combination
dump here which is inferred from mac frequency info and
pm_conc_connection_list may be wrong.
To avoid confusion, replace concurrency combination dump with
current connection status dump when processing hw mode
transition event.

Change-Id: I0d8db410b3db3aa4b35c27f227bc68f5852a86d3
CRs-Fixed: 3315452
2022-10-20 01:11:20 -07:00
Madan Koyyalamudi
b9bc76c7f8 Release 5.2.1.42G
Release 5.2.1.42G

Change-Id: I2e121d4acfbe51044f156409c340c59fc7a3e8ed
CRs-Fixed: 774533
2022-10-19 22:30:25 -07:00
vijaraj
53b00c93a3 qcacld-3.0: Add diag logging support for EAPOL start
Add new entry in the enum qca_conn_diag_log_event_type in
order to support EAPOL start packet.

Change-Id: I540ef257ee9425eef016302648844ebf01647372
CRs-Fixed: 3314689
2022-10-19 22:30:25 -07:00
Jyoti Kumari
a142d2edde qcacld-3.0: Support Low Latency SAP + SAP/GO concurrency
Add a support to check if low latency SAP is present on 5 GHz
channel then do not allow SAP/GO to come up on 5 GHz for
both gaming and lossless audio profile.

Change-Id: Ibb9e3365522beec541f70c6c45b8cb68405fd3bc
CRs-Fixed: 3294748
2022-10-19 22:30:20 -07:00
Jyoti Kumari
8a1899b457 qcacld-3.0: Support Low Latency SAP + STA/GC concurrency
Add a support to check if low latency SAP is present on 5 GHz
channel then do not allow STA/GC to connect on 5 GHz for
both gaming and lossless audio profile.

Change-Id: I8e1c62dfea3c27306e338392448f5cc6eed912aa
CRs-Fixed: 3302763
2022-10-19 22:30:14 -07:00
Jyoti Kumari
50245e6aa7 qcacld-3.0: Get low latency SAP frequency
Low latency SAP is supported on DBS and SBS hw and it can come
up on below two profile
a. Gaming
b. Lossless Audio

DBS: Allow only 2.4 GHz channel for both gaming and lossless
audio profile
SBS: Allow non low latency SAP 5 GHz channel which are mutually
exclusive for both gaming and lossless audio profile.

Check whether low latency sap is present or not. If it's present
then get the frequency to validate the concurrency with other
interface.

Change-Id: I39715a01e63de612448d4d0f230e6ccb71b76b15
CRs-Fixed: 3294596
2022-10-19 22:30:09 -07:00
Jyoti Kumari
f0ddb3ec45 qcacld-3.0: Convert ap policy config vendor cmd to host enum
Userspace provide below vendor attribute for low latency sap
concurrency
a. QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_AP_CONFIG

This userspace uses the below value defined in enum
qca_wlan_concurrent_ap_policy_config to specify concurrency
policy
a. QCA_WLAN_CONCURRENT_AP_POLICY_UNSPECIFIED = 0,
b. QCA_WLAN_CONCURRENT_AP_POLICY_GAMING_AUDIO = 1,
c. QCA_WLAN_CONCURRENT_AP_POLICY_LOSSLESS_AUDIO_STREAMING = 2,

Convert this above enum value in host to use in concurrency
scenario.

Change-Id: Ibab06f528fd99d8c421376bd02e4c748e9556b70
CRs-Fixed: 3302418
2022-10-19 22:30:04 -07:00
Madan Koyyalamudi
0a948adea9 Release 5.2.1.42F
Release 5.2.1.42F

Change-Id: Id0716de6bf0fadb7b1888a20c69b43c2d324755a
CRs-Fixed: 774533
2022-10-19 13:48:19 -07:00
Rajesh Chauhan
a3541b0ff8 qcacld-3.0: update prototype of wlan_hdd_cfg80211_tx_control_port
In kernel 6.0, function prototype of tx_control_port is changed.
commit 67207bab9341 ("wifi: cfg80211/mac80211: Support control port
TX from specific link") introduced a new argument link_id. Make matching
change in prototype of function wlan_hdd_cfg80211_tx_control_port. Also
change existing argument proto to const to match with tx_control_port.

Change-Id: I8973514f3871fc495b552bcf7fc12904438c0847
CRs-Fixed: 3315161
2022-10-19 13:48:18 -07:00
Madan Koyyalamudi
79a8dc0442 Release 5.2.1.42E
Release 5.2.1.42E

Change-Id: I7b7b7830de885a0ba0f4d3cb073170055d1905bd
CRs-Fixed: 774533
2022-10-18 16:30:28 -07:00
Yu Wang
4d9dfe08fd qcacld-3.0: Introduce CONFIG_WLAN_TRACE_HIDE_SSID
Introduce the feature to hide SSID in the logs.
To enable this feature, set CONFIG_WLAN_TRACE_HIDE_SSID to y.
If this feature is enabled, SSID 'my_ssid' will be printed as
'*' in the logs.

Change-Id: I97ef84ecdcbfd1b36b7874cfc30760f5fda5df14
CRs-Fixed: 3294520
2022-10-18 16:30:28 -07:00
Madan Koyyalamudi
27206bce23 Release 5.2.1.42D
Release 5.2.1.42D

Change-Id: I6dfdada0a0dac21a1dd0ef6ed6f8d997e61ff372
CRs-Fixed: 774533
2022-10-18 11:56:59 -07:00
Amruta Kulkarni
2fe6f6adb9 qcacld-3.0: Update link id after roaming
Update the link id in vdev mlme after roam sync is processed.

Change-Id: I4f7a80ad91235ebafd2bab10c1de22ac8798a816
CRs-Fixed: 3314935
2022-10-18 11:56:58 -07:00
Madan Koyyalamudi
2a23843522 Release 5.2.1.42C
Release 5.2.1.42C

Change-Id: If75aab45cc2701949bd35ba7e25d3fed67669555
CRs-Fixed: 774533
2022-10-18 10:07:57 -07:00
Asutosh Mohapatra
215ebfec3c qcacld-3.0: Add support to convert SAR_V3
Currently host converts SAR_V1 to SAR_V2 if fw supports
SAR_V2 and userspace has given SAR_V1 and host does not check
if fw supports SAR_V3 but userspace has given SAR_V1.

To address this issue add modify code to check if fw supports
SAR_V2 or SAR_V3 but userspace has given SAR_V1. Convert SAR_V1
to SAR_V2 in both the cases.

CRs-Fixed: 3313783
Change-Id: I37efa41ec65684a9bb362c894878525bd71704a5
2022-10-18 10:07:57 -07:00
Asutosh Mohapatra
ec4c798f68 qcacld-3.0: Add support to advertise SAR_V2 DBS to userspace
Currently host only advertises SAR_V1 and SAR_V2 to userspace as
there is no mapping present for SAR_V2 DBS.

To address this issue add support to store and advertise SAR_V2 DBS.

Change-Id: Ic5d68361c4ce7275056117685100e8338466220c
CRs-Fixed: 3312593
2022-10-18 10:07:52 -07:00
Madan Koyyalamudi
e44c896307 Release 5.2.1.42B
Release 5.2.1.42B

Change-Id: I31e1afcb2cb1a37737cdde5b778288abcb18bcba
CRs-Fixed: 774533
2022-10-18 07:13:31 -07:00
Mohammed Ahmed
00fba42e78 qcacld-3.0: move wlan_coex_public_structs.h to qcacmn
Current code has wlan_coex_public_structs.h in qcacld, when it should
be in qcacmn due to convergence of the COEX feature.
Fix this by moving the header file to qcacmn.

Change-Id: Id45c85e0ff492d149cac71c8c0ca5443b879ef15
CRs-Fixed: 3289250
2022-10-18 07:13:31 -07:00
Madan Koyyalamudi
6c156ca016 Release 5.2.1.42A
Release 5.2.1.42A

Change-Id: Id33f5316fdcd0e213c05149b4c551ae78de79bd0
CRs-Fixed: 774533
2022-10-18 05:22:11 -07:00