Commit Graph

26243 Commits

Author SHA1 Message Date
Jayachandran Sreekumaran
e728680f11 qcacld-3.0: Add spatial reuse feature support
Add SAP mode support for non-srg spatial reuse.

Change-Id: Ic575eefd0d36b6750d826c9bccbd53f07ae9ea75
CRs-Fixed: 3213404
2022-07-11 23:12:40 -07:00
Madan Koyyalamudi
19a58a9c0f Release 5.2.1.28L
Release 5.2.1.28L

Change-Id: I7bfd541afb52221e20b281448c97c46601858572
CRs-Fixed: 774533
2022-07-11 19:01:23 -07:00
Aditya Kodukula
498c5bb70e qcacld-3.0: Return correct status when mDNS offload is disabled
Currently the driver returns incorrect status to the user space
when mDNS offload feature is disabled. So, add a debug log and
return correct status when mDNS offload is disabled.

Change-Id: I4ae58467eb8ff464380d5a8b69b45545534de37e
CRs-Fixed: 3239903
2022-07-11 19:01:23 -07:00
Madan Koyyalamudi
236a09d882 Release 5.2.1.28K
Release 5.2.1.28K

Change-Id: I957424cb0c4e90db6d8b7127903ebe6128324d69
CRs-Fixed: 774533
2022-07-11 13:04:51 -07:00
Yeshwanth Sriram Guntuka
6529648bf3 qcacld-3.0: Move TC based dynamic GRO logic to DP component
Move TC based dynamic GRO logic to DP component.

Change-Id: I3c6658e8f19a71e548c77ff6fd637148925008d7
CRs-Fixed: 3219451
2022-07-11 13:04:51 -07:00
Madan Koyyalamudi
2304bbd8de Release 5.2.1.28J
Release 5.2.1.28J

Change-Id: Icae0572586b541a195058d33dc67007af163dbd8
CRs-Fixed: 774533
2022-07-11 10:23:59 -07:00
Rakesh Pillai
f81930044e qcacld-3.0: Enable SRNG usage high watermark feature
Enable the tracking of SRNG usage high watermark
feature for KIWI target.

Change-Id: I66c32f8c8f147aea0331c81d7b2c91ac88572fea
CRs-Fixed: 3235422
2022-07-11 10:23:58 -07:00
Madan Koyyalamudi
2c22fc26db Release 5.2.1.28I
Release 5.2.1.28I

Change-Id: I2ab4dfc6add5becd7f8a5f1f96aa3f8257742160
CRs-Fixed: 774533
2022-07-11 03:58:56 -07:00
Sheenam Monga
5b97861ce5 qcacld-3.0: define single enum for reg_domain and country_code
Currently, separate reg_domain and country_code are defined for
qcacmn and qcld.

Define reg_domain and country_code in reg_db.h and include
reg_db.h to avoid multiple definitions.

Change-Id: Ic5b2f1e9612fd7cbb4a8944daa17ada87ee7a7a7
CRs-Fixed: 3212421
2022-07-11 03:58:56 -07:00
Madan Koyyalamudi
0beaebde95 Release 5.2.1.28H
Release 5.2.1.28H

Change-Id: I7dc9c3e3d628d8a2c96bc861b2ca6a8f1768e0ab
CRs-Fixed: 774533
2022-07-11 02:09:40 -07:00
Aditya Kodukula
3249fbc1e2 qcacld-3.0: Add check before invoking soft_unload
Add a sanity check to verify if the driver is loaded
before invoking soft driver unload.

Change-Id: Id6f735c1661104ac14410399a54953f962792644
CRs-Fixed: 3239752
2022-07-11 02:09:40 -07:00
Madan Koyyalamudi
ff695caf8a Release 5.2.1.28G
Release 5.2.1.28G

