Commit Graph

18428 次程式碼提交

作者 SHA1 備註 提交日期
Jeff Johnson
d426f58323 qcacmn: Fix hal/wifi3.0/kiwi documentation
The kernel-doc script identified some documentation issues in the
hal/wifi3.0/kiwi folder, so fix them. For one public function make
sure the interface is documented, and not the implementation.

Change-Id: Ie38a909407d5c2a727c0800ef1a39b89b4ee5e61
CRs-Fixed: 3390484
2023-01-31 19:43:25 -08:00
Jeff Johnson
7bc9ad4d74 qcacmn: Fix OSIF Documentation
The kernel-doc script identified some documentation issues in the
os_if folder, so fix most of them. However do not modify the file
qca_vendor.h since most of the issues there are present upstream, and
the downstream file should match the upstream file.

Change-Id: I71948fb497c1ea2d1dd46308277d99beefde18b8
CRs-Fixed: 3390428
2023-01-31 17:09:48 -08:00
Vignesh U
3388a6e5a2 qcacmn: Enhance regulatory debug
The regulatory API reg_get_bonded_chan_entry() does not print the input
parameter "cen320_freq" which indicates the 320 MHz center frequency and is
used in 11be regulatory calls.

Add the parameter "cen320_freq" in the existing regulatory debug print for
the API.

Change-Id: I9edec5855326e78b6898d3a443d96d938fbfe44f
CRs-Fixed: 3369874
2023-01-31 15:01:56 -08:00
Jeff Johnson
9a5f44727b qcacmn: Fix dp_main.c documentation
The kernel-doc script identified a large number of documentation
issues in dp/wifi3.0/dp_main.c, so fix those issues. In addition,
there are a number of instances where public functions have their
implementation documented instead of having their interface
documented, so remove that documentation. The documentation at the
interface will be added separately if it is not already present.

Change-Id: Id9bcfd37d690b72ec7a04f25d1b91b0210bef8e3
CRs-Fixed: 3373154
2023-01-31 15:01:45 -08:00
Amruta Kulkarni
8a67a212c5 qcacmn: Add documentation for mlme api
Adds documentation for callback api
mlme_cm_roam_get_scan_ie_cb.

Change-Id: Ibc0e3ad80bff24afa8e6f31090a30753f9228ef5
CRs-Fixed: 3390453
2023-01-31 13:18:30 -08:00
Jeff Johnson
6b13d7bbdf qcacmn: Fix umac/cmn_services/sm_engine documentation
The kernel-doc script identified some documentation issues in the
umac/cmn_services/sm_engine folder, so fix them.

Change-Id: I08e56fabac869555719230c53537a8cd671ca4e5
CRs-Fixed: 3390481
2023-01-31 13:18:18 -08:00
Madhavan Ganesan
a30c47e6cc qcacmn: Add qdf parser API of type uint8_t and uint16_t
Add QDF INI parser API of type uint8_t and uint16_t

Change-Id: I0716df7986f00c60ead852f368d06d37dba7db80
CRs-Fixed: 3389847
2023-01-31 13:18:05 -08:00
Jeff Johnson
1b381119de qcacmn: Fix umac/mlo_mgr documentation
The kernel-doc script identified some documentation issues in
umac/mlo_mgr, so fix most of them. However some issues are due to
kernel-doc being unable to parse the qdf_bitmap() macro, so disable
kernel-doc in those cases.

Change-Id: I1c32ffae58aedbbafa2ab4c9e4faa33c426ea7b5
CRs-Fixed: 3380021
2023-01-31 13:17:53 -08:00
Jeff Johnson
f576a0ab92 qcacmn: Fix umac/cmn_services/serialization documentation
The kernel-doc script identified some documentation issues in the
umac/cmn_services/serialization folder, so fix most of them. However
one issue is due to kernel-doc being unable to parse the qdf_bitmap()
macro, so disable kernel-doc in that case.

Change-Id: I4b579891db315484b465322e9f9e5fe2564f8909
CRs-Fixed: 3390576
2023-01-31 11:24:28 -08:00
Jeff Johnson
4113a5f404 qcacmn: Fix umac/cmn_services/interface_mgr documentation
The kernel-doc script identified some documentation issues in the
umac/cmn_services/interface_mgr folder, so fix them.

