提交图

30004 次代码提交

作者 SHA1 备注 提交日期
Rahul Choudhary
2ecf25eecb Release 5.2.1.78E
Release 5.2.1.78E

Change-Id: I1e3c48b24c17255cb35d27b9833e5b399197a523
CRs-Fixed: 774533
2023-08-30 01:37:29 -07:00
Gururaj Pandurangi
ad0d63a599 qcacld-3.0: Change TPE IE parsing logic for Client mode
Currently, if the AP advertises both Local and Regulatory
TPE IEs in the beacons, STA uses an INI to choose one over
the other. Vendor ask is to change this logic and allow STA
to use the minimum of the two TPE power limits. Also,
deprecate the INI that sets the preference between local
and regulatory TPE IEs.

CRs-Fixed: 3574510
Change-Id: Ibf19020d59621efa72cf290ef34c825fdb50e3e7
2023-08-30 01:37:29 -07:00
Pragaspathi Thilagaraj
6da3613393 qcacld-3.0: Update self mac address from roam sync indication
After roaming to 3 link AP, update the MLO manager with the
self link address received from the roam synch indication.

Change-Id: I6258abe7bb9e140307c30fee8701ef12a618d9f1
CRs-Fixed: 3591487
2023-08-30 01:37:23 -07:00
Rahul Choudhary
f0b0a1ae9c Release 5.2.1.78D
Release 5.2.1.78D

Change-Id: Ib3a1e115556f4403d0f21315cadba2ba0fe5b94b
CRs-Fixed: 774533
2023-08-29 15:04:22 -07:00
Chunquan Luo
c9181a28c4 qcacld-3.0: Get max bandwidth
Support wpa_cli driver GET_MAX_BW with link_id and bandwidth.
Support get all MLO 2links link id and bandwidth.

Change-Id: I304b581fa06db23281422cafeecd0f6a868eee14
CRs-Fixed: 3544825
2023-08-29 15:04:22 -07:00
Ashish Kumar Dhanotiya
16fc1d7e1c qcacld-3.0: Update roam count correctly in connection info
Currently host driver is using roam_sync state to update the
roam count in connection info structure. Connection manager
clears this roam sync state before it host invokes the save
bss info API where it actually updates the roam count in
connection info structure, this leads to the incorrect information
update in connection info structure.

To address the above issue, use the is_reassoc state from connect
response structure in save bss info API.

Change-Id: I0d35f04b7e2492fe96a23edefc0caf002acb6537
CRs-Fixed: 3591711
2023-08-29 15:04:16 -07:00
Jianmin Zhu
deeac31fbb qcacld-3.0: Fix he case failed
lim_check_oui_and_update_session call location is changed by
Change-Id: Ib99072c36b72859cb1f8a4336f8aa7f696cb7d02.
session->nss is initialized in lim_check_oui_and_update_session,
it should be called before lim_extract_ap_capability->
lim_check_is_he_mcs_valid, or he capable of session is disabled,
he cases will fail.

To fix it, lim_check_oui_and_update_session call location is changed back
to follow lim_join_req_update_ht_vht_caps.

Add new function lim_disable_bformee_for_iot to handle IoT issue,
since it need get channel width of session, let it be called after
lim_extract_ap_capability.

Change-Id: Ice1d86b3f6711a116b94cd139aae87f249c554d4
CRs-Fixed: 3600303
2023-08-29 15:04:10 -07:00
Aditya Kodukula
d270d9ebc3 qcacld-3.0: Add sanity check to validate vdev_id
Add a sanity check for validating vdev_id in the function
sme_set_wlm_latency_level. If Invalid vdev_id is passed down
it might lead to an assert in firmware.

Change-Id: Ie410d2655a607628b0741c9efd1fbfaa00c5dc78
CRs-Fixed: 3599133
2023-08-29 15:04:04 -07:00
Sheenam Monga
3acf6ee2f4 qcacld-3.0: Update TSPEC handler internally in host
Currently, CONFIG_TSPEC_TSID is used as handle to
add and delete TSPEC requests. The tsid sent by
upper layer is same as handle because there is
no separate param for handle, so host always rejects
to add new TSPEC request because already one request
is registered with same handle.

To avoid the issue host can internally modify
handle and can add request with modified handler.
During DEL TSPEC Provided ts_id can be used to
delete the entry.