Change-Id: Iaa743d707bffd5c91d431591b9d03061c837e35f
CRs-Fixed: 774533
2022-07-10 05:07:27 -07:00
VIJAY RAJ
a5488c0b6b qcacld-3.0: TX status conversion for mgmt frame during diag logging
Wrong value of tx status sent to supplicant for MGMT frame
via diag logging.

Convert the tx status value to enum diag_tx_status specific value.

Change-Id: Iba6d8011280d41a874509d2a1b4fed9a16ee585c
CRs-Fixed: 3236363
2022-07-10 05:07:27 -07:00
Madan Koyyalamudi
d0db5e15a0 Release 5.2.1.28F
Release 5.2.1.28F

Change-Id: If1044643d676b5d270f496edc7d07dcf336774d6
CRs-Fixed: 774533
2022-07-08 23:16:48 -07:00
Gururaj Pandurangi
3e1cb8d191 Revert "qcacld-3.0: Avoid sending RSNXE to legacy APs"
This reverts commit Ia7dee29792718a6514da44b13b36b46586ef25ab.

Change-Id: I13e4db36aa2ee3238b3e2fe8ee456c99e1fcc974
CRs-Fixed: 3238679
2022-07-08 23:16:47 -07:00
Aravind Kishore Sukla
7e7cdb3d96 qcacld-3.0: Refine interface combinations advertised in wiphy
Currently, interface combinations are advertised as part of wiphy
registration but some of them lead to 3-port/4-port. Refine the
concurrencies to advertise only supported combinations as below,
1. Remove SAP+SAP_MAX_OBSS_STA combination
2. Remove the "reserved STA iface which was added to support
   P2P device". No need to indicate any additional interface count
   for P2P_DEVICE mode as driver doesn't advertise dedicated
   P2P_DEVICE support.
3. Add NAN+STA and NAN+SAP combinations also.

Change-Id: I7ed594c2b719c243cbe38794b877f77240024620
CRs-Fixed: 3226284
2022-07-08 23:16:42 -07:00
Madan Koyyalamudi
5fee5caae3 Release 5.2.1.28E
Release 5.2.1.28E

Change-Id: Icb8da4c1a95664a463ce36d6ab0fcc4c7681e844
CRs-Fixed: 774533
2022-07-08 21:30:29 -07:00
Pragaspathi Thilagaraj
83766efb96 qcacld-3.0: Advertise PASN security related extended capabilities
Add support to advertise below PASN security related extended
capabilities via wiphy:
NTB ranging responder
TB ranging responder

Change-Id: I8479a318ecf59b5a849e0590b7cf2c8cd8debbe6
CRs-Fixed: 3235166
2022-07-08 21:30:29 -07:00
Madan Koyyalamudi
601e20f320 Release 5.2.1.28D
Release 5.2.1.28D

Change-Id: Ie6f54c614881a1a36d274b8be449be9dd83bae20
CRs-Fixed: 774533
2022-07-08 19:01:11 -07:00
Nirav Shah
4852ecd8ba qcacld-3.0: Provide read permission for tsf sysfs entry
Provide read permission to group and other for tsf sysfs entry.
This allows applications to read tsf value.

Change-Id: I59ab2228334cc3975830edd675e0b09be182bf9d
CRs-Fixed: 3209335
2022-07-08 19:01:11 -07:00
Madan Koyyalamudi
bbf4ffa58e Release 5.2.1.28C
Release 5.2.1.28C

Change-Id: I55cf2ad646c1048eb3e9c41a4ae657a6d6d8a2d1
CRs-Fixed: 774533
2022-07-08 16:24:35 -07:00
Ashish
8c6fac1e9f qcacld-3.0: Disable dump in progress feature
Currently dump in progress feature is not in use so
disable this feature with CONFIG_WLAN_DUMP_IN_PROGRESS
feature flag.

