Commit Graph

6842 Commits

Author SHA1 Message Date
snandini
b1629ee112 Release 5.2.0.47C
Release 5.2.0.47C

Change-Id: I495cb0d1f8b8fcd5b52ac3ad528f1c2b8032b6a0
CRs-Fixed: 774533
2017-10-04 22:48:36 -07:00
Ravi Joshi
e55f42cfe7 qcacld-3.0: Enable support for multiple NAN peers per NDI
Enable support for multiple NAN data path peers from host.
FW already supports multiple NAN peers.

CRs-Fixed: 2121121
Change-Id: I23307c5f56114084a93b3afae0e23a07251c5013
2017-10-04 22:48:22 -07:00
snandini
e626ea5aff Release 5.2.0.47B
Release 5.2.0.47B

Change-Id: I5f077a7aabab270ea6464cebc3fced1e703d5a07
CRs-Fixed: 774533
2017-10-04 21:52:29 -07:00
Naveen Rawat
60f39da929 qcacld-3.0: Check vdev_id against wma->max_bssid
Check vdev_id against wma->max_bssid in wma_mcc_vdev_tx_pause_evt_handler to
avoid bufer overflow.

Change-Id: Ie47a0ed2f7f27f13a01e1b2cb365fae66b41b1df
CRs-Fixed: 2120677
2017-10-04 21:52:29 -07:00
snandini
05512b452b Release 5.2.0.47A
Release 5.2.0.47A

Change-Id: Ide7b368167f12a361bed8aa24cc68f6462c268bd
CRs-Fixed: 774533
2017-10-04 19:26:15 -07:00
Dustin Brown
8719476c67 qcacld-3.0: Print value of gPreventLinkDown
Print the configured value of gPreventLinkDown in hdd_cfg_print()
for debugging purposes.

Change-Id: I765ca66ffaa6bdd958fb779189253f50ae5cf352
CRs-Fixed: 2115299
2017-10-04 19:26:12 -07:00
snandini
fed77d1ef3 Release 5.2.0.47
Release 5.2.0.47

Change-Id: I28886bea9fa4b9f509a8dff6e6ed61cd812d3864
CRs-Fixed: 774533
2017-10-04 18:29:45 -07:00
Venkata Sharath Chandra Manchala
9abac31eba Revert "qcacld-3.0: Propagate config parameters to datapath"
This reverts Change I852b14cb04b1c2c01a697434bc5fe8b29dbfe9ea.

Change-Id: Ia433fdcb58feea27c5897975002bb347d6b96bb4
CRs-Fixed: 2097229
2017-10-04 18:29:40 -07:00
snandini
89ad2ce0da Release 5.2.0.46Z
Release 5.2.0.46Z

Change-Id: Ib1c3427b985fda027d9045dd3bfbf5366cb408cf
CRs-Fixed: 774533
2017-10-04 14:09:02 -07:00
Jeff Johnson
cc98797190 qcacld-3.0: Remove obsolete HDD WAPI definitions
Many of the HDD WAPI definitions are obsolete, so remove the ones that
are no longer being used.

Change-Id: I342a8f590c835ddec03b2a20d16ad8f0014ca6af
CRs-Fixed: 2119533
2017-10-04 13:04:45 -07:00
Jeff Johnson
8215592437 qcacld-3.0: Replace typedef hdd_station_info_t
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_station_info_t typedef does
not meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I2ad73b4ac543b56d0883e20c0d20d4ddd473c35a
CRs-Fixed: 2119525
2017-10-04 13:04:45 -07:00
Jeff Johnson
673fd5b80a qcacld-3.0: Replace typedef t_multicast_add_list
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The t_multicast_add_list typedef
does not meet any of those criteria, so replace references to it with
a reference to the underlying struct.

Change-Id: Ic70b2e2c716963b0f267bae86961cbf973246b24
CRs-Fixed: 2119523
2017-10-04 13:04:45 -07:00
Jeff Johnson
44e5217218 qcacld-3.0: Replace typedef beacon_data_t
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The beacon_data_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I2202f452549da705a315e89993f100617eb7e0e1
CRs-Fixed: 2119522
2017-10-04 13:04:45 -07:00
snandini
dd71ba999f Release 5.2.0.46Y
Release 5.2.0.46Y

Change-Id: Iee59aafcf2918c47843b293edfd92788e4e77528
CRs-Fixed: 774533
2017-10-04 08:41:29 -07:00
Poddar, Siddarth
aee8ff668f qcacld-3.0: Cleanup of hdd_wlan_startup
Cleanup the hdd_wlan_startup, presently lot of configuration
is written to firmware from the startup function which is not
correct with different driver models supported. Move the feature
initialization to hdd_features_init. Also in the probe failure
error path netdev notifier is not getting unregistered.
Leaving stale pointer with the kernel which can lead to a crash.

Unregister the netdevice during the probe failure and cleanup features.

Change-Id: If7fe7c4c0f97e4b4829551840643c4e525696c76
CRs-Fixed: 2090570
2017-10-04 08:41:29 -07:00
Arunk Khandavalli
932a9e161a qcacld-3.0: synchronize interface change timer with driver shutdown
As part of the last interface down, driver starts the interface
change timer to close the modules of 15seconds, if there is no
request to use the interfaces from upper layer during this time
the timer expiers and closes modules. There can be SSR/PDR triggered in the
different context which during shutdown tries to call the
respective module notifiers which can be purged/freed
in the timer context.

Synchronize the interface change timer callback with the shutdown
using the interface change timer lock. Following steps are taken
to make sure one thread is completed before other thread starts
execution:
	* Set the respective flag of recovery inprogress or fw_down
          so that access to firmware is blocked.
	* Take the interface change lock, so if the timer callback
	  is running it will complete the closing the modulkes,
	  or if the uevent gets the lock it completes the calling
	  notifiers and purges the same.
	* Release the interface change lock.

Change-Id: I1d7f62cd0ce7268cc9a5bda2a72dae384b70a6e2
CRs-Fixed: 2100846
2017-10-04 08:41:26 -07:00
Nachiket Kukade
aaf8a71ef5 qcacld-3.0: Implementation to change BmissFinalBcnt dynamically
Implementation to change BmissFinalBcnt dynamically.
User can set totalBcnt using the new command
QCA_WLAN_VENDOR_ATTR_CONFIG_TOTAL_BMISS_CNT.
BmissFirstBcnt will retain its default value or from ini.
BmissFinalBcnt will be configured as (totalBcnt - BmissFirstBcnt).

Change-Id: Ie3c3895d48248d349400e755f07edc807e335b44
CRs-Fixed: 2081906
2017-10-04 08:41:24 -07:00
Arunk Khandavalli
062fb036ec qcacld-3.0: Add SSR support for monitor mode
Presently SSR is not supported in the monitor mode, in the debug
builds the device enters bad state when the SSR is triggered
in the monitor mode.

Make changes to support SSR in monitor mode.

Change-Id: Iee88a0c1aca1b093607cea20ee1957be55a33598
CRs-Fixed: 2034240
2017-10-04 12:18:15 +05:30
snandini
141f12cb55 Release 5.2.0.46X
Release 5.2.0.46X