Change-Id: I699fd75a0827324872da4ca6a3be13a5ebcfda37
CRs-Fixed: 3390584
2023-01-31 11:24:15 -08:00
Devender Kumar
d5b2560201 qcacmn: Disable IRQ line for vlan RX ring
Target is sending interrupt even interrupt handler is not
registered for the vlan RX DST ring, and causing kernel crash.

Fix is to disable the IRQ line if host is not supposed to handle
the interrupt for vlan RX DST ring.

Change-Id: I91b8a5784969e1022d283793905c33340492706b
CRs-Fixed: 3348574
2023-01-31 11:24:03 -08:00
Jeff Johnson
08131fd0bb qcacmn: Fix wlan_utility.h documentation
The kernel-doc script identified some documentation issues in the
umac/cmn_services/utils folder, all in wlan_utility.h, so fix them.

Change-Id: I91763c8103083b75dd26aa21b254f45de793b8b6
CRs-Fixed: 3390582
2023-01-31 08:36:17 -08:00
Nandha Kishore Easwaran
9b6d2e0048 qcacmn: Fix api to set flow_idx_timeout
Fix api to set flow idx timeout by calling the correct
hal function.

Change-Id: Ib9e1987e76eb3e92bde811d51a2ec65b944ada18
CRs-Fixed: 3391487
2023-01-31 08:36:05 -08:00
Aravind Kishore Sukla
56a3111134 qcacmn: Rate limit WMA MGT RX process logs
WMA MGT RX process extraction are logged in err level.
Rate limit the logs to avoid excessive logs to kernel
logging.

Change-Id: I5ee92941f83b456b092efff2d3d7509959474c07
CRs-Fixed: 3391352
2023-01-31 08:35:52 -08:00
Wade Song
ff002128c9 qcacmn: Increase the number of pcie slots supported
With some new platforms planned, 5 pcie slots have to be
supported by the wlan driver.

Increase WLAN_CFG_MAX_PCIE_GROUPS to 5 to make sure wlan
probe is successful even when the wlan card is attached
to the last pcie slot.

Change-Id: Iab040a26e58b9d95321c29f88f87b7923198b7dd
CRs-Fixed: 3390735
2023-01-30 21:45:54 -08:00
Pavankumar Nandeshwar
3f0f055b82 qcacmn: Change the number of tx descs for direct switch
Change the number of tx descs per soc for direct switch
used for ppe2tcl ring to 2048 from existing 8192 to reduce
buffer usage.

Change-Id: I1e749833002926e9b6b9a84d38651525548dc79c
CRs-Fixed: 3391066
2023-01-30 14:38:50 -08:00
Srinivas Pitla
6f49a4b14b qcacmn: Add API to invoke MLO peer delete
This API invokes peer delete on all link peers

Change-Id: If20274ca67c93a3e6c0706c04007215d5330bea0
CRs-Fixed: 3389049
2023-01-30 12:38:31 -08:00
Himanshu Batra
87cf6b8b07 qcacmn: Accumulate tx and rx airtime consumption stats separately
Accumulate tx and rx airtime consumption stats separately.

Change-Id: I1196ec83d94f73ee35a77a935d5820783e239154
CRs-Fixed: 3388165
2023-01-30 12:38:18 -08:00
Vinod Kumar Myadam
c50244f2b8 qcacmn: Replace reg_is_chan_supported to use pwrmode API
The current channel list alone is not enough to represent the
capability of the chip or device. Given a channel, in many
cases it may be required to know all the power modes that are
supported by this channel.

Update callers of reg_is_chan_supported with super channel list.
reg_is_chan_supported to use the super channel list API
reg_is_chan_supported_for_pwrmode.

Change-Id: I5d33f7bb0bee6012c28d35e6138f5a03525c33ca
CRs-Fixed: 3357157
2023-01-30 10:37:03 -08:00
Divyajyothi Goparaju
61d3b23a1c qcacmn: Give valid range of value for aliasing INI
There are two different name with different range of value for
aliasing INI's.
So, it should pick the valid range of value wrt INI name.

