In LL Stats request handler the rx_ampdu is wrongly printed as
tx_ampdu. Rectified the debug log to print both the tx_ampdu
and rx_ampdu.
Change-Id: I00df3da79a0aed95cda76edb7e3f80409c6abf75
CRs-Fixed: 3254595
In case of MLO connection, whenever firmware receives
enable or disable ARP/NS offload request from host on any vdev,
firmware enables/disables ARP/NS offload for all MLO vdevs.
So, during system resume though host sends disable ARP offload
only for MLO partner link vdev, firmware disables ARP offload
for all MLO vdevs. But during system suspend, as host is unaware
of ARP offload disabled on all vdevs, it will not send enable ARP
offload request to firmware. Because of this, all ARP requests are
forwarded to host instead of firmware in suspend mode.
To address this issue, add logic in host to avoid ARP/NS offload
requests for MLO partner link vdevs.
Change-Id: I1ffe503911705a41be26e44d1db6d15a5988e34d
CRs-Fixed: 3295050
Currently in hdd_get_curr_thermal_stats_val,
hdd_get_station_info_ex skb is not getting
freed, this might cause memory leakage.
To address this issue free skb each time for
nla failure
Change-Id: If481cf0ea6cbdce55b3f02c3ce99f577deaac9c7
CRs-Fixed: 3297781
Fix compile error when 5.19 kernel backport flags related
to MLO are not present.
Change-Id: I13b2bfc10e6fce7cb3e2b54280d604b85a7407b9
CRs-Fixed: 3300073
This re-introduces the orignal patch which shutdowns WLAN in system
suspend prepare.
Orignal patch Id1f5172a7fc1792c83c8c1c20127de815f7e4980 is reverted by
Ic82db9dc0ca9d6686df99926335af27abc61cdb5 for deadlock issue.
However, deadlock between cnss_pm_notify and unregister_pm_notifier is
not caused by Id1f5172a7fc1792c83c8c1c20127de815f7e4980. So restore it
and add flag to enable/disable feature shutdown wlan in system suspend.
Deadlock issue is caused by "up_write(&cnss_pm_sem) is invoked before
down_write(&cnss_pm_sem) in function cnss_pm_notify". The issue can be
fixed by changes I533c373b85f554fbcceb562d9f56c6b88e5155bb and
I7768fdbeb1fa8cd6ef3b260eb0aafb231aeed324.
Change-Id: I25e4398a8d3b1a52cf7bc554af74d123ec797c6e
CRs-Fixed: 3287742
Populate 6 GHz offchannel params only when VLP power is
supported by APs country.
Change-Id: Ic8d5d3f4b0bc1126d25242633eb0aae98989ddc3
CRs-Fixed: 3288784
Currently, host driver sets RTS-CTS param and sent it to firmware
as WMI_VDEV_PARAM_ENABLE_RTSCTS for STA and NAN vdev only in
start_adapter when interface is up.
But with the vendor cmd NL80211_VENDOR_SUBCMD_NDP, driver creates
the NDI vdev and start the adapter. Hence, RTSCTS is never set for
NDI vdev.
So, to fix this, set the RTSCTS param in ndi_start and sent it to
firmware.
Change-Id: I5434e5649fe4f30bf52ee98aa1ca4d0b34857987
CRs-Fixed: 3298206
Read TSF via scratch registers instead of WMI commands. Added framework
to initialize/de-initialize the deferred context for register reads.
Change-Id: Id5309bf3117f04fb3d321ddd3af50e4bdf223561
CRs-Fixed: 3287534
Currently hardware name pointer is present in hdd context. It's
allocated memory during wlan start modules and hence destroyed
during the stop modules. This info is required when wifi is
turned off.
In order to address this issue, declare hardware name as a static
char array in hdd context structure. And modify it's usage
accordingly.
Change-Id: I4663acd602947a704daccfee4da78c207be095f8
CRs-Fixed: 3288897
Define PREFIX for procfs driver dump directory to prevent name
conflicts when loading different instances of the driver.
Change-Id: I05418287be9a6ecbb572a1deab610981ac348122
CRs-Fixed: 3268668
Currently there is a discrepancy in the txrx rates for EHT between
the host & firmware, resulting in the reporting invalid rates to
userpsace.
Correct the EHT rates between the host & firmware.
Change-Id: I894689fb6c760889755188d6138ad2f20586c278
CRs-Fixed: 3290593
To use hdd_vdev_ready() API for each valid vdev of
an adapter, change the function declaration to have
vdev objmgr as function parameter.
Change-Id: I2d02f2e5d21f59d441f22b03e2aa94a28e9b5f1b
CRs-Fixed: 3294710
Populate EHT IE based on band of mlo link. Currently
driver only populate it for 2 GHz AP, extend it to 5 GHz
AP as well.
Change-Id: Ib60d6c4f96546f87ec2ea44780e65cd730169b20
CRs-Fixed: 3298778
Puncture bitmap can be changed dynamically. 11be station should monitor
puncture bitmap in EHT operation IE and update it to firmware.
Change-Id: I9ec2ac592b7598d12b071f2bfad4fdbd449f04ee
CRs-Fixed: 3269516
EHT IE is stripped and decoded, but it is not returned to the caller
of sir_convert_beacon_frame2_struct.
Save it in pBeaconStruct and return the information to the caller of
sir_convert_beacon_frame2_struct.
Change-Id: I73d6957a4e275b4d7008cb3de0e3ca2ee4a5b8a3
CRs-Fixed: 3297732
EHT MCS map is not populated correctly in the per-STA profile
data in association request MLO IE leading to connection fail.
Fix the EHT MCS map in the MLO IE per-STA profile data.
Change-Id: I3b73e65fccddf877e832147795d0912744055934
CRs-Fixed: 3287371
Fix the malformed association request issue due to incorrect PPET
values included in per-STA profile.
Populate the HE PPET values based on connection band in the per-STA
profile.
Change-Id: I0aa342b0a06336063dfb9e791e0d9403d1013df8
CRs-Fixed: 3290730
During ANQP query, supplicant sends the action frames to firmware
and currently, host driver drops tx mgmt frames as peer is not
available. This is because in tx mgmt path, it retrieves the self
peer from non-MLO mac addr but driver creates the peer of type
AP(PEER_AP) with MLD mac addr when MLD mac addr is non-zero and for
non-MLO case, it creates self peer with non-MLD mac addr.
So, to fix this, in case of MLO mac addr, create the self peer while
creating vdev and retrieves that peer with MLD address in tx mgmt path.
Change-Id: Id7ef97668fbd1bf1914d37d09682119eb79be465
CRs-Fixed: 3297288
TWT responder should be enabled based on the hostapd
configuration and self capability.
But when SAP is started, the TWT concurrency work is
scheduled and its enabling the TWT responder without
checking the hostapd configuration. This causes TWT
responder to be enabled even though the hostapd configuration
disables the responder.
Check the TWT responder configuration from TWT component before
sending enable command for TWT responder
Change-Id: Ia6755299421f00b2a1a69fc2e19fac3d39ab95f6
CRs-Fixed: 3291939