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
Allocate sap_ap_event instead of using stack variable
in function sap_signal_hdd_event.
Change-Id: I9716479ab35b0ba76844c6fae4886acb205902cc
CRs-Fixed: 2830469
Currently there is no debug infra to detect the API that caused the
reference leak for dev_hold. So, It very hard to debug/fix the
reference leak issues.
To address this, add debug_infra for dev_hold and dev_put calls in
the driver. This change also fixes the few reference leaks with
hdd_for_each_adapter_dev_held_safe.
Change-Id: Icf1adf53c3bd11c715111494bac958c541ef87ea
CRs-Fixed: 2825558
In platforms NAN DBS is not supported enable TCP Del ACK
from hdd ndp new peer handler.
Change-Id: I22141728dc4b8c4cd8c871259d3ba9faeda096b2
CRs-Fixed: 2831517
Currently, for PMF session, when it receives an unprotected deauth
frame from AP and 11w offload is enabled at same time, it drops
the deauth frame. This causes issue during auth/assoc process,
because the connection has not created yet.
Change-Id: I2d51b120fdf5ab90471bf1958071e55d2e23da28
CRs-Fixed: 2818626
Currently connect success response is not handled for connection
manager, add support to handle connect success for connection
manager.
Change-Id: Ib8898bdf4e81440125271b64ccf793eea35d082a
CRs-Fixed: 2830698
When sending an MSCS action frame to from SME to PE module, there is a
potential NULL pointer dereference. Add check to ensure BSS descriptor
is valid before copying it into the message.
Change-Id: If6d114cb923e5bd283a342ba2b136ce75c9a26b4
CRs-fixed: 2830747
Currently connect failure is not handled for connection
manager, add logic to handle connect failure path for
connection manager.
CRs-Fixed: 2829679
Change-Id: Ie60090fb0d469850ab9e1ab422d7713a4bfa6acf