Change-Id: I81ece854a2d8b34f232e03c8ab835161d58c56b1
CRs-Fixed: 3355346
2023-01-30 10:36:50 -08:00
Jeff Johnson
9b6df07a02 qcacmn: Fix qal_vbus_dev.h documentation
The kernel-doc script reported a few documentation issues in the qal
folder, all in qal_vbus_dev.h, so fix them.

Change-Id: I06c3982a5414ff30238b8b536e6616c380eabcbf
CRs-Fixed: 3390311
2023-01-30 10:36:38 -08:00
Vinod Kumar Myadam
006220cc0d qcacmn: Replace callers to use super channel list API
The current channel list alone is not enough to represent the
capability of the chip or device. Given a channel, in many
cases it may be required to know all the power modes that are
supported by this channel.

Update caller APIs to use super channel list. Removed
wlan_reg_get_bonded_channel_state_for_freq and
wlan_reg_get_5g_bonded_channel_and_state_for_freq to use the
super channel API wlan_reg_get_bonded_channel_state_for_pwrmode
and wlan_reg_get_5g_bonded_channel_and_state_for_pwrmode
respectively

Change-Id: If51bd130892cd712f5a218067a5d321e874e134a
CRs-Fixed: 3357153
2023-01-30 06:27:57 -08:00
Vinod Kumar Myadam
5abb61b966 qcacmn: Update API to use super channel list
The current channel list alone is not enough to represent the
capability of the chip or device. Given a channel, in many
cases it may be required to know all the power modes that are
supported by this channel.

Remove reg_get_5g_bonded_channel_state_for_freq,
wlan_reg_get_5g_bonded_channel_state_for_freq and
reg_update_5g_bonded_channel_state_punc_for_freq APIs to use the
super channel APIs reg_get_5g_bonded_channel_state_for_pwrmode,
wlan_reg_get_5g_bonded_channel_state_for_pwrmode and
reg_update_5g_bonded_channel_state_punc_for_pwrmode.

Change-Id: I895d70d3a07e239500f97b9ab7884d7723de5080
CRs-Fixed: 3144661
2023-01-30 06:27:44 -08:00
Jinwei Chen
b4f81eace0 qcacmn: Set TX flow queue for TCP ack
If TX data is TCP ACK, configure TX flow index 3 in
SW2TCL data cmd ring descriptor.

Change-Id: Ibd08b13ba8f0481aa11cd9c3dc54a49cd73674fb
CRs-Fixed: 3368303
2023-01-30 01:34:05 -08:00
Jeff Johnson
d93db0f70e qcacmn: Fix wbuff documentation
The kernel-doc script identified some documentation errors in the
wbuff folder, so fix them.

Change-Id: Ie3ab3bafda78a1b7207391b0accd4286e6ae5de3
CRs-Fixed: 3389343
2023-01-29 16:01:35 -08:00
Jeff Johnson
f68d690127 qcacmn: Fix umac/thermal documentation
The kernel-doc script found a documentation issue in umac/thermal, so
fix it.

Change-Id: I27daf243812490a615bb0e5a93b5e20a401cfe9b
CRs-Fixed: 3389336
2023-01-29 13:31:40 -08:00
Himanshu Batra
110b8dfe15 qcacmn: Add mlo peer check in validating disconnect
In case of handling disconnect while sta is connected, if previous
connection is non-ml and a new connect is received with ml
connection then disconnect request is getting ignored.
Fix to add mlo peer check in validating disconnect

Change-Id: I037854f2b4f16e17b8cc75d8a27f5806ed5f783a
CRs-Fixed: 3387398
2023-01-29 10:28:23 -08:00
Gururaj Pandurangi
8b08576fda qcacmn: Change logging level of error logs in reg APIs
Reduce logging level to debug for certain error log prints
in regulatory APIs to decrease console logging.

Change-Id: I35d27fa08269c48b097f0a0811612e8191f723eb
CRs-Fixed: 3389491
2023-01-27 23:21:34 -08:00
Mohammed Ahmed
15ec2eab73 qcacmn: add peach specific BAR remap register offset
Current code has incorrect BAR remap register offset defined.
Fix this by adding peach specific BAR remap register offset.

