Currently, it DUT only supports one link,
lim_gen_link_specific_probe_rsp returns error. It causes
one link connection failure.
To resolve this issue, return success if DUT only supports
one link.
Change-Id: I9fcad7e82865ff6a4424ca74ea60f68e3a59ea21
CRs-Fixed: 3270226
If policy_mgr_is_concurrency_allowed is false, don't set
weighed_valid_list = WEIGHT_OF_NON_PCL_CHANNELS. Keep
WEIGHT_OF_DISALLOWED_CHANNELS for them so that the interface
won't start on disallowed channel. And in P2P+P2P or SAP+P2P
case strictly follow PCL weightage for second P2P interface.
Change-Id: I005e680e796269d3cd847b5df460506813d0d033
CRs-Fixed: 3265478
Send the failure response if the association response generation
is failed for link vdev to release the connect request command.
Change-Id: I0d05347c61cfd8fea90b23c3de6f0fb1ba7752d4
CRs-Fixed: 3253510
If the acs scan is optimized based on last scan ageout time,
it can lead to either skip ACS scan fully or scan partial
ACS frequency list. If ACS scan is skipped or partially
done, use a scan filter based on last scan ageout time to
retrieve the scan entries for ACS algorithm.
Change-Id: Id1d3a3d4364163686f92c380e9f6d6dada033ff5
CRs-Fixed: 3239389
In GO+STA+SAP concurrency, if GO is MCC with STA, the new SAP
will not be allowed in same MAC. FW doesn't support MCC in same
MAC for 3 or more vdevs. Move GO to other band to avoid SAP
starting failed.
Change-Id: Ia19abd1b11f7416797af3e975ab8ffde9037c11f
CRs-Fixed: 3262185
Currently wma_find_vdev_id_by_addr searches for the mac address of the
vdev there are some function which pass the mld address to this
utility api which is currently returning error.
Search with mld address alo in wma_find_vdev_id_by_addr.
Change-Id: I34ef8486a406cbaadbe95e5cb493bc5b0c8d8b0c
CRs-Fixed: 3270810
For 2.4 GHz band, if AP switches its BW from 40 MHz to 20 MHz, it
changes its beacon respectivily with ch_width 20 MHz without STA
disconnection.
This will result in TDLS remaining on 40 MHz and not follwoing APs BW
on 2.4 GHz.
Better Teardown the link here and with traffic going on between peers
the tdls connection will again be restablished with the new BW
Change-Id: I7f7b3cdc7937b2d4b78df46ca970fae22efc2ead
CRs-Fixed: 3243624
If SAP+P2P GO SCC on 2.4 GHz, the new STA interface will be
allowed connect to AP on 2.4 GHz SCC channel of SAP/GO or
5/6 GHz band AP. And do same for 5 GHz band.
For 3rd SAP/P2P GO coming up, try to force SCC to
existing same band SAP/GO home channel if any, to avoid the
concurrency check failure.
Change-Id: I363e9c8307ac4cfa70d6d00bc0d01a545c3eca26
CRs-Fixed: 3249205
As a part of eht cap pack and unpack, EHT MCS map (BW = 160 MHz)
is present only if B2 of the Supported Channel Width Set field
in the HE PHY capabilities information field is 1.
Change-Id: I24519b27e67219a9d4611636e2c02af4b82b17ec
CRs-Fixed: 3258157
Add concurrency conditions to reject TDLS setup if
along with BSS STA, any other iface is in connected state.
In case where supplicant directly sends TDLS setup without
adding peer or Discovery been rejected because of
concurrency, driver adds the peer and update fw with the
same using UPDATE_TDLS_PEER_STATE command. This results
in fw crash as TDLS state is not yet set.
This check is required because setp_peer shouldn't be
processed if any other interface such as SAP, P2P already
have started otherwise it will result in FW crash.
Change-Id: Ia0f1f099a5fb5be0c4875a38842d97070964aaa0
CRs-Fixed: 3263513
After SAP moved to 2.4 GHz HT 40 because of Radar detected in 5 GHz,
the REF STA send SA Query to SAP. But the REF STA disabled HT 40 in
2.4 GHz(channelBondingMode24GHz=0), the REF STA switched to HT 20.
The SA query OCI included op class 81 (20 MHz) from REF STA, the SAP
check OCI failure (SAP op class 84, 40 MHz) by lim_check_oci_match
and send deauth to REF STA.
lim_check_oci_match only check the op_class equal or not with received
OCI. If not equal, it will return false.
According OCI doc, local transmit BW is not allowed greater than BW
in OCI received from peer. Fix it by checking BW of local and peer
instead of op class only.
Change-Id: I62a477f8edabae31d07d6ec8ebb78ca76ca78792
CRs-Fixed: 3268105
Currently, ACS computation triggers when ACS scan complete event is
received after firmware has scanned all channels. This leads to
delay in selection on SAP channel.
As an optimization, this change selects the first clean channel
while scan is still in progress. The criteria for first clean channel
is that no beacon/probe response should be received on that channel.
If such channel is obtained while scan is in progress, then select this
channel as SAP channel and abort ongoing scan. Firmware sends
wma_chan_info_event per channel this change uses this event as an
indication that scan is completed on that channel.
To further increase the optimize the time to get clean channel, sort the
ACS frequency list in descending order in ACS SCAN request to
firmware. Firmware scans the channel in the order given by host
in scan request, as higher band channels are less occupied, the
probability of getting clean channel initially will increase, which
will lead to selecting the channel in less time and thereby reduce
the SAP turn on time.
Change-Id: I1a38556862b66943edea08783436f5e1e3a255f6
CRs-Fixed: 3245166
Currently channel info stats are stored in LIM. Refactor
code to store channel info stats in cp stats component.
Change-Id: I2e7219c112e96916d3b73f974dd9803b9c2821c3
CRs-Fixed: 3265722
Previously when chains of BT and WLAN 2.4 GHz are separated,
hybrid mode will be used for BTC. Now adding fixed FDD mode
to fulfill different BTC scenarios.
Change-Id: I3a4d6919319f0f66e6b816566f24f4ac11b2c669
CRs-Fixed: 3244045
Unencrypted DHCP frame is sent when add key is configured
on MLD address for secure MLO association.
In secure MLO assoication, configure add key on the link MAC
address.
Change-Id: Id1c953569a1f115beb5c0dcb816f08126901a05f
CRs-Fixed: 3270887
Populate HE 160 MCS rates even when session bandwidth is
320 MHz and peer supports 160 MHz BW.
Currently, HE 160 MCS map is populated only when session
bandwidth is 160 MHz, else it is reset. In the case of
11be SAP with 320 MHz support, HE 160 tx/rx MCS rates
must be updated with the intersection of self and peer
MCS rates, instead of HE_MCS_ALL_DISABLED.
Change-Id: I93d1d476c33aa98e96e76c2668f18456a9a874b9
CRs-Fixed: 3264361
Update the Min and Max value for gNeighborLookupThreshold
/RoamRSSI_Trigger INI as per customer requirement.
Change-Id: I5af4552cd805b57861121a32704f4fe1e98a7002
CRs-Fixed: 3245135
Target may use association request frame to roam to AP in offload
roaming. Current API pe_update_crypto_params only supports
reassociation frame parsing.
Add association request frame RSN IE extraction support in
pe_update_crypto_params.
Change-Id: Ic8bc427a9d7a37dd3531cdfda243bce398eb7400
CRs-Fixed: 3264727
Add component for the Constrained Application Protocol.
This component provides interfaces to enable/disable
offload reply/periodic transmitting for CoAP messages,
and also the interface for fetching CoAP messages those
been cached during offload processing.
Change-Id: I91397f598c2702a63e250d50641352d13117777e
CRs-Fixed: 3254535
Currently net dev stats are handled using QDF MACROS which is not
ideal approach. So modified it to OS agnostic inline API's for
handling net dev stats.
Change-Id: I1739779c4fa7699e867b9aa75aff48546b7754ac
CRs-Fixed: 3250935
Currntly RX_DESC_DEBUG_CHECK and FEATURE_ALLOW_PKT_DROPPING is enabled
by default for KIWI, extra check per msdu will take lot CPU cycles and
increase RX desc size.
disable them for perf build on KIWI.
Change-Id: I1d75f4f93a151d931321e7a327b5fd569bdbb987
CRs-Fixed: 3265714
Add ACS band check for indoor STA+SAP force SCC logic.
If SAP ACS band only support 2.4 GHz channels, do not move
to 5 GHz STA indoor channel for SCC.
Change-Id: I330dee9c35d2955cedc2b802a5bfb4d13ecb5d4c
CRs-Fixed: 3263428
There are two different name with different range of value for
aliasing INI's. So, it should pick the valid range of value wrt INI
name.
Change-Id: Ia0ea4ebc6b1f96b38243c4e0693e47be99868953
CRs-Fixed: 3258760
Currently, host sends wdev as NULL to cfg80211_vendor_event_alloc,
this allows userspace to process nl_cmd for
QCA_NL80211_VENDOR_SUBCMD_OEM_DATA_INDEX event with 1st interface
which is P2P in supplicant instead of WLAN interface.
Set wdev with the proper value for STA interface to avoid processing
nl_cmd with P2P interface by userspace.
Change-Id: I3376640226356bddc57d9c13e6c438498ee58326
CRs-Fixed: 3262753
Currently vdev up status check is wrong
Handle the return status of vdev up properly
Change-Id: I9dbe226d572295038256d5ac42400a4063f358f8
CRs-Fixed: 3265590
When STA+SAP is operating in indoor channels, mandatory
channel list is added to the supported channel list of the
seconday interface.
But the API is common even for SAP+SAP and fails to detect
interfering channels in case of SAP+SAP due to this.
So, limit the mandatory channel list consideration only
for STA+SAP.
Change-Id: If7063e81d0daa9ef86b8af71ba517756f96edb32
CRs-Fixed: 3245034