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
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
Enable the below datapath MLO features in Kbuild
- DP_USE_REDUCED_PEER_ID_FIELD_WIDTH
The above feature reduces the width of peer_id from
peer_metadata, thereby reducing the size of the peer
object array.
Change-Id: I58533c241a40184129786f11a47f3722cf005a61
CRs-Fixed: 3059637
Check the existing two connection are in below comibation or not
GO + GO
GO + GC
GC + GC
GO + STA
GC + STA
If the existing two connection are in above combination and third
connection comes as GO or GC or STA then check whether firmware
supports p2p-p2p concurrency or not.
if firmware supports p2p-p2p concurrency and third connection is
GO or GC or STA then only allow the third connection as GO or GC
or STA otherwise do not allow third connection as GO or GC or STA
with above combination.
Change-Id: I0c2408232e84438dc5dd8d104b75fdee126aa31f
CRs-Fixed: 3043845
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
2 threads blocked to wait channel_switch_complete_evt for SAP channel
switch is already in progress, qdf_event_set only woke up 1st thread
later, 2nd thread still kept blocked with hold net_dev for debug id
NET_DEV_HOLD_COUNTRY_CHANGE_UPDATE_SAP, leak happened.
Change-Id: Iad296f68aeaefe5a6b88ad6bea95cc377b2ae515
CRs-Fixed: 3061960
Based on the new NCHO requirement, allow ADDROAMSCANFREQUENCIES to add
roam scan frequencies irrespective of the roam scan control value.
Change-Id: I5742f6d590e3ec51bfb294610ede05b1935a4790
CRs-Fixed: 3046763