Change-Id: I1c93e3a3749ac5bb9fed38e30ed0b6069f02f0ed
CRs-Fixed: 3214636
2022-07-08 16:24:35 -07:00
Madan Koyyalamudi
48d28705ec Release 5.2.1.28B
Release 5.2.1.28B

Change-Id: Ia6ff354d736ab74edddc764b1aa736730474d803
CRs-Fixed: 774533
2022-07-08 01:20:34 -07:00
VIJAY RAJ
575ce98f8f qcacld-3.0: Enable Diag Event Logging for Connectivity Events
Connectivity logs are sent through vendor command which
required to maintain a separate logging infrastructure.

Add Diag event logging in to send connectivity logs via
netlink in order to maintain a single logging infrastructure.

Change-Id: Ic3b868724ab7da25b7b3f28197e2f4b0f89897d3
CRs-Fixed: 3226658
2022-07-08 01:20:34 -07:00
Madan Koyyalamudi
18028ae349 Release 5.2.1.28A
Release 5.2.1.28A

Change-Id: I3757623832d08b5ed00c84448d3c385dbb9afb45
CRs-Fixed: 774533
2022-07-07 23:29:22 -07:00
Utkarsh Bhatnagar
3a11ae3f20 qcacld-3.0: Update peer HT/VHT width for wideband
Update peer HT/VHT width for wideband such as:
    1. Wideband is restricted to 80 MHz if APs BW
       is less than 80 MHz, if selfdot11mode is 11ac.
    2. STA follows AP BW in all other HT/VHT cases

Change-Id: I9346a692582c322c10e36fe6679e38ec8acbb440
CRs-Fixed: 3234946
2022-07-07 17:46:52 -07:00
Wu Gao
1a1ae8d89e qcacld-3.0: Fix OOB ready when find fils session ie
This change fixed potential OOB read when find fils session ie.

Change-Id: I385fccf11f8368ad63985bfb7fe25bf9fb7fe09d
CRs-Fixed: 3234954
2022-07-07 17:46:45 -07:00
Pragaspathi Thilagaraj
da71bc9d01 qcacld-3.0: Delete all PASN peers before vdev delete
Delete all PASN peers before vdev delete

Change-Id: I125c62680179ae9ba466c8e26573d82680f6e9d3
CRs-Fixed: 3170778
2022-07-07 17:46:40 -07:00
Pragaspathi Thilagaraj
825238634e qcacld-3.0: Update wifi pos on peer create only for I-STA
PASN authentication M1 should be initiated by I-STA.
Driver requests for the initiation of PASN auth from
wpa supplicant only for I-STA mode. For R-STA mode, M1
will be received from peer I-STA.

So update wifi pos module after peer create only for I-STA mode
and skip that for R-STA mode.

Change-Id: I09ac53bcd50cb012ad8cd5d351b91e6fb017c77d
CRs-Fixed: 3170770
2022-07-07 17:46:34 -07:00
Pragaspathi Thilagaraj
e33def8324 qcacld-3.0: Add support to create ranging peer
Add support to send ranging peer create command from WMA

Change-Id: I67966983b157efaecaad7209b679483f010e84a5
CRs-Fixed: 3150075
2022-07-07 17:46:28 -07:00
Utkarsh Bhatnagar
57f0e9e475 qcacld-3.0: Use freq to process Tdls peer supported chans
With introduction of TDLS on 6 GHz, some of the channels
that peer can support will be same for 6 GHz band other
bands. So, extract frequency by using peer supported
operating class and supported channel list which can
be used for further processing.
If channel numbers are used then the duplicate channel
numbers are removed which may lead to skipping 6 GHz
supported channels.

Change-Id: Ic6838d05c3dab5a0cc17483890b83805e076684c
CRs-Fixed: 3233999
2022-07-07 17:46:21 -07:00
Madan Koyyalamudi
6e1ede530d Release 5.2.1.28
Release 5.2.1.28

