As a result of long path names and a large number of source files,
combined with upstream kernel build infrastructure changes, the
qcacld-3.0 build may encounter E2BIG errors when linking the final
wlan.o. To address this problem support for nested composite objects
is being added to the kernel. Update the Kbuild with the logic
required to take advantage of the nested composite support.
Change-Id: Ic6748517a922fc03a43acab2b44133b37e02707a
CRs-Fixed: 2861273
When the country is being updated via WMI, FW responds with a channel
list after some time. During this time, another event can come, blocking
the channel list from being updated. Add synchronization so that these
requests are blocked until the channel list is updated.
Change-Id: I4c1b7d33242226b8153821fdc14db54fff764c17
CRs-fixed: 2884840
Currently, there are two ini option 0/1 to disable/enable ILP
profiles in HW.
Extend this option upto 3 where
0 indicates disable
1 indicates perf settings
2 indicates max power saving
3 indicates balanced settings
Change-Id: Iff41b92b84309a670e2ad301ee72fb3caaba3df3
CRs-Fixed: 2886526
During suspend if the netif queue pause failed for some reason,
network stack may send the pkt for hard_start_xmit and will
crash due to device is in suspend state, so adding a check to
drop the pkt if device was already in system suspended.
Change-Id: I5b8f5511157f10e28297be4366fafe6e683c392b
CRs-Fixed: 2880892
While processing the roam synch indication reassoc response frame,
the new roamed peer object is not created. So call to
mlme_set_twt_peer_capabilities() to update the new peer capabilities
will fail with null peer object for new bssid. So after roaming,
update the peer TWT capabilities once the new peer object is
created.
Update peer TWT capabilities to new peer object after roaming to
avoid invalid peer capabilities.
Change-Id: Ic37bd4d96bf122b2ec3a60c1ae41650a672b9020
CRs-Fixed: 2870589
Remove g_prefer_5g_scc_to_dbs, and update PCL table
pm_second_connection_pcl_dbs_2x2_table.
For STA + GO concurrency if the second connection is GO,
perfer SCC to DBS, which makes GO get high throughput.
Change-Id: I0bf68662fc363a66c778904f9c12714407cd738a
CRs-Fixed: 2881383
In scenario, when ROAM HO failure is piggybacked on WOW wake up,
the blm reject AP addition fails as mutex can't be acquired in
interrupt context. With this change, the reject bssid blm
addition will happen after changing context to scheduler thread.
Change-Id: I685501b7ea48e4461922a7a50fb39c52d4d607f3
CRs-Fixed: 2880712
Currently when host receives disable channels command, it
disables the channels and if SAP is on it checks if SAP is
on one of the disabled channels in that case host stops the
SAP.
Based on current requirement host should restart the SAP,
with this change add support to restart the SAP if it is
operating on disabled channel.
Change-Id: I89ce21a8707e2c0af0737116b883be13503044e0
CRs-Fixed: 2885308
The number of fragments in TSO packet are assembled incorrectly
due to wrong loop condition in packet capture mode.
Fix the condition to assemble all segments of TSO packet
correctly in packet capture mode.
Change-Id: Ifd7be13e56c12b2cb4e6a5000b355c9fa972962d
CRs-Fixed: 2877021
Introduce HE cap IEs in addstareq. Also, Add
HE capabilities in frames for TDLS Setup Req,
Setup Rsp, Discovery Rsp. Add He Operations
in TDLS setup Confirm.
Implement APIs under feature WLAN_FEATURE_11AX
which will be used to:
1) Fill HE capabilities in TDLS Discovery Response,
TDLS Setup Request, TDLS Setup Response.
2) Fill HE operations in TDLS Setup Confirm.
3) Convert he_capa capabilities from station
parameters to tdls tDot11fIEhe_cap type.
4) Set Chan width based on session, peer
capabilities.
Change-Id: If36b1a3c3eed0e6026043494a097673f9d74b580
CRs-Fixed: 2883443
Structure qca_wlan_vendor_ll_ext_policy's definition and all
references to it should be enclosed by macro
WLAN_FEATURE_LINK_LAYER_STATS to avoid any compilation errors.
Change-Id: I0c9b1a10302f49f810ff1c3eb9a0c4aa4ea86cbc
CRs-Fixed: 2885428
There is possiblity of peer being accesed in rx napi context,
when peer is getting freed up at same time from scheduler
thread context in roaming scenario.
To avoid this race free up the peer when unmap handlers received
from F.W for all the peer ids.
Change-Id: Ia0b1fcc6b56e91efe914ca431aeac6e83b773a81
CRs-Fixed: 2867382
Refactor the function hdd_update_wiphy_vhtcap, and add two
independent functions to update the wihphy_vhtcap for 2G and 5G bands.
Change-Id: Iacf176c5b8bbf0032d1984775de3a9afee263883
Crs-Fixed: 2885702
Nss value for 160MHz starts with 0 value in FW. Correct the 160MHz Nss
setting value in peer assoc command.
Change-Id: Ib6a8457acdf222cbe66beaf4b78edd2cda3d9eab
CRs-Fixed: 2885598
Add a safety check to verify if the 2.4GHz band is
enabled/supported before updating the target config.
Change-Id: I05c0ac956acee0cd9550114836a0d41cfc3359ed
CRs-Fixed: 2883567
When CSR issues a start BSS message, it validates the requested start
freq against the internal CSR channel list. There could be a scenario
where this list is not updated and the validation fails. Check this freq
against the regulatory channel list instead.
Change-Id: I56b29fa6249a9245bb968c95c14e730b976f0f8d
CRs-fixed: 2884695
Enable force wake recipe feature DEVICE_FORCE_WAKE_ENABLE
and disable the generic shadow register write feature
GENERIC_SHADOW_REGISTER_ACCESS_ENABLE.
Enable feature HIF_REG_WINDOW_SUPPORT to enable the
windowed register read/write from HIF layer.
Change-Id: Ic19d80b686639eb12a2e0a7c0ebf991740a576e7
CRs-Fixed: 2850592
As chan num may be same for different bands, getting chan state
from channel number may provide incorrect chan state.
Fix is to get chan state from frequency instead of channel number.
Change-Id: Iaf379614d8e536dba2cde71b9294a5a4b018769a
CRs-Fixed: 2869828
Check for TCP proto in bypass_fisa API and deliver nbuf without fisa.
This will avoid additional processing and helps to deliver nbuf earlier.
Change-Id: I26a78e1204ddebab3a6c6e852ce6d289106dd110
CRs-Fixed: 2884112
Currently, the operation set thermal mitigation which is invoked
from PLD is not dsc protected. As a result it is causing a memory
leak issue when there is an idle shutdown is happening in parallel.
To avoid this, protect set thermal mitigation operation with dsc psoc
sync.
Change-Id: Id36086dd7668258f0aa1d57bc30948e14510e4de
CRs-Fixed: 2882729
Remove wlan_reg_is_24ghz_ch and wlan_reg_is_5ghz_ch in
wlan_hdd_send_avoid_freq_for_dnbs.
Change-Id: I5397e6bea3357a5793e30defa0cb05866cef15db
CRs-Fixed: 2881935
With WMI_SERVICE_UNIFIED_LL_GET_STA_OVER_QMI_SUPPORT FW service
capability, the INI parameter send_ll_and_get_station_stats_over_qmi
becomes obsolete. Remove corresponding code from host driver.
Change-Id: I3fe59c5401ea13e8c6f209d2302bc1ecde449227
CRs-Fixed: 2849302