When SAP operated in channel 36 with 160Mhz, the primary channel
36 is non-dfs and existing checking dfs will drop the radar event
if the radar detected on channel 52. Change policy mgr API to
check the dfs flags instead of primary channel state.
Change-Id: Ie2f242182b8df30e5d1875e278c5ebffa2e7cafd
CRs-Fixed: 2865173
The QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL_MANTISSA attribute
should be specified in multiples of TU. Correct the logic to
multiply it by 1024 to get wake interval mantissa in microseconds.
Change-Id: I2c6eb3ca5541b97cffbe0de44351571839fa00e6
CRs-Fixed: 2862107
Check if a TWT session has been created for the dialog_id given
in get and clear stats command request. Reject it in driver if
session doesn't exist.
Change-Id: Ie9a761128e3a0188c4ece9a7bac58268a2ebb88f
CRs-Fixed: 2864284
AEAD decryption failure happens when AP sends association
rejection frame as part of the PMF SA query procedure. AP
doesn't include FILS Session IE, but STA tries to AEAD decrypt
the frame starting from the FILS session IE and drops the
association rejection frame due to AEAD decryption frame.
So association failure timeout kicks in and proper reason
code is not indicated to userspace due to which automatic
connection retry to the AP doesn't happen.
Skip AEAD decryption if status code is not success in the
association response frame and proceed to parse the frame.
Change-Id: I9dcc85afb896717cfd20102c219b58e0e982f340
CRs-Fixed: 2797416
Return value of pld_ipci_smmu_get_domain is not collected and
return to caller. Properly collect return value of
pld_ipci_smmu_get_domain.
Change-Id: Ia09f5eba950cb2631f4696fc927c32f49821b9ff
When selecting channel for SAP to operate on, it searches,
calculates, and sorts the channels. Each of these steps produces a lot
of prints, so rate limit them to prevent a time out.
Change-Id: If78c7a4f840bf9353f42dd544134ee690637d22e
CRs-fixed: 2865639
Currently driver checks net dev ref leak for adapter, once it
removes adapter from the list which is not the correct way as
in some cases it is possible that one thread loops through the
the adapter list and uses one of the adapter and the other thread
deletes the adapter from the list, since the adapter is deleted
from the list, it's next and previous pointers will point to
itself which will lead first thread to fall into infinite loop.
To address above issue check net dev ref leak before removing
adapter from the adapter list so that it will make sure that
no other thread is holding the referene of this adapter.
Change-Id: I819458e9de8f016898e24bf3bb376acb657e8187
CRs-Fixed: 2854000
Use wlan_reg_get_channel_state_for_freq to get channel state
instead of wlan_reg_get_channel_state.
Change-Id: I0ab0465458801747cc97bf03b3aee4ec255beb57
CRs-Fixed: 2859852
Add user controlled rx addba request reject for peer AP based
on ini configuration.
Change-Id: I80a4b78c1af77f5bfa68be3163f9e9a78cc64245
CRs-fixed: 2835511
Currently for some valid auth type string "UNKNOWN"
is added in connection info because of missing of
mapping of some auth types.
Fix is to handle mapping of missing auth type.
Change-Id: I534d063caa85241b5f35b8f2931753d85447de2c
CRs-Fixed: 2865084
Reduce stack frame size of sme_qos_request_reassoc()
by removing the local variable usage connected_profile.
Change-Id: I8b093b0b4214099a5061e253f17b3ac7d5d206e5
CRs-Fixed: 2856593
Add debug print to log the details sent in OCV frame
in SA query Response.
Also, remove additional line to print mac address of
peer.
Change-Id: Ia2114b69579d118b0ccc4fe9798caf2f855c895f
CRs-Fixed: 2860085
Rename existing INI to enable_bus_suspend_in_sap_mode and define a
new enable_bus_suspend_in_go_mode. Also define new APIs
wma_is_vdev_in_sap_mode and wma_is_vdev_in_go_mode.
Change-Id: If38c4db7b3d1f7323df45d9a7d80a02a44e7ca41
CRs-Fixed: 2864596
Extend type of the variables for the number of MAC addresses
in ACL, from 255(uint8_t) to 65535(uint16_t).
With this change, it can support up to 65535 MAC addresses in
theory, after modifying the MACRO 'MAX_ACL_MAC_ADDRESS'.
Change-Id: I32288e46ea4590ebaaa143b2cdca7cefd14997c4
CRs-Fixed: 2856707
Host moves hlp info from csr session to mlme priv object. Modules need
hlp info now use hlp info from mlme priv object
Change-Id: Ieffa749635239f72337af685707acccfd666a58a
CRs-Fixed: 2862315
Currently connection manager code flow does not send connect info
diag event, to achieve this update csr connect info api in such a
way that connectoin manager code flow can also use it to send
connect info diag event.
Also update the function csr_get_sta_cxn_info to get the required
information from vdev instead of roam profile.
Change-Id: Ib9bb3f06052416f6edb168767dbe2a4c80fae765
CRs-Fixed: 2862244
Currently , pre CAC adapter will be closed during SAP interface down.
But pre_cac vdev sync is being unregistered after pre CAC success.
Because of this, pre CAC adapter close will fail and the same pre CAC
adapter context will be retained for subsequent SAP start. As a result
pre CAC request may fail after SAP restart.
To address this, don't unregister vdev sync after pre CAC success.
Change-Id: I2d5969274de290bd86cd510ed2a3ff4e095042b0
CRs-Fixed: 2861298
Use wlan_reg_freq_width_to_chan_op_class() instead of
wlan_reg_freq_width_to_chan_op_class_auto() to convert freq
to Operating class.
As the auto API forces the non-6Ghz channel to use the channel
map class. With auto API, in case of 6Ghz band, only those classes
specified in global operating class can be used
For OCV validation , always use global opclass as mandated by spec
Change-Id: I8ae776199f3b886f3c9cec83070294fca2135b50
CRs-Fixed: 2848638