提交图

26229 次代码提交

作者 SHA1 备注 提交日期
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
Arun Kumar Khandavalli
d0a84a4dde qcacld-3.0: Add new cfg80211 wrapper api's Multi link operation
Add new cfg80211 wrapper api's to support single link multi wdev
operation.

Change-Id: I8344e188351b176f076d99fe5cce4c06a50bb4e3
CRs-Fixed: 3235287
2022-07-05 09:01:06 -07:00
Madan Koyyalamudi
9cc9191590 Release 5.2.1.27R
Release 5.2.1.27R

Change-Id: I2170ded671ca34a38f7cb7ef8f2ffb82ef7ec5a4
CRs-Fixed: 774533
2022-07-05 03:18:45 -07:00
Utkarsh Bhatnagar
fa29fba7e4 qcacld-3.0: Use freq instead of chan num for TDLS pref offchannel
Use frequency instead of chan num for processing TDLS offchannel
req for preferred offchannel.
Since, after introduction of TDLS on 6 GHz band it is better to
process offchannel in frequency instead of channel numbers as
some of the channel numbers are repeated for 6 GHz.

Change-Id: Icd7084b9f3c407ad0ad104b7f0d2230e31e0b10d
CRs-Fixed: 3234920
2022-07-05 03:18:45 -07:00
Madan Koyyalamudi
c71b2f66dc Release 5.2.1.27Q
Release 5.2.1.27Q

Change-Id: I8ac12eeca3ddc0f3a43bae5fb42ffd69a5d84d5a
CRs-Fixed: 774533
2022-07-04 11:52:03 -07:00
Dundi Raviteja
a258f3cd42 qcacld-3.0: Clean up code under PRE_CAC_COMP flag
pre cac componentization is done, so clean up
code under PRE_CAC_COMP flag.

Change-Id: I6465bce9fc883797f42358aaeb8dabf70e449cde
CRs-Fixed: 3232820
2022-07-04 11:52:02 -07:00
VIJAY RAJ
f327e23c86 qcacld-3.0: Optimize logs in wlan_connectivity_mgmt_event
In api wlan_connectivity_mgmt_event(), the connecting status
is checked for every instance of wlan_connectivity_mgmt_event
resulting in excessive printing of wlan_cm_is_vdev_connecting
logs.

Add check to verify connection status for STA/CLI mode which
results in trimming of wlan_cm_is_vdev_connecting() logs.

Change-Id: I33d8d91e58a38b8998183e20bbf455ff94855c6d
CRs-Fixed: 3211801
2022-07-04 11:51:57 -07:00
Madan Koyyalamudi
2232b3be6b Release 5.2.1.27P
Release 5.2.1.27P

Change-Id: I7e06758093e18dd858010c05a29058fcb4562983
CRs-Fixed: 774533
2022-07-04 10:16:04 -07:00
Jianmin Zhu
64204cc788 qcacld-3.0: Fix disconnect for NUD failure just after roaming
For EAP 802.1x AP, when host received roam sync,  just reassociated, RSO
is still stopped to wait EAPOL handshake finished,  if nud failure is
handled, roaming is failed to invoke and disconnect happens.

To fix it,  don't handle nud failure during EAPOL handshake.

Change-Id: Ia3a9e989ea16443fa157834ef9d4ceb247f82e24
CRs-Fixed: 3233058
2022-07-04 10:16:04 -07:00
Madan Koyyalamudi
1dc356ca41 Release 5.2.1.27O
Release 5.2.1.27O

Change-Id: I58671bc8b05f2e13c44625f6397b4501d4fbd269
CRs-Fixed: 774533
2022-07-02 23:11:05 -07:00
Amit Mehta
c87481282c qcacld-3.0: Fix return value
Currently in some cases we are returning
enum of type rx_pkt_fate instead of qdf_dp_tx_rx_status

Fix issue by returning correct enum type.

Change-Id: I97c67003178fd5347de57c1b78602177696e0973
CRs-Fixed: 3234233
2022-07-02 23:11:05 -07:00
Aditya Kodukula
3f9ed9d291 qcacld-3.0: Avoid double free in sch_gen_timing_advert_frame
In sch_gen_timing_advert_frame, the memory allocated for buffer
timing_advert->template_value is freed but not reset to NULL.
This creates a dangling pointer, and it is freed again inside
__wlan_hdd_cfg80211_ocb_start_timing_advert.

To avoid this issue, reset the pointer to buffer
timing_advert->template_value to NULL before returning from
sch_gen_timing_advert_frame.

Change-Id: I2445c53f217d0fd22cbe3026b0869284fe13b851
CRs-Fixed: 3229906
2022-07-02 23:10:59 -07:00
Madan Koyyalamudi
db7ba79859 Release 5.2.1.27N
Release 5.2.1.27N

Change-Id: I1d901364961d54b3485cf9d0e3cdda7451427fb7
CRs-Fixed: 774533
2022-07-02 11:28:05 -07:00
Rakesh Pillai
b87648dd65 qcacld-3.0: Enable Monitor status buffer tracking history
Enable monitor status buffer tracking history.
Also enable the allocation of memory for the monitor
status buffer tracking history via prealloc.

Change-Id: Iafec8e68c85b3f2d9b0bf0523a19b7a32869e20a
CRs-Fixed: 3229689
2022-07-02 11:28:04 -07:00
Madan Koyyalamudi
8b1c2c39f5 Release 5.2.1.27M
Release 5.2.1.27M

Change-Id: I5e6b73b214a4eccb008e8c692885d317889dbe48
CRs-Fixed: 774533
2022-07-02 09:55:42 -07:00