Add support for below SON peer ops:
PEER_SET_KICKOUT
PEER_SET_EXT_STATS
PEER_REQ_INST_STAT
PEER_GET_MAX_MCS
Change-Id: Iafadd17d6a13cfbba2884e50a0432c34115cd7f7
CRs-Fixed: 3141862
When the country changes, there is a check to see if the current phy
mode or freq or ch width is not allowed, in which case, disconnect
the adapter. However, this check can run even if the adapter is not
currently connected. Add an extra check to see if it is even connected
first, before checking if disconnection is necessary.
Change-Id: Ic4243fd85205e930e49d6f8f9f0e4399851e870a
CRs-Fixed: 3139370
Currently refill thread is not getting chance to update
refill buffer pool, which is causing the increase in
rx thread time.
To fix issue move refill thread to performace cluster.
Change-Id: I839352ff09da692f801e97f7938a67ab8f09742b
CRs-Fixed: 3138081
SAP sets up on 5180/20Mhz, freq 5180 becomes unsafe, channel
switch from 5180/20Mhz to 5200/20Mhz. Then STA connects to
5180, channel switch from 5200/20Mhz to 5180/80Mhz because of
CONCURRENT_STA_CHANGED_CHANNEL. Then STA is disconnect and
causes channel witch from 5180/80Mhz to 5200/80Mhz. This overlaps
the unsafe channel.
To resovle this issue, check the unsafe channels when csa reason
is unsafe channel.
Change-Id: I476d3a0b998e3bdceda6e388329158a7ec95c63b
CRs-Fixed: 3136637
Add NULL check for vdev in hdd_stop_sap_set_tx_power and
sync_ind NULL check in cm_roam_sync_event_handler.
Change-Id: I1a760cdd17975403f48b75459ecb5ea9ac3e9d77
CRs-Fixed: 3144140
Add device information like device id etc to driver ops.
This device info tells platform driver about the devices
supported by CLD driver during driver registeration.
Change-Id: I6fdd34487db14c8ec43b35b3b75a4dc4e32f8add
CRs-Fixed: 3129895
wlan0 on 5180, wlan2 on 5180, wlan1 on 2462. wlan1 conf file
has ACS “freqlist=2457-2472,5180-5945”.
When LTE unsafe event comes, it marks 2457, 2462, 5180 unsafe,
wlan0 changes channel to 5200. wlan1 has no available 2G channels.
It selects 5G channel 5200. But 5G has two vdevs already, then
Concurrency check failed - drv doesn’t support 3 home channel.
wlan1 keep active on 2457, but driver doesn't continue to check
wlan2's channel and do CSA to safe channel.
Fix by checking the wlan1's CSA status and if status is failure
then do unsafe channel check for 3rd wlan2.
Change-Id: I28e9397436780cf47e57a47482b729a42fb728f0
CRs-Fixed: 3136773
The issue is: If STA is connected to a 2.4Gh AP with such a
high RSSI (say around -30dBm) then STA immediately triggers
a high RSSI roam scan.
As per the current design, when connected AP's RSSI is better
than the (gNeighborLookupThreshold - gRoamScanHiRssiDelta),
STA should not trigger HI-RSSI roam scan.
Here default value of INI "gNeighborLookupThreshold" is 78 and
default value of INI: "gRoamScanHiRssiDelta" is 10.
Fix is to allow HI-RSSI roam trigger only if AP RSSI is worse
than gNeighborLookupThreshold - gRoamScanHiRssiDelta.
Change-Id: I7a0d2302a71656b5238bfeea8c2a6ebcd3716ab9
CRs-Fixed: 3128235
Replace blacklist/whitelist with denylist/allowlist in
qcacld3.0. and replace blm with dlm.
Change-Id: I9ba61dde3b3ea008ca3777448d1f8dab83d33ec1
CRs-Fixed: 3091211
Host maintains RSO state machine only for assoc vdev as it's
good enough to have only one state machine. Thus host sends RSO
stop request to firmware on assoc vdev though actual disconnect
started on link vdev. Firmware also sends response on the
same vdev. But disconnect has to be resumed for link vdev as
it's paused and waiting for RSO stop response. So, fetch link
vdev from assoc vdev and continue disconnect.
Change-Id: Ib2bc2610a03ba94408d6241d48756872c5ee2ad6
CRs-Fixed: 3135907
Update Kbuild with SON binaries based on SON config flag
and GENERIC_DATA policy with proper length
Change-Id: I60d06b3bdcc600095d7e9ad779e9b779f5477e33
CRs-Fixed: 3136142
Currently, driver state control param write only support WiFi On/Off.
There is no provision for user space to know that whether the driver
recovery is complete or not.
To address this, add support for WAIT_FOR_READY string in the state
control param write. Whenever WAIT_FOR_READY string is written to
the state control param, driver should wait for ongoing recovery
to complete and then return.
Change-Id: If97c44497f1bbe69683b7483c179f9dc14fa75f1
CRs-Fixed: 3141194
Define PASN authentication algorithm enum.
PASN authentication is offloaded to userspace. So
forward the PASN authentication frames to supplicant.
The PASN authentication can also be received when the
pe_session for the vdev is not created, so don't drop
the PASN frame when pe session is not found.
Indicate the PASN authentication frame by invoking
cfg80211_rx_mgmt() call. In PASN management frame
TX path, allow the PASN frames to request ROC
and configure RX filter to firmware to receive
frames with address other than the vdev address.
Change-Id: I0903285c1e5c1982ed6317d9418dd2a1f2b30abb
CRs-Fixed: 3139604
During pe_session creation, the vdev maybe deleted and "get"
vdev by wlan_objmgr_get_vdev_by_id_from_psoc in pe_create_session
will be failed.
In this error case, lim_free_peer_idxpool needs to check vdev
valid before access pe session vdev ptr.
Change-Id: Ia03df566c1d90d3b0fe30d082861d10de4098f90
CRs-Fixed: 3141675
"concurrency_mode" is updated during MLO link adapter register but
not cleared during unregister.
Clear the link adapter's device_mode from "concurrency_mode""
during hdd_mlo_close_adapter.
Change-Id: Iaf301f1704fe587fe75c5703ec3e239ee44bd724
CRs-Fixed: 3142122
Currently, in twt get status command, params->peer_mac is used
check if twt setup exists for this peer mac, but if the input
is broadcast dialog id then params->peer_mac gets updated to
broadcast mac address and twt setup done check fails.
Fix is to use local peer mac address for twt setup check.
Change-Id: Iee98091bc86cfd48471b07464cda39666dd17ee3
CRs-Fixed: 3138601
Add MLO support in Authentication frames for ML STA and SAP,
as per Draft P802.11be_D1.3
Change-Id: Ic2c5814b7f8bb1938d9e8bb6681d92085f7f55ef
CRs-Fixed: 3136984
Add MLO IE in Authentication frame for usage in
dot11f_unpack_authentication API.
Change-Id: I5fd7297de233970ee5e7fd893539a8f80cbe6461
CRs-Fixed: 3142275
Register callback to classify critical packets with DP layer during
cdp_vdev_register. This callback is needed to classify critical packets
during the forwarding path for SAP vdev.
Change-Id: I5f109c7a4bd37e2544d8e3bbd410147a8d6963c8
CRs-Fixed: 3114436
Currently for softap case in hdd_softap_register_sta, we are calling
cdp_vdev_register for every STA. This is not desirable, since
cdp_vdev_register needs to be called only once for a vdev. Similarly
netif queues needs to be enabled only once when softap comes up.
Call cdp_vdev_register and wlan_hdd_netif_queue_control only once in
hdd_softap_register_sta when broadcast STA is registered.
Change-Id: I63b81f5ab994bc001e6c281f12a0979734ec537b
CRs-Fixed: 3114436
Currently there is a overlap of functionality between
hdd_wmm_classify_pkt and wlan_hdd_classify_pkt.
Move most functionality in hdd_wmm_classify_pkt which gets called during
hdd_select_queue.
Change-Id: I1eb735ecd2dfd7b6df6e78a134e7d16ee396b0f0
CRs-Fixed: 3114436
On 11be MLO disabled platforms,
- Add checks in mlo roaming api's for to avoid NULL access.
- Add empty inline function definiations to be used
when 11be MLO flag disabled.
Change-Id: Idc906164279e74530dcf8bdc670464be8ce8c57e
CRs-Fixed: 3141792
Add check if sap_ctx->chan_freq_before_switch_band is valid
active channel for that country. If yes, the chan_freq_before_switch_band
channel can be used for new CC, otherwise host should skip the
chan_freq_before_switch_band.
Change-Id: I4ac2fee1dd584abba0708c2b7ef0826f384acb2d
CRs-Fixed: 3136454
optimize logs in one line for func sch_set_fixed_beacon_fields,
to avoid printing in loop
Change-Id: I8cb0bf44bcfec811387cfc4f682d1d8a94b9a12d
CRs-Fixed: 3134768
Currently, for DBS HW fw goes off channel for
400 ms in case of NDP and 450 ms in case of NAN
due to which beacon is not sent in DW window.
Fix is to Limit max ROC duration to 350 ms in case
of NAN and NDI for DBS hardware to improve NDP
setup time.
Change-Id: Iaf5c90a386d2742cdc8f24305756a3691ac70431
CRs-Fixed: 3141393