Change-Id: I6d1231bc6516d2642739d5d1011c847b32472160
CRs-Fixed: 3580003
2023-08-29 15:03:58 -07:00
Venkateswara Naralasetty
4b174992a8 qcacld-3.0: move DP related INI config to hdd_dp_cfg.h
Move DP related INI config from hdd_config.h to hdd_dp_cfg.h

Change-Id: I9bb1b6a1e51396fc6af7d2e2f6c553d6e2a958f4
CRs-Fixed: 3599799
2023-08-29 15:03:52 -07:00
Vijay Raj
8255bcee81 qcacld-3.0: Introduce support for STA info logging
Add support for STA info logging via api
wlan_connectivity_sta_info_event()

STA info logs is sent immediately after the
connect request initiated from userspace.

Change-Id: I92c42c9ca27f90acae23452e8fba1f2b20396214
CRs-Fixed: 3597543
2023-08-29 15:03:46 -07:00
Paul Zhang
d72ae0d216 qcacld-3.0: Fix tdls vdev ref issue for race condition
When wpa_supplicant adds tdls peer during sta disconnecting,
scheduler thread clear MLO flag of vdev0, in wlan_key_get_link_vdev,
wlan_vdev_mlme_is_mlo_vdev(vdev0) return true, in
wlan_key_put_link_vdev, wlan_vdev_mlme_is_mlo_vdev(vdev0) return false,
WLAN_OSIF_TDLS_ID vdev ref count is released in both
wlan_key_get_link_vdev and wlan_key_put_link_vdev, while
WLAN_MLO_MGR_ID vdev ref count isn't released, assert will happen.

To fix it, add check in os_if, if vdev not up, reject tdls add peer to
avoid such race condition issue.

Change-Id: I851b269ee4a5649fe76cfa1fc6762b6ca41b0884
CRs-Fixed: 3598336
2023-08-29 15:03:40 -07:00
Rahul Choudhary
ce8a2a10ec Release 5.2.1.78C
Release 5.2.1.78C

Change-Id: I9e73d0cfa24edcf16f69d1569635f366bb212abb
CRs-Fixed: 774533
2023-08-29 05:20:33 -07:00
Karthik Kantamneni
6f177b8539 qcacld-3.0: Fix race condition in refill thread cleanup
During refill thread cleanup shutdown event is posted and
we wait for thread to handle the shutdown event and exit.
But while posting shutdown event if refill thread is in running
state then there is chance of shutdown event not getting handled
and thread cleanup will be waiting indefinitely for thread to
exit.

Change-Id: I45bdad8d6a85b110ed7c7e206d3c79c5c03e9d98
CRs-Fixed: 3599295
2023-08-29 05:20:33 -07:00
Aditya Kodukula
ac40ebad7a qcacld-3.0: Add support for n-link mlo interface stats
Add support for n-link mlo link layer interface stats.

Change-Id: I3ef5774ee25ce97eb8f732aad793e47e16e16853
CRs-Fixed: 3597918
2023-08-29 05:20:27 -07:00
Aditya Kodukula
8a9331e6f9 qcacld-3.0: Add support for n-link mlo station stats
Add support for n-link mlo vdev station stats.

Change-Id: I0eef08d260b226ef6578ab51ee37601b167f431e
CRs-Fixed: 3595323
2023-08-29 05:20:20 -07:00
Rahul Choudhary
5285d82fdc Release 5.2.1.78B
Release 5.2.1.78B

Change-Id: Ife31159c5ecf3762ea175f5b9251240ea660294a
CRs-Fixed: 774533
2023-08-28 21:12:14 -07:00
Vinod Kumar Myadam
2638bde913 qcacld-3.0: Set peer_flags for connected lower bandwidths also
Currently for STA case host driver set only connected bandwidth
in peer_flags.

If STA is connected in 320 MHz bandwidth, suppose AP send CSA,
STA downgraded to 160 MHz bandwidth but host sent only 320 MHz
flag set in peer_flags, this leads FW to unexpected behavior.

So, set all supported ch_width in peer_flags, if STA is connected in
320 MHz ch_width, set 160 MHz, 80P80 MHz and 40 MHz ch_width bits
also to solve this type of scenario.

