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 host converts SAR_V1 to SAR_V2 if fw supports
SAR_V2 and userspace has given SAR_V1 and host does not check
if fw supports SAR_V3 but userspace has given SAR_V1.
To address this issue add modify code to check if fw supports
SAR_V2 or SAR_V3 but userspace has given SAR_V1. Convert SAR_V1
to SAR_V2 in both the cases.
CRs-Fixed: 3313783
Change-Id: I37efa41ec65684a9bb362c894878525bd71704a5
Currently host only advertises SAR_V1 and SAR_V2 to userspace as
there is no mapping present for SAR_V2 DBS.
To address this issue add support to store and advertise SAR_V2 DBS.
Change-Id: Ic5d68361c4ce7275056117685100e8338466220c
CRs-Fixed: 3312593
Current code has wlan_coex_public_structs.h in qcacld, when it should
be in qcacmn due to convergence of the COEX feature.
Fix this by moving the header file to qcacmn.
Change-Id: Id45c85e0ff492d149cac71c8c0ca5443b879ef15
CRs-Fixed: 3289250
fix dp memory pre-allocation failure as below,
(1) add pre-allocated memory for extra contexts of
DP_RX_RING_HIST_TYPE on beryllium.
(2) add extra RXDMA_BUF type's memory for SW2RXDMA ring and size same
as RX refill ring size for now.
(3) add pre-allocated memory for REO_STATUS & RXDMA_MONITOR_STATUS ring.
(4) add pre-allocated memory for DP_MON_PDEV_TYPE.
Change-Id: I038d946cf1b8c9dc67c1539ea972bda8239def4d
CRs-Fixed: 3314198
Firmware supports CoAP offload for STA mode only in
current stage, reject the request for non-STA roles
to align with that.
Change-Id: Ifa43295d0e800b87d29342038d0a690966a2c238
CRs-Fixed: 3310910
When driver receive auth request frame with FT algorithm,
offload it to hostapd.
When driver receive (re)assoc request whith FT-PSK in RSN IE.
offload it to hostapd.
Filter FT related IE from hostapd, and append it to the end
of the (re)assoc response frame
Change-Id: Id11cce6898615bb6b0cb361ea7b23ea2014f0bae
CRs-Fixed: 4202696
In kernel 5.15 and above a new member is introduced in
station_parameters structure to move link specific variables.
This change will port the driver code to make it compatible.
Change-Id: I3a1a05961bb5e747d946ffa8314319f898ef7b97
CRs-Fixed: 3304240
Add support to invoke TPC power calculation API for
following cases.
1) If there is a country code change but the Host remains on
the same channel. There is a possibility of regulatory channel
power value to change causing overall TPC power change.
2) If set fcc constraint is set. In this case, the tx power of
channels 12 and 13 are updated and if the operating frequency
is one among the two, then TPC power needs to be determined
based on the new regulatory channel power.
Change-Id: I7db368678127ae95709698202c96b72167a57f0d
CRs-Fixed: 3292444
In cm_handle_roam_reason_deauth() API the deauth_disassoc_frame
is validated to avoid NULL pointer dereference and the roam
event is dropped if the frame is NULL. But the firmware can
send the event only with reason code and without including the
deauthentication/disassociation frame. So disconnect indication
event is not sent to framework upon receiving disassoc/deatuth.
Remove the frame check to validate the deauth/disassoc frame.
Update the logic in pe_disconnect_callback to check the deauth/
disassoc frame pointer if length is non-zero.
Change-Id: Ibc612e89d6edbbd40d7c79713197e4121cddc097
CRs-Fixed: 3313804
Control Preamble Puncturing feature via INI "he_rx_pream_punc"
and UL MU-MIMO feature via INI "enable_ul_mimo".
Change-Id: Ib4d6fd10c9e4f46c1baa5070f94d8dddd4978757
CRs-Fixed: 3305742
When using multiple chips, PREFIX is defined as '<chip_name>/',
proc_mkdir function can't create sub directory, fix the issue to
create directory with '/proc/<chip_name>_debugdriver'.
Change-Id: Id70077247401f5b92ff5c72c813c955e1cf5feb7
CRs-Fixed: 3305100
Add check to ensure that the ML links are in 5 GHz + 6 GHz
band to enable EMLSR mode. If either of the links are in
2.4 GHz band, do not advertise EML caps in assoc req frame.
Change-Id: Ic3118ac9370931c0c524d68d90e9fc2ad3000ff6
CRs-Fixed: 3300127
Add INI g11be_oui_allow_list to config 802.11be AP oui which
is allowed to get connected in 802.11be mode.
If the INI is empty, all the ap are allowed to get connected
in 802.11be mode. If INI is set to "ffffff 00 01", then STA
is not allowed to connect to any AP in 802.11be mode.
Change-Id: I98e545ba909c1746237a20c365f8297f16fe666f
CRs-Fixed: 3304021
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
Check for HESIGA_VAL15_ALLOWED bit before enabling SR prohibit
in SR control field
Change-Id: Ie902941c7642d76901adbf5d685265c0552a814c
CRs-Fixed: 3308160
Add async event for Spatial Reuse and also send Spatial Reuse
enable / disable event to upper layer due to same MAC concurrency.
Change-Id: Idcb5b99e39f1810e63ae7ac1e8d2eab6028a163f
CRs-Fixed: 3307801
Add check for concurrency with SR, if SR with concurrency
is not enabled then disable the SR on existing VDEV as soon as
new VDEV is up.
When this new VDEV is disconnected, then enable back the SR on
the previous VDEV.
Change-Id: Id6aee592b889bb7006efb44420e6d272212e13ba
CRs-Fixed: 3306181
Send WMI_PDEV_PARAM_SET_CMD_OBSS_PD_THRESHOLD during PDEV
init with disabled PD-Threshold value to initialize SR related
registers in HW.
Change-Id: I49e73c76974e098b6dfbf647a898b53abf8ea2ba
CRs-Fixed: 3306179
Add below two enhancements for SAP
1. Spatial Reuse enabled in single MAC concurrency
2. Set bit HESIGA_Spatial_reuse_value15_allowed in SRP IE
Change-Id: Id2d3d04ae1b3b9a2e6d84f30749b577bc7b79061
CRs-Fixed: 3305447
Currently while processing SRP IE, only pd offset
of NON-SRG is updated. Add SRG pd min and max offset
in vdev mlme, so that it can be fetched while sending
enable command and while updating SR params to userspace.
Change-Id: I5d6483b5e018b036539b981021b2f32eaf02ea74
CRs-Fixed: 3309161
Set vdev spatial reuse variables based on SRP IE received as:
1. Part of association response frame when STA is connecting
2. Part of Probe-Response / Beacon frame once the STA is connected
Change-Id: Ib4f889e94d4951293dfa5bc93d2dcba61e5c89ff
CRs-Fixed: 3306201
Send NON-SRG and SRG PD offset,
HE_SIG_SR_Value_15_Disallow and
Non-SRG OBSS PD SR Disallowed from SRPIE
and SRP_CTRL attributes of the connected
AP.
Change-Id: Ic43876a4ee7c6ded8ad75937671790acb06e6647
CRs-Fixed: 3304744
Add support to handle GET_STATS and CLEAR_STATS
operations of VENDOR_SUBCMD_SR.
Change-Id: I89cdcc3e7d8104c9da1c95f7b63cde799e11d117
CRs-Fixed: 3304742
Add support to parse VENDOR_SUBCMD_SR and to parse
nested attributes OPERATION and PARAMS and to handle
ENABLE operation, Disable operation and prohibit
operation. Enable opeartion may have PD threshold
or in case vendor command doesn't provide PD threshold
host will send PD threshold advertised by AP.
Change-Id: Ie98a1b8681f41f3a63523ac40b5cfb688a7b0cb0
CRs-Fixed: 3299042
SPMK global cache in the vdev private is persistent
across connections. Therefore, in cross-ssid roaming
cases with different AKMs, SPMK in the global cache
will always be sent to the firmware in RSO start, even
for non-SAE connections. This causes roam failure.
Reset the spmk global cache for every new connection.
Change-Id: I03deefe16242ef79d0985a8c05881914e6f7af01
CRs-Fixed: 3310182
Add changes to enhance the debugs in the RSO path,
to identify the current pmk stored in the rso config.
Also, restrict the PMK dumps to a minimum size of 2.
Change-Id: I6e89afed45f5d43b45508ae43b59400a6e24e5ef
CRs-Fixed: 3312677
Handle twt renegotiation failure scenario when there is
error reported by firmware as part of
wmi_twt_ack_complete_event_id event.
Change-Id: I91e4bfd8f08ae81b474354c90ab8c770dcdfe19b
CRs-Fixed: 3297783
TSF sync routine stopped due to host suspend and post wlan resume the TSF
sync peridic timer resumes. Old host to TSF mapping data being used for
use cases which may be invalid as it was captured long back. Hence Restart
the TSF sync soon afer wlan resume to synchronize at the earliest.
Change-Id: I141755e23fe288fb31925c8d87f37cfccced0203
CRs-Fixed: 3303130
Currently host driver does not update phy mode in link adapter.
When host driver gets country update or set fcc constraint
command it tries to check if there is any change in phy mode
for all the connected adapters. Since link adapter is connected
adapter and at the time of connect success driver does not update
phy mode in link adapter, this check fails for link adapter
and host driver issues disconnect.
To fix this issue, update the phy mode correctly in link
adapter as well at the time of connect success.
Change-Id: Ia208fa183c8d1fa7f902cb614bf9ca704bc30ed6
CRs-Fixed: 3313529
Presently host don't know whether event is rsp to the command
or async event from FW.
Handling req and async events with new enum
wmi_oem_data_evt_cause added in FW to represent event causes,
WMI_OEM_DATA_EVT_CAUSE_UNSPECIFIED,
WMI_OEM_DATA_EVT_CAUSE_CMD_REQ,
WMI_OEM_DATA_EVT_CAUSE_ASYNC.
Change-Id: I31a3f415fed64dc6231ca0eb29de5b80c94493f3
CRs-Fixed: 3305281