In wlan_hdd_cfg80211_start_pending_acs() the result of calling
container_of() is NULL checked. The container of a work_struct is
always a valid pointer, so the NULL check is unnecessary. Remove this
resulting dead code.
Change-Id: Iac4d48037ee27bc5de4c5fbc7f91188d837c6d49
CRs-Fixed: 2267075
1) Add ol txrx function to set TX descriptor limits for a
vdev.
2) Set the TX descriptor limits for STA and AP mode.
Change-Id: Ie9b1e52c3aff05db99ba3748a94792cc8116cdca
CRs-fixed: 2236321
Add function: ol_txrx_set_vdev_os_queue_status() to update
OS queue stop/start status in TXRX module.
Also call cdp_hl_fc_set_os_queue_status() from 'flow control
resume timer' to update OS queue status in TXRX module.
Change-Id: I03260985a48084bc523a3814c93c0e6b213e1970
CRs-fixed: 2236321
1) Populate legacy flow control ops 'cdp_lflowctl_ops'
for HL netdev flow control.
2) Also call cdp_hl_fc_register() to register HL flow control
callback.
3) Increase number of netdev queues to 5
Change-Id: I6bdb015b3325e54386f2aad093c89f6f782c24ed
CRs-fixed: 2236321
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_ioctl to use the new naming.
Change-Id: I5b6a062e02dc6db387c0a4e4cc363cdac7013f45
CRs-Fixed: 2267221
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_hostapd to use the new naming.
Change-Id: I63b3bc8017de7f73a09599f9e8c9ef41009d6bc6
CRs-Fixed: 2267151
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_power to use the new naming.
Change-Id: I6729766eda0b6dc31d62028a8552c9fa9d7ce4f0
CRs-Fixed: 2267218
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_wmm to use the new naming.
Change-Id: I225c7b62b2b104941564856b3ed1ee20e3a8e1cd
CRs-Fixed: 2267123
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_cfg80211 to use the new naming.
Change-Id: Ia9a7014db052c46ee16d2cb834b46a0b7afafeee
CRs-Fixed: 2267223
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_wext to use the new naming.
Change-Id: I3cabec634252453b33c8f480ba785cc739e872df
CRs-Fixed: 2267115
Because a SAP vdev can be repurposed as a station adapter, there is a
case where a station vdev that was created as a SAP vdev will try to
access uninitialized completion variables. As these members are directly
attached to the adapter struct, always initialize them, regardless of
the vdev type at time of creation.
Change-Id: Ifc14ec677ffa76551e55fe982a58df21d430d6c6
CRs-Fixed: 2266419
Recent num_vdevs configuration change involved the regression,
that num_vdevs in FTM mode isn't configured, and default 0 interface
allowed. This is blocking FTM initialized.
Though no vdev required for FTM, here use INI configuration
to bypass check as well.
CRs-Fixed: 2266815
Change-Id: I019814fb2c37f1f9b5922545769761bed7a0da52
Currently if the set mac adderess command comes, driver is
returning failure if any of the interface is using the MAC
address given in the command.
Return success if the same MAC address is passed in the command
for the same interface which is using this MAC currently.
Change-Id: Iaab6109aa015b6be525eba2bacbe05c3c796e033
CRs-Fixed: 2266755
Presently, while processing start_bss, after retrieving WPS IE from
the beacon frame, 15th byte of WPS IE is accessed to get WPS state,
without confirming IE length holds that much minimum length to access.
Before accessing 15th byte(WPS state) of WPS IE, make sure IE length
holds minimum length to access it.
Change-Id: Ic00c700a1fbf88183b8b2d834c9700b538700ce7
CRs-Fixed: 2239164
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern name
for what was previously called the tHalHandle. Subsequently change
"qcacld-3.0: Use mac_handle_t in wlan_hdd_stats" transitioned
wlan_hdd_stats to use the new naming. But while that change was in the
pipeline a new instance of tHalHandle was added. So now transition the
instance recently added to wlan_hdd_clear_link_layer_stats().
Change-Id: I2d17c729a92eb5c545b829fc6699e34233116f94
CRs-Fixed: 2266545
No valid channel found when DUT as P2P GO and radar signal detected,
stop ap and then up layer start ap again, session id of adapter
changed to invalid since session id of sap context is invalid and
passed to adapter in hdd_hostapd_sap_event_cb with event
eSAP_START_BSS_EVENT. So, do not clear session id of sap context for
stopping ap due to invalid channel case.
Change-Id: I3d60ae9b4ec8223dff26ffd9078b31e02bf29ba2
CRs-Fixed: 2257932
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_cfg to use the new naming.
Change-Id: Ib3a9d26cb8966b52b71e97d7b9fb8f2cca9ed916
CRs-Fixed: 2266499
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_ext_scan to use the new naming.
Change-Id: I69f8a76ae798ed00953727b7687f53506acd22d3
CRs-Fixed: 2266498
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_assoc to use the new naming.
Change-Id: I33e58d6c51124036d00e37fa3018379b7f99105a
CRs-Fixed: 2266433
While processing get_station cfg operation, HDD is using Nss
value, which gets updated during association, to calculate data
rate. So, there is a possibility of driver to report invalid
MCS index to upper layer if association happens with Nss 2 and
when data transmission is happening at Nss 1 rate.
On receiving GET STATS response, calculate Nss value based upon
the current data rate received from firmware, and pass it to HDD,
so that HDD can use the same Nss value to report valid MCS index
to the upper layer.
Change-Id: I62f029d53149a4747f619027ce69ce65fb280b8d
CRs-Fixed: 2250993
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_p2p to use the new naming.
Change-Id: I93514340fcfcf136e6e635aa142209f7cf35a68f
CRs-Fixed: 2266176
Create NDI vdev after adapter is added to back of hdd adapter list,
so that vdev create completion callback can identify right adapter
and set corresponding completion variable.
Change-Id: If72f779fabc15a9c29f7d94bffa041f7d42db1f4
CRs-Fixed: 2252030
Add missing break statement between cases in switch statement
in hdd_wlan_dump_stats.
Change-Id: I4e48bec92c06eb4d8c7ff602ad0535826b3ed0d3
CRs-Fixed: 2233182
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_twt to use the new naming.
Change-Id: Ia7148fa24d9ddfc53f27cdeb0667db6860b8d04a
CRs-Fixed: 2265586
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_apf to use the new naming.
Change-Id: I3be23a0d519e872e0f5d3b0cbf6184204f473a17
CRs-Fixed: 2264573
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_stats to use the new naming.
Change-Id: Ib61c29e2cc112df47c318cf8cb8848b9430c1066
CRs-Fixed: 2265345
During hard_start_xmit, set a flag in SKB CB to indicate DHCP ACK
packet, and a callback gets called on TX completion.
Change-Id: I4e11b2c35b4747c7af35a387b404e3ccb1e8e8e4
CRs-Fixed: 2253557
Currently the driver creates and deletes the objmgr peer
in HDD layer. According to the latest requirement, the CDP
peer create/delete needs the pointer of objmgr peer, which
thus has to created before CDP peer create, and deleted
after CDP peer delete, which is done in WMA layer.
Remove the objmgr peer create/delete from HDD, and move it
to the WMA layer.
Change-Id: I5bd62a83864e09a3728109e2deec2adf4bb899b5
CRs-Fixed: 2264892
While processing WIFI_LOGGER_START vendor command, HDD passes
uninitialized 'user_triggered' variable(member of start logging
object), to down layers, which may lead to enable packet logging,
not in the way user intended.
Make sure valid data is passed to down layers by initialize start
logging object and assigning valid data to the user_triggered variable.
Change-Id: I38ac09a6b658eefb52ab113c885ce3ab54f36535
CRs-Fixed: 2235153
currently some HE capability is shared same value from
MIN value of 2G and 5G capability, separate them per band.
Change-Id: I37831b4044d4ca2deaf5015fb44227c824996136
CRs-Fixed: 2239070
Add vendor command support to enable or disable GTX.
Currently there is no vendor attribute to enable/disable
GTX from vendor command. Add vendor attribute
QCA_WLAN_VENDOR_ATTR_CONFIG_GTX support through
QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION vendor command
and with new wmi command WMI_VDEV_PARAM_GTX_ENABLE.
Change-Id: I8a740f9209ffd5f6438c3cfdd830ee2a76d0aa52
CRs-Fixed: 2253655
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_oemdata to use the new naming.
Change-Id: I78c2a1d6b93b7357071455d3585d9b6932863d55
CRs-Fixed: 2264435
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_nan_datapath to use the new naming.
Change-Id: I3f292fda33c4ab0085407cf87fcc8297e4be13f6
CRs-Fixed: 2264407
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_regulatory to use the new naming.
Change-Id: I9626ae9722d43bae1840f95b49cd8014e87acc5c
CRs-Fixed: 2264404
Add recovery ability for ftm, otherwise it will fail in
cds_trigger_recovery_work
Change-Id: I425a0eadc174bc5a56e62ad3ebfb78841140abee
CRs-Fixed: 2258709
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_tx_rx to use the new naming.
Change-Id: I9793ded75df9c0a0347ab3d1cba5ef85065fe653
CRs-Fixed: 2264433
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern name
for what was previously called the tHalHandle. Transition
wlan_hdd_scan to use the new naming. In the case of scheduled scan
remove unnecessary testing of the handle since the scan component will
validate the actual vdev.
Change-Id: I68d2be133bd6d18c97ad5211b0d6f95f4ad28652
CRs-Fixed: 2264397
Android Packet Filter 3.0 requires the framework to be able
to read and write into the APF work memory in the Firmware.
It also requires to be able to enable or disable the
interpreter.
Add support for the new read/write/enable/disable operations.
Change-Id: Ic72243b918f4a8385a92b803a1ca3c5305423b52
CRs-Fixed: 2184969
In case of rmmod if stop bss fails SAP IPA interface is not
deleted. So again at next driver load IPA will be holding the
stale IPA header and new IPA header will not be added at IPA
interface creation. In this change clean IPA interface when SAP
stop bss fails.
Change-Id: I3a1bf891752308ba1a29d6768f24880d8514d5bf
CRs-Fixed: 2224307
Change "qcacld-3.0: Add ARP debug stats" (Change-Id
Idce70799bd3698dc8a8ecd8cfc8ef7d9bf1f5764) removed the only use of
wlan_hdd_latency_opt(), so remove this now obsolete function.
Change-Id: I27a3157072847e313fe8379abd2de4ec76cfef57
CRs-Fixed: 2263616
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_he to use the new naming.
Change-Id: Id0ee15548a2bb78258afd9381bad6b4834e0e47c
CRs-Fixed: 2262588
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_tsf to use the new naming.
Change-Id: I180e9a6347e5bccea41f9c14612d888711aa6485
CRs-Fixed: 2262587
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_debugfs to use the new naming.
Change-Id: I762d1f9520c94beafc912f9b6e3720531af0eeea
CRs-Fixed: 2262586
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_lpass to use the new naming.
Change-Id: Id5ffe841fa4d81a07756c7e9f9d9873d2ba921cb
CRs-Fixed: 2262585
Add the compilation flags for TWT feature to Kbuild.
Based on the compilation flag, include the source
files for compilation and also include the header
files path.
Change-Id: I45991b3c9e49e2aa0ff51a2650fde69ea447bf15
CRs-Fixed: 2238302