Currently, on Wear HL based target with keystone kernel, it
generates WLAN driver with name "wlan.ko". And to enable WIFI
every time it has to rename wlan.ko with qca_cld3_wlan.ko.
This commits generates the WLAN driver (WLAN_CHIPSET_wlan.ko)
based on Macro defined i.e. WLAN_CHIPSET else generate wlan.ko.
Change-Id: I9b278ba74052f1a333ed59d0b048d5a0611db076
CRs-Fixed: 3125247
Channel width is getting updated in 2 different types, NL type
in some places and rest of the places in internal type.
As the enum types are different between NL type and internal
driver type, SAP channel width changes in the SAP config
during beacon updates. Due to this SAP restarts with
different channel width during SSR.
Hence updated to use only the internal channel width enum type.
Change-Id: Ifd595c079ed7c33692cb96d2514fd1259210e67d
CRs-Fixed: 3124721
If EHT is enabled and channel width is bigger than 80 MHZ, static
puncturing is applicable to this SAP.
Consider punctured channel as valid candidate channel with weight
as max ACS weight for the SAP supporting static puncturing.
Indicate puncture bitmap to hostapd. Hostapd need puncture bitmap
when generating EHT operation IE.
Change-Id: I157878cc405c83114cd82f5fac63375c02e48cab
CRs-Fixed: 3101970
Get puncture bitmap from regdomain api, then set it to des_chan
of mlme, which is finally set to FW.
Change-Id: I1ae2f3093e6fd8d755c3b2804655598795cbd244
CRs-Fixed: 3114181
The duplicated MACRO in Kbuild is:
cppflags-$(CONFIG_HTT_PADDR64) += -DHTT_PADDR64
Change-Id: I0da070efcedf1af58bf0443f3402e6750c36a351
CRs-Fixed: 3111174
There is no need to change LF copyright date.
Revise I4b825f91bc9ede8372291f9d94cb7fae23942a49.
Change-Id: Ic566618b0658615992ea229f07aa09fec5a1352b
CRs-Fixed: 3119508
Register HDD TX completion handler for TDLS mode. Absence of this leads
to inaccurate TX accounting for TDLS connection, leading to TDLS
teardown.
Change-Id: I1b7b96bcea1e04e5ae45cf378529ac8c7e186b00
CRs-Fixed: 3120167
Update latency flags inis to 64-bit configuration and use
lower 32-bit for firmware configuration and upper 32-bit
as host configuration. Also remove separate inis for host
latency flags.
Change-Id: Iff62b847f40ae7fa5f82948ec37d756144860474
CRs-Fixed: 3115853
Prepare FILS discovery template with mandatory fields
including fd cpabilities and center frequency and also
TPE IE and send the template to firmware.
It is called when beacon template is updated.
Change-Id: I927f6a1c0bcd8fa531d48b1fa84cc256b4c1665f
CRs-Fixed: 3081251
The vendor sub-command QCA_NL80211_VENDOR_SUBCMD_GET_CHAIN_RSSI
can be used to fetch the per chain rssi for peer from cp stats.
CRs-Fixed: 3111269
Change-Id: I092dac794e5bea7c8eb143495496d83338cce1c5
Add support to update tsf timestamp on driver entry and
exit in data packet. This helps debug latency issue in
XR usecases.
Change-Id: I49d190a55b7ab3081225b7a226f1bbe4f717a20f
CRs-Fixed: 3090104
mac pointer that is a result of func "cds_get_context"
that may return null.
Add null check for mac pointer while sending the connect rsp.
Change-Id: I51c021b99b2014fafc4c33519b0de6dbeffa0025
CRs-Fixed: 3120707
Add "gEnableUpdateScramSeed" ini support to send
WMI_PDEV_PARAM_EN_UPDATE_SCRAM_SEED command to firmware
to enable OFDM scrambler seed.
Change-Id: Ie5c244a7ea418eec0af1f576e8521804ee85a665
CRs-Fixed: 3106348
When the modules are closed and thermal mitigation level of the system
is not honored by the wlan subsystem. So, during the wifi restart
query the thermal level of the system and configure the same to the
firmware.
Change-Id: I9edf4748475b85fe094c68ae067d81f578ccb40f
CRs-Fixed: 3101901
Currently, host allow maximum 3 concurrent connection.
Change the maximum concurrent connection to 4 to allow
MLO STA + NAN + NDP combination.
Change-Id: I82b8b018488f2f85e4d5431b8b23b1dd90a844b9
CRs-Fixed: 3119918
Check MLO STA + NAN + NDP concurrency support. Allow this
combination only If service cap and mlo sta presents.
Change-Id: I6fd0cae227eb8c4096444160b2450ad65dc51c30
CRs-Fixed: 3120645
WLAN Host timeout waiting for resume event from FW seems to
happen due to race condition between psoc idle shutdown and
runtime resume. So, to avoid that, add runtime sync resume
before calling the pld_idle_shutdown.
Change-Id: Ie4734e66e4cc887681262b596aa2e1c400aa6e43
CRs-Fixed: 3091738
Currently wlan_cfg80211_mc_cp_stats.h file is present at
qca-wifi-host-cmn/cmn/os_if/linux/cp_stats/inc.
With this change, move file to qcacld-3.0/os_if/cp_stats/inc
as this file contain MCC specific code.
Change-Id: Ia531094fb15ae86f5afab2b9c3bdde197feaac6c
CRs-Fixed: 3108266
Currently, wma_add_sta status is not considered while voting for
link up in case of NDI. But if wma_add_sta fails to add a peer,
this link vote leads to stale link vote up.
Same is the case for wma_delete_sta and the return status is not
considered. This leads to a vote down of link for a non-existing
peer if peer is not present.
Below scenario leads to this situation,
1. Enable NAN and have an NDP connection between two devices.
2. Try to establish another NDP between the same devices but
don't respond for the request on the responder side.
3. NDP timeout happens in firmware and firmware sends an
NDP CONFIRM failure with timeout reason. This event carries
number of NDP-peers on the peer also and firmware sends
this as 0.
4. Driver removes the peer entry as firmware mentioned
no.of peers left as 0. It shall vote down the link also.
5. Firmware sends NDP_END for the first NDP connection and host
tries to delete the peer entry as part of this. But the peer
got deleted @step-4 already and wma_delete_sta returns a
failure now.
As the peer is not present, corresponding link vote-down also
should be skipped.
To avoid these, consider the return status of wma_add_sta for
link vote up and consider the return status of wma_delete_sta for
link vote down.
Change-Id: Iea40961366307f57b4f969245c0732d685d5e415
CRs-Fixed: 3108455
During legacy to mlo roaming,lim join req memory
is malloced and new pe session is created for
link vdev. In success case, pe_roam_sync_callback(),
deletes the old pe session and lim_join_req
memory will be freed.
In lim_cm_fill_link_session() free lim_join_req
only in case of failures.
Change-Id: I1b156a0dd778880c3a9664fa333d34eb18afcee1
CRs-Fixed: 3121153
Add support for below EasyMesh specific commands
1. To set user specified channels in the acs channel list
2. To trigger ACS
3. To get the ACS report
Change-Id: I1090b9a86d62eddc9954b70835c7496e5a614757
CRs-Fixed: 3080222
MLO roam sync happens first for link vdevs and then for sta vdev.
Update roam_sync-complete data to other modules(if_mgr, osif,
TDLS, P2P, firmware,..) only for sta vdev. Skip the same for all
link vdevs.
Change-Id: Ib01c7cd8d9c0bd0e7b4b48914576410aea6baa5c
CRs-Fixed: 3104553