Change-Id: I43328ac85c25913ad808abf6ab906827a9672b51
CRs-Fixed: 3557108
2023-08-28 21:12:14 -07:00
Chunquan Luo
5208f9f8e4 qcacld-3.0: Set max bandwidth with link id
Support wpa_cli driver SET_MAX_BW with two params:
[bw_index][link_id].

Change-Id: Id2a872152e308e94389cd1068013d7661b37659b
CRs-Fixed: 3522561
2023-08-28 21:12:08 -07:00
Paul Zhang
efb48cb5c3 qcacld-3.0: Set peer link status properly
Since peer link status bases on vdev and stream goes through
vdev0 (assoc link) at start, rx/tx pkt count on vdev0, but
it choices vdev1 as tdls link, the peer status does not change on
vdev1 though it has been changed for vdev0 per the rx/tx pkt count.

To resolve this issue, set peer link status properly when forward
discovery response frame.

CRs-Fixed: 3590371
Change-Id: Idfb0b8c43e3b8d5b67a387ba3b877def15130eb6
2023-08-28 21:12:02 -07:00
Sheenam Monga
70520b3143 qcacld-3.0: Remove unwanted logging for usable channel
Currently, log is added when any frequency is populated
as usable channel frequency along with mode, band and other
params which could lead to multiple log addition if Band set
is ALL bands.

The change is to remove unwanted logging.

Change-Id: I02221df6a43aa0de8d79cb973adf124a5c52f89b
CRs-Fixed: 3579443
2023-08-28 21:11:56 -07:00
Vinod Kumar Myadam
bca37ddeea qcacld-3.0: Add support to get num tx/rx chains
Add support to get num tx and rx chains.

Change-Id: Iae8e3d15679e5e9ca139c59e6880a5d733ee17ef
CRs-Fixed: 3596086
2023-08-28 21:11:50 -07:00
Ashish Kumar Dhanotiya
62bd1008e4 qcacld-3.0: Remove duplicate API wlan_get_opmode_vdev_id
There are two APIs wlan_get_opmode_vdev_id and
wlan_get_opmode_from_vdev_id present in the host driver for the
same task.
With this change, remove the duplicate API wlan_get_opmode_vdev_id
from the host driver code.

Change-Id: I7ff45610ff18da9c002e22c5be06f1414d3835bc
CRs-Fixed: 3593560
2023-08-28 21:11:44 -07:00
Rahul Choudhary
c7daec861c Release 5.2.1.78A
Release 5.2.1.78A

Change-Id: I36f674739116e34749c5fab3026a5643c5270fb5
CRs-Fixed: 774533
2023-08-28 05:43:23 -07:00
Deeksha Gupta
21e3a6585a qcacld-3.0: Add MAC address print during get station statistics
Add MAC address print during get station statistics.

CRs-Fixed: 3596859
Change-Id: Ic7f9e4aff4173fdbb176406248ce2fb11ce461dc
2023-08-28 05:43:22 -07:00
Rahul Choudhary
3597cbea2b Release 5.2.1.78
Release 5.2.1.78

Change-Id: I0d59172be8e401008f63dd7cddf1520c699e36d9
CRs-Fixed: 774533
2023-08-28 02:19:41 -07:00
Asutosh Mohapatra
a7155b7d92 qcacld-3.0: Enhance iw set bitrate command support
Enhance iw set bitrate command implementation to
support legacy mode.

Change-Id: Ic9e5e92ebd57a08217dfaf6a947c5d9dc7839e85
CRs-Fixed: 3557679
2023-08-28 02:19:41 -07:00
Rahul Choudhary
6d5bface6b Release 5.2.1.77Z
Release 5.2.1.77Z

Change-Id: Ie139ec408d72575634c70e5a2500967513de7cee
CRs-Fixed: 774533
2023-08-27 01:04:13 -07:00
Jianmin Zhu
9543e252d6 qcacld-3.0: Fix assert for msg includes local var addr
Local var addr is passed as msg body to another thread,
and dereferenced in another call stack.

Change-Id: I402cff3e1fc4d3c46486cd9776680faa818600b4
CRs-Fixed: 3596800
2023-08-27 01:04:13 -07:00
Jianmin Zhu
493e081e3d qcacld-3.0: Add action OUI to disable beamformee for IoT AP
when connect to IoT AP and BW is 160 MHz and max NSS is 2,
disable SU/MU beamformee.

