Currently we process and free the nbuf from
queue while holding a lock for the complete duration.
There might be a case when there are many packets pending
in the queue. This might cause the issue when we held the lock
and other process waits for lock.
So as part of the fix only perform the nbuf unlink inside the
lock and move the processing and free part outside the lock.
Change-Id: Iea0cabecc25ce90c189454b288421b1e720777f2
CRs-Fixed: 3125790
This change optimises the time to enable the TX queues during
connection/roaming by deferring the oem response to userspace and
roam_auth event to wpa_supplicant.
Change-ID: I1724022de3b87482e4e4a35efac358de9f6a367d
CRs-Fixed: 3119070
Currently, for Broadcast TWT setup command, if peer does not
support TWT responder capability and supports broadcast TWT
capability then host rejects broadcast twt setup command
based on TWT responder capability.
Add condition to check the peer broadcast capabilities before
sending broadcast TWT setup request to firmware.
Change-Id: Iaa8941424d948d501655859564669baff4af9e69
CRs-Fixed: 3092276
Add PLD API to check if mode of interrupt is legacy or not in PLD
layer. It can be used by HIF layer when required.
Change-Id: Iac6fbe01755e833c062fc08940dd07f11b3452fa
CRs-Fixed: 3126969
Rename WLAN host driver name to qca_cld3_adrastea for helium
target.
In addition to satisfy this required symbolic link is created
statically and add adrastea defconfig file.
Change-Id: Id77a1ae01181238965fa666d017e94d827c4c67b
CRs-Fixed: 3126913
Add ini support to configure 6GHz active and passive
scan dwell time and send this to firmware
to be used for LFR scans via WMI_ROAM_SCAN_MODE.
Based on these values, firmware will use host sent values
else use hardcoded values.
Currently firmware uses hardcoded values to configure 6Ghz
roam scan dwell time. With this change user can configure
it using INI.
Change-Id: I90e79ad59eef7f73faa0b9dfd2d38b65aca12285
CRs-Fixed: 3116861
Enabling ndi_max_support=2 is consuming 4 vdevs + 11 peers
in firmware when STA and NAN(+2 NDIs) are active. Max peers
allowed in firmware are 11 only and this ini configuration is
consuming all of them.
There is no provision/memory for new peer allocation even for
simple use cases like roaming(roaming needs a temporary peer).
Revert this change and set the ini ndi_max_support=2 in target
specific ini files if required to avoid the peer exhaust issue.
This reverts change: Id45147541dba057c2f3420adee43c7a56e3ee72b.
Change-Id: If655b63071b07e96b4e343b8e1bb65acd33be625
CRs-Fixed: 3120555
Currently driver uses iface name to get netdev when it processes
ndp responder request. There is a possibility that framework does
not know the iface name when it sends the error response.
if driver does not receive iface name it fails to get the netdev
and fails to perform the dsc operation, because of which driver
drops the ndp responder request command.
To address this issue, use wdev to get netdev instead of iface name.
Change-Id: Idf394f4a22ace8757f947b2ef8e4a7d22e66d65e
CRs-Fixed: 3124009
Enable/disable TSF sync feature through QCA_TSF_SYNC_START and
QCA_TSF_SYNC_STOP NL command. Also add support to configure
TSF sync interval through QCA_WLAN_VENDOR_ATTR_TSF_SYNC_INTERVAL
attribute.
Change-Id: If679fdf2c92848402cf1b8fcbfb669cd1cc2b861
CRs-Fixed: 3108414
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