As part of target if convergence, roam stats event handling
is moved to target if from wma. BTM request logs are not
sent in the new path.
Add support for BTM request logs in connection manager.
Change-Id: Icc66c5dc608260f2a0f75c5d1a85c799195f9f3e
CRs-Fixed: 3054987
The value of btcoex is 0 when bluetooth device is
connected.
Add bt_profile_con param in enum WLAN_COEX_EVENT, add
a check for bluetooth device connection and update the
value of btcoex on bluetooth connection.
Change-Id: I72d4ef4fd0eb15d37132c11b7aa0a0c7f1452aa2
CRs-Fixed: 3050655
Currently the DA for EAPOl packets is being compared
with the adapter mac address. For MLO connection, the
EAPOL frames are exchanges using MLD mac address and
not the link address. hence this leads to drop of all
the EAPOL packets in receive path.
Add MLD address check for received EAPOL frames.
Change-Id: If158da1338169958c5a74cfb7ee125d7365a8202
CRs-Fixed: 3039333
EAP length attribute is of type NLA_U8, but the table entry
has this attribute type as NLA_U16. This causes parsing
failure of this attribute and the length print is not
included in the logs.
Fix the NLA type for the QCA_WLAN_VENDOR_ATTR_DIAG_EAP_LEN
attribute in the connectivity logging table.
Change-Id: I3570931799811787169c9403b1f26488379524bc
CRs-Fixed: 3054835
In current implementation, validation code of
SCC, MCC, DBS or SBS is repetitive for all
combinations.
Remove repetitive validation code and make
common apis for scc, mcc and dbs validation.
Change-Id: Ic88f01dd9bbcc3d5dcc3453b2c6fef030cfe0305
CRs-Fixed: 3052959
Framework disables p2p before enabling NAN as P2P+NAN concurrency
is not supported. NAN operations happens through wifihal and p2p
operations happen through wpa_supplicant which are two different
userspace components. Wifihal call to enable NAN may come to host
driver before disabling p2p through wpa_supplicant. There are high
chances for p2p scan to be in running state while NAN enable is
received. Firmware NAN state machine goes to inconsistent state
and disables NAN as p2p scan is running in such cases.
So, stop the ongoing p2p scan before enabling NAN as P2P+NAN
concurrency is not supported currently.
Also, forward the pdev to NAN component inorder to iterate through
all P2P vdevs.
Change-Id: Ibe30a5ebe90514aee4f6721cdc5476570524cad8
CRs-Fixed: 3054576
Update HDD API definitions under MLO feature as per 5.10 kernel version.
Also use kernel feature falgs along with MLO feature flag. This will make
sure that if MLO is not enabled in the kernel, then driver won't register
ML APIs from driver.
Change-Id: Ie77e82487d99c8053ba0ca4aabea2e435cc8cb2c
CRs-Fixed: 3056715
When STA connects with 2.4GHz band AP, shortGI ie for 80MHz
& 160MHz becomes 1 instead of 0 as 2.4GHz supports max 40MHz
channel width.
As part of fix, if STA connects in 2.4GHz band AP then
a. Disable shortgi80 and shortgi160and80plus80 for vht caps,
b. Disable ul_2x996_tone_ru_supp, num_sounding_gt_80,
bfee_sts_gt_80, tb_ppdu_tx_stbc_gt_80mhz, rx_stbc_gt_80mhz,
he_ppdu_20_in_160_80p80Mhz, he_ppdu_80_in_160_80p80Mhz for he
caps.
Change-Id: I27fdd6e949e738b33ced940f08664ed7b61c5af8
CRs-Fixed: 3054133
Currently based on the INI option we are scheduling
work to dynamically disable/enable checksum offload and TSO.
But in the case of roaming from latency critical connection
to latency critical connection or non-latency critical connection
to non-latency critical connection, we do not need to schedule work.
So adding a condition to check :
For non-latency critical connection: If checksum offload and TSO are
not disabled then schedule work.
For latency critical: If checksum offload and TSO are
not enabled then schedule work.
Change-Id: I75a51707774c3428971dfe5cc0b0d3cdc2a17ac8
CRs-Fixed: 3054183
FW may experience HWDTIM mode enter and exit, if HOST can't queue
frames fast enough, this will bring 10ms latency for TX under WoW.
This change adds an indication bit to notify FW whether a TX happens
after WoW wakeup, then FW can discard HWDITM and reduce TX latency.
Change-Id: I74f7311fc0639186ee0bca711160bb8c0d5d9fb3
CRs-Fixed: 3055501
The ini gEnableWoW was designed to enable or disable both magic
pattern match and pattern byte match, but now host ignore the
magic pattern setting from the ini, always enable the magic
pattern instead.
configure magic pattern in line with ini gEnableWoW setting.
Change-Id: I309aff03de9bdbd36fe391784ba54cbfa0cad67b
CRs-Fixed: 3047199
When connect with assoc_ie has HS20_OUI_TYPE ie, hs_20_ap should
be set to true for using afterwards.
Change-Id: Id3003290473bdfa0adb0fc6471ae052e7944ab3d
CRs-Fixed: 3056979
Max supported bandwidth and 160mhz short GI is advertised max
supported by the device. This could cause conflict at STA side
due to difference in current operating bandwidth and capabilities
advertised in VHT capability IE.
Configure VHT capabilities based on the operating bandwidth.
Change-Id: Ia548ed0b39284f5624920800075bc614872c1595
CRs-Fixed: 3052687
For deauth/disassassociation RX/TX, the connectivity logging event
is sent. In this event the QCA_WLAN_VENDOR_ATTR_DIAG_STATUS_CODE,
is used to send the frame reason code. But userspace expects
QCA_WLAN_VENDOR_ATTR_DIAG_REASON_CODE attribute.
Fill QCA_WLAN_VENDOR_ATTR_DIAG_REASON_CODE instead of
QCA_WLAN_VENDOR_ATTR_DIAG_STATUS_CODE.
Change-Id: I90d58f251f0e2d4647cbde3c76d4a22779c97290
CRs-Fixed: 3054797
Add the changes corresponding to the proto-type changes
for txrx_vdev_atfach and txrx_peer_attach for ol targets.
Change-Id: Ibf31e3d5dd7cdf8c47ab3fe9cfdcbfd5762dc18d
CRs-Fixed: 3053683
As DP requirement, CP should not provide peer mlo information for
cdp_peer_create and CP should provide peer mlo information for
cdp_peer_setup.
Change-Id: Ic15f209b009e5a3bd6b154992d2a88cb19f489de
CRs-Fixed: 3020662
At present lim_is_medium_time_valid returns failure for
reassoc case since it only checks pe_session->lim_join_req.
To resolve this issue, checks pe_session->pLimReAssocReq too.
Change-Id: I78ab6e548c590cb16dc71a16e861ecc940601b96
CRs-Fixed: 3056363
In delete pmksa call for FILS case, the userspace sends only the
ssid and cache id on the pmk cache. But the driver copies only the
bssid which could cause invalid bssid being copied and the delete
pmksa operation fails always.
Fill pmksa ssid if SSID and cache id are provided, else copy the
bssid. Also add additional debugs for FILS RSN IE.
Change-Id: I7836156e0fe4c885d35fd8791dfe3bf958a88522
CRs-Fixed: 3036327
Enable CONFIG_HAL_DEBUG if CONFIG_SLUB_DEBUG_ON is Y
to fix the compile issue for HST.
Change-Id: I1fd8760f543f6d739af994b8b4b4ca3684dd3686
CRs-Fixed: 3054445
For SBS Frequency range, the frequency range can
be of Either Lower 5Ghz Frequency shared with
2.4Ghz Frequency or Upper 5Ghz Frequency shared
with 2.4ghz phy.
Add support for both the shares.
Change-Id: Ibf17cf155e52534e029bd596f70349faf8cc03ee
CRs-Fixed: 3056464
As part of stop modules, the deinit connectivity logging happens and
the queue, all the pointers are deinitialized. But while
initializing the write pointer the write pointer spinlock is not
acquired. This results in null pointer dereference of write_ptr
from other context.
Protect the access to the write pointer before setting it to
NULL in wlan_connectivity_logging_stop().
Change-Id: I69dc57b9e661004203f58754824496953105726f
CRs-Fixed: 3054306
Since the code under FEATURE_HAL_DELAYED_REG_WRITE_V2 has been
removed and cleaned up, removing the build flag from Kbuild.
Change-Id: I66072af952877881fb700869ae4774e4f1a388cc
CRs-Fixed: 3056477
In if_mgr_validate_candidate() adds SBS
check to allow a STA connection on SBS
channel when MCC is not allowed .
Change-Id: Ia8007a4beabf546ff293986124f4ef985ccaeacc
CRs-Fixed: 3052797
The spin lock pm_qos_lock is used in disconnect handler,
but it maybe not initialized if run time pm not enabled.
This will cause spin lock bad magic check failure issue.
Fix it to create spin lock during pm qos notifier register.
spinlock bad magic on CPU#7, kworker/7:2/691
lock : 0xffffff815bf93170, .magic: 00000000,
.owner: <none>/-1, .owner_cpu: 0
------------[ cut here ]------------
Internal error: Oops at kernel/locking/spinlock_debug.c:73!
Call trace:
spin_dump+0x7c/0x80
do_raw_spin_lock+0xbc/0x124
_raw_spin_lock_irqsave+0x38/0x4c
hdd_cm_disconnect_complete+0x14c/0x2e4 [wlan]
osif_cm_disconnect_comp_ind+0x38/0x8c [wlan]
osif_disconnect_handler+0x200/0x228 [wlan]
osif_cm_disconnect_complete_cb+0x10/0x1c [wlan]
mlme_cm_osif_disconnect_complete+0x40/0x84 [wlan]
cm_notify_disconnect_complete+0x34/0xec [wlan]
cm_disconnect_complete+0x3c/0xdc [wlan]
cm_send_disconnect_resp+0x64/0x90 [wlan]
cm_state_init_event+0xc8/0xe4 [wlan]
wlan_sm_dispatch+0x168/0x1e8 [wlan]
cm_sm_deliver_event+0x11c/0x1b8 [wlan]
Change-Id: Id78e1e13ceded7cfefc40a8a86f74fe976b9aa75
CRs-Fixed: 3055380