Change-Id: Ib99072c36b72859cb1f8a4336f8aa7f696cb7d02
CRs-Fixed: 3583339
2023-08-27 01:04:07 -07:00
Rahul Choudhary
23243ba63b Release 5.2.1.77Y
Release 5.2.1.77Y

Change-Id: I2c6d104fb88ec6a1cd3c678921761acf2352af20
CRs-Fixed: 774533
2023-08-26 22:09:06 -07:00
Aditya Kodukula
15e5a7cd82 qcacld-3.0: Update stats cached timestamp properly
Currently the station stats cached timestamp is updated
in the adapter, even when vdev station stats are not
requested as part of unified_ll_stats_get_sta command.

When userspace requests vdev station stats, based on
timestamp value host either returns cached stats or sends
a new WMI request to firmware. In case of timestamp updated
when vdev station stats are not cached, it results in
sending inaccurate station stats to userspace.

To avoid this issue, update cached timestamp in the adapter
only when station stats are requested as part of
unified_ll_stats_get_sta command.

Change-Id: I8cdbd120afdf1f6334d7ac3fa150fc853f550a09
CRs-Fixed: 3598671
2023-08-26 22:09:06 -07:00
Rahul Choudhary
a2f988f7ec Release 5.2.1.77X
Release 5.2.1.77X

Change-Id: I08a2a279637c07722d5db35f0f86523f7a25dc20
CRs-Fixed: 774533
2023-08-25 15:14:26 -07:00
Venkateswara Naralasetty
7fce92dbaa qcacld-3.0: Kbuild changes for FEATURE_ENABLE_CE_DP_IRQ_AFFINE
Kbuild changes FEATURE_ENABLE_CE_DP_IRQ_AFFINE.

Change-Id: Ifbcc443416219f0708b7767b1e4e58cf2e807810
CRs-Fixed: 3590605
2023-08-25 15:14:26 -07:00
Venkateswara Naralasetty
f6d6eb0982 qcacld-3.0: INI config to enable/disable data path CE IRQ affine
Add INI config enable/disable data path CE IRQ affinity.

Change-Id: I8cfe9259379209ebda874ca0340b5c5069d1e234
CRs-Fixed: 3590603
2023-08-25 15:14:19 -07:00
Tiger Yu
0780c1e8b2 qcacld-3.0: Enable the CONFIG_HIF_DEBUG for the HST module
Enable the CONFIG_HIF_DEBUG for the HST module to get more info for
further debugging.

Change-Id: I911930b4fce50ad5a190e6c0da2248678199231d
CRs-Fixed: 3597078
2023-08-25 15:14:13 -07:00
Rahul Choudhary
a3cf54ccbb Release 5.2.1.77W
Release 5.2.1.77W

Change-Id: Ifcb617afcfe5a437fc7fe49db91db68d2f0f6c75
CRs-Fixed: 774533
2023-08-25 09:06:19 -07:00
Jinwei Chen
179f23968f qcacld-3.0: fix use after free issue in RX fisa path
scenario:
fisa_flow->head_skb freed in dp_fisa_rx_get_flow_flush_vdev_ref(),
but fisa_flow_vdev returned from dp_fisa_rx_get_flow_flush_vdev_ref()
is not NULL, dp_rx_fisa_flush_udp_flow() will still try to deliver
fisa_flow->head_skb to stack, use after free.

return NULL if dp_fisa_rx_get_flow_flush_vdev_ref() has freed
fisa_flow->head_skb.

Change-Id: I5a467db63377e6b5f36c4bb1dfa0e3f35b73a442
CRs-Fixed: 3596691
2023-08-25 09:06:19 -07:00
Prasanna JS
1b2deb10ec qcacld-3.0: Enable CONFIG_BCN_RATECODE_ENABLE
Enable CONFIG_BCN_RATECODE_ENABLE config flag for
lithium onwards target.

Change-Id: I9d39e9d6f71d14aa85e9f12f160f203906328c90
CRs-Fixed: 3593196
2023-08-25 09:06:12 -07:00
Rahul Choudhary
0aa6782c8b Release 5.2.1.77V
Release 5.2.1.77V

