This change fixed compilation issue when defined macro
WLAN_FEATURE_CONNECTIVITY_LOGGING but no WLAN_FEATURE_ROAM_OFFLOAD.
Change-Id: I78f58c2bcfffb66ddf9390a8d724821faa90563c
CRs-Fixed: 3066954
This change fixed compilation issue about the 64-bit division in
sdxlemur - a 32-bit architecture, which is not defined
"__aeabi_uldivmod" for the 32-bit architecture.
Change-Id: Ief75e7903fe301f5641fa4f734dc8129a7501b7e
CRs-Fixed: 3067887
Sometimes 'qdf_event_set(&hostapd_state->qdf_stop_bss_event)'
is invoked from 'wlansap_stop_bss' in other thread before
invoking 'qdf_event_reset(&hostapd_state->qdf_stop_bss_event)'.
Then 'stop_bss_event' timeout happens even if 'qdf_stop_bss_event'
has been set.
To fix this issue, make sure 'qdf_event_reset(&hostapd_state->
qdf_stop_bss_event)' happens before 'wlansap_stop_bss'.
Change-Id: I2e591290453e0a6463f04680fd8c476738ae8a65
CRs-Fixed: 3060404
Currently sta assoc confirm is sent to HDD for every link, so sta
delete confirm should be sent to HDD for every link too.
HDD layer needs sta assoc and delete confirm notification from lim.
Change-Id: Id46078db13f7dc569bb4466dfe685ad1a9ab7cea
CRs-Fixed: 3064782
UL MU is not enabled in 5G HE capability.
HE global configuration is populated by averaging
all the hardware modes capabilities. UL MU is disabled
in 2G mode so global capability UL MU is disabled.
Modified code to obtain the UL MU capability from 5G specific
capability structure.
Change-Id: I949b121a4ae7e72228ea0efdec08144a8ad85f20
CRs-Fixed: 3065515
For the WTC BTM roam trigger, BTM response is not printed.
So print the BTM response logs for WTC BTM frame also.
Change-Id: I679697ec08a42a862c251175261162bc95206d03
CRs-Fixed: 3062727
Along with 11BE feature macro, check for Kernel 11be macro to avoid
compilation issues when kernel doesn't support 11be.
Change-Id: I9fb84b6263cbdca4cde93e3a581acdbfe0fe2b34
CRs-Fixed: 3066175
Currently the state control param thread is unblocked 1st and then
the psoc transition is completed, there could be a chance that SSR
thread got scheduled out and wifi thread tried to comeup and issue
interface up which could fail because psoc transition is till in
progress.
So, unblock the wifi thread waiting on state control param after
stopping the psoc transition at the end of SSR.
Change-Id: I4631fb9aae6a5416ba70b24fe3c053528bd3b7d9
CRs-Fixed: 3066968
Few of the hdd tx stats are not collected on per cpu
basis due to which these counts could potentially be
lower than the actual values. Collect some of the tx
stats on a per cpu core.
Change-Id: I8eba5df456866bdd50dc5fcfdb9591ac837d9116
CRs-Fixed: 3059303
The RF test mode cfg item is kept as 1 by default and no action is required
during init if it is set.
Change-Id: Ieb561fb81f77470c45df46ee2319ff51c05df742
CRs-Fixed: 3056554
Firmware might send NDP peer indication/NDP responder response
while NDI deletion is in progress. Currently, NDP peer entry
gets added though vdev is moved to DOWN state and cleanup is
in progress. This leads to stale peer entry on that NDI vdev
and doesn't allow vdev delete when IFF_DOWN comes, as a peer
is present.
Check the vdev state before creating peer for NDP and skip
peer creation if NDI vdev is not in UP state(which indicates
that the vdev down is happening).
Also, don't process the NDP confirm if NDP peer is not created.
Change-Id: I73e79cc33b1a294e3f4a4a6e2f371033862c5709
CRs-Fixed: 3061756
While logging, scoring info freq param is not updated.
Fix is to add freq info in the log record sent to supplicant.
Change-Id: Id3c0d154e245376f494970c99589db0c3d37f7ac
CRs-Fixed: 3065693
RSO for connected STA(s) will be disabled before SAP CSA,
and re-enabled after channel switch complete event received.
In case SAP disabled after CSA request sent, but before
channel switch complete event back, RSO on other connected
STA(s) will be disabled always.
Re-enable RSO properly when SAP disabled.
Change-Id: I64a628f6af5a3ec7cbc278461b983c751498f579
CRs-Fixed: 3065852
In current scenario, SAP is unable to switch from 2.4GHz to
5Ghz if previous CSA happens with reason CSA_REASON_CHAN_PASSIVE.
For instance, SAP starts on 5Ghz with Country US, and later it
changes to country 00 after MCC. Since in country 00, all 5Ghz
channels are passive, so SAP switches to 2.4Ghz with reason
CSA_REASON_CHAN_PASSIVE. Again if MCC happens to country US then
SAP is unable to switch from 2.4Ghz to 5Ghz. This is because
chan_freq_before_switch_band and chan_width_before_switch_band
are not filled in CSA_REASON_CHAN_PASSIVE case.
As part of fix, in wlansap_get_chan_band_restrict(), update the
chan_freq_before_switch_band and chan_width_before_switch_band
incase channel switch reason is CSA_REASON_CHAN_PASSIVE.
Change-Id: I9610b17cff3f6e0e5257270d2fccd5586c9913f9
CRs-Fixed: 3055017
As requested by OEM, change PAGE_FAULT log string to PF so as
not to confuse it for a critical problem for OEM.
Change-Id: I4057513670b348dd772b42777b5623722eeafc45
CRs-Fixed: 3064527
Withe latest changes, fils APIs are invoked for non-fils connection
as well. To avoid unnecessary logging, remove error logs when fils
IE is not present.
Change-Id: I8a5a03f4df4bc25b9b89f43fe0ab135b1bdd58a7
CRs-Fixed: 3063130
Add fisa support to least recently used flow when adding a
new flow. if no empty entry in skid length window is found.
Delete and replace least recently used flow with new flow.
Change-Id: I3808d9b4570c8af698bb1ecafa19cbb2000bcae6
CRs-Fixed: 2954064
Host sends twt command to fw and waits for ack event from fw. If
host receives the ack event as failure then it should send proper
return value to supplicant instead of success.
As part of fix, host should send proper return value to
supplicant.
Change-Id: I32fd1a688dc22d4c5221fea375e22e8a8c701e7c
CRs-Fixed: 3064089
Currently, we are updating tx failed based upon
MPDU tx fail count received from FW.
In addition to the fail count received from FW
add MPDU tx retries done in case of successful
transmission to tx failed.
Change-Id: Ib993c71a99dd4d59df116a454336716352122a8e
CRs-Fixed: 3058364
As ref-STA peer not created yet when handling assoc_req frame,
don't delete peer if DUT decide to reject the incoming
association request.
Change-Id: I3532545c9c6f498a2649bd943e3d45c49a1ce3e6
CRs-Fixed: 3064763
When ADDROAMSCANFREQUENCIES is received, the specific channel
list is not flushed in the driver. This causes the static
channel list to be sent to firmware.
Flush the specific channel list when the ADDROAMSCANFREQUENCIES
command is received.
Change-Id: Id0422f9c5a4b10530fecc309a78cedf9adbc43af
CRs-Fixed: 3063734
Add Ini to Disable/Enable SBS.
Also, if INI is set then only set
the fw mode config bit corresponding
to SBS.
Change-Id: I839990dcd9bd2daf3df2c64abe5fa74a99c73051
CRs-Fixed: 3065084
For beryllium, use sw_exception bit to indentify is it FW
reinjected frame or not, if sw_exception bit is marked, then
skip FISA for these kind of frame.
Change-Id: I6ca74c244c366641a7bcfddff2834550b1e5b472
CRs-Fixed: 3056157
Update element ID extensions for EHT op, ML, and EHT cap IEs
to 106, 107 and 108 respectively as per current ANA database.
Change-Id: Ifa2335f0b731a9f0a47ba1e2de3232c35a3493f9
CRs-Fixed: 3036101
Avoid OOB read in sch_get_csa_ecsa_count_offset API by
adding check for ie_len before subtracting element ID len
from it.
Change-Id: Id86e69b2c5abc37a4f33125dc5fd0bd1d92f64a7
CRs-Fixed: 3049251