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
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
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
Avoid OOB read in dot11f_unpack_assoc_response API. Add check
for when nBuf == len to read another byte of pBufRemaining.
Change-Id: Iccdb0b268d16f4169b8b701ade6085d47897f785
CRs-Fixed: 3042293
In STA+STA case, if SSR happens, driver will clear the
no_of_active_sessions = 0 at the beginning of wlan shutdown
by policy_mgr_clear_concurrent_session_count.
In the shutdown process, one STA will be disconnected and
in the setting PCL of second STA, the no_of_active_sessions
will be decreased to 255 from 0
in policy_mgr_store_and_del_conn_info.
Fix by move the policy_mgr_clear_concurrent_session_count
to policy mgr enable/disable.
Change-Id: I70bcc60fe3030db71376a626d6f9625fe299417d
CRs-Fixed: 3063772
When a sta is being steered, sending a deauth may interrupt the
association/EAPOL handshake on the new BSS.
Do not kickout sta if it is being steered.
Change-Id: I15dd26bca27699087cdb790de8cb95281dade385
CRs-Fixed: 3042990
Add API to set/get ACL policy. Add API to add/delete ACL MAC.
Add API to kickout sta according to MAC.
Change-Id: I329501d4f0c929b6e7933a8e484b5d8493dbbabe
CRs-Fixed: 3042927
Currently, Driver is registering control port over NL feature. But
EAPOL packets are not sent over NL only incase of non-ML connection.
Because of this EAPOL packets are being dropped.
To avoid this, Send EAPOL packets over NL for non ML connection
in the above scenario.
Change-Id: Iabe4e9cf5934ffd28753f99fbef9c5bbce7224e8
CRs-Fixed: 3061152
Currently, sta_info is allocated for MLD address but never freed. Add
logic to free the station info for MLD address too.
Change-Id: If957bb5e77e83f2bf272f2d4d58bd3ab8d5e19e0
CRs-fixed: 3059099