For SDXPINN to support 4 SAP concurrency, set
CONFIG_WLAN_UMAC_MLO_MAX_DEV = 4.
Change-Id: I3005efad37a28055492c8297ec21da8851faa34b
CRs-Fixed: 3442194
WEXT ioctls are no longer supported by the wlan driver.
So, add a sysfs replacement to setdfsnol and getdfsnol commands.
file path: sys/class/net/wlanxx/dfsnol
where wlanxx is the adapter interface
usage: echo arg_0 > /sys/class/net/wlanxx/dfsnol
cat /sys/class/net/wlanxx/dfsnol
Change-Id: Ia8475b5c6ef39142def38eab0e777840af885c33
CRs-Fixed: 3431517
Current code doesn't allow output of hdd_dump_log_buffer to sysfs.
Fix this by adding sysfs output functionality.
Change-Id: I077c10e379e542ac99d8ebe01d68fe76a7470e39
CRs-Fixed: 3426193
Given the fact that the RX nbuf history array size is not enough,
sometimes the dump fails to capture the problematic buffer address
records, leading to failing to identify sources of buffers. This
change is to increase the array size of qdf_nbuf_history, which
makes it possible to record more RX history buffers to be traced.
Change-Id: I7982873daf6fafcb31e77d2aec380f1c00401ee5
CRs-Fixed: 3405585
Currently thermal level can be got from upper layer only
for FW thermal mgmt offload case. Per the requirement,
refine the code to support it for thermal non-offload
case as well.
Similar to offload thermal mitigation, add TX_OFF and
shutdown two states for non-offload case. Host will fully
stop TX traffic in TX_OFF state and target will trigger
shutdown when temperature come to the range of shutdown.
Per above requirement, add below four INI to configure
thermal temperature threshold value as need for TX off
and target shutdown.
gThermalTempMinLevel4
gThermalTempMaxLevel4
gThermalTempMinLevel5
gThermalTempMaxLevel5
Change-Id: I40d097ab8a5801052553ad7adedd38be475c7669
CRs-Fixed: 3413165
The current way in the driver to handle CONFIG_CNSS_UTILS=m and
CONFIG_WCNSS_MEM_PRE_ALLOC=m will not work if the flags are not
coming from kernel Kconfig directly (e.g. CNSS utils and prealloc
module sources are built out of kernel tree) since "cppflags-
$(CONFIG_FLAG) += -DCONFIG_FLAG" will not take effect if CONFIG_FLAG=m.
Fix it in a proper way to work even if config is defined as m.
Change-Id: I60c26b1e0d64277b733e534960a00afb5579fb43
CRs-Fixed: 3419566
Add code to support modularizing CNSS_GENL and CNSS_UTILS
for auto qcn7605 and qca6174.
Change-Id: I69660cba4fa912f8fd6bb009d2c0d62f707c5ae7
CRs-Fixed: 3418583
Define the CONFIG_FEATURE_DELAYED_PEER_OBJ_DESTROY to enable peer obj
freed in a delayed work item to avoid any potential scheduling in the
atomic context.
It might invoke wakeup_source_unregister in the peer obj destroy handler
which happens in the atomic context to cause scheduling timeout issue.
Here is the call trace without enabling this flag:
Call trace:
dump_backtrace.cfi_jt+0x0/0x8
dump_stack_lvl+0x80/0xb8
__schedule_bug+0x80/0x134
__schedule+0x75c/0xacc
schedule+0x110/0x204
schedule_timeout+0x48/0x138
wait_for_common+0x14c/0x314
__synchronize_srcu+0x13c/0x1e4
synchronize_srcu+0x2d4/0x414
wakeup_source_unregister+0xd8/0x1c4
mlme_peer_object_destroyed_notification+0x3c/0x1ac [kiwi_v2]
wlan_objmgr_peer_release_ref+0x218/0x300 [kiwi_v2]
dp_softap_inspect_tx_eap_pkt+0x24c/0x29c [kiwi_v2]
dp_softap_notify_tx_compl_cbk+0xa4/0xa8 [kiwi_v2]
dp_tx_comp_process_tx_status+0x28c/0xa90 [kiwi_v2]
dp_tx_process_htt_completion_be+0x2f4/0x4f4 [kiwi_v2]
dp_tx_comp_handler+0x5dc/0xaa8 [kiwi_v2]
dp_service_srngs+0x114/0x4fc [kiwi_v2]
hif_exec_poll+0xd8/0x3c0 [kiwi_v2]
__napi_poll+0x64/0x268
net_rx_action+0x11c/0x3a0
_stext+0x16c/0x5e4
__irq_exit_rcu+0x74/0x140
handle_domain_irq+0xd4/0x154
gic_handle_irq.33723+0x54/0x2bc
call_on_irq_stack+0x40/0x70
do_interrupt_handler+0x44/0xa0
el1_interrupt+0x34/0x64
el1h_64_irq_handler+0x1c/0x2c
el1h_64_irq+0x7c/0x80
cpuidle_enter_state+0x3b4/0x87c
do_idle+0x300/0x5a0
cpu_startup_entry+0x84/0x90
kernel_init+0x0/0x36c
start_kernel+0x0/0x61c
start_kernel+0x500/0x61c
__primary_switched+0xc4/0x7a7c
bad: scheduling from the idle thread!
Change-Id: Icee1ef30380418596711ef54a95f3286287e1cdd
CRs-Fixed: 3412052
Cache roam information in wlan driver, when qca vendor
cmd of QCA_NL80211_VENDOR_SUBCMD_ROAM_STATS get roam
information, driver send all the cached information to
user space.
Extend WMI_ROAM_STATS_EVENTID event information for
requirement of:
1.Roam trigger related information, include timestamp,
trigger reason, trigger condition, abort reason,
scan type, roam status and fail reason.
2.Roam scan related information, include scan channel
number, dwell type, max dwell time of each channel
and total scan time.
3.all types of roam related frame information, include
timestamp and successful or failed status for Preauth,
Reassoc, EAPOL-M1/M2/M3/M4.
Change-Id: I2a694b7c1df8f5da09505f65c9c797be2177b398
CRs-Fixed: 3391601
This change disables IPA offload and optional
wifi datapath feature. This change will be used
until kernel changes are merged.
Change-Id: Ib47d69ba8da2e1fa3f0a1bd05926bbf3d74f51e4
CRs-Fixed: 3401190
Currently, for mobile router the DFS CAC feature is not working
because PRE_CAC_SUPPORT does not define.
Change-Id: I5eb335fe738de8438b8ec60f4d69875cb0a45d6e
CRs-Fixed: 3397747
Channel switch is required whenever unwanted
heavy traffic is observed on SAP channel,
which can be handled by dynamic channel switch
feature. So, enable DCS feature for KIWI target.
Change-Id: Ic433b830f4e1355ae52e796769faec3560819d81
CRs-Fixed: 3402354
Enable Genoa FEATURE_STATION_INFO to handle get station info over
vendor cmd QCA_NL80211_VENDOR_SUBCMD_GET_STATION.
Change-Id: I8d2a87f10057c3eaa407b60faed95d56788ede7e
CRs-Fixed: 3395891
Once the radar is found, identify the affected sub 20 MHz channels in the
current channel. From the position(s) of the sub 20 MHz subchannels, find
the nearest valid puncturing pattern.
If a valid puncturing pattern is found, find the corresponding reduced
bandwidth new channel for the legacy ( <= 11AX) devices and send CSA. At
the end of CSA, do a vdev restart so that the 11BE devices see a new
puncturing pattern.
And If not found, then fallback to the default behavior of changing channel
using Random channel selection.
Change-Id: I41e6206f310722bc3dacc9ce8d024f679ff1af3e
CRs-Fixed: 3386022
Don't enable FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE on SDXPINN
platform, which is similar mobile router platform as SDXPRAIRIE
and SDXLEMUR.
Change-Id: Id6c90be0c7467d85c23cac55fb0e7091e6c4814d
CRs-Fixed: 3393286
Add check for CONFIG_ARCH_PARROT to enable packet capture
compilation for parrot.
Change-Id: I9eab0c37f5a4a849ed6e340bb8b26153030ad5b6
CRs-Fixed: 3377226
Remove WLAN_ENABLE_AGEIE_ON_SCAN_RESULTS macro as BSS age
is calculated using NL80211_BSS_SEEN_MS_AGO
Change-Id: I5473f9cea216df4968a43551875b0385605f616f
CRs-Fixed: 3391078
Currently wlan_mlme_configure_chain_mask API sends many
pdev set param commands separately to firmware.
Combine all pdev set params of wlan_mlme_configure_chain_mask
send to WMI to reduce number of transactions.
Also replace target wmi pdev params with host wmi
pdev params to fix existing broken layering
violation.
Change-Id: If0b7bce9a7c87d0f07e7a9f1d2cd80139f027308
CRs-Fixed: 3151438
Enable the WAR to handle incorrect setting of first msdu
in mpdu flag for an mpdu with more than 6 msdu.
Change-Id: I7f7219828f2787b889a26092476bd76b97dee149
CRs-Fixed: 3363780
Enable the PRE_CAC_SUPPORT for qca6390 by default to fix the AP start
failure on the DFS channel.
Change-Id: Iacc513c6804c1b51dd6752a74423fb9d5e6a8194
CRs-Fixed: 3353106
Add AFC common include path to regulatory include path.
Enable AFC feature for sdxlemur.
Change-Id: I6b936b3f6443868f05cf86351bcf31d24d65bbbc
CRs-Fixed: 3154178
set CONFIG_DP_TX_COMP_RING_DESC_SANITY_CHECK for Def build to
enable TX completion ring desc sanity check.
Change-Id: Ia9cd28f6bcce234d0e7bf7f621cc33208479e899
CRs-Fixed: 3349744
Currently, FEATURE_SR and OBSS_PD is enabled for all targets
which is not required. Enable FEATURE_SR and OBSS_PD based on
Target type and only if 11AX is enabled to avoid compilation
issues.
Change-Id: I919faaff34bd73ad022a32853169ce096a6bb3cd
CRs-Fixed: 3336017
Enable MOBILE_ROUTER for qca6174 and qca6595 when
CONFIG_ARCH_SA515M is enabled.
Change-Id: I26147521d9ad4c180a10589ec82319620d68435b
CRs-Fixed: 3339312
For kiwi_v2 target increase the value of max MLD dev contexts
to three. Define WLAN_UMAC_MLO_MAX_DEV with the new value in
kiwi_v2 defconfig file.
Change-Id: If9f86cbf5c98f69b9f56b0e4226fcf26f2b663c3
CRs-Fixed: 3337651
Disable CFR/EPPING/NAN/more_tx_desc/OEM DATA and
RSSI_MONITOR/APF/P2P_DEBUG/P2P_LISTEN/SPECTAL_SCAN
Update wlan_hdd_debugfs_offload.c for APF compile error.
Change-Id: I8ede890b0b821cec5f03f2ede535f34d8883638d
CRs-Fixed: 3332742
Currently, if fw sends any SAR version that is not having mapping
in host, host advertises SAR version unspecified to userspace.
And if userspace sends set SAR V1 to host, host converts it
to SAR V2 only if fw is configured to SAR V2 or Sar V3.
Instead of SAR version unspecified advertise SAR V1 to userspace
and add changes in host to convert SAR V1 to SAR V2 if fw is not
configured to SAR V1.
Change-Id: Ifd862cf9107ae3bbac9a4336b5c2a03c1bd5bb98
CRs-Fixed: 3326711
Enable NAPI schedule latency histogram stats in debug mode
which helps to debug the NAPI shcedule delay issues.
Change-Id: Idc58a5c2eab6fcb9ac55ab04cf083982d0aed003
CRs-Fixed: 3318049
arch=SDXPINN is a new MDM platform. Hence disable some
unneeded features for it.
Change-Id: I3f2162591a0d0d6278712c325c93fb13b200381e
CRs-Fixed: 3331499
Enable the feature to drop the packets which are
arriving from PMAC on which monitor vdev is not running.
Change-Id: I2a5056f40e961102d01b5776577bd11a551a780d
CRs-Fixed: 3319409
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
Currently, files related to spatial reuse are compiled
based on 11AX feature flag instead of SRP feature flag
and OBSS_PD feature is disabled always.
Fix is to avoid dependency of spatial reuse compilation
on 11AX and conditionally compile spatial reuse based on
SRP feature flag and Enable OBSS_PD feature based on 11AX
feature flag.
Change-Id: Ia5a882f7c842c3c2979da9b73139c59af765d23c
CRs-Fixed: 3306965
Move 11be_rate sysfs entry implementation from HDD EHT main body
to separate source files and define WLAN_SYSFS_EHT_RATE feature
flag accordingly in Kbuild.
All sysfs implementations shall be built only if CONFIG_WLAN_SYSFS=y.
Hence correct dp_tx_delay_stats and the closing endif.
Change-Id: I84aa7fc34aeff932bb51800e70c4c3611bf0d627
CRs-Fixed: 3309689
For kiwi target, there is no MSDU_START tlv, and hence
the tlv information has to be obtained based on MSDU_END.
Enable this flag, which is used for monitor mode frame
processing for KIWI target.
Change-Id: I160133a92b5f8b79573717b53f248c24935a67eb
CRs-Fixed: 3304764
Other config CONFIG_WLAN_CLD_PM_QOS is dependent on
CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH. Later enablement in config
file will fail to enable dependent config.
Change-Id: Ib0234505365d037d7b8fc50df639d93685d1781a
CRs-Fixed: 3305952
Add WLAN_FEATURE_SR to enable/disable
Spatial Reuse support which is futher
dependent on 11AX support.
Change-Id: Iaa6f2a50c073eb279f967b6820bf5551bf100e3f
CRs-Fixed: 3301884