Change-Id: I8e11706dab5fc798fb4f3cd6a373fb2321d3d42a
CRs-Fixed: 774533
2017-10-03 22:00:50 -07:00
Jeff Johnson
ba1d0cad25 qcacld-3.0: Replace typedef hdd_tx_rx_stats_t
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_tx_rx_stats_t typedef does
not meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ic3ff995d10e65f949ee069b134d9826583461b1e
CRs-Fixed: 2119524
2017-10-03 16:35:33 -07:00
snandini
ca1341f9e2 Release 5.2.0.46W
Release 5.2.0.46W

Change-Id: Id8cab7b8a9bfeaf6801031206a458b859cf8dac9
CRs-Fixed: 774533
2017-10-03 16:02:57 -07:00
Krunal Soni
332f4afc05 qcacld-3.0: For host-invoked roaming to same AP, don't to send null frm
During host invoked roaming, set WMI_ROAM_INVOKE_FLAG_NO_NULL_FRAME_TO_AP
flag so that FW will not send NULL data frame while doing transition to
same bssid.

CRs-Fixed: 2046964
Change-Id: I043c3d2431e4da5af36fb710bd36a520550abbd3
2017-10-03 16:02:56 -07:00
Poddar, Siddarth
44aa5aa772 qcacld-3.0: Add support to log ICMPv6 packets in DP Trace
Add support to log ICMPv6 packets such as NS/NA, RS/RA and
ICMPv6 Req/Res in dp trace.

Change-Id: I20ba677db59044569516348cd11427fb820175a8
CRs-Fixed: 2075962
2017-10-03 16:02:53 -07:00
snandini
79225a6e90 Release 5.2.0.46V
Release 5.2.0.46V

Change-Id: I7cbc6262e013cec2084745d92ccd550ecfeb2fa9
CRs-Fixed: 774533
2017-10-03 11:46:05 -07:00
Arunk Khandavalli
847969de19 qcacld-3.0: Dont disable the ps conf to firmware
Presently, host driver is sending the exit power save
configuration request to firmware when an interface up comes
before iface_change_timer which is not required because firmware
is the master and decides to enter/exit imps.
To mitigate the issue, don't send the exit IMPS request to firmware
before interface change timer expires and re-configure the same
incase of loadonce-unload never in case of firmware is de-initialzied.

Change-Id: Ia47687cdcfc5a5fb7be1a8066e163c3248305bba
CRs-Fixed: 2002110
2017-10-03 11:46:04 -07:00
snandini
cbeaea46cc Release 5.2.0.46U
Release 5.2.0.46U

Change-Id: Id6c45713e0207db438919da2b56de83eb9b50bac
CRs-Fixed: 774533
2017-10-03 10:14:14 -07:00
Vignesh Viswanathan
eaa6889efa qcacld-3.0: Send DPP Public Action frames to userspace
Allow DPP public action frames to be sent to user space.

Change-Id: I50790772cd7c1b51ae2242fb096345047c08460c
CRs-Fixed: 2106568
2017-10-03 10:14:14 -07:00
snandini
19450db6d7 Release 5.2.0.46T
Release 5.2.0.46T

Change-Id: I2df11cb8809a13289ee5ee66493cf97523006e54
CRs-Fixed: 774533
2017-10-03 08:24:16 -07:00
Sravan Kumar Kairam
d80c7669d0 qcacld-3.0: Shutdown IPA WDI pipes on PDR event
Shutdown the IPA WDI pipes on PDR event from ICNSS driver to
prevent the possibility of IPA diver invalid access of CE ring
registers.

Change-Id: I19da0c015ba229512f71d7016236b106d9d8ee43
CRs-Fixed: 2072920
2017-10-03 08:24:15 -07:00
snandini
31322d25cf Release 5.2.0.46S
Release 5.2.0.46S

Change-Id: If38b321c5b5d7e6c863c196cec5c4fa3ed7e486e
CRs-Fixed: 774533
2017-10-03 07:46:19 -07:00
Sravan Kumar Kairam
8ea5ee2120 qcacld-3.0: Add net buff pop fail counter
Add net buff pop fail counter which helps to debug issues
related to scenario when RX ring fill count exceeds the fill
level.

Change-Id: I00f4a4e245e0732ef04518e4c1db95999edc6687
CRs-Fixed: 2106523
2017-10-03 07:46:18 -07:00
snandini
9e2d24aec9 Release 5.2.0.46R
Release 5.2.0.46R

Change-Id: I67f4e6b9a663d72d7dd760443421f52be8d07c4c
CRs-Fixed: 774533
2017-10-03 05:36:18 -07:00
Abhishek Singh
b58164af41 qcacld-3.0: Choose best candidate at first connection
Best candidate at first connection is a mechanism
to select best possible candidate for making Wi-Fi
connection based on the scan results provided.
Driver use Scan results to calculate score for each
BSS and select the best candidate to connect.
This enhances the user experience by connection
to better AP, based on certain parameters.

Change-Id: I3f88fa8c67f4cf830f05faf2c1d3f3491eee9a72
CRs-Fixed: 2018585
2017-10-03 05:36:18 -07:00
snandini
ae74b08460 Release 5.2.0.46Q
Release 5.2.0.46Q

Change-Id: I84fbdfc7c593e5d828085d887069edaac77f268c
CRs-Fixed: 774533
2017-10-03 04:14:20 -07:00
Sourav Mohapatra
3a13bf5f9f qcacld-3.0: Modify max for gEnableRTSProfiles item to accommodate more profiles
Change the max value of gEnableRTSProfiles from 34 to 66 as firmware has
support for 66. Update the template describing the different values that
can be used for the profile.

Change-Id: I5a6a398c74804022075a06ca0e17858335064c5b
CRs-Fixed: 2116704
2017-10-03 04:14:19 -07:00
snandini
4c04a8695b Release 5.2.0.46P
Release 5.2.0.46P

Change-Id: I4e652ea4efbf617757fc860beaa0de385ccfcc0e
CRs-Fixed: 774533
2017-10-03 03:30:45 -07:00
Krunal Soni
e6a1cda95e qcacld-3.0: Bring back changes of Antenna sharing for STA
Change-id Iafd5666179d079c7bcc950277092cef3046356bf was added to remove
antenna sharing support from SAP and STA case but customer needs those
changes for SAP case only.
So bringing back changes for STA case.

CRs-Fixed: 2117829
Change-Id: I79f7c5ae1fd642f0b26170f066a5409638cdd873
2017-10-03 03:30:44 -07:00
Vignesh Viswanathan
f8800692cd qcacld-3.0: Fix potential buffer overwrite in wma_roam_synch_event_handler
In the function wma_roam_synch_event_handler, vdev_id is received from
the fw and is used to access member of the array wma->interfaces without
validating the max of the vdev_id received from the fw

Add check to make sure vdev_id is less than max_bssid before using it

