The hdd_set_netdev_flags enable the TSO feature regardless of the
FEATURE_TSO, which will cause the performance regression issue on
the non-tso supported chip.
Enable TSO feature based on the FEATURE_TSO, and enable the SG feature
separately by ini dp_sg_support for legacy chip to fix it.
Change-Id: I0fcb189069f0aa2069ae8427ad96a8db25a91a2f
CRs-Fixed: 2812953
Firmware sends peer create confirmation to detect duplicate peer
on other vdev. If the status field in the
wmi_peer_create_conf_event_fixed_param is 0, peer creation is
successful.
Add support to handle the peer create confirmation command for
sta mode. For roaming scenario, the peer will be internally
created by the firmware, so bail out after creating object
manager peer/datapath peer without sending the peer create
command similar as the current implementation.
For SAP/P2P Go mode the legacy peer create path will be used.
Proceed to do post linkstate change if status is success, else
do vdev stop and indicate failure to upper layers
Change-Id: I0abbd70dd509f2b9afa8d4d7db1774e289d1e021
CRs-Fixed: 2747870
It uses policy of wlan host to check settings from user space in
msm-5.4, which causes user application failed to trigger cfr vendor
command. This change updates nla policy of cfr and let it compatible
with msm-5.4.
Change-Id: Ia7e9bb1e12b4e4f586abb650fe52a62292b0f11d
CRs-Fixed: 2819321
Add sysfs node for DP level memory stats:
/sys/kernel/wifi/wlan/wlan_dp_mem_stats
This includes: Tx SKB memory allocated, Rx SKB memory
allocated, high watermarks for the memory allocations
in Rx/Tx path, Rx/Tx buffer counts, high watermarks
for these counters, outstanding Tx decs count and high
watermark for the outstanding Tx descs.
Change-Id: I58a31c6a6140801eb59512f8d764ddf8fb1d4213
CRs-Fixed: 2724442
Add a check for passive channels when checking the restricted
bands on SAP. This change blocks SAP from restarting on a passive
channel.
Implement the function to filter out passive channels from the PCL.
Change-Id: I80a4b78c1af77f5bfa68be3163f9e9a78cc6425a
CRs-fixed: 2817589
Modify connect start code in interface manager by
moving disable roam and tdls link teardown notify
APIs from HDD to if mgr. Alongside, move tdls link
teardown notify API from HDD to if mgr in start bss API.
Also, move the tdls link teardown API to TDLS module from
HDD module as TDLS should manage the wait logic.
Change-Id: I09fa31878563a3daaa7c5fde46327475829317b3
CRs-Fixed: 2811807
Use hdd_objmgr_get_vdev_by_user to get OCB dbg ID instead of
hdd_objmgr_get_vdev.
Change-Id: I7e37c91a4e6670ddb6772dfce3235284a411b7c2
CRs-Fixed: 2823479
firmware sends Hw-limit tx power in vdev response and roam sync.
Do not loop back the same value to firmware; since firmware already
knows the value.
Change-Id: Ie9ba329516d5d75329bb1baaed13c8bdb7d1eb83
CRs-Fixed: 2823108
Change HDD layer to use WLAN_OSIF_SPECTRAL_ID reference count
dbg id for vdev reference count acquire/release when process
spectral scan request.
Change-Id: I432821275cb4a88cecc049403145868239899c15
CRs-Fixed: 2820488
Add new ini "monitor_mode_concurrency" to support this feature
and introduce policy manager api's for concurrency checks.
Change-Id: I35ee1fece0a6f9ae8fe340b0598c4a3e20b17e82
CRs-Fixed: 2814523
In mission mode, add support for virtual add/del monitor
mode interface. In addition to STA vdev, create and maintain
a new vdev for monitor interface.
Change-Id: I91ea8e56976cce92f9b1ae308d4bd0fb30815366
CRs-Fixed: 2818499
For all Power/WOW operations in HDD layer, use WLAN_OSIF_POWER_ID
reference count dbg id for vdev reference count acquire/release.
Change-Id: Iec49ba5f2dfc1d809f64767d17eb00e4ba25739a
CRs-Fixed: 2819394
Enhance qdf tx rx to hw tx completion status mapping.
Add inline function to convert hw status to qdf
status. Add dummy argument to qdf_dp_trace_ptr function.
Change-Id: If225bf385a3ce12f354f761594bf3d51ff710a13
CRs-Fixed: 2810592
On some third party platform, the in-band bus suspend-resume is
not supported well, instead add gpio irq as wakeup source to
support out-of-band suspend-resume.
Change-Id: I7621f04d093013e15719b5c84dc244604be238df
CRs-Fixed: 2815754
From ROME, when FW assert, need to wait for ram dump via PCIe completed
before calling QDF_BUG.
Change-Id: I3d76f34c5eacccae07ed485b679a4177be12b15e
CRs-Fixed: 2818715
When set ini gEnableConcurrentSTA to wlan1, two adapters with STA
type will be opened in initialization, in STA+P2P_CLI test case,
it will be failed for checking maximum allowed STA vdevs in change
interface APIs from QDF_P2P_DEVICE_MODE to QDF_P2P_CLIENT_MODE. If
just open adapter with STA type and don't start adapter, it won't
create vdev in firmware.
When do interface up action, hdd_start_adapter() will create vdev in
firmware really, so add interface up status check when checking for
max allowed STA vdevs and check max allowed STA vdevs in
hdd_start_adapter().
Change-Id: I5b2dd09fb58aa3135743a029889e689729bd05a7
CRs-Fixed: 2815174
cds_get_context() function already takes care of logging the
caller function name in case of any error.
Hence there is no need to add the error log again.
Getting rid of these unnecessary logs reduces driver memory footprint.
Change-Id: I44e2998effe642932d83376bf92083be8d52073d
CRs-Fixed: 2822110
Check the factors as below to decide whether the channel is
allowed or not:
* If the channel is in LTE coex channel avoidance list;
* If it's STA+SAP SCC;
* If STA+SAP SCC on LTE coex channel is allowed.
Replace policy_mgr_is_safe_channel() with this new function
for sap channel selection and acs channel filtering, to allow
unsafe channels when it's STA+SAP SCC and STA+SAP SCC on LTE
coex channel is allowed.
CRs-Fixed: 2743042
Change-Id: Ic5a84b2628200fe9decf6972f00706f190f04722
Add logic to
- Check if connect req freq is 6Ghz and security
is not allowed for 6Ghz, reject connect.
- Ignore 6Ghz APs if connect req security is invalid
for 6Ghz
Also added user config key_mgmt_mask_6ghz mask
to allow specific AKMs, by default all are allowed.
Add added user config check_6Ghz_security to enable
security checks as per spec.
Change-Id: Iada7bb685b272e26cff7e89cf64d181ed6eb48a4
CRs-Fixed: 2820358