Change-Id: Id78144c94cf9c722f72f8248b336b8a67f2480d6
CRs-Fixed: 774533
2023-08-25 06:04:42 -07:00
Aditya Kodukula
4bb8792e4f qcacld-3.0: Use hdd station context to get mlo link_id
Currently, for mlo link layer stats, vdev object is used
to get link_id and channel frequency. Instead of vdev object,
hdd station context can also be used to obtain those values.
Hence, refactor the code.

Change-Id: I90110ed0250f1d71539b44813ecb5d94c731039d
CRs-Fixed: 3595398
2023-08-25 06:04:42 -07:00
Arun Kumar Khandavalli
3e9914c2e4 qcacld-3.0: Add backport flag support for netdev registration
Add backport flag support for enabling cfg80211 netdev
registration APIs.

Change-Id: Id76c938deb54837de85fbf3438c70a9b509adac8
CRs-Fixed: 3589956
2023-08-25 06:04:35 -07:00
nakul kachhwaha
1ac61ce509 qcacld-3.0: Enable Flex. TWT based on TWT Req/Resp Capability
Enable Flexible TWT when TWT feature is enable and either of
the TWT Requestor or Responder capability is enable.

Change-Id: I2f2b1c311d9aba6e09d309e83f37098175b80767
CRs-Fixed: 3422493
2023-08-25 06:04:29 -07:00
Sheenam Monga
125eb5841d qcacld-3.0: Don't stop uninitialized timer
currenyly, hdd_medium_assess_stop_timer is invoked during stop_ap
and congestion report disabled. but init is done during congestion
report enable and based on timer flag. So, Assert will be caused
if timer is destroyed due to congestion report disable then stop
AP comes.

Fix is to add timer enable check and based on it call the stop
timer API.

Change-Id: I192b94a08cd07b2be14b2c75b44b3c6a7634b91a
CRs-Fixed: 3589172
2023-08-25 06:04:23 -07:00
Rahul Choudhary
e6bc470063 Release 5.2.1.77U
Release 5.2.1.77U

Change-Id: Ie170b547b4e2c620e2224a2d724b369db2de776d
CRs-Fixed: 774533
2023-08-25 03:02:59 -07:00
Venkateswara Naralasetty
bc22dea1ae qcacld-3.0: Kbuild changes to enable interrupts in monitor mode
Kbuild changes to enable interrupts in monitor mode for wcn6450.

Change-Id: I6fc5efdad3bf251e9166a3d018caa7d406a00f04
CRs-Fixed: 3565745
2023-08-25 03:02:59 -07:00
Rahul Choudhary
b590a3063f Release 5.2.1.77T
Release 5.2.1.77T

Change-Id: Ifef738bac79cf4694e7008770a510fb0d3838bc7
CRs-Fixed: 774533
2023-08-24 21:14:56 -07:00
Vijay Raj
43e28bd8e5 qcacld-3.0: Add diag logging support for STA info and MLO events
Introduce diag logging for STA info event and MLO events
via eventid EVENT_WLAN_CONN_STA_INFO, EVENT_WLAN_MLO_SETUP,
EVENT_WLAN_MLO_RECONFIG, EVENT_WLAN_MLO_T2LM_STATUS,
EVENT_WLAN_MLD_T2LM_REQ_RESP, EVENT_WLAN_MLO_T2LM_TEARDOWN
and EVENT_WLAN_MLO_LINK_STATUS

For MLO specific events band, link_id, status, tid_ul,
tid_dl, token, tx_status, reason active_links and
previous active links are sent.

For STA INFO event is_mlo flag, mld_macaddr, 2.4GHz_mac,
5GHz_mac and 6GHz_mac.

Change-Id: I1aa6195a481319f85cad26893789439c5c8291ea
CRs-Fixed: 3568508
2023-08-24 21:14:56 -07:00
Aditya Kodukula
e49b8598ac qcacld-3.0: Reject MLO stats request during link switch
Reject MLO station stats and Link Layer stats request from
userspace when link switch is in progress.

Change-Id: I755dcf3da69f5378cba0602ed085981af35fe38b
CRs-Fixed: 3594723
2023-08-24 21:14:49 -07:00
Rahul Choudhary
700a01c064 Release 5.2.1.77S
Release 5.2.1.77S

Change-Id: I8152ced3d60fbd25da184d84e005f26a97d7eaec
CRs-Fixed: 774533
2023-08-24 15:38:26 -07:00