Change-Id: I3b940e183ab66680891cb7351af4537b50afce1d
CRs-Fixed: 2114187
2017-10-03 03:30:42 -07:00
Vignesh Viswanathan
677e3ec4b7 qcacld-3.0: Avoid integer overflow in wma_rx_aggr_failure_event_handler
Add sanity check to ensure num_failure_info from FW does not cause
integer overflow while calculating alloc_len, as alloc_len is in
turn used to malloc which can lead to less than required memory
allocated in case of integer overflow of alloc_len

Change-Id: Iea93e879196e9cd43856a7dcc9204d2304f76c78
CRs-Fixed: 2114789
2017-10-03 03:30:41 -07:00
Jeff Johnson
dadef1a675 qcacld-3.0: Replace typedef fw_log_info
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The fw_log_info typedef does not
meet any of those criteria, so replace it with a struct.

Change-Id: I4ec73e046f2439c094cb6d05a99d883241c7fe20
CRs-Fixed: 2119521
2017-10-03 03:30:39 -07:00
Jeff Johnson
d5ba8a632e qcacld-3.0: Fix semantic issues with IPA counting macros
Checkpatch identified multiple issues with the macros:
HDD_IPA_INCREASE_INTERNAL_DROP_COUNT
HDD_IPA_INCREASE_NET_SEND_COUNT

Fix those issues.

