Remove the usage of csrPersona from csr_roam_profile
and the unused wlan_sap_get_roam_profile function.
Change-Id: Ic7621c5e178a141b7e6e9d820d71fadfbff071ed
CRs-Fixed: 2998988
In connected STA scenario, tcp_adv_win_scale is reset to 1
on runtime suspend. If any TCP connection gets initiated, the
SYN packet will cause a runtime resume. The bus bandwidth
work gets scheduled ~100msecs after resume is done. This
can result in a smaller TCP window value to get used for
the TCP connection initially and the window size does not
increase even with tcp_adv_win_scale updated to 2 as part
of bus bandwidth work.
Fix is to not reset the tcp_adv_win_scale config if any
adapter is connected on runtime suspend.
Change-Id: If10a1e1fd0efc8217f8136a60cfb01b03485a21d
CRs-Fixed: 2969041
tcp_adv_win_scale value does not get reset to the default
value by cnss daemon for WLAN_SVC_TP_LOW throughput level.
This could result in undesired behavior if the tcp param
value is used for TCP connections after disconnection or
wifi turn off.
Fix is to use the previous WLAN_SVC_TP_NONE level to
reset the tcp_adv_win_scale parameter.
Change-Id: I3d312abc2a873a7b35d8a411c60bce7832742c4b
CRs-Fixed: 2995589
from csr_roam_profile
In the SAP module, remove the usage of ch_params and
op_freq from csr_roam_profile. Instead, the SAP module
uses ch_params and chan_freq from sap_ctx.
Change-Id: I26ff00286b8e0cec33d3a63098f93d4000684df0
CRs-Fixed: 2998985
In the SAP module, remove the usage of phyMode from
csr_roam_profile. The SAP module uses phyMode from
the sap_ctx directly.
Change-Id: I6ca484901f29dfa35405dcdcb88e25cc09f498d6
CRs-Fixed: 2998982
Populate EHT PHY and MAC capabilities from target to
tDot11fIEeht_cap structure.
Change-Id: Idf0af3c78afafcd5682760cdfd23bacd3c1dff76
CRs-Fixed: 2998861
If EHT cfg is not present, there's no need to populate EHT PHY
and MAC caps to wiphy.
Change-Id: If4d002976f23d1fb847c7976cce6d2c1d5c42260
CRs-Fixed: 2998476
In sap standalone on 5G channel, when LTE unsafe event
shows the SAP working on unsafe channel, SAP moves to
2G channel because the current logic will select
safe channel from ACS list.
The preference is 5G safe channel if available.
This change will select safe channel in same band firstly
from the list.
Change-Id: Ibc45a05845692b0dd8a02fd98aef2f7b15d00729
CRs-Fixed: 2996401
For STA+P2P concurrency case, once p2p disconnect, STA max tx power is
updated in F/W too per SAR by design, app can't correct it since reconfig
same max tx power as original is refused by driver.
Fix by not comparing cached max tx power for each vdev in driver when set
max tx power, can set same value as original again to F/W directly.
Change-Id: Ic417946006f07be40aa34f1dc022d7fb5c4aa213
CRs-Fixed: 2996316
There is wrong logic and won't define CONFIG_AR900B for HSP platform.
So add this change to correct the logic and define CONFIG_AR900B
properly.
Change-Id: I60e3bf0a0f9778a821bbe89289cf88f4dbc432e0
CRs-Fixed: 2996497
Use wlan_cm_is_vdev_roaming() API in wma, instead of
wma->interfaces[vdev_id].roaming_in_progress.
Change-Id: Icb88246b2c45c052a1d42dece4983b1e534fe608
CRs-Fixed: 2993180
Preauth ROC timer is LIM_FT_PREAUTH_SCAN_TIME which is 50 ms, while
the preauth timeout is 1 second, in case of offchannel operation
scan complete firstly before auth resp frame received, host doesn't
stop the preauth timer or indicate that preauth req is processed,
before sending resp(failure) to connection manager. Thus if auth
resp is received after scan complete, it is processed and create
pe session which won't be deleted later.
Fix is to not initiate the failure from scan ROC complete but let the
preauth timer take care of the failure.
Change-Id: Ib93b4d2c6c6f0044535a8f41af0ef4baeaf468f6
CRs-Fixed: 2992079
Currently intermediate EP vote access is set without checking
for previous state and reg work handler completion.
In some of the error scenarios when resume is triggered from
suspend path, EP vote access is still enabled and work handler
will be scheduled for register updates.
So make sure reg work is completed before setting intermediate access.
Change-Id: I7a1e55c188b9a9e85309dd44ac03651181499674
CRs-Fixed: 2994039
In case of deauth received when HO disconnect is in progress,
the pe session for BSSID may not be found and thus the disconnect
returns without cleaning up the ft session.
So check and cleanup the ft session before returning.
Change-Id: I2661b987d0d2498d8ceaefedcc6b945a7c033f30
CRs-Fixed: 2994624
Enable CONFIG_MOBILE_ROUTER SA415M Platform for Rome Genoa
and Hasting, same as SA515 Platform
Change-Id: I7f0899c562ea8447296f3ddd1b237ea0d6a1b962
CRs-Fixed: 2924075
Currently color bss is disabled if color bss is set before
channel change.
This change is to reinitialize color bss values to trigger
color bss detection in firmware.
Change-Id: If5688519e147b2b8a88b622090861ba4cac9067f
CRs-Fixed: 2992617
In OKC enabled cases, when multiple pmk entries exist, the user
space sends set_pmksa command for BSSID other than the connected
bssid. In that case driver updates the global pmksa cache with
the new PMK received for the non-connected BSSID. This results
in invalid pmk sent to firmware.
To avoid this, update the pmk cache only for connected BSSID.
Change-Id: I006595ea5b913d439007a8fb9d767454a71eeac1
CRs-Fixed: 2937182
SAP/GO clients connected D3 Wow feature is only supported when IPA
is disabled and hence add dependency note to display the dependency
between SAP/GO client connected D3 WoW feature and IPA.
Change-Id: Icca4de1082090f5d740acf3b2b449b425b19ffce
CRs-Fixed: 2996992
In cm_roam_switch_to_init(), vdev returned from the api
wlan_objmgr_get_vdev_by_id_from_psoc_debug() could be NULL.
Vdev is dereferenced without NULL check.
Validate vdev against NULL before dereference.
Change-Id: I42ff6943e568f16b78290a3310a8999d26c15af9
CRs-Fixed: 2996914
Add CONFIG_WLAN_TSF_UPLINK_DELAY option for uplink delay feature
and enable it on WAIPIO.
Change-Id: I91f8433e853efb177bb1d9aea42cdc7f625a0d4e
CRs-Fixed: 2996368
qcom-iommu-util.h is a QCOM only file for MSM platforms, so only
include it when MSM_PLATFORM is defined to avoid build issues
from other non-QCOM platforms like X86.
Change-Id: I5f32fbe05abe4d7aff451031f0859f774ce1c507
CRs-fixed: 3721214
Enable CONFIG_HIF_CPU_CLEAR_AFFINITY flag to
change rx_err_ring irq cpu affinity.
Change-Id: I3d2475210ffd5ac6acef7e0418eef26cf92e1302
CRs-Fixed: 2950630
For ETSI, CAC duration is different between DFS and weather channel.
Update cac_duration_ms and dfs_regdomain in sap_ctx before
switch to new channel, to avoid DFS CAC duration used for
weather channel, or vice versa.
Change-Id: Ie83779b9948bdd3bd212994c2438257793a9e347
CRs-Fixed: 2995526
Update dot11f pack/unpack APIs for MLO IE and sta profile
subelement. Initially these APIs had break statements under
else condition for optional fields that prevented pack core
API being invoked for sta profile. The parser generator tool
code is modified to remove else condition for such optional
fields for the MLO IE.
Change-Id: Ieb9ff2ec7da5d4e6056aa4db80240aa847366882
CRs-Fixed: 2996635
When triggering or receiving deauth/disassoc frames, free the peer
and its partner peer
Change-Id: Ibfa1c9e471f36537d25e6110529477c61cf89b7e
CRs-Fixed: 2973319
Add path to enable the MLO capability flag when sending the peer assoc
command.
Change-Id: I9bfe8472ca0febbd98d3ddb999b4dc4f6c3e10f2
CRs-fixed: 2976191
chload is to indicate channel load condition and it is added
in LL radio stats vendor event.
Change-Id: I9371bf69f69ed62cc9dc97b6b2903e631b748ed4
CRs-Fixed: 2990982
Sometimes TX/RX pkt statistics workqueue may be delayed.
The workqueue interval value is pre-defined and is used
for bandwidth vote. If the interval is inaccurate, whole
pkts statistics are not accurate, bus bandwidth vote is
wrong also. This change is aimed to use absolute workqueue
time delay instead of pre-defined value to get accurate
packets per milliseconds result.
Change-Id: I2b730fc36d4b5c42742ed9107d9a7e1f95eb4988
CRs-Fixed: 2976857