Change-Id: Ica72624e4d81090772168b893a60bdff29117a1b
CRs-Fixed: 774533
2022-07-07 14:24:16 -07:00
Jianmin Zhu
ab5022192c qcacld-3.0: Fix issue uapsd AC is 0 when set enable_twt 0
After WLAN_TWT_CONV_SUPPORTED enabled, TWT variables are moved from
COMP_MLME to COMP_TWT, APIs are updated too, hdd_update_tgt_twt_cap
just intersects enable_twt and twt_requestor of COMP_TWT instead of
COMP_MLME, legacy variable mlme_cfg->he_caps.dot11_he_cap.twt_request
isn't controlled by ini enable_twt now.

Change-Id: I71bb09704fd96591f37019ebbb77733cff04af25
CRs-Fixed: 3229121
2022-07-07 14:24:16 -07:00
Madan Koyyalamudi
c2c41ee7b3 Release 5.2.1.27Z
Release 5.2.1.27Z

Change-Id: I37c3648d48de9d44ee0dc803b5e18c1b1a54aa8d
CRs-Fixed: 774533
2022-07-07 12:39:59 -07:00
Liangwei Dong
010e18b838 qcacld-3.0: notify reg change event once wifi on from GUI
Add regulatory notify event when wifi ON by GUI.
In new framework test, When turning on Wi-Fi, it is
expecting driver to indicate NL80211_CMD_[WIPHY]_ REG_CHANGE
event with country code to wificond.

Change-Id: Icb0bdec097db14905de6234573d05fffbe0e4500
CRs-Fixed: 3186188
2022-07-07 12:39:59 -07:00
Madan Koyyalamudi
10193c6987 Release 5.2.1.27Y
Release 5.2.1.27Y

Change-Id: I20da135e5c824098492a5e9b71fe7e7b09e71f43
CRs-Fixed: 774533
2022-07-06 23:07:08 -07:00
Pragaspathi Thilagaraj
129b265449 qcacld-3.0: Add support for PASN cfg80211 ops
Add support for PASN cfg80211 ops:
1. set_ltf_keyseed
2. pasn_auth

Change-Id: Icfda1664a9d5e9a14c54066c4c2344fec368bec6
CRs-Fixed: 3159890
2022-07-06 23:07:08 -07:00
Madan Koyyalamudi
69ef7693c1 Release 5.2.1.27X
Release 5.2.1.27X

Change-Id: I4f9e2b9c7a9aff1d40c03942128b5808c6bcb580
CRs-Fixed: 774533
2022-07-06 02:39:29 -07:00
Balaji Pothunoori
f3afa36efa qcacld-3.0: Convert tx packet send time to Monotonic time
User space timestamping tool expecting Tx packet send time
in Monotonic time and host is sending Tx packet send time in
Qtime.
Currently Qtime is always higher than System monotonic time,
This change is to calculate the drift between Qtime and
System monotonic time during tsf init and adjust calculated
drift to each Tx packet send Qtime to make Qtime and
System monotonic time are in sync.

Change-Id: Ibd686d5fdea6ebcbc0fe5b37c4211cb8dd073d76
CRs-Fixed: 3230594
2022-07-06 02:39:29 -07:00
Madan Koyyalamudi
a158d65b8a Release 5.2.1.27W
Release 5.2.1.27W

Change-Id: I1c833b2fafdd854e64d646b43cd6a92debe15dcb
CRs-Fixed: 774533
2022-07-05 21:22:50 -07:00
Bing Sun
fd23a54ea2 qcacld-3.0: configure WDS for roaming scenario
hdd_config_wds_repeater_mode should be called if the vdev is roaming.
Otherwise, WDS does not work after roaming.

Also deliver peer authorize to SON if the vdev is roaming.

Change-Id: If6c660a5fd3e2c493d8d100cdbfa562404018aba
CRs-Fixed: 3193596
2022-07-05 21:22:49 -07:00
Madan Koyyalamudi
9366261e31 Release 5.2.1.27V
Release 5.2.1.27V