Change-Id: If947d09ec2a13ab599f7a08e572ed2c9cc87c8e8
CRs-Fixed: 2119501
2017-10-03 03:30:37 -07:00
Jeff Johnson
82cc76fb35 qcacld-3.0: Fix spurious space in CFG_MAX_AMSDU_NUM_NAME usage
Checkpatch is flagging the following issue:
ERROR:SPACING: space prohibited before that ',' (ctx:WxW)
+	REG_VARIABLE(CFG_MAX_AMSDU_NUM_NAME , WLAN_PARAM_Integer,
 	                                    ^

Remove the spurious space.

Change-Id: I60d78072cbaa6b24df14c623af35b99ef81606d5
CRs-Fixed: 2119500
2017-10-03 03:30:35 -07:00
Jeff Johnson
6867ec3361 qcacld-3.0: Fix incorrect use of CDS logging APIs within HDD
It was observed that logs from some HDD functions were tagged with the
QDF module ID. Code analysis showed some HDD functions are using cds_*
logging APIs instead of hdd_* logging APIs. Replace the cds APIs with
the hdd APIs.

Change-Id: I38edb7b5491d0d2d1412b41d3ae6e129ebc4dbe0
CRs-Fixed: 2090970
2017-10-03 03:30:33 -07:00
Venkata Sharath Chandra Manchala
880a948ed9 qcacld-3.0: Propagate config parameters to datapath
Provide an interface to propagate the feature
specific config parameters to Lithium datapath.

Change-Id: I852b14cb04b1c2c01a697434bc5fe8b29dbfe9ea
CRs-Fixed: 2097229
2017-10-03 03:30:31 -07:00
Naveen Rawat
903accac1f qcacld-3.0: Remove LTE ant sharing dependency on HT connection's NSS
While DUT is in SAP or GO mode, due to LTE antenna sharing mechanism,
DUT is associating in 2x1 chains to HT clients.

As per new requirement, remove dependency of number of chains on antenna
sharing. If HT client supports 2 chains, and due to DBS/LTE antenna
sharing SAP/GO drops down a chain then rate adaptation at peer takes
care of dropping down chains at peer side

Change-Id: Iafd5666179d079c7bcc950277092cef3046356bf
CRs-Fixed: 2108484
2017-10-03 03:30:29 -07:00
snandini
9a260a84ae Release 5.2.0.46O
Release 5.2.0.46O

Change-Id: I0213fe93cf1e004379b1fe385e5e9d7c6056b5d0
CRs-Fixed: 774533
2017-10-03 02:38:56 -07:00
Ganesh Kondabattini
1a2aed894a qcacld-3.0: Maintain limit off channel params per adapter
The limit off channel parameters were applied to all adapters
even though application sends this command on a particular
interface.

Maintain limit off channel parameters per interafce.

CRs-Fixed: 2103637
Change-Id: Ib768bfb61deac77ea2d67b7d6b6750a96bdc8902
2017-10-03 02:38:55 -07:00
Vignesh Viswanathan
9f090ad8f9 qcacld-3.0: Avoid integer overflow in wma_get_ll_stats_ext_buf
Check multiple variables received from firmware used to calculate
buf_len to make sure that it does not exceed the max msg size, as
this buf_len is in turn used in malloc and can lead to less than
required memory allocated in case of integer overflow of buf_len

Change-Id: I2689873c2c5e63c83e5059563662c0c69dc659fc
CRs-Fixed: 2115112
2017-10-03 02:38:54 -07:00
snandini
6e306f132f Release 5.2.0.46N
Release 5.2.0.46N

Change-Id: Ia1f58491216f5651f02a288484680193c64401d4
CRs-Fixed: 774533
2017-10-02 21:43:32 -07:00
Jeff Johnson
f8d455c4c2 qcacld-3.0: Prevent pHddCtx from being re-introduced
A recent set of changes replaced all instances of pHddCtx in the
driver. But one subsequent change re-introduced the term (this was
subsequently fixed), and code under review is also attempting to
re-introduce the term. Put a mechanism in place to prevent this term
from being re-introduced.

Change-Id: I424045ec36678da3d3aa47029fbcdfd6140057a0
CRs-Fixed: 2118493
2017-10-02 21:43:32 -07:00
snandini
8221d9490f Release 5.2.0.46M
Release 5.2.0.46M

Change-Id: Ifae69ce5349322b8782fd0940b72f2b10be4dd20
CRs-Fixed: 774533
2017-10-02 15:42:10 -07:00
Rajeev Kumar
493a31be99 qcacld-3.0: Set hdd context to null when its freed
HDD context in gp_cds_context is not getting reset to null during
driver remove callback when hdd context is destroyed. Set HDD context
to null to avoid any use after free.

Change-Id: Ifbeaca139ed44f871266a11f4b9e973961e26cc8
CRs-Fixed: 2119187
2017-10-02 15:42:10 -07:00
snandini
41458e1fde Release 5.2.0.46L
Release 5.2.0.46L

Change-Id: Iebed444275d105307e6fa2acc55d367624ba2224
CRs-Fixed: 774533
2017-10-01 13:35:16 -07:00
Varun Reddy Yeturu
0a2c310e29 qcacld-3.0: Check for the max number of P2P NOA descriptors
Check for the maximum number of P2P NOA descriptors in
wma_send_bcn_buf_ll.

Change-Id: If7e5b3c53309412dc7d3cd748c2f5581898fbbfe
CRs-Fixed: 2114323
2017-10-01 13:35:16 -07:00
snandini
a57afa51c2 Release 5.2.0.46K
Release 5.2.0.46K

Change-Id: I32e1c2412bd26c3a80e067def72d6aacd1bacfeb
CRs-Fixed: 774533
2017-10-01 11:34:38 -07:00
Varun Reddy Yeturu
c31391065e qcacld-3.0: Avoid int overflow in wma_unified_link_radio_stats_event_handler
Check for the validity of the number of channels passed in the
radio stats event received from firmware to ensure an integer
overflow does not happen.

Change-Id: Idf5738a40139aafad4de422965dc4ff3d0e53a32
CRs-Fixed: 2114426
2017-10-01 09:31:33 -07:00
snandini
084d031e5a Release 5.2.0.46J
Release 5.2.0.46J

Change-Id: Iaa9102462a51de1e36ac37e0282098075b7271ba
CRs-Fixed: 774533
2017-09-29 17:41:01 -07:00
Jeff Johnson
174c47a211 qcacld-3.0: Populate pdev and vdev legacy_osif_priv pointers
Currently the legacy_osif_priv pointers in the Object Manager's pdev
and vdev objects are not populated. As a result it is not possible to
get the HDD object given an Object Manager object. Populate these
pointers to allow these lookups.

Change-Id: If5ee0c785d0496ee4f06f7d230fbcf6ba957b610
CRs-Fixed: 2119155
2017-09-29 17:41:01 -07:00
Dustin Brown
a713916eae qcacld-3.0: Throw error if nla_parse is used directly
In order to support multiple nla_parse function signatures across
different kernel versions, a new hdd_nla_parse wrapper was introduced.
However, it is easy for propagations or new code to reintroduce
nla_parse. Redefine nla_parse to throw an error, to prevent the
function from being reintroduced into the code base.

Change-Id: I6e9b9cd60cee94dd9f94a067e7b9d964d60ae295
CRs-Fixed: 2116044
2017-09-29 17:40:59 -07:00
snandini
f325b23e7e Release 5.2.0.46I
Release 5.2.0.46I

Change-Id: I74b3a79668e3589efa6a95d92231036fcd127321
CRs-Fixed: 774533
2017-09-29 16:29:21 -07:00
Varun Reddy Yeturu
e4e2f29d4b qcacld-3.0: Avoid integer overflow in wma_peer_info_event_handler
Check for the num_peers received from firmware and ensure an
integer overflow does not happen in wma_peer_info_event_handler.

Change-Id: I08cc98fc425d9905d0ca090cd42b73227e594772
CRs-Fixed: 2115366
2017-09-29 16:29:21 -07:00
snandini
4309479693 Release 5.2.0.46H
Release 5.2.0.46H

Change-Id: I09f3f536871fccd73ed14a5f0d1644658af344df
CRs-Fixed: 774533
2017-09-29 15:40:00 -07:00
Jeff Johnson
60dc2b18f1 qcacld-3.0: Fix CDS layering violation in hdd_wlan_start_modules()
Currently hdd_wlan_start_modules() gets a pointer to the CDS Global
Context, and then in the failure path it dereferences this pointer to
call hdd_hif_close().  This is a layering violation -- HDD should not
be aware of the contents of the CDS Global Context and should not be
dereferencing the pointer.

Modify the code to use the exported cds_get_context() API to retrieve
this information.

Change-Id: I640bea70b50d5533afa1ee1b2e0cd6b9619a4ac2
CRs-Fixed: 2118692
2017-09-29 15:40:00 -07:00
Varun Reddy Yeturu
d4c523d673 qcacld-3.0: Avoid possible buffer overwrite in wma_process_utf_event
Check for the maximum allowed data that can be written into
the buffer utf_event_info.data in the function
wma_process_utf_event.

Change-Id: I9ee37470b7a3e7016941f871d3cf73eb12718758
CRs-Fixed: 2115375
2017-09-29 15:39:58 -07:00
Varun Reddy Yeturu
74c87c915f qcacld-3.0: Check for upper bound in P2P NOA event
Check for the upper bounds for number of NOA descriptors
received in the P2P NOA event.

Change-Id: Id7ecf064f2c25f378f76d795902713da8520507f
CRs-Fixed: 2113072
2017-09-29 15:39:56 -07:00
snandini
e37a5f8681 Release 5.2.0.46G
Release 5.2.0.46G

Change-Id: I496756a49067b2f5b41a526bbdf1bdb09a4a9625
CRs-Fixed: 774533
2017-09-29 05:40:09 -07:00
wadesong
bf7087941f qcacld-3.0: Enable SDIO based WLAN self-recovery
WLAN self-recovery based on SDIO bus is currently missing in
CLD3.x, resulting in crash injection to TF card taking no
effect during some special case.

Add the recovery feature back to CLD3.x based on the same
logics in CLD2.0

Change-Id: I719b77ac9679a0449863a94b47ad22233bc9b574
CRs-fixed: 2103969
2017-09-29 05:40:09 -07:00
snandini
035068a6a2 Release 5.2.0.46F
Release 5.2.0.46F

Change-Id: I85ac4434d10ab6e8439b10874205b74fe9245fc3
CRs-Fixed: 774533
2017-09-29 03:39:19 -07:00
hqu
0a6ce08e04 qcacld-3.0: Move chan_switch_hostapd_rate_enabled field for alignment
Current structure is expected to be 4 bytes align which needs to be
fixed by moving chan_switch_hostapd_rate_enabled field up in the
structure.

Change-Id: I234142a135fdeac69601d352beed7eda8ec16b99
CRs-fixed: 2118364
2017-09-29 03:39:18 -07:00
snandini
058276df70 Release 5.2.0.46E
Release 5.2.0.46E

Change-Id: I88e2aea72a7fbee8ea0bd7a4c72cbd96a9022422
CRs-Fixed: 774533
2017-09-29 01:39:53 -07:00
Zhang Qian
b17ee62d9b qcacld-3.0: Add auto BDF Selection
qcacld-2.0 to qcacld-3.0 propagation

The board data file is selected based on the board id returned
by executing otp binary.

Based on the chip id and the board id, select the appropriate
board data file and download.

The board data file selection is as follows:
Mission mode: bdwlan<chip_id>.b<board_id>
Factory mode: utfbd<chip_id>.b<board_id>

If the auto board data files are not present in the filesystem,
then download the default board data file i.e bdwlan<chip_id>.bin

Change-Id: I26c3eb377513d2c4439eddc4e5dc75eba66c78f4
CRs-Fixed: 805800
2017-09-29 01:39:53 -07:00
snandini
65437d5f2e Release 5.2.0.46D
Release 5.2.0.46D

Change-Id: Ia266ea112e82f1caa5cc11083cfca16170d19f9d
CRs-Fixed: 774533
2017-09-28 23:42:02 -07:00
Yingying Tang
a1863be43c qcacld-3.0: Fix compilation error when FEATURE_WLAN_TDLS is disabled
STA_ENTRY_TDLS_PEER is used out of FEATURE_WLAN_TDLS, compilation will
fail when disable FEATURE_WLAN_TDLS. Add fix to resolve this issue.

Change-Id: I2e4766ba3f7810038304d22c4dee1035284b3e05
CRs-Fixed: 2023187
2017-09-28 23:42:02 -07:00
snandini
ce040b906b Release 5.2.0.46C
Release 5.2.0.46C

Change-Id: I2c4645a0a713f0c7c9fc192e39858850a73399a0
CRs-Fixed: 774533
2017-09-28 22:48:51 -07:00
Jeff Johnson
156b9d27ce qcacld-3.0: Use correct SAP context in hdd_print_acl()
In hdd_print_acl() the calls to SAP APIs are using a poorly named,
poorly typed variable. Recently all of the SAP APIs were reworked to
expose a clean interface, so update hdd_print_acl() to align with that
interface.

Change-Id: Ib10f5fc017589d13fe1ccfb758d9333daa0e3ac7
CRs-Fixed: 2118653
2017-09-28 22:48:50 -07:00
snandini
47397ec8fe Release 5.2.0.46B
Release 5.2.0.46B

Change-Id: I65ead4da16c46fa1f3daa37dce553d98d72eaaf9
CRs-Fixed: 774533
2017-09-28 21:59:39 -07:00
Dustin Brown
27cd994d11 qcacld-3.0: Stop adapters on connection mode change
__con_mode_handler does not currently stop existing adapters before
stopping the driver module. In order to support runtime leak detection,
existing adapters should be stopped to avoid any false positives. Stop
any existing adapters before stopping the driver modules when changing
the connection mode.

Change-Id: I1ee369a75c74f889e06ee8a07a34f1b34120317e
CRs-Fixed: 2117892
2017-09-28 21:59:39 -07:00
Jeff Johnson
18611aff04 qcacld-3.0: Remove obsolete prototype hdd_rx_mul_packet_cbk()
There is a prototype for hdd_rx_mul_packet_cbk() but no
implementation, so remove this obviously obsolete prototype.

Change-Id: I9119bcb8baf9b9a04f5c99d39eb5a7abfa18607f
CRs-Fixed: 2118652
2017-09-28 21:59:35 -07:00
Jeff Johnson
e13d806b89 qcacld-3.0: Rename pSapCtx to sap_ctx
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pSapCtx to sap_ctx to align with the
Coding Style.

Change-Id: I9402132fc20cbb7e9041ec9f112eaa2af258a0d4
CRs-Fixed: 2118452
2017-09-28 21:59:32 -07:00
Houston Hoffman
e5cd52cc41 qcacld-3.0: Call hif apis to block traffic during suspend
Before performing wow handshake, block unwanted traffic between the host
and firmware.

Change-Id: I977603b06639fe30816179defec337a2067fc210
CRs-Fixed: 2004308
2017-09-28 21:59:30 -07:00
snandini
3762caae85 Release 5.2.0.46A
Release 5.2.0.46A

Change-Id: I531e7580da18b131df7dfb08c95310416374bc9b
CRs-Fixed: 774533
2017-09-28 18:04:20 -07:00
SaidiReddy Yenuga
8cbd921ba2 qcacld-3.0: Add NULL Check in iwpriv ioctl iw_setint_getnone
qcacld-2.0 to qcacld-3.0 propagation

iw_setint_getnone can cause crash in monitor mode as hal
context is not initialized.

Modify the code to handle dereferencing hHal in Driver Monitor
mode.

CRs-Fixed: 1040579
Change-Id: If26cfab5374ac34c55e03b887c320c0736a9df23
2017-09-28 18:04:20 -07:00
snandini
3a339aed2e Release 5.2.0.46
Release 5.2.0.46

Change-Id: I1de767fa77d764bdd95753aacb7bf919de961995
CRs-Fixed: 774533
2017-09-28 17:13:52 -07:00
Naveen Rawat
09b96dfecf qcacld-3.0: Fix memory leak in SAP csr roam profile during SSR
In case of SSR and SAP is active, if hdd_init_ap_mode is not clean
SAP profile will leak memory. Fix memory leak in this case.

Change-Id: I7655d8f1d5654e583cbf4812c7f5e2a3a20ff54a
CRs-Fixed: 2112581
2017-09-28 17:13:52 -07:00
snandini
722cc42c9e Release 5.2.0.45Z
Release 5.2.0.45Z

Change-Id: Ib0d8052e7cf149edf5e6f6afeb944627c39e26d4
CRs-Fixed: 774533
2017-09-28 16:11:30 -07:00
Venkata Sharath Chandra Manchala
9bf41ff5ff qcacld-3.0: Reduce log level
For the hdd receive datapath reduce the log level
from INFO to DEBUG to avoid excessive logging.

Change-Id: I5d5881aeadcb5129e3c67c34402e29e732bae1a4
CRs-Fixed: 2105286
2017-09-28 16:11:29 -07:00
Naveen Rawat
684e8b1eb0 qcacld-3.0: Improve tx status logging for mgmt packets
Change status logging in mgmt tx completion to string format.

Change-Id: I84c99e3c928a8a5c17048f20e1d9b3e990b911ad
CRs-Fixed: 2113615
2017-09-28 16:11:28 -07:00
Naveen Rawat
1b91657a1d qcacld-3.0: Reject scan request on NDI vdev
NDI does not need scan from userspace to establish connection
and it does not support scan request either. Hence reject scan
request on NDI vdev.

Change-Id: I58b0c899b6f1196f32a70e3f2c95d6ff839d4555
CRs-Fixed: 2115215
2017-09-28 16:11:26 -07:00
Krunal Soni
3512f6ba16 qcacld-3.0: Correct the data type of argument used in lim_get_rx_ldpc
Correct the data type of argument used in lim_get_rx_ldpc API.

At present absolute channel number is passed to lim_get_rx_ldpc API and
this API internally try to treat it as channel enum type which creates
stability issue.

CRs-Fixed: 2069959
Change-Id: Iebb6b5b5164e1aa6e6a7c48a5942cd30062aebad
2017-09-28 16:11:24 -07:00
Krunal Soni
e8324ce7d8 qcacld-3.0: Fix SAP+SAP SCC DFS concurrency on DBS platform
As per current implementation, if one SAP is on DFS channel & another
SAP is non-DFS and if RADAR is detected on DFS channel then both SAPs
are changing channels which is incorrect behavior for new platforms.

Above limitation was added for old platform where SAP+SAP concurrency
was allowed only for DFS SCC feature.

Allow both SAPs to change the channel back to back when they are on
same SCC DFS channel. This change will allow to maintain backward
compatiblity with old platform.

CRs-Fixed: 2114154
Change-Id: I9c426f9a148d0feac552c34929daad1e802edd2f
2017-09-28 16:11:22 -07:00
snandini
87ff1d3ee5 Release 5.2.0.45Y
Release 5.2.0.45Y

Change-Id: Id631b4b2edb6bb9e7018569412181bf9e81ae525
CRs-Fixed: 774533
2017-09-28 13:26:36 -07:00
Jeff Johnson
02d23c3bcd qcacld-3.0: Remove obsolete HDD WPS macros and enums
HDD defines a large set of WPS macros and enumerations which were
inherited from a prior version of the driver which implemented SAP WPS
in the driver itself. Now that SAP WPS is entirely handled by
userspace, these macros and enumerations are obsolete, so remove them.

Change-Id: Id8c9622c1e6429fcb64c3d292bc273bf49da79e4
CRs-Fixed: 2118451
2017-09-28 13:26:35 -07:00
snandini
453f97726d Release 5.2.0.45X
Release 5.2.0.45X

Change-Id: I61415befe2f9b98e0feb84e169154f2ecafcf5fb
CRs-Fixed: 774533
2017-09-28 11:26:33 -07:00
Sandeep Puligilla
66d09c4150 qcacld-3.0: Add RRM scan changes
Add RRM scan changes according to new
scan component.

Change-Id: Ib8e90a3f54c173cf478164aeef90f8f825984ce2
CRs-Fixed: 2113507
2017-09-28 11:26:33 -07:00
snandini
7154b2725b Release 5.2.0.45W
Release 5.2.0.45W

Change-Id: Ibb62765eabf52c35b6cb12f62105bac46a53e4e4
CRs-Fixed: 774533
2017-09-28 09:39:48 -07:00
Frank Liu
5c63dc8f82 qcacld-3.0: TDLS: remove remaining legacy code
Clear up tdls legacy init/deini, helper functions and structures.
Also remove legacy code in vendor nl80211 and iwpriv commands.

Change-Id: I983851d8cc0d3605c3d6bd0d8975c72844f71740
CRs-Fixed: 2105075
2017-09-28 09:39:48 -07:00
Frank Liu
1b8212057d qcacld-3.0: TDLS: remove legacy event process
Clear up the tdls legacy tdls firmware events and
implicit tdls discovery request process.

Change-Id: I2e2380b1789cce7841ff0be4120184d1bce0b7e7
CRs-Fixed: 2105075
2017-09-28 09:39:45 -07:00
Frank Liu
d1a2846324 qcacld-3.0: TDLS: remove legacy core functions
Clear up the tdls legacy functions which handle add/delete
tdls peer, tdls mgmt frame process and tdls_oper callback.

Change-Id: I8ba344ce5593df44bd15527e2ff68e872b6d23b8
CRs-Fixed: 2105075
2017-09-28 09:39:43 -07:00
Frank Liu
2ef4ab2f99 qcacld-3.0: TDLS: remove legacy interfaces
Clear up the legacy tdls interfaces which handle
connect/disconnect notifications, scan and p2p
roc events.

Change-Id: Ia860904685fc4783453491effa4518777c7406d0
CRs-Fixed: 2105075
2017-09-28 09:39:41 -07:00
Frank Liu
1a912b2f05 qcacld-3.0: TDLS: remove legacy connection tracker
Clear up the legacy tdls connection tracker function

Change-Id: I9163e8ec7a41750085d8673b25cf4797d1b84714
CRs-Fixed: 2105075
2017-09-28 09:39:39 -07:00
snandini
aa6ea96bf4 Release 5.2.0.45V
Release 5.2.0.45V

Change-Id: I3af580d3812616c2f449b2ca9fd5c414f067533e
CRs-Fixed: 774533
2017-09-28 06:41:36 -07:00
Mukul Sharma
6bdb77be27 qcacld-3.0: Flush pending scan queue during con mode handling
Currently, Host is operating into STA (mission mode) and scan
is pending into the pending queue. As a part of the mission
mode to ftm transition scan pending queue is not flushed. Hence
later during driver unload, host try to flush this pending
request but sta adpater is already freed during con mode
transition which lead to kernel panic.
As a part of this fix, Host ensures to flush pending scan
queue during con mode handling.

Change-Id: I13da323217a36777b9307c1bc76febc1a1b9b591
CRs-Fixed: 2082105
2017-09-28 06:41:35 -07:00
Kiran Kumar Lokere
81722635e9 qcacld-3.0: Do not check sub type in vendor VHT IE parsing
Vendor VHT IE carries different sub type values from different
devices hence vendor VHT IE parsing fails if sub type value is
considered to check IE presence. Do not check for sub type value
in vendor VHT IE parsing

Change-Id: I50a8916214c17c1873fd90b65d29e48f1fa13994
CRs-Fixed: 2115113
2017-09-28 06:41:34 -07:00
Lin Bai
c5c0688e21 qcacld-3.0: Fix build error without MSM_PLATFORM
Compiler is throwing error - undefined variable 'bus_bw_work' after
MSM_PLATFORM disabled.

Wrap the related code within MSM_PLATFORM.

CRs-Fixed: 2113835
Change-Id: I628df9de911fb17670d63ce577a614408c545aec
2017-09-28 06:41:32 -07:00
snandini
fc92903473 Release 5.2.0.45U
Release 5.2.0.45U

Change-Id: I3c3bf61fda5cce5df9b19cf349187850bcb3032a
CRs-Fixed: 774533
2017-09-28 05:40:03 -07:00
jiad
04f402117b qcacld-3.0: Restore RX ring fill level for Rome
HTT_RX_HOST_LATENCY_WORST_LIKELY_MS is changed from 10 to 20
for Helium support. But 20 is aggressive for Rome and traffic
hang is seen.

Fix is to define HTT_RX_HOST_LATENCY_WORST_LIKELY_MS as 10
for Rome support.

Change-Id: Iaaa86ed70d145ac9898300e9b678008781215617
CRs-Fixed: 2050912
2017-09-28 05:40:03 -07:00
jiad
080abce12e qcacld-3.0: Add RX LDPC support for legacy platforms
wma_get_caps_for_phyidx_hwmode() does not check legacy chips like Rome,
which leads to wrong HT/VHT caps being populated.

Fix is to check legacy chips in wma_get_caps_for_phyidx_hwmode() and
populate HT/VHT caps accordingly including RX LDPC capability.

Change-Id: I496191636f0f21ef3399c24fbfb43a562ca2debc
CRs-Fixed: 2061889
2017-09-28 05:40:01 -07:00
Manjeet Singh
70d3d931d9 qcacld-3.0: Check FW support for FW mem dump
Currently HDD sends a FW memory dump request to firmware without
checking support for this feature. This can lead to a crash as firmware
doesn't send the command response if feature is not supported.
Add a check in HDD so that the request is only sent when FW memory dump
capability is advertised by the firmware.

Change-Id: I73b980f50910e13aa5f2d2434f07b6f985dd5010
CRs-fixed: 1090806
2017-09-28 05:39:58 -07:00
snandini
3b7dccda5a Release 5.2.0.45T
Release 5.2.0.45T

Change-Id: Id4547f8edc7b0958de7b90e5f83dfe836219bd74
CRs-Fixed: 774533
2017-09-28 04:48:16 -07:00
Kabilan Kannan
edff06d0a1 qcacld-3.0: Pass correct phymode to FW for a TDLS peer as per its capability
When AP is in 11b-only mode then for a TDLS peer, in the peer_assoc
command to FW, pass phymode as per capability of the TDLS peer.

Change-Id: If1a84b35c2e755aad8b6b67536cbbcc49d378fda
CRs-Fixed: 2093277
2017-09-28 04:48:16 -07:00
snandini
c80d36e1a4 Release 5.2.0.45S
Release 5.2.0.45S

Change-Id: Ibf9072d8a552e89c3d6e2e1bccc5bed4401eae1a
CRs-Fixed: 774533
2017-09-28 03:49:17 -07:00
Jeff Johnson
31a67585b7 qcacld-3.0: Change cds_get_global_context() return type
cds_get_global_context() is the only remaining API which uses
the v_CONTEXT_t typedef. It was always strange to have an
abstraction for (void *) since that is an integral part of C99
and hence does not require abstraction, so replace the return
type of cds_get_global_context() from v_CONTEXT_t to void *.

Change-Id: I836994bf7405db54eea333bbb29785e606fb0196
CRs-Fixed: 2117092
2017-09-28 03:49:17 -07:00
Jeff Johnson
1bc784ad68 qcacld-3.0: Remove unnecessary get of CDS context in HDD
Currently in hdd_wlan_shutdown() and hdd_wlan_re_init() there are
calls to cds_get_global_context(), but the returned context isn't
actually used, so remove these calls.

Change-Id: I21b2a4955d926fe0694f4f8a3097d9a5d5bef02e
CRs-Fixed: 2117018
2017-09-28 03:49:15 -07:00
Jeff Johnson
7aaeeea315 qcacld-3.0: Change return value of cds_init()
Currently cds_init() returns a pointer to the CDS Global Context.  At
one time this was necessary since it was required to subsequently pass
this context pointer to other CDS APIs. But now CDS internally
maintains a pointer to its context, and no CDS APIs now require this
pointer, so no longer return the pointer. The ultimate goal is to keep
all references to the CDS context inside CDS.

Change-Id: Id068a2d351e492eca7b84ef23f277939104c8b46
CRs-Fixed: 2117004
2017-09-28 03:49:12 -07:00
Jeff Johnson
adbc45e87d qcacld-3.0: Remove pcds_context from struct hdd_context
The pcds_context field in struct hdd_context is no longer referenced,
so remove the field along with the code that currently initializes it.

Change-Id: Ibac0eedfa0c1e2bd170af9f91812fd25c0ab3ce7
CRs-Fixed: 2116985
2017-09-28 03:49:10 -07:00
Jeff Johnson
bc0ae77d63 qcacld-3.0: Remove logging of CDS context in HDD
In hdd_softap_sta_deauth() and hdd_softap_sta_disassoc() there
currently exist debug logs which are logging the CDS context
pointer. These logs serve no useful purpose, so remove them.

Change-Id: I3844cb1346dcc6050ad16f28caf7b07b1e79cfe4
CRs-Fixed: 2116979
2017-09-28 03:49:08 -07:00
Jeff Johnson
8bd23354cf qcacld-3.0: Remove unused CDS context from RSSI APIs
Currently HDD passes the CDS context to sme_get_rssi(), which in turn
passes it to csr_get_rssi(), which in turn uses it to populate the
p_cds_context field in the tAniGetRssiReq message. Upon processing of
this message by csr_update_rssi() the p_cds_context is checked for
NULL but is otherwise unused. Since the CDS context is not needed,
remove it from all of the RSSI APIs.

Change-Id: I5836e3192205576f6ff4614a29356e73fe674848
CRs-Fixed: 2116954
2017-09-28 03:49:05 -07:00
Jeff Johnson
164b3bb59f qcacld-3.0: Refine API wlansap_channel_change_request()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_channel_change_request() to use the
true struct pointer type.

Change-Id: I829d33be89e319d6e81b99b94badb023109c29b2
CRs-Fixed: 2116267
2017-09-28 03:49:03 -07:00
Jeff Johnson
3abdd24af4 qcacld-3.0: Refine API wlansap_start_beacon_req()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_start_beacon_req() to use the true struct pointer type.

Change-Id: I92bb5538425b7f9c8d366854e59bdb57eb8c19aa
CRs-Fixed: 2116267
2017-09-28 03:49:01 -07:00
Jeff Johnson
bfeafc6ba7 qcacld-3.0: Refine API wlansap_dfs_send_csa_ie_request()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_dfs_send_csa_ie_request() to use the
true struct pointer type.

Change-Id: I7abb2cdefab70e6c7997f438221a7f0aa4c8e3af
CRs-Fixed: 2116267
2017-09-28 03:48:58 -07:00
Jeff Johnson
ed4ed172fc qcacld-3.0: Refine API wlan_sap_set_vendor_acs()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlan_sap_set_vendor_acs() to use the true struct pointer type.

Change-Id: Iba77a686dc08251dbaee74554ee7de3080ad8b64
CRs-Fixed: 2116267
2017-09-28 03:48:56 -07:00
Jeff Johnson
b26e270d4e qcacld-3.0: Refine API wlansap_get_dfs_nol()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_dfs_nol() to use the true struct pointer type.

Change-Id: I4a430915f8e1cb5378f80e5d6cb34690e33160ea
CRs-Fixed: 2116267
2017-09-28 03:48:54 -07:00
Jeff Johnson
b3c4f7e460 qcacld-3.0: Refine API wlansap_set_dfs_nol()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_set_dfs_nol() to use the true struct pointer type.

Change-Id: I762ef985ee5ec40c79d4cdaafc4e89710edb2366
CRs-Fixed: 2116267
2017-09-28 03:48:52 -07:00
Jeff Johnson
ffa38768fa qcacld-3.0: Refine API wlansap_scan_callback()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_scan_callback() to use the true struct pointer type.

Change-Id: I7c77827de37a4beb4bedcfb5716e61573c27eaad
CRs-Fixed: 2116267
2017-09-28 03:48:50 -07:00
Jeff Johnson
14ec0689da qcacld-3.0: Refine API wlansap_cleanup_cac_timer()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_cleanup_cac_timer() to use the true struct pointer type.
And since this removes that last usage of CDS_GET_SAP_CB(), remove the
now obsolete macro.

Change-Id: I35338df7dc8cf74cb491d5c901200d685b40a55e
CRs-Fixed: 2116267
2017-09-28 03:48:48 -07:00
Jeff Johnson
104433afa3 qcacld-3.0: Refine API wlansap_set_invalid_session()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_set_invalid_session() to use the true
struct pointer type.

Change-Id: Ib7c56dd9b04ececdb7518648f6ba9cc3e3ed7428
CRs-Fixed: 2116267
2017-09-28 03:48:39 -07:00
Jeff Johnson
92675a5d15 qcacld-3.0: Refine API wlansap_get_chan_width()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_chan_width() to use the true struct pointer type.

Change-Id: Iec86249524c042ae6dba818bb5983fd91d9e61fd
CRs-Fixed: 2116267
2017-09-28 03:48:37 -07:00
Jeff Johnson
630fd6a3c3 qcacld-3.0: Refine API wlansap_acs_chselect()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_acs_chselect() to use the true struct pointer type.

Change-Id: I954c519954207c5cc487296dd42b8b2b46c08173
CRs-Fixed: 2116267
2017-09-28 03:48:35 -07:00
Jeff Johnson
bc110a7828 qcacld-3.0: Refine API sap_is_auto_channel_select()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update sap_is_auto_channel_select() to use the true
struct pointer type.

Change-Id: I9a233ba67f773edce6a866dc0664f92cf3610c81
CRs-Fixed: 2116267
2017-09-28 03:48:33 -07:00
Jeff Johnson
a68cc538cd qcacld-3.0: Refine API wlan_sap_set_pre_cac_complete_status()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlan_sap_set_pre_cac_complete_status() to use
the true struct pointer type.

Change-Id: I814af33f02c847e542bb3c1b87d1f8da3cd82ff1
CRs-Fixed: 2116267
2017-09-28 03:48:31 -07:00
Jeff Johnson
2cdcfdcd69 qcacld-3.0: Refine API wlan_sap_set_chan_before_pre_cac()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlan_sap_set_chan_before_pre_cac() to use the
true struct pointer type.

Change-Id: I4dd1a526645317560a2929ddc4fed496d71867d1
CRs-Fixed: 2116267
2017-09-28 03:48:29 -07:00
Jeff Johnson
108566e1e1 qcacld-3.0: Refine API wlan_sap_set_pre_cac_status()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlan_sap_set_pre_cac_status() to use the true
struct pointer type.

Change-Id: Ic9ee7bfa01eb01c7c8c6b665c25300611fb7edde
CRs-Fixed: 2116267
2017-09-28 03:48:26 -07:00
Jeff Johnson
cd1ee1eedd qcacld-3.0: Refine API wlan_sap_update_next_channel()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlan_sap_update_next_channel() to use the true
struct pointer type.

Change-Id: I10226f1bc7d4e47fb363de54b4bc0bc7784416ef
CRs-Fixed: 2116267
2017-09-28 03:48:24 -07:00
Jeff Johnson
d4ca1e5b46 qcacld-3.0: Refine API wlansap_cancel_remain_on_channel()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_cancel_remain_on_channel() to use the
true struct pointer type.

Change-Id: Ibaa79aa4edd9c60915319e2b8f507e70acc0d774
CRs-Fixed: 2116267
2017-09-28 03:48:21 -07:00
Jeff Johnson
eea4e304b6 qcacld-3.0: Refine API wlansap_remain_on_channel()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_remain_on_channel() to use the true struct pointer type.

Change-Id: Iaa8be32f34e61da652b74e67c36d1cf27f13d961
CRs-Fixed: 2116267
2017-09-28 03:48:19 -07:00
Jeff Johnson
730c250ce5 qcacld-3.0: Refine API wlansap_send_action()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_send_action() to use the true struct pointer type.

Change-Id: I122b84fd9156558789b1b9d87120804d5598f3a4
CRs-Fixed: 2116267
2017-09-28 03:48:17 -07:00
Jeff Johnson
e6b25d9878 qcacld-3.0: Refine API wlansap_set_key_sta()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_set_key_sta() to use the true struct pointer type.

Change-Id: I401f5dcf04547b263daf89b75cd17a6768d9f1d5
CRs-Fixed: 2116267
2017-09-28 03:48:14 -07:00
Jeff Johnson
52a2ce3d16 qcacld-3.0: Refine API wlansap_set_channel_change_with_csa()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_set_channel_change_with_csa() to use
the true struct pointer type.

Change-Id: Ia4b31f9f726528e9c76f60d4fc314fc87b892555
CRs-Fixed: 2116267
2017-09-28 03:48:12 -07:00
Jeff Johnson
e7ff1d07db qcacld-3.0: Refine API wlansap_deauth_sta()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_deauth_sta() to use the true struct pointer type.

Change-Id: Ia58822ad42d2a36333c4c085f6a4f4498d70e5f8
CRs-Fixed: 2116267
2017-09-28 03:48:10 -07:00
Jeff Johnson
92e867c568 qcacld-3.0: Refine API wlansap_disassoc_sta()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_disassoc_sta() to use the true struct pointer type.

Change-Id: I20209f92b7313026aee712a639f3605619255079
CRs-Fixed: 2116267
2017-09-28 03:48:08 -07:00
Jeff Johnson
31d1a74d61 qcacld-3.0: Refine API wlansap_clear_acl()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_clear_acl() to use the true struct pointer type.

Change-Id: I7ffab7e01a107ad476c2a02ffb60bad4d9b62a97
CRs-Fixed: 2116267
2017-09-28 03:48:06 -07:00
Jeff Johnson
49c819f9a0 qcacld-3.0: Refine API wlansap_get_acl_deny_list()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_acl_deny_list() to use the true struct pointer type.

Change-Id: I8d0981b6a11d854fc3f4b228703271608367bcab
CRs-Fixed: 2116267
2017-09-28 03:48:03 -07:00
Jeff Johnson
878f6d5cff qcacld-3.0: Refine API wlansap_get_acl_accept_list()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_get_acl_accept_list() to use the true
struct pointer type.

Change-Id: I6dd326745fee2769753afb71f64bbf6ef3023a22
CRs-Fixed: 2116267
2017-09-28 03:48:01 -07:00
Jeff Johnson
1030f8c403 qcacld-3.0: Refine API wlansap_get_acl_mode()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_acl_mode() to use the true struct pointer type.

Change-Id: I4eb660074e58ce7cf6d74b755a12ec10961766b4
CRs-Fixed: 2116267
2017-09-28 03:47:59 -07:00
Jeff Johnson
f8ac737767 qcacld-3.0: Refine API wlansap_set_mode()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Rename wlansap_set_mode() to wlansap_set_acl_mode() to align
with the naming of the "get" function, and update it to use the true
struct pointer type.

Change-Id: Ic4ad32ffa222f5fc70b0619cb150d737a573c474
CRs-Fixed: 2116267
2017-09-28 03:47:57 -07:00
Jeff Johnson
65dd6d9632 qcacld-3.0: Refine API wlansap_set_mac_acl()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_set_mac_acl() to use the true struct pointer type.

Change-Id: I3d32647b2e9dfdea2314f8a3ade8aee82c94f8af
CRs-Fixed: 2116267
2017-09-28 03:47:55 -07:00
Jeff Johnson
16e29cd0de qcacld-3.0: Refine API wlansap_stop_bss()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_stop_bss() to use the true struct pointer type.

Change-Id: I225637ad0543e721bee34378cd3619e1fb785c60
CRs-Fixed: 2116267
2017-09-28 03:47:52 -07:00
Jeff Johnson
e2f7d54e42 qcacld-3.0: Refine API wlansap_start_bss()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_start_bss() to use the true struct pointer type.

Change-Id: Ic6db98d641f5c71967f04e09b7b41ec20285bc99
CRs-Fixed: 2116267
2017-09-28 03:47:50 -07:00
Jeff Johnson
2de14da2a5 qcacld-3.0: Refine API wlan_sap_set_vht_ch_width()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlan_sap_set_vht_ch_width() to use the true struct pointer type.

Change-Id: I0858cb97b0a99fddcbcb88551280858789d8c0e9
CRs-Fixed: 2116267
2017-09-28 03:47:48 -07:00
Jeff Johnson
ee7a3938d5 qcacld-3.0: Refine API wlan_sap_get_vht_ch_width()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlan_sap_get_vht_ch_width() to use the true struct pointer type.

Change-Id: I1c717866721a6f2573df5bc7adbd0ddb6ea61cc3
CRs-Fixed: 2116267
2017-09-28 03:47:46 -07:00