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
hdd_association_completion_handler function calls with
roam_info set to NULL are not handled. Due to this the conn_state
remains in eConnectionState_Connecting state. Hence add handling for
connection failure with no roam info.
Change-Id: Iaf12ce44fac62c021b9bc3dbc31624f3f98e1444
CRs-Fixed: 2876141
Customer tries to trigger quick connect (connection without scan)
just after roaming and reading scan_cache_entry parameters. But
currently the scan_cache_entry parameters followed by roam sync
event are not filled properly.
To Fix this fill Rssi from roam sync indication fixed parameters
and fill seqno from frame mac header during roam sync indication.
Change-Id: Iebe817ac996ecca3998bcf25e62304797a70ea2b
CRs-Fixed: 2870742
Replace WLAN_REG_IS_24GHZ_CH with WLAN_REG_IS_24GHZ_CH_FREQ
in wlan_hdd_conc_ut.c.
Replace WLAN_REG_IS_5GHZ_CH with WLAN_REG_IS_5GHZ_CH_FREQ
in wlan_hdd_conc_ut.c.
Change-Id: I9c4ccf5bced3202df0a6b9be9d7c2639704db838
CRs-Fixed: 2759282
Currently, Driver reads MAC address from MAC cfg file if it is present.
Kernel has a timeout of 60secs and userspace tries to loop till the
file is read if it is during the boot. So this will result in dsc
transaction timeout if the MAC cfg file is not present in the device.
To avoid this, add INI parameter to read this MAC cfg file and enable
it only when the MAC cfg file is present in the device.
Change-Id: I0bd9c089b6077534a07cb68deb07feb6064a5b88
CRs-Fixed: 2877424
Update the logic to fix a potential memory leak when there is an
invalid country IE. Also update the logic to not reject the connection
in the case of an invalid country IE, since this is a bad user
experience.
Change-Id: I6a2b50a483e65554a6622dccbb0bac61331fc4fb
CRs-fixed: 2883385
Fix the PSD start freq calculation for sap case.
Also, remove duplication of 6ghz freq checks in
tpc power calculation api.
Change-Id: I5f1773b551ff7b893514b5c7720c6684fc100077
CRs-fixed: 2879460
INI parameters are configured based on requirement. It is expected
that atleast one parameter should be configured through INI file.
To mandate this, trigger assert when failed to parse atleast one INI
parameter from INI file.
Change-Id: Ia94f9ae9ce91d7e57f7a6be6c6f955de5ba860a4
CRs-Fixed: 2881695