Change-Id: I72cf6a186f9ed0bfff299780e5f7a16e0f1cef20
CRs-Fixed: 774533
2022-07-05 19:52:39 -07:00
Rahul Gusain
d7b141370b qcacld-3.0: Add null peer check before releasing the peer
Currently in driver, for non-DBS hw mode, null peer is released in the
function ndi_remove_and_update_primary_connection. This causes null
pointer deferencing.

To fix this, add null peer check before releasing the peer.

CRs-Fixed: 3184390
Change-Id: Ia895c8487082e0fac6e7df63d3694fa3e152b355
2022-07-05 19:52:39 -07:00
Madan Koyyalamudi
9d5b8a76b9 Release 5.2.1.27U
Release 5.2.1.27U

Change-Id: I5584d4bd897eda8264a2468a33dd94f359d5a237
CRs-Fixed: 774533
2022-07-05 18:17:54 -07:00
Srinivas Dasari
b09e99f046 qcacld-3.0: Avoid sending RSNXE to legacy APs
Userspace may send RSNXE also in connect request irrespective
of the connecting AP capabilities to allow the driver to chose
best candidate based on score. But the chosen candidate may
not support the RSNXE feature and may not advertise RSNXE
in beacon/probe response. Station is not supposed to include
the RSNX IE in assoc request in such cases as legacy APs
may misbehave due to the new IE. It's observed that few
legacy APs which don't support the RSNXE reject the
connection at EAPOL stage. So, strip the IE if AP doesn't
support/advertise the RSNXE to avoid sending the RSNXE to
legacy APs.

Change-Id: Ia7dee29792718a6514da44b13b36b46586ef25ab
CRs-Fixed: 3228057
2022-07-05 18:17:54 -07:00
Madan Koyyalamudi
5bf877f042 Release 5.2.1.27T
Release 5.2.1.27T

Change-Id: Id3464ee2b3456c97eb180fc59d0b4da48358dbac
CRs-Fixed: 774533
2022-07-05 12:40:30 -07:00
VIJAY RAJ
e96efd0496 qcacld-3.0: Send BTM and EAPOL event logs through netlink
BTM and EAPOL events are sent through the vendor event to
the supplicant

Modify the BTM and EAPOL event log flow through the diag
event to the supplicant in order to maintain single
logging infrastructure

Change-Id: I1e21d1192be059cc48189bc57aacbc314d5297bc
CRs-Fixed: 3219065
2022-07-05 12:40:30 -07:00
VIJAY RAJ
8d4332bc1b qcacld-3.0: Send Roam Diag event logs through netlink
Roam Diag logs are sent through the vendor event to the supplicant.

Modify the Roam Scan start and Roam Candidate log flow through
the diag event to the supplicant in order to maintain single
logging infrastructure.

Change-Id: Idd85b46f72a481aa99e243c81952010d2779afaf
CRs-Fixed: 3218639
2022-07-05 12:40:24 -07:00
Amruta Kulkarni
069071a161 qcacld-3.0: Populate HE and EHT caps by band
Currently, host is overwriting 2 GHz capabilities by 5 GHz
which is causing to send same capabilities for both bands.
To solve this:
1. Send HE and EHT capabilities by band.

2. While populating the eht mcs and nss,
for 2 GHz, only populate values for BW upto 80 MHz
for 5 GHz, populate BW upto 320 MHz

3. Send correct eht cap length.

Change-Id: I9bbad81341b49e4a98b3fcccadd162e82d93d11e
CRs-Fixed: 3225630
2022-07-05 12:40:19 -07:00
Madan Koyyalamudi
388cde2b93 Release 5.2.1.27S
Release 5.2.1.27S

Change-Id: I5df63cb9482285b59b4887c09d058c5096335a1b
CRs-Fixed: 774533
2022-07-05 09:01:06 -07:00