Intersecting EHT beamforming configuration from ini and FW
indication, then save it to eht caps of mlme.
For sta, update mlme EHT beamforming configuration to FW
through WMI_VDEV_PARAM_SET_EHT_MU_MODE directly.
For ap, intersecting mlme EHT beamforming configuration and user
configuration, then send result to FW.
Change-Id: I3d6185896af9fc58eb1fb6db913d4a425f72c696
CRs-Fixed: 3113235
Cleanup csr_get_cfg_dot11_mode_from_csr_phy_mode API by removing
unused parameters and use vdev id instead of profile.
Change-Id: Id2c8b52845d5e928e315b3af0a3d1289e81b2e7e
CRs-Fixed: 3113395
Currently, ML adapter info is being accessed only 11BE_MLO feature macro.
This will result in compilation error when, 11BE_MLO is enabled in the
driver but not in the kernel.
To resolve this, check for kernel support for 11BE along with driver
support for MLO.
Change-Id: If3a1f0837483229b94de4036eea5dc08f76f0754
CRs-Fixed: 3115872
Interop issues ap sends vendor event to user space, in FTM
mode vendor events are not initialized which leads to undefined
behavior in kernel if try to send a vendor event if vendor events
are not initialized.
To address this issue, do not allow interop issues ap operation
in FTM mode.
Change-Id: I525dc5ed20a3e615383c535ef65ac7908ede75d4
CRs-Fixed: 3098426
Currently the expectation from host is that user space needs to
set dynamic mac address only before start_ap in case of SAP.
In driver there is no such check to reject set mac address
command if SAP is already in up state which leads to unexpected
behaviour at fw.
To address this issue add a check in host to reject dynamic set
mac address command for SAP mode if SAP is already in up state.
Change-Id: I8f5456490574288afba86ec3a732b3dc7ed65bce
CRs-Fixed: 3109470
Set tx power for SAP interface if it is unsafe channel and
if user sets restriction mask.
If interface unable to find safe channel and if restriction
mask is set then stop the SAP.
Change-Id: Ibdec18b9b749f18b1e9d704974f4cbaabbc4e613
CRs-Fixed: 3103307
Currently coex unsafe freq event is honored from firmware using
"wmi_wlan_freq_avoid_event_id".
As per requirement, add ini to don't honor coex unsafe freq
event from firmware and use the coex unsafe freq list from
vendor QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT.
Change-Id: Ia3acbc133cab4865d8ad69992e893be91439f705
CRs-Fixed: 3114742
This change is to parse coex unsafe freq list from
command QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT.
Change-Id: Id9122841cc6a0c4beaa660e5cb96013f06138107
CRs-Fixed: 3103318
For AP/P2P GO mode, API wlan_hdd_cfg80211_dump_station() is designed to
return multiple records in a loop until the last record is returned. So,
return -ENOENT if there are no more entries to dump.
For STA/P2P client mode, it is designed to return self record.
Add checking index, it should return -ENOENT for station/p2p client mode
if index not zero. Otherwise, kernel will repeatedly call dump API.
Change-Id: Ic84c08c8edf5f0590c6e2aef97074097fd739798
CRs-Fixed: 3112477
There are several IE with the same EID 221. If any 221 IE of reported link
is different with reporting link, every 221 IE should be populated in per
sta profile of mlo IE.
Change-Id: Ia8f2d0f68829ccee558c64dbf5b58d4b9925b0ea
CRs-Fixed: 3106339
If interop with AP H2E flag not match with STA, like AP don't have
RSNXE but STA has, don't add RSNXE in reassociate request when roaming.
Change-Id: I592baf5d0c5af25ccb817d38873147e4fe719e60
CRs-Fixed: 3104528
NDP peer gets created as part of NDP indication in case of NDP
initiator. But NDP may fail to form due to various reasons and
firmware may send NDP confirm with reject status in such cases
instead of NDP indication event.
Below is the detailed scenario,
1. On initiator side, it has sent an NDP request and is waiting
for NDP response.
2. On responder side, application/framework is preparing to send
NDP response with reject due to some config mismatch. At the
same time, NDP termination is also issued. So NDP termination
frame is sent successfully.
3. Initiator firmware receives this NDP end and it sends an NDP
confirm with REJECT to the host and it shall clean-up the
session.
Currrently, there is a check for the peer existence while
indicating this NDP confirm status to framework. There is no need
of this check in such failure cases as peer is not yet created.
Change-Id: Ibe94a5b67df1ce3d65eaf2ef37b11b08155752c9
CRs-Fixed: 3086975
CONFIG_WLAN_TWT_SAP_STA_COUNT and CONFIG_WLAN_TWT_SAP_PDEV_COUNT
are missing for HMT config.
Add this two macro in HMT config
Change-Id: Ib72c91e720711e72761f0a5526fd48c1e6e2ea1b
CRs-Fixed: 3099486
Currently, when bus resume is triggred by host then host waits
for resume event from fw and in case of failure QDF_BUG is
triggered but QDF_BUG is triggred in case of timeout/fw doesn't
send resume event within 4 seconds which may cause unwanted
crash instead of self recovery.
Fix is not to invoke QDF_BUG in case of failure to avoid
unwanted crash instead of self recovery.
Change-Id: I34a2fa9374d35beff719499557f5fbc78ced28d8
CRs-Fixed: 3110014
Check mandatory freq for SAP only if STA is present.
Also allow SAP on a freq which can lead to SBS with STA freq and is
in mandatory freq list, if gWlanMccToSccSwitchMode is set to
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL.
Allow ML SAP (SAP+SAP) on valid channels if gWlanMccToSccSwitchMode
is QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL.
As QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL is only valid for
STA+SAP case.
So if STA is not present skip the mandatory freq and allow ML SAP
on original freq.
Change-Id: I6e8cbc7f944b2fa99c1449c288b9593cc4ad9454
CRs-Fixed: 3114208
Add logic to check if OCI element in SA query request/responese
valid or not while host and peer both OCV capable.
Don't transmit SA query response when SA query request with
invalid OCI is received from peer.
Similarly, Don't treat it as a valid SA query response if the
OCI element in it is invalid.
Only with logic above, we can pass the WFA WPA3 R3 OCV test
case 14.4.1/14.4.3.
Change-Id: Iefd19f2f7de13b2ed725afed6921ad320307a372
CRs-Fixed: 3106166
If reassoc MAC from user space is broadcast MAC as:
"wpa_cli DRIVER FASTREASSOC ff:ff:ff:ff:ff:ff 0",
user space invoked roaming candidate selection will be based on firmware
score algorithm, current connection will be kept if current AP has highest
score. It is requirement from customer which can avoid ping-pong roaming.
Change-Id: I8de3e2a26a6f346c900157aa823205f849d233f7
CRs-Fixed: 3106276
Check whether the two connections are on the same mac with
policy_mgr_are_2_freq_on_same_mac().
Change-Id: I480a344386d22aa2a210b6b4663f68998d9af8b1
CRs-Fixed: 3103087
The flags, CONFIG_TX_MULTI_TCL for multi SW2TCL and DFEATURE_IRQ_AFFINITY
for Tx completion IRQ affinity, were turned on for KIWI.
Change-Id: I44a7b1c889d7113f078a75c549a632809dbebad0
CRs-Fixed: 3110299
CM, PE and WMA changes for mlo roaming
- Roam start and roam sync propogation updates.
- Handling connected link bitmap.
- Link specific assoc response generation
- WMA changes to handle add/remove peer
for mlo roaming scenarios.
Change-Id: I365a26ebb761d93dadd33c9fb8248c28e9eda94b
CRs-Fixed: 3033766
Refine lim_set_eht_caps as wlan_eht_cap_info is updated according to
draft 1.3.
Change-Id: I2361caa928bfbdf4d6fdf0ef35bc76cebb041d99
CRs-Fixed: 3108905
Update HW mode change tlv information to wma/policy mgr.
Losing the information will cause FW/host out of sync.
Change-Id: I1ba9931d10617664da653e85335fade1352c3600
CRs-Fixed: 3109789
Currently mld address are getting collied over different instances
of driver, use kernel api to randomize the mld address.
Change-Id: I79685f6884769a58f2b125481a2e809c318b3eab
CRs-Fixed: 3108547
Enable compile macro to include extended avoid frequency update
for sub vendor command QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT.
Change-Id: Ibdec18b9b749f18b1e9d704974f4cbaabbc4e612
CRs-Fixed: 3098824
Currently the higher layer osif timeout is less than the underlying
transport layers qmi timeout resulting in the userspace queuing
multiple command without the transport layer timing out.
Change-Id: Ib18dc0532b883bda3fd1dc234488baf90ba5da5f
CRs-Fixed: 3112038