Currently driver disables btm offload to firmware if connected AP
supports MBO-OCE and the connection is not PMF enabled. But the
pmf will always be disabled for open mode connection, so BTM
offload is disabled with open mode MBO-OCE enabled AP always.
Check if the connection is open mode connection and allow
BTM offload config.
Change-Id: I8fe9b43c07700dca02cf7bb874e1c5c509b120f7
CRs-Fixed: 2831463
If get stats request has been fetched recently then avoid target
wake up for next subsequent get stats req by returning cached
station stats.
Change-Id: I3aba4fdc7966a5e9e4ff38003bb80ebd7a3178f1
CRs-Fixed: 2833838
Host sent peer create command to firmware
before the previous peer delete response
is received for the same client.
In failure scenario, lim is not waiting for the peer
delete response and removing the sta ds entry from
the session. If new association request is received
from same client then host is trying to send peer
create command to firmware.
Change-Id: I63fa2b3290ffc0592d2c8c12ff3a144e513dc5f2
CRs-Fixed: 2829911
Whenever there is a recovery triggered, if there is a
failure in reading the bus id collect the bus specific
registers to understand the reason for the failures.
Register the callbacks for updating the reason code and register
dump.
Change-Id: I4eb5327a806691737f605d3d3c83d2c28d1fe935
CRs-Fixed: 2835341
Enable the athdiag live debug mode when CNSS2_DEBUG or SLUB_DEBUG_ON
enabled to enhance host debug.
Change-Id: I5241d60ff7e4e02acc74db312640aa299e5a356b
CRs-Fixed: 2831288
Currently, Host sends classifier type and classifier
mask part of TCLAS Mask OPIE only with tag length of
2 bytes.
As per spec tag length for TCLAS Mask OPIE should be 18.
Ext Tag: TCLAS Mask
Ext Tag Number: TCLAS Mask (89)
Ext Tag length: 18
Classifier Type: 4
Classifier Mask: 0x5f
Reserved:00000000000000000000000000000000
Fix is to add a reserved parameter in TCLAS Mask OPIE
of length 16 bytes and set it to NULL.
Change-Id: I54cd896a4ffad16581c14fc254575bcec8e6f6d7
CRs-Fixed: 2822616
Currently the connection manager queries the
blacklist manager about the action to be taken
and if all the candidates of a certain SSID are
blacklisted then the connection would be rejected.
there are various types of blacklisting, some
can be overided and some have to be strictly
followed.
Fix is to overide the blacklist candidate and
connect to it if no other candidates are suitable
for connection.
Change-Id: Id47fd214130411179d9a53005841786d6d14ce81
CRs-Fixed: 2831535
Reset crypto params for vdev when disconnect from AP in STA mode,
otherwise, the params may be used in the next connection, which
may result in unexpected behaviors.
Change-Id: I144f360dc53f6717ad7a2b99ed3ae7c5574557df
CRs-Fixed: 2831488
Previously, if force SCC is enabled and Standalone SAP starts
on non-DFS channel, it starts with master mode Disable. If it
is switched to DFS channel it will switch without CAC.
As a fix, if SAP is started on non-DFS channel with force SCC,
don't allow it to switch to DFS channel if master mode is disabled.
Change-Id: I1822f67a5480d6c16fa980c9c6b262341af7c2de
CRs-Fixed: 2827237
In csr_peer_mac_match_cmd() the roam command reason for STA's north
bound disconnect is not checked, thus the duplicate detection of
disconnect command in case southbound disconnect is received after
northbound disconnect doesn't work and lead to state matching in
invalid state.
Fix this by checking the STA's disconnect reasons as well.
Change-Id: I48b507c69ecc1e41d7ab7bc95b409a4e0fa55185
CRs-Fixed: 2833417
wma_validate_handle() function already takes care of logging the
caller function name in case of any error.
Hence there is no need to add the error log again.
Getting rid of these unnecessary logs reduces driver memory footprint.
Change-Id: I65f87eee08ad87579ea3cdeab0a6db2c2db02fb7
CRs-Fixed: 2833851
Currently, host decrements beacon switch count and sends
channel switch frame every time until count becomes 0 this
may introduce sync issue between fw and host in case fw has
not sent beacons but host decremented switch count due to
timeout and sent new channel switch frame or vdev restart in
case count beacomes 0.
Fix is to offload CSA to fw to avoid any sync issue.
Change-Id: Idb48d419ec4117ff39cb823ca8af75d7a0abc3c0
CRs-Fixed: 2828045
Add support to view station's peer RSSI value in auth and assoc request
packet by extracting rssi from probe request and passing it down to
FW in the auth request and assoc request mgmt frames.
Change-Id: I980427756ef542d054221d52693e3c89f307a658
CRs-Fixed: 2832977
STA+Monitor mode concurrency is supported, but scan is not permitted
on interface of monitor mode.
Change-Id: I2e15006e40f1fbab96bfa0a6af8e605b5736f761
CRs-Fixed: 2831828
Introduce wma_validate_handle() with the caller function name
embedded in it to validate the WMA handle and log incase
of error. Calling functions can avoid logging in case
wma_validate_handle() returns -EINVAL. This reduces logging and
thereby memory foot print.
Change-Id: If38436a590d8b950509bde40468b9ddc3cf33e8d
CRs-Fixed: 2833040
Use the macro CONFIG_ARCH_SA515 instead of CONFIG_ARCH_SDXPRAIRIE
for SA515 projects.
Change-Id: If4d7d62a64c509fa69c2c59890ffaaf7b763e01c
CRs-Fixed: 2832357
Replace hdd_objmgr_get/put_vdev by new API
hdd_objmgr_get/put_vdev_by_user to specify
functionality dbg id.
Change-Id: I51be1519edea8e4b35cf467bc9bde9c92c294d27
CRs-Fixed: 2832331
Advertize the DBS capability in the get feature vendor command
if device supports DBS.
Change-Id: Icd8e8de7e188e9c5a3041460e6316cdf2b8ebff1
CRs-Fixed: 2820800
The event WMI_ROAM_STATS_EVENTID is received after
every roam, once the roam synch complete is sent by the host.
This event contains details regarding the roam RSSI TH reset.
This helps in debugging/understanding the scenario when roam
failure happens.
Print the info received related to roam RSSI TH reset into kmsg.
Change-Id: Ibee9fc6e9220511d6679efb24080c79bcd807ab8
CRs-Fixed: 2826321
Get Tx nss for QCA_WLAN_VENDOR_ATTR_CONFIG_TX_NSS
vendor attribute. Get Rx nss for
QCA_WLAN_VENDOR_ATTR_CONFIG_RX_NSS vendor attribute.
These value will only be fetched if adapter is in
connected state.
Change-Id: I673d0a68fa0b9cb87736664d2058473fe0f5f7ed
CRs-Fixed: 2831427
The vendor command QCA_WLAN_VENDOR_ATTR_CONFIG_NSS can
only be used to symmetricly set NSS configuration such
as 1x1 or 2x2.
So, use QCA_WLAN_VENDOR_ATTR_CONFIG_TX_NSS and
QCA_WLAN_VENDOR_ATTR_CONFIG_RX_NSS attributes to
configure the asymmetric NSS configuration (such as 1X2).
These attributes are used to dynamically configure the
number of spatial streams used for transmitting and
receiving the data. When configured in the disconnected
state, the configured value will be considered for
the following connection attempt.
If the NSS is updated after the connection, the updated
NSS value is notified to the peer using the Operating
Mode Notification/Spatial Multiplexing Power Save frame.
The value configured after the connection shall not be
greater than the value negotiated during the connection.
Any such higher value configuration shall be treated as
invalid configuration by the driver. These attribute
shall be configured together to define the symmetric
configuration (such as 2X2 or 1X1) or the asymmetric
configuration (such as 1X2).
If QCA_WLAN_VENDOR_ATTR_CONFIG_NSS attribute is also
provided along with these attributes then the driver
will update the TX and RX NSS based on
QCA_WLAN_VENDOR_ATTR_CONFIG_TX_NSS and
QCA_WLAN_VENDOR_ATTR_CONFIG_RX_NSS.
Change-Id: I85adb1fcfb2df5cf42eabd4f18b403b698767f42
CRs-Fixed: 2831416
Dump the txrx hw ring after a disconnection in STA mode.
This will help in debugging back-pressure issues.
Change-Id: Id4c9a391d6804e5a24a38a77b4cbee9ace0fd999
CRs-Fixed: 2831358