Change-Id: I8bbd6270f502da87fa1ccbcf667662bcf916dc03
CRs-Fixed: 3388309
2023-01-27 18:07:15 -08:00
Nandha Kishore Easwaran
c79a97bc8a qcacmn: memzero with correct size
Add memzero with correct size.

Change-Id: Ied78bbc7c15e4b5765015944a71148f5501f2884
CRs-Fixed: 3354666
2023-01-27 12:56:46 -08:00
Sai Rupesh Chevuru
9d8b5fa06d qcacmn: Set host inspect in the case of wds_ext
Set host inspect in the case of wds_ext

Change-Id: I5d14aede300694faca6bf81813e4f66752419239
CRs-Fixed: 3377865
2023-01-27 12:56:34 -08:00
abhinav kumar
3bf50ce182 qcacmn: Avoid using fw-api defined enum at the CM layer
Currently, the definition of WMI_ROAM_GET_VENDOR_CONTROL_PARAM_ID
is present at the fw-api level. The host should not be using fw-api
definitions outside the WMI TLV code. To make sure it, Add
host-defined enum vendor_control_roam_param which defines the param
IDs that the host supports.

Change-Id: I0aaba99c1af7c7c50a62f9bc763d0968c3a3a99c
CRs-Fixed: 3366594
2023-01-27 10:39:38 -08:00
Jeevan Kukkalli
10b8c93c24 qcacmn: Fix max RX monitor meta header TLV macro
RX monitor meta header now supports two TLVs.
Macro used to represent maximum RX monitor meta
header TLVs should reflect the same.

Change-Id: I29cf830323cbe91a186c4876606290dc3c87b4eb
CRs-Fixed: 3385695
2023-01-27 07:02:12 -08:00
Aniruddha Mishra
099d29726b qcacmn: Add Advance monitor filter support
Added advance monitor filter support for mon v2
in cfg80211tool.

Change-Id: Iee0a3c10f4281dd6d7f9b59efa7a5807c0fb234e
CRs-Fixed: 3380845
2023-01-27 00:20:54 -08:00
Chaithanya Garrepalli
b17c727a41 qcacmn: Changes to send REO command on appropriate SOC
Added changes in below API to avoid sending REO command
on non-primary SOC for MLO peers.
1. dp_get_host_peer_stats
2. dp_set_pn_check_wifi3
3. dp_peer_ctrl_frames_stats_get

Change-Id: Ia2631b2ab80d80028743b0d6255158bd6bd76e88
CRs-Fixed: 3384398
2023-01-26 22:21:19 -08:00
Jeff Johnson
eb0f6c63bd qcacmn: Fix umac/cp_stats documentation
The kernel-doc script identified some documentation errors in the
umac/cp_stats folder, so fix them.

Change-Id: Ib99f6c4f7e0f83531949509d1040cee5590bd345
CRs-Fixed: 3380566
2023-01-26 19:35:30 -08:00
Jeff Johnson
9db8b7e4c3 qcacmn: Fix umac/cmn_services/obj_mgr documentation
The kernel-doc script identified some kernel-doc issues in the
umac/cmn_services/obj_mgr folder, so fix them.

Change-Id: I0d02b5e174a47b77f9da3304cfc03ed2602b45c7
CRs-Fixed: 3383933
2023-01-26 17:50:50 -08:00
Jeff Johnson
b4c593eaee qcacmn: Fix umac/dcs documentation
The kernel-doc script identified some kernel-doc issues in the
umac/dcs folder, so fix them.

Change-Id: I5cae5285e87954de22b52a995e952981f94c5662
CRs-Fixed: 3383807
2023-01-26 16:11:37 -08:00
Ruben Columbus
11742e7129 qcacmn: alloc reo qref table in dp_soc_attach
change allocation location for reo qref table.
per probe allocation results in mem alloc failure when
frame is fragmented

Change-Id: I5922bddebcd0577ba38734ae7d4194d726d825aa
CRs-Fixed: 3326520
2023-01-26 16:11:27 -08:00
Jeff Johnson
b4b8c2933f qcacmn: Fix umac/mlme documentation
The kernel-doc script identified some documentation errors in the
umac/mlme folder, so fix them.

Change-Id: I84617fe2007e51dcb009801ebc6cdf87c0d0a686
CRs-Fixed: 3381478
2023-01-26 12:25:15 -08:00
Jeff Johnson
de12add913 qcacmn: Fix umac/cmn_services/mgmt_txrx documentation
The kernel-doc script identified some documentation errors in the
umac/cmn_services/mgmt_txrx folder, so fix them.

Change-Id: I2315940874f6ae246582c81deb7c90b687b3489e
CRs-Fixed: 3387340
2023-01-26 06:07:21 -08:00
Jeff Johnson
277f311871 qcacmn: Fix umac/wifi_radar documentation
The kernel-doc script identified some documentation errors in the
umac/wifi_radar folder, so fix them.

Change-Id: If8dd597ab3fae871986110d22c326cef67655cb3
CRs-Fixed: 3380570
2023-01-26 06:07:11 -08:00
Jeff Johnson
c90cb55572 qcacmn: Fix umac/green_ap documentation
The kernel-doc script identified some documentation errors in the
umac/green_ap folder, so fix them.

Change-Id: If4c1290ebcb395094e41b963b212d75da84fc4f5
CRs-Fixed: 3380569
2023-01-26 04:10:14 -08:00
Jeff Johnson
b13df1bdce qcacmn: Fix dp/wifi3.0/dp_rx.* documentation
The kernel-doc script identified a large number of documentation
issues in dp/wifi3.0/dp_rx.[ch], so fix those issues. In addition,
there are a number of instances where public functions have their
implementation documented instead of having their interface
documented, so move that documentation.

Change-Id: Id0ac49ebfa23790346384d688cc6346f513a7969
CRs-Fixed: 3373158
2023-01-26 04:10:05 -08:00
Paul Zhang
37b58d0525 qcacmn: add critical update feature
Add the code logic to save the BSS parameters change count (BPCC)
for critical update feature.

Change-Id: I3fafd44af8661d1dcf5d7bbde84d2729d390a44c
CRs-Fixed: 3324174
2023-01-26 01:25:10 -08:00
Jeff Johnson
f2c2770849 qcacmn: Fix dp/wifi3.0/monitor documentation
The kernel-doc script identified a large number of documentation
issues in dp/wifi3.0/monitor, so fix those issues. In addition,
there are a number of instances where public functions have their
implementation documented instead of having their interface
documented, so move that documentation.

Change-Id: I27e14544ef88193bbfe6ee409fe58c59d6b5bea2
CRs-Fixed: 3373167
2023-01-25 23:16:08 -08:00
Aniruddha Mishra
73ff25850d qcacmn: Add m_copy wrapper in cfg80211tool
Added lite_mon wrapper for m_copy in
cfg80211tool.

Change-Id: I699f34b9eba2b547f13147e4757ccea42d60f656
CRs-Fixed: 3380811
2023-01-25 23:15:59 -08:00
Rajeev Kumar
b13f3f39a3 qcacmn: Add new line after WoW wake lock log stats
Add new line after WoW wake lock log to assist in debugging
by keeping new stats separate from old stats.

Change-Id: I818635a0afc70c82bf1a6b8e8b4e57c116d2a7e6
CRs-Fixed: 3383789
2023-01-25 23:15:49 -08:00
chunquan
8db88cd12a qcacmn: QCA vendor attribute of update roaming cached statistics info
Add vendor subcmd QCA_NL80211_VENDOR_SUBCMD_ROAM_STATS and attribute id
in enum qca_wlan_vendor_attr_roam_cached_stats for collecting roaming
statistics information when diagnosing roaming behavior.

Change-Id: I38fa39c2524e453335cf8281afe403a7c64c8bb4
CRs-Fixed: 3381257
2023-01-25 23:15:38 -08:00
Vinay Adella
b53d796a11 qcacmn: Move some WMI prints to wmi_info
Moving Rx mgmt extended params parsing error prints to wmi_info.
This is needed to avoid flood of prints in some cases.

Note that this is temporary and the original cause of the error
needs to be root-caused.

CRs-Fixed: 3386728
Change-Id: I0119ff51199424bfcf1f8db284db364fcc5817d5
2023-01-25 21:27:06 -08:00