Commit Graph

6628 Commits

Author SHA1 Message Date
Jeff Johnson
0f41e16b1e qcacld-3.0: Remove obsolete SAP WPSIE structs
struct sap_WPSIE_s, as well as the structs it contains, were inherited
from a prior version of the driver where SAP WPS was implemented in
the driver. Since SAP WPS is now handled by hostapd these structs are
unused, so remove them.

Change-Id: Iabdd7f3b83668cb203614353b4766fb0b40fbd05
CRs-Fixed: 2110167
2017-09-20 07:59:01 -07:00
snandini
46df41c0d2 Release 5.2.0.44I
Release 5.2.0.44I

Change-Id: I01918d90692c9e44a482bdcb87a609501e08a0c5
CRs-Fixed: 774533
2017-09-20 06:22:07 -07:00
Anurag Chouhan
3920c0f714 qcacld-3.0: Add Vendor command to set/get NUD debug stats
Add vendor commands to set/reset and get NUD debug stats
from firmware.

Change-Id: I773c04bb3f7c6d5ed28528cf2174b3d63de57d98
CRs-Fixed: 2011456
2017-09-20 06:22:06 -07:00
Jeff Johnson
16caea59fb qcacld-3.0: bmi: Replace instances of unadorned %p
Replace instances of unadorned %p in core/bmi.

Change-Id: I5dfdaa536da2c46d6180f74857e7518198bb43f7
CRs-Fixed: 2100997
2017-09-20 06:22:00 -07:00
Jeff Johnson
36e74c4212 qcacld-3.0: hdd: Replace instances of unadorned %p
Replace instances of unadorned %p in core/hdd.

Change-Id: I32b89aaf6a8b1ca3177e0c1cb5cec5fbc5f5294a
CRs-Fixed: 2100997
2017-09-20 06:21:58 -07:00
Jeff Johnson
359e679fb1 qcacld-3.0: pld: Replace instances of unadorned %p
Replace instances of unadorned %p in core/pld.

Change-Id: I949474a148429d14587864e6fa3ce5c71d2ceb92
CRs-Fixed: 2100997
2017-09-20 06:21:55 -07:00
hqu
16d6e08812 qcacld-3.0: Calculate supported rates according to different case
Fix the regression issue introduced by change
"Change-Id: Ica336398865a8b5e16297e4555dbb7de5e79567e".
The issue is that it will always include driver default rates.

In some case it only needs to calculate supported rates from hostapd.conf
file. Define ini item gChanSwitchHostapdRateEnabled to configure supported
rates calculated from hostapd.conf file or driver default rates when doing
SAP channel switch.

Change-Id: I45eeea5134dd80929bdd1f61246bdc66e1857e22
CRs-fixed: 2103714
2017-09-20 06:21:53 -07:00
snandini
a0e5b59824 Release 5.2.0.44H
Release 5.2.0.44H

Change-Id: I7d5194e017b5ec0625d2331e5d5842181fb3759b
CRs-Fixed: 774533
2017-09-20 04:40:26 -07:00
Varun Reddy Yeturu
81d0b373f3 qcacld-3.0: Check for valid pdev in wma_wait_tx_complete
Check for the validity of the pdev in wma_wait_tx_complete
before using it.

Change-Id: I3a98b4092aff42ea9c92490488cba5960b8e3b58
CRs-Fixed: 2111293
2017-09-20 04:40:26 -07:00
hqu
3c4ed3d9bd qcacld-3.0: Allow multi beacon interval in concurrent AP cases
qcacld-2.0 to qcacld-3.0 propagation

Current driver implementation doesn't support the multi beacon
interval in case concurrent AP's are operating on the same
channel. A new parameter 'beacon_int_min_gcd' is added in the
kernel to support the multi beacon interval.

Updating parameter 'beacon_int_min_gcd' to support multi beacon
interval. Related changs are
"Change-Id: I997059f0cad77b914a1296ffe7f1a51a511adac2" and
"Change-Id: Ibd2557080521276aa86a83089dfaa9b445de05af".

Change-Id: Iaa1bf7b7ead05bb400fbd8e28ef3fc1309c6b567
CRs-Fixed: 2111272
2017-09-20 04:40:22 -07:00
Himanshu Agarwal
c422ca7c04 qcacld-3.0: Copy the contents of auth frame properly
Copy the contents of auth frame in a proper manner
in lim_send_auth_mgmt_frame().

Change-Id: I5197634e36fa5b4344fc71fc22e1de6a2147744d
CRS-Fixed: 2112170
2017-09-20 04:40:20 -07:00
snandini
e1c8d9f953 Release 5.2.0.44G
Release 5.2.0.44G

Change-Id: Ib79fff45fe20fc2a597508c3d0f6d8ed158a6ecc
CRs-Fixed: 774533
2017-09-20 03:01:43 -07:00
Amar Singhal
5238567d80 qcacld-3.0: Change sequence of programming dfs region
At init time, program DFS region before programming the init
channel list. Programming DFS region would also initialize the
channel map.

CRs-Fixed: 2104133
Change-Id: I0ab3607d020086d226a99814dada5ac820880f1f
2017-09-20 03:01:43 -07:00
snandini
456883b645 Release 5.2.0.44F
Release 5.2.0.44F

Change-Id: I0622a20f733a637ec39fa0779fc6a8b72801855a
CRs-Fixed: 774533
2017-09-19 15:52:54 -07:00
Ravi Joshi
a307f63059 qcacld-3.0: Enable monitor mode through con_mode_monitor
Enable napier monitor mode through con_mode_monitor
module parameter passed during the driver load.

Change-Id: I85c7d8fad2c8c56f87e2d6f076cd573fe5953269
CRs-Fixed: 2110208
2017-09-19 15:52:54 -07:00
snandini
a755ed9a36 Release 5.2.0.44E
Release 5.2.0.44E

Change-Id: I9603a53832686cf2d7679166c85290294ce8cba0
CRs-Fixed: 774533
2017-09-19 09:59:39 -07:00
Wu Gao
478282a8d0 qcacld-3.0: Check radio id for FW event
In Rome platform, it use invalid radio id in FW event
WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID and cause crash. So check
radio id when handling this event.

Change-Id: Id720ca94ef496ea883f5ba1848fb4e28af57002f
CRs-Fixed: 2112322
2017-09-19 09:59:37 -07:00
snandini
f4c2d4e4db Release 5.2.0.44D
Release 5.2.0.44D

Change-Id: I3a058972ba39ed569437af5e12721812188da9cf
CRs-Fixed: 774533
2017-09-19 04:18:35 -07:00
Jiachao Wu
712d4fd6a6 qcacld-3.0: Send beacon tx rate to firmware
Add data structures to save beacon tx rate.
The beacon data rate is multiples of 100 Kbps.
Firmware expects the data rate in the form of hw rate codes.
So convert the data rates to hw rate code.
And send it to firmware.

Change-Id: Ia39fd4c14defa729f75f2c45748fe5b04b909647
CRs-Fixed: 2099052
2017-09-19 04:18:34 -07:00
snandini
2cc96b1146 Release 5.2.0.44C
Release 5.2.0.44C

Change-Id: I6c28fb1f9c8d6ebd7419d9c199a1deb22508f239
CRs-Fixed: 774533
2017-09-19 02:28:37 -07:00
SaidiReddy Yenuga
f098d8ea2e qcacld-3.0: Trim extn capability to max supported in change station
qcacld-2.0 to qcacld-3.0 Propagation.

extn capabilities can be controlled by user, which can
be sent greater than the max supported value. This results
in stack overflow in change station command.

Add check to validate extn capability param given by user
and if it exceeds max supported value, set it to max supported
value.

CRs-Fixed: 2076664
Change-Id: I531799dd06c41069e85ad969de6182363dbf9f05
2017-09-19 02:28:36 -07:00
SaidiReddy Yenuga
cc733aff70 qcacld-3.0: Add ini param to control the crash inject
qcacld-2.0 to qcacld-3.0 propagation

Currently the crash can be injected by iwpriv command and FW
gets crashed.
Changes are done to add the gEnableCrashInject ini parameter

1) This ini param is disabled by default.
2) If this param is disabled the crash inject is ignored.

Change-Id: I7e908be1e37090a9d343dc04411fe387f776a937
CRs-Fixed: 864932
2017-09-19 02:28:33 -07:00
Jeff Johnson
f1cd3c7d40 qcacld-3.0: Replace typedef ptSapContext
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 ptSapContext typedef does not
meet any of those criteria, so replace it.

Change-Id: Ia08bea35b7c0d3b3dfad4641c1c79a7c0990cd8d
CRs-Fixed: 2109993
2017-09-19 02:28:30 -07:00
Jeff Johnson
49c7a1465a qcacld-3.0: Remove wlansap_open() p_cds_gctx parameter
Currently wlansap_open() takes a p_cds_gctx parameter. At one time
this was needed, but that is no longer the case, so remove this unused
parameter.

Change-Id: Ie110b3cee9898233fb921aaab223caa4cf93de4e
CRs-Fixed: 2109961
2017-09-19 02:28:28 -07:00
Jeff Johnson
6816303da2 qcacld-3.0: Replace typedef tSapContext
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 tSapContext typedef does not
meet any of those criteria, so replace it.

Change-Id: If237edee7638c1c6b35413312cb3dd934554431a
CRs-Fixed: 2109960
2017-09-19 02:28:25 -07:00
Jeff Johnson
d0337e0f44 qcacld-3.0: Rename struct sSapContext
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename struct sSapContext to align with the
Coding Style. The associated tSapContext and ptSapContext typedefs
will be cleaned up as a subquent effort.

Change-Id: I83962e1c574491039597559fb8b16f3339d41fbd
CRs-Fixed: 2109959
2017-09-19 02:28:22 -07:00
snandini
78c458ac7f Release 5.2.0.44B
Release 5.2.0.44B

Change-Id: I629406eefc4d5e317bf70660bc60aea8d15ac1fd
CRs-Fixed: 774533
2017-09-19 00:18:03 -07:00
Jeff Johnson
ef20675305 qcacld-3.0: Remove p_cds_gctx from struct sSapContext
The p_cds_gctx field in struct sSapContext is not used, so remove it.

Change-Id: I9eb6f651a359bf12f23ec094887ca308c834bae1
CRs-Fixed: 2109957
2017-09-19 00:18:03 -07:00
Jeff Johnson
3023b1e559 qcacld-3.0: Clean up csr_roam_stats_rsp_processor()
csr_roam_stats_rsp_processor() calls cds_get_global_context() but then
doesn't do anything with the result, so remove the unnecessary call.

Change-Id: Ic47dbf971d1eaea4c7c33ff62f9bfb848d9d654b
CRs-Fixed: 2109956
2017-09-19 00:18:00 -07:00
Jeff Johnson
c0db38437e qcacld-3.0: Remove unused CDS_GET_HAL_CB() parameter
Macro CDS_GET_HAL_CB() currently takes a ctx parameter. At one time
cds_get_context() needed a pointer to the global context, and hence
the reason for the parameter. But now that cds_get_context() no longer
needs the global context, remove the parameter from the macro. This is
a precursor to removing the p_cds_gctx from the SAP config.

Change-Id: Ic75bab55fd8b87710aee99b7e2d3783361dc3d87
CRs-Fixed: 2109955
2017-09-19 00:17:57 -07:00
Sandeep Puligilla
344d725f60 qcacld-3.0: Remove legacy scan for ssid logic
Remove legacy scan for ssid logic

Change-Id: I87b2b2a1b284d72e6d6c8d26303ce02b80c0b8b2
CRs-Fixed: 2101353
2017-09-19 00:17:55 -07:00
Sandeep Puligilla
d698bf5328 qcacld-3.0: Remove legacy scan event handling
Remove legacy scan event handling
in the WMA and LIM.

Change-Id: Ibeb6f99335b4e745335d5968791d9e9187df47f7
CRs-Fixed: 2101353
2017-09-19 00:17:52 -07:00
snandini
056b97bcb3 Release 5.2.0.44A
Release 5.2.0.44A

Change-Id: I6fc30a4e039a4001df1d70aca52da1edb6747c23
CRs-Fixed: 774533
2017-09-18 20:27:55 -07:00
Varun Reddy Yeturu
5df6cc9977 qcacld-3.0: Address camel case coding style in hdd_mawc_cfg_log
Modify pHddCtx to hdd_ctx to avoid camel case coding style
as per the coding guidelines

Change-Id: I55767e0efdd803b3a8bf2bc7c52c96bbdc6d65bd
CRs-Fixed: 2111749
2017-09-18 20:27:55 -07:00
Varun Reddy Yeturu
faad37e33b qcacld-3.0: Introduce configuration parameters for bad RSSI roaming
Introduce the below WCNSS_qcom_cfg.ini items to configure
for bad RSSI roaming. These parameters would be used when
the device is connected to an AP with weak signal and has
to roam to a better AP if it is stationary but has found
some other better AP in the vicinity

roam_bg_scan_bad_rssi_thresh:
If the DUT is connected to an AP with weak signal, then the bad RSSI
threshold will be used as an opportunity to use the scan results
from other scan clients and try to roam if there is a better AP
available in the environment.

roam_bg_scan_client_bitmap:
This bitmap is used to define the client scans that need to be used
by the roaming module to perform a background roaming.

Change-Id: I3b9f737ea389d35f8be173ce83b2237c2375fb88
CRs-Fixed: 2082904
2017-09-18 20:27:52 -07:00
Naveen Rawat
08db88f684 qcacld-3.0: Cleanup get IE pointer from out, eid or ext_id APIs
Cleanup duplicate APIs for get ie pointer from EID or OUI or EXT_ID
and use wlan_utils exposed by qcacmn.

Change-Id: Iacbf041c9c49b2aedeffecba3427e9334cb70dcc
CRs-Fixed: 2105377
2017-09-18 20:27:49 -07:00
snandini
7623c082f6 Release 5.2.0.44
Release 5.2.0.44

Change-Id: Ib34f4a88d27f33d8f152767b338a0ebb16ef1a7c
CRs-Fixed: 774533
2017-09-18 19:38:34 -07:00
Dustin Brown
c81dd41399 qcacld-3.0: Fix net_device destructor for 4.12+ kernels
Linux kernel version 4.12 changes the way net_device destruction works.
Add conditional compilation to properly setup the net_device destruction
based on which version of the Linux kernel is being compiled against.

Change-Id: Idcc2186ff8593ed1467e7c0b08ece7c4dd70843a
CRs-Fixed: 2093367
2017-09-18 19:38:34 -07:00
Varun Reddy Yeturu
bba32e9055 qcacld-3.0: Introduce configuration parameters for NLO MAWC
Introduce the below WCNSS_qcom_cfg.ini configuration
parameters to MAWC based NLO.

mawc_nlo_enabled
mawc_nlo_exp_backoff_ratio
mawc_nlo_init_scan_interval
mawc_nlo_max_scan_interval

CRs-Fixed: 2081413
Change-Id: I7a9dbca080fb262750b420ca7265bc9583029271
2017-09-18 19:38:31 -07:00
snandini
ad619df7cb Release 5.2.0.43Z
Release 5.2.0.43Z

Change-Id: I6e38416cd0e7312db949ff78ff9f39559d0ed448
CRs-Fixed: 774533
2017-09-18 15:37:28 -07:00
Kiran Kumar Lokere
52f4a84b2a qcacld-3.0: Reduce the max join attempts for connection
Limit the max join attempts to half of the command timeout value

Change-Id: I0448011ed17c6e90f0ac39c9de57bb32a14ecc31
CRs-Fixed: 2105407
2017-09-18 15:37:27 -07:00
Naveen Rawat
bec64d9137 qcacld-3.0: Fix SAP ACS logging
Fix misleading ACS logging that indicates best channel and final
channel selected are different.

Change-Id: I00a2a15fa9d709c3e78ebf580d599ec10deefb28
CRs-Fixed: 2105204
2017-09-18 15:37:25 -07:00
snandini
37fb05fc3d Release 5.2.0.43Y
Release 5.2.0.43Y

Change-Id: I10a2d1435323c04a3684d331ff49588e1541708b
CRs-Fixed: 774533
2017-09-18 12:22:05 -07:00
Vignesh Viswanathan
4126db0a47 qcacld-3.0: Fix out-of-bounds access in lim_process_action_vendor_specific
Currently in the function lim_process_action_vendor_specific, mem_cmp
is done on the received frame pointer without validating the frame_len
which could lead to out-of-bounds memory access if the frame_len is
not matching the size of action_hdr.

Add check to validate the frame_len with action_hdr size before doing
mem_cmp for the p2p oui.

Change-Id: I39329d1a9ef45614d3c617db11a7a7f5ec2aaaec
CRs-Fixed: 2101439
2017-09-18 12:21:57 -07:00
snandini
4dc66a5b8b Release 5.2.0.43X
Release 5.2.0.43X

Change-Id: I9b9c9458ad476f97ecd05b852a024d0d4ba65736
CRs-Fixed: 774533
2017-09-18 07:55:50 -07:00
bings
582830a20e qcacld-3.0: Enable preAlloc support for SKB buffers
Enable support to use SKB Buffers allocated during bootup for
low memory targets.

CRs-Fixed: 2106466
Change-Id: Ia55c38767804c5915b9d29d3c61bff236d12cacd
2017-09-18 07:55:49 -07:00
Padma, Santhosh Kumar
4b302b6791 qcacld-3.0: Add support for PNO scan in connected state
qcacld-2.0 to qcacld-3.0 propagation

Add changes to support PNO scan in connected state to find better Ap's
based on rssi threshold, band and rssi preference.

Change-Id: I17f1830c07821b577473fc2d8f50c0867572fe0c
CRs-Fixed: 2012702
2017-09-18 07:55:47 -07:00
Yu Wang
c9ef24f82a qcacld-3.0: use qdf_do_div to do 64 bit division
Use qdf_do_div() for 64 bit division, because '/'
can't be used for 64 bit division on arm32 platform.

Change-Id: I047334565643e695ac343a5da06e030d8e37d7e4
CRs-Fixed: 2110736
2017-09-18 07:55:45 -07:00
snandini
6c4186c36a Release 5.2.0.43W
Release 5.2.0.43W

Change-Id: I4d73ef3332becb0adad1a13ccf162c6f45e6c128
CRs-Fixed: 774533
2017-09-18 01:27:30 -07:00
Ashish Kumar Dhanotiya
83f286bc7a qcacld-3.0: Fix trace level - bitmask mapping
There is an incorrect mapping for trace level - bitmask in api
hdd_qdf_trace_enable trace level is getting started with
QDF_TRACE_LEVEL_FATAL here which should be actually
QDF_TRACE_LEVEL_NONE.

Change-Id: I63e171bf83d3d4f039f7f3170215f036e778de7c
CRs-Fixed: 2110797
2017-09-18 01:27:29 -07:00
snandini
8992c452b2 Release 5.2.0.43V
Release 5.2.0.43V

Change-Id: I664b348581c38ad0beb3a7beff26d59f4e9b3c21
CRs-Fixed: 774533
2017-09-17 21:31:22 -07:00
Zhu Jianmin
e9afed5e17 qcacld-3.0: Fix issue that rx failed after WAPI usk rekey
As WAPI spec, once USK rekey, PN need reset to 0x5c37, but IWNCOM AP
will send 1st packet with old PN larger than 0x5c37 after rekey, So PN
check failed for later packets.
Fix: Don't update Last_PN  when receive the 1st packet from AP after USK
rekey, Last_PN keeps 0x5c37.

Analysis:
1.      Host installed new unicast key after rekey handshake with AP.
2.      Host Last_PN was updated to 0x5c37 as spec (expect PN of next
         packet from AP is: 0x5c39)
3.      Host received ping request from AP with old PN 0x5cb9
4.      Host PN checked passed, driver Last_PN  was updated as 0x5cb9
5.      Host received ping request from AP with new PN 0x5c39
6.      Host PN checked failed since 0x5c39 < 0x5cb9,  ping request
        dropped, no response.

Change-Id: Ifd0269193ffbe53889191269a0e985d13ea2ecf7
CRs-Fixed: 2101217
2017-09-17 21:31:20 -07:00
snandini
ef41a7998e Release 5.2.0.43U
Release 5.2.0.43U

Change-Id: I93cfdc0dbd73e255019e5f1105267b5f8d487a0b
CRs-Fixed: 774533
2017-09-15 21:26:37 -07:00
Deepak Dhamdhere
1e4298f1b2 qcacld-3.0: Send multiple beacon report frames if needed
RRM beacon report scan may find many neighbor BSSIDs on a channel
but it currently sends only 1 beacon report frame with maximum 4
measurement reports. Add a loop to go send all BSSIDs by generating
multiple frames.

CRs-Fixed: 2065920
Change-Id: Iabf889e092b4818ca9c31969eea38e92028209c0
2017-09-15 21:26:37 -07:00
snandini
557ea8ff73 Release 5.2.0.43T
Release 5.2.0.43T

Change-Id: I9b755269a31ff4d4449d972486638fa40ff7f320
CRs-Fixed: 774533
2017-09-15 17:26:53 -07:00
yeshwanth sriram guntuka
6d261f883f qcacld-3.0: Set join failure timeout value in bss config
Join failure timeout value is set to 10 times beacon
interval. If 10 times beacon interval is greater than
max join failure timeout value, global join failure
timeout cfg value is not set which results in connection
failure.

Set join failure timeout value in bss config to the
default join failure timeout value if 10 times beacon
value exceeds default value.

Change-Id: I835256ba07a714cb0606c6e90964475fc112c4b4
CRs-Fixed: 2100633
2017-09-15 17:26:53 -07:00
snandini
91bf0ce76a Release 5.2.0.43S
Release 5.2.0.43S

Change-Id: I632a76cf0631e6f1e60a6aaf9bb15743f514f00a
CRs-Fixed: 774533
2017-09-14 17:39:38 -07:00
Ganesh Kondabattini
408fb8d91f qcacld-3.0: Add ini parameter to enable SAP mandatory chan list
Add ini parameter to enable/disable SAP mandatory chan list

CRs-Fixed: 2089093
Change-Id: Ic756e7700187a40024f7cca620e703d0179f5583
2017-09-14 17:39:36 -07:00
snandini
78b8eaccff Release 5.2.0.43R
Release 5.2.0.43R

Change-Id: Ia73680c0fb4aa3448813170aaad62d0f4653a1c8
CRs-Fixed: 774533
2017-09-14 15:41:52 -07:00
Dustin Brown
0bec9a9259 qcacld-3.0: Prepend kernel includes with "kernel/"
To avoid include conflicts, prepend all kernel includes with "kernel/"

Change-Id: I8a3f037c4abf07b129875b919225825701dc1046
CRs-Fixed: 2094774
2017-09-14 15:41:51 -07:00
snandini
c3beac6cfa Release 5.2.0.43Q
Release 5.2.0.43Q

Change-Id: I1c4985febf11d0228ed731206ed49a6e61863393
CRs-Fixed: 774533
2017-09-14 13:26:40 -07:00
Alok Kumar
d42a682bd7 qcacld-3.0: Compile errors when a preprocessor flag is on
Fix for compile errors when QDF_DEBUG is enabled.

Change-Id: I1c8235436ddb4c3f5cd5c33284f5acba6b0b3400
CRs-Fixed: 2022666
2017-09-14 13:26:39 -07:00
Varun Reddy Yeturu
061d4d63e4 qcacld-3.0: Introduce INI items for MAWC based roaming
Introduce the following items in WCNSS_qcom_cfg.ini for
user to modify them for MAWC based roaming.

mawc_roam_enabled
mawc_roam_traffic_threshold
mawc_roam_ap_rssi_threshold
mawc_roam_rssi_high_adjust
mawc_roam_rssi_low_adjust

Change-Id: Ief51e3e91603bfd7f6c6deed3ca48bc717b2b6fb
CRs-Fixed: 2081413
2017-09-14 13:26:37 -07:00
snandini
f138fca373 Release 5.2.0.43P
Release 5.2.0.43P

Change-Id: I7f1bf47acb5c83ba2a16c93a5492499f7d3c923a
CRs-Fixed: 774533
2017-09-14 11:28:20 -07:00
Jeff Johnson
7d56227ba8 qcacld-3.0: Remove cds_context param to cds_sched_close()
Currently cds_sched_close() takes a cds_context param. However CDS
already maintains its own context, hence this param introduces an
unnecessary coupling, so remove it.

Change-Id: Ic7ceb85653acd2acdb700ae9d2ef15f4e09b81c7
CRs-Fixed: 2109435
2017-09-14 06:51:58 -07:00
Jeff Johnson
30f8455ee1 qcacld-3.0: Remove cds context from struct sAniGetTsmStatsReq
Currently struct sAniGetTsmStatsReq contains a p_cds_context field,
but this field is unused. Remove the field along with all of the code
that is present to populate it.

Change-Id: I1335034b959b77223834d7cf77e33c1f9bd1b358
CRs-Fixed: 2109433
2017-09-14 06:51:58 -07:00
Jeff Johnson
4f51934a73 qcacld-3.0: Remove sme_set_idle_powersave_config() cds_ctx param
Currently sme_set_idle_powersave_config() takes a cds_ctx
parameter. At one time this was needed for the call to
cds_get_context(), but that is no longer the case, so remove this
unused parameter.

Change-Id: Iacef39eded8d87a22a30fe62b0305f93e604dc4c
CRs-Fixed: 2109431
2017-09-14 06:51:58 -07:00
Jeff Johnson
e4b145949f qcacld-3.0: Remove cds_context param to cds_close()
Currently cds_close() takes a cds_context param. However CDS already
maintains its own context, hence this param introduces an unnecessary
coupling, so remove it.

Change-Id: I9c5231ef5d1e2ca969ff01c3fa0dc9b202e1aabd
CRs-Fixed: 2109430
2017-09-14 06:51:57 -07:00
Jeff Johnson
ea5c2aa194 qcacld-3.0: Remove cds_context param to cds_disable()
Currently cds_disable() takes a cds_context param. However CDS already
maintains its own context, hence this param introduces an unnecessary
coupling, so remove it.

Change-Id: I539b3c19a52a9c663268bade6a0acfaa411906dd
CRs-Fixed: 2109429
2017-09-14 06:51:57 -07:00
Jeff Johnson
8f9dd5fd64 qcacld-3.0: Remove cds_context param to cds_enable()
Currently cds_enable() takes a cds_context param. However CDS already
maintains its own context, hence this param introduces an unnecessary
coupling, so remove it.

Change-Id: I13a9a0cbdb8b869f8f543c4f7f89cffbcf4fd210
CRs-Fixed: 2109427
2017-09-14 06:51:57 -07:00
Jeff Johnson
ec685dbcda qcacld-3.0: Correctly call wlansap_cancel_remain_on_channel()
Over time the wlansap() APIs changed from being passed the global
context to being passed the SAP context. Apparently two invocations of
wlansap_cancel_remain_on_channel() were not correctly updated, so
update them.

Change-Id: I53c54c639ed2695439e4f5cf506e7f23732ab8de
CRs-Fixed: 2109408
2017-09-14 06:51:57 -07:00
snandini
73465455e1 Release 5.2.0.43O
Release 5.2.0.43O

Change-Id: Ia1035d4acfaf5af82ff9e05274fa186d5d783cf3
CRs-Fixed: 774533
2017-09-13 23:27:17 -07:00
bings
aa6f96a345 qcacld-3.0: Fix channel weight calculation errors in ACS mode
Channel 13 and channel 9 can be combined to HT40. The channel weight of
13 is updated with channel 9 when chStartNum of acs_ht40_channels24_g
is 9 in sap_sort_chl_weight_ht40_24_g, however at this time the channel
weight of 9 may be already updated to SAP_ACS_WEIGHT_MAX * 2 when the
chStartNum of acs_ht40_channels24_g is 1. In such case channel weight of
13 is updated incorrectly.

When update the channel weight of 13, use original channel weight of
channel 9 and channel 13.

Change-Id: Iab16cd5b1ab45fdf2f9805767d81c6fc997ee4be
CRs-Fixed: 2105213
2017-09-13 23:27:17 -07:00
snandini
b892a9cbe6 Release 5.2.0.43N
Release 5.2.0.43N

Change-Id: I7be0a1ce64c936f84bd8580c3f0ff8fdbc8e217b
CRs-Fixed: 774533
2017-09-13 20:07:39 -07:00
Jeff Johnson
adb3b1cadf qcacld-3.0: Remove cds_[alloc|free]_context() parameter
Currently cds_alloc_context() & cds_free_context() take a CDS context
parameter. However CDS already maintains its own context, hence this
parameter introduces an unnecessary coupling, so remove it.

Change-Id: I4501a0fea7acc7b4a764b0d425da386922b93bcb
CRs-Fixed: 2109265
2017-09-13 20:07:39 -07:00
Jeff Johnson
ff6addf320 qcacld-3.0: Remove wma_open() cds_ctx parameter
Currently wma_open() takes a cds_ctx parameter. All of the other WMA
functions which previously took a cds_ctx no longer use that
parameter, and those functions have been modified to remove the unused
parameter. wma_open() still needs the cds_ctx, but it can get that
context by calling cds_get_global_context(), so remove the cds_ctx
parameter to be consistent with the other WMA functions.

Note: the fact that wma_open() needs the cds_ctx, and then
dereferences it, is a layering violation that needs to be addressed in
the future.

Change-Id: I176e2ac68cc2e8081645a4ce3c158b41d3018587
CRs-Fixed: 2109263
2017-09-13 20:07:37 -07:00
Jeff Johnson
7b3ddc2a5b qcacld-3.0: Remove wma_wmi_service_close() cds_ctx parameter
Currently wma_wmi_service_close() takes a cds_ctx parameter. All of
the other WMA functions which previously took a cds_ctx no longer use
that parameter, and those functions have been modified to remove the
unused parameter. wma_wmi_service_close() still needs the cds_ctx, but
it can get that context by calling cds_get_global_context(), so remove
the cds_ctx parameter to be consistent with the other WMA functions.

Note: the fact that wma_wmi_service_close() needs the cds_ctx, and
then dereferences it, is a layering violation that needs to be
addressed in the future.

Change-Id: I02564bae87077314fea58c1509b3a50b8d567a7a
CRs-Fixed: 2109262
2017-09-13 20:07:35 -07:00
Jeff Johnson
6b8473d136 qcacld-3.0: Remove wma_wmi_work_close() cds_ctx parameter
Currently wma_wmi_work_close() takes a cds_ctx parameter. At one time
this was needed for the call to cds_get_context(), but that is no
longer the case, so remove this unused parameter.

Change-Id: Ibc64cd1398babc899c21a1ee4c0fc280769c4d9e
CRs-Fixed: 2109261
2017-09-13 20:07:33 -07:00
Jeff Johnson
542da35e39 qcacld-3.0: Remove wma_close() cds_ctx parameter
Currently wma_close() takes a cds_ctx parameter. At one time this was
needed for the call to cds_get_context(), but that is no longer the
case, so remove this unused parameter.

Change-Id: I31d1016cff580f9330027f8104348466df9f01dd
CRs-Fixed: 2109259
2017-09-13 20:07:31 -07:00
Jeff Johnson
5be42abfb6 qcacld-3.0: Remove unused wma_mc_process_msg() parameter
Currently wma_mc_process_msg() takes a cds_context parameter.  At one
time this parameter was needed, but that is no longer the case, so
remove this now unused parameter.

Change-Id: Ia460afc5db932274cd960485af93fc48e899ff35
CRs-Fixed: 2109258
2017-09-13 20:07:29 -07:00
Jeff Johnson
f7ab814a0c qcacld-3.0: Remove cds_wma_complete_cback() parameter
Currently cds_wma_complete_cback() takes a parameter that is a pointer
to the CDS context. However CDS already maintains its own context,
hence this param introduces an unnecessary coupling, so remove it.

Change-Id: I1b4588f18f807008fd212a8e5d04e3895a12922c
CRs-Fixed: 2109257
2017-09-13 20:07:27 -07:00
Jeff Johnson
8ad89c6cd4 qcacld-3.0: Remove wma_pre_start() cds_ctx parameter
Currently wma_pre_start() takes a cds_ctx parameter. At one time this
was needed for the call to cds_get_context(), but that is no longer
the case, so remove this unused parameter.

Change-Id: Ic4582ecafbee6fc1d0f8ebbf3c62ed8c7b47a179
CRs-Fixed: 2109255
2017-09-13 20:07:24 -07:00
Jeff Johnson
acc1cc7a4e qcacld-3.0: Remove wma_stop() cds_ctx parameter
Currently wma_stop() takes a cds_ctx parameter. At one time this was
needed for the call to cds_get_context(), but that is no longer the
case, so remove this unused parameter.

Change-Id: Iba40ac86e5916be3b8c2a62cf5483c9b7a242be5
CRs-Fixed: 2109254
2017-09-13 20:07:23 -07:00
Jeff Johnson
d489255594 qcacld-3.0: Remove wma_start() cds_ctx parameter
Currently wma_start() takes a cds_ctx parameter. At one time this was
needed for the call to cds_get_context(), but that is no longer the
case, so remove this unused parameter.

Change-Id: If6756ca37a7e4ec4ade1c72eea080f3bc89ad7e4
CRs-Fixed: 2109253
2017-09-13 20:07:21 -07:00
Jeff Johnson
1f8d0a0a9c qcacld-3.0: Remove wma_setneedshutdown() cds_ctx parameter
Currently wma_setneedshutdown() takes a cds_ctx parameter. At one time
this was needed for the call to cds_get_context(), but that is no
longer the case, so remove this unused parameter.

Change-Id: I65f2af2e97b09523f5cf00369b5cf95ad01194d9
CRs-Fixed: 2109252
2017-09-13 20:07:19 -07:00
Jeff Johnson
1b5404e93c qcacld-3.0: Remove wma_needshutdown() cds_ctx parameter
Currently wma_needshutdown() takes a cds_ctx parameter. At one time
this was needed for the call to cds_get_context(), but that is no
longer the case, so remove this unused parameter.

Change-Id: I31fd07480719bf3401ed52b57951e19ccb4d143c
CRs-Fixed: 2109251
2017-09-13 20:07:17 -07:00
Jeff Johnson
3a28012805 qcacld-3.0: Remove cds_context param to cds_pre_enable()
Currently cds_pre_enable() takes a cds_context param. However CDS
already maintains its own context, hence this param introduces an
unnecessary coupling, so remove it.

Change-Id: I5a33859583ea4245c79daf42addd62ecedfd11df
CRs-Fixed: 2109242
2017-09-13 20:07:15 -07:00
Jeff Johnson
52e0c4384e qcacld-3.0: Remove unused sys_mc_process_msg() parameter
Currently sys_mc_process_msg() takes a p_cds_context parameter.  At
one time this parameter was needed in calls to cds_get_context(), but
that is no longer the case, so remove this now unused parameter.

Change-Id: Idf9829e76846888c783d1b0b064879cd539bd8a6
CRs-Fixed: 2109239
2017-09-13 20:07:13 -07:00
snandini
26a8c881a6 Release 5.2.0.43M
Release 5.2.0.43M

Change-Id: Ifc1ffd2b996bf5d3fbdb72d3ea76a0136c9adc25
CRs-Fixed: 774533
2017-09-13 19:26:18 -07:00
Jeff Johnson
9e975c250f qcacld-3.0: Remove unnecessary get of global context in HDD
Several HDD callback functions call cds_get_global_context() to get
the global context. At one time this was necessary since the global
context was required to get the module-specific context. However the
global context is no longer required, so remove the unnecessary
retrieval of the global context.

Change-Id: I45921e6b09dcfb72db0ce6044c295d46a064d6e9
CRs-Fixed: 2102482
2017-09-13 19:26:18 -07:00
Ashish Kumar Dhanotiya
1f6df4d482 qcacld-3.0: Add an attribute to represent PNO/EPNO Request ID
This request ID was wrongly referred from the REQUEST_ID in
enum qca_wlan_vendor_attr_gscan_config_params which is mapped to
QCA_WLAN_VENDOR_ATTR_PNO_PASSPOINT_LIST_PARAM_NUM in PNO Config.
Hence define a different attribute to represent the request ID
for the PNO Config.

CRs-Fixed: 2087785
Change-Id: I2b5efe78605d07d92db564a987ea0ae4ff0a2cc8
2017-09-13 19:26:16 -07:00
snandini
11c905b510 Release 5.2.0.43L
Release 5.2.0.43L

Change-Id: I540c4546fce0443d9f7338ac0a47cac042e59d62
CRs-Fixed: 774533
2017-09-13 14:15:26 -07:00
Tushnim Bhattacharyya
3efa49a78b qcacld-3.0: Do not notify supplicant of 5GHz LTE avoid channel range
Do not notify supplicant of 5G LTE avoid channel range if ini
restart_beaconing_on_chan_avoid_event is set to CH_AVOID_RULE_RESTART_24G_ONLY.

Change-Id: Ide862882f4cf871688880653ec5c746e4c2dce38
CRs-Fixed: 2078612
2017-09-13 14:15:26 -07:00
snandini
cfc8641400 Release 5.2.0.43K
Release 5.2.0.43K

Change-Id: I3d656147c3f066ffc39d908fc73a51b8431b2a7d
CRs-Fixed: 774533
2017-09-13 13:27:01 -07:00
Arif Hussain
a98a87b7e4 qcacld-3.0: Fix NULL pointer access in sme_qos_process_add_ts_success_rsp
Make sure to validate pCurRoamProfile before
dereferencing it to avoid NULL pointer access.

Change-Id: Ic2f68b9cfe352d903bebba163ccfe253e04dfcdb
CRs-Fixed: 2083710
2017-09-13 13:27:01 -07:00
snandini
ebebfee72a Release 5.2.0.43J
Release 5.2.0.43J

Change-Id: I3a710de59da1fce8d0fc9b6fd26ca4d0e9d1a4be
CRs-Fixed: 774533
2017-09-13 02:42:35 -07:00
Jeff Johnson
7b0b94d4a4 qcacld-3.0: Remove hdd_exchange_version_and_caps()
Function hdd_exchange_version_and_caps() is unused, so remove it.

Change-Id: I0ded9473083418f6bb33cec4fa43a17c8c281177
CRs-Fixed: 2106854
2017-09-13 02:42:35 -07:00
Jeff Johnson
4940059f43 qcacld-3.0: Remove wlan_hdd_restart_sap() prototype
wlan_hdd_main.h currently exports wlan_hdd_restart_sap() but the
function is not present, so remove the obsolete prototype.

Change-Id: I777fc8e5d491e7c5335684c8a09ebed872e63acc
CRs-Fixed: 2106853
2017-09-13 02:42:33 -07:00
snandini
490ea5a5de Release 5.2.0.43I
Release 5.2.0.43I

Change-Id: I708f9756ddbe76f21c1000d4bc678b99f867e69d
CRs-Fixed: 774533
2017-09-13 01:48:33 -07:00
Abhishek Singh
86ea5c7e41 qcacld-3.0: Fix OCE Vendor IE seen twice in beacon
wlan_hdd_add_hostapd_conf_vsie func take care of adding Vendor IE's
other then Whitelist, Blacklist, WPA IEs, so there is no need to
add OCE and other vendor IEs seperately.

To fix it remove the code which adds Vendor IE in
wlan_hdd_cfg80211_update_apies as it will be taken care by
wlan_hdd_add_hostapd_conf_vsie. Also fix the logic in
wlan_hdd_add_hostapd_conf_vsie to add all required vendor IEs.

Change-Id: I4391a02eb593bdc725b3a9da65e8d5c895903b5f
CRs-Fixed: 2099963
2017-09-13 01:48:33 -07:00
Jeff Johnson
01ce46e7cb qcacld-3.0: Remove wlan_hdd_restart_driver() prototype
wlan_hdd_main.h currently exports wlan_hdd_restart_driver() but the
function is not present, so remove the obsolete prototype.

Change-Id: I98b6bc8aa3689cbda3f989f055a7632148c1bfba
CRs-Fixed: 2106852
2017-09-13 01:48:31 -07:00
Jeff Johnson
f9d324c699 qcacld-3.0: Remove wlan_hdd_check_sta_ap_concurrent_ch_intf()
wlan_hdd_main.h currently exports
wlan_hdd_check_sta_ap_concurrent_ch_intf()

The function does not exist, so remove the prototype.

Change-Id: I4064a4db0e90705c1d23704e335c2d815ac2a0a6
CRs-Fixed: 2106850
2017-09-13 01:48:28 -07:00
snandini
73fb80d84e Release 5.2.0.43H
Release 5.2.0.43H

Change-Id: I5e87d6b58835b8adbd76650fb4d72b5a6b986b26
CRs-Fixed: 774533
2017-09-12 23:27:43 -07:00
Houston Hoffman
fbf05101d5 qcacld-3.0: Support dp trace level ini config
Set dp trace level to exclude debug level by default.
Let this be over ridden by ini.

Change-Id: I1ccca7c670467fd2fd84efb3897e610e794efac6
CRs-Fixed: 2101135
2017-09-12 23:27:43 -07:00
Abhishek Singh
e4b6b4ede2 qcacld-3.0: Fix suspicious dereference of pointer
Add proper NULL check before dereferencing pointer,
also add check to validate length of buffer before
copy data.

Change-Id: I41d4dd2119b4525ab1b5b43d44a2d872129a3c31
CRs-Fixed: 2043356
2017-09-12 23:27:41 -07:00
snandini
f86f90520d Release 5.2.0.43G
Release 5.2.0.43G

Change-Id: I190838c8a4844dd72c58fcc3e53f53da66be962f
CRs-Fixed: 774533
2017-09-12 19:54:33 -07:00
Jeff Johnson
a14a3acaf9 qcacld-3.0: Remove csr_set_opposite_band_channel_info()
csr_internal.h exports csr_set_opposite_band_channel_info() but the
function is no longer present, so remove the obsolete prototype.

Change-Id: I7a5c775ae80c28bd23972df7e4dfddbead6040a5
Crs-Fixed: 2108359
2017-09-12 19:54:33 -07:00
Jeff Johnson
6061a01ba2 qcacld-3.0: Remove csrScanSetChannelMask() prototype
csr_internal.h exports csrScanSetChannelMask() but the function is not
present, so remove the obsolete prototype.

Change-Id: I405cc2d9aa12cce15c58118d335a7eeb2b863b70
CRs-Fixed: 2108357
2017-09-12 19:54:30 -07:00
Jeff Johnson
634f2ff71c qcacld-3.0: Remove csrScanFilter11dResult() prototype
csr_internal.h exports csrScanFilter11dResult() but the function is no
longer present, so remove the obsolete prototype.

Change-Id: Ie163dc247d47feeb0d6b5a33aa5d78d6fefbc167
CRs-Fixed: 2108355
2017-09-12 19:54:28 -07:00
Jeff Johnson
99c797212d qcacld-3.0: Remove csr_scan_copy_result_list() prototype
csr_inside_api.h exports csr_scan_copy_result_list() but the function
is no longer present, so remove the obsolete prototype.

Change-Id: Ifcc6175325e4cd7a4f04dfbbab817efd672df4c9
CRs-Fixed: 2108354
2017-09-12 19:54:26 -07:00
Jeff Johnson
797ef7c98b qcacld-3.0: Remove csrScanAbort() prototype
csr_inside_api.h exports csrScanAbort() but the function is no longer
preset, so remove the obsolete prototype.

Change-Id: I9ad67836ff45dc9d36185a98f2e5cc7cea70eebc
CRs-Fixed: 2108353
2017-09-12 19:54:24 -07:00
Jeff Johnson
6a5729b35d qcacld-3.0: Remove csr_roam_is_valid40_mhz_channel()
sme_inside.h exports csr_roam_is_valid40_mhz_channel() but the
function is no longer present, so remove the obsolete prototype.

Change-Id: Iea9d46584b038daed1cb690d8036a7fc86ea204e
CRs-Fixed: 2108352
2017-09-12 19:54:21 -07:00
Jeff Johnson
43a80b94d6 qcacld-3.0: Remove csr_roam_issue_ft_roam_offload_synch()
csr_api.h exports csr_roam_issue_ft_roam_offload_synch() but the
function no longer exists, so remove the obsolete prototype.

Change-Id: Ida6f00bc9615c0f50824e4f4a92b75c723d342af
CRs-Fixed: 2108351
2017-09-12 19:54:18 -07:00
Jeff Johnson
bbace0a9fb qcacld-3.0: Remove sapCleanupAllChannelList() prototype
sap_api.h currently exports sapCleanupAllChannelList() but the
implementation of that function is no longer preset, so remove the
obsolete prototype.

Change-Id: Ic7fae1985edebde3784e33aed09d011acbcd251d
CRs-Fixed: 2108350
2017-09-12 19:54:17 -07:00
Jeff Johnson
97b656046f qcacld-3.0: Remove wlansap_update_bw80_cbmode()
Function wlansap_update_bw80_cbmode() is unused, so remove it.

Change-Id: I2377eaad16296f6cce01223a70b241cc177298a0
CRs-Fixed: 2108349
2017-09-12 19:54:14 -07:00
Jeff Johnson
dae9488f36 qcacld-3.0: Remove wlansap_pmc_full_pwr_req_cb()
Function wlansap_pmc_full_pwr_req_cb() is not used, so remove it.

Change-Id: I25d0a5b44d8576b5d302132b47a6955febaec86d
CRs-Fixed: 2108348
2017-09-12 19:54:12 -07:00
Jeff Johnson
22a1c6fc20 qcacld-3.0: Remove wlansap_*_wps_ie()
Functions wlansap_set_wps_ie() and wlansap_update_wps_ie() are unused,
so remove them.

Change-Id: I9552ee4404961ae2973f0c0aefc0821fb7ba5a1e
CRs-Fixed: 2108347
2017-09-12 19:54:10 -07:00
Jeff Johnson
9b495ddfa0 qcacld-3.0: Remove wlansap_*_wps_session_overlap()
Functions wlansap_remove_wps_session_overlap() and
wlansap_get_wps_session_overlap() are unused, so remove them.

Change-Id: Ib36fe420478ea9a5c5485a4cff6b5bd01d2a51f5
CRs-Fixed: 2108345
2017-09-12 19:54:07 -07:00
Jeff Johnson
0654b69a16 qcacld-3.0: Remove wlansap_get_state()
Function wlansap_get_state() is unused, so remove it.

Change-Id: I3736c498a2409e0fe6d67b78fcce2a5e88fefdf5
CRs-Fixed: 2108343
2017-09-12 19:54:05 -07:00
Jeff Johnson
7e3e8c29c6 qcacld-3.0: Remove wlansap_get_assoc_stations()
Function wlansap_get_assoc_stations() is unused, so remove it.

Change-Id: I4a452d6eed9eb035ad124fb5cd1fe5f62f507b5f
CRs-Fixed: 2108342
2017-09-12 19:54:03 -07:00
Jeff Johnson
99fabf11c5 qcacld-3.0: Remove wlansap_clean_cb() prototype
sap_internal.h currently exports wlansap_clean_cb() but the
implementation of that function is no longer present, so remove the
obsolete prototype.

Change-Id: I850b3de45d27d3d8332278d10714254d93ffd2b3
CRs-Fixed: 2108341
2017-09-12 19:54:00 -07:00
Jeff Johnson
7c32e9cab9 qcacld-3.0: Remove wlansap_stop_Wps() prototype
sap_api.h currently exports wlansap_stop_Wps() but the implementation
of that function is no longer preset, so remove the obsolete
prototype.

Change-Id: Iee2fa74b0863a1d80ff9d7cbb9695b9a2cd086a3
CRs-Fixed: 2108340
2017-09-12 19:53:59 -07:00
Dustin Brown
ee3e059c9d qcacld-3.0: Vote link up after HIF configuration
Currently, HDD may attempt to prevent the bus link from going down
before HIF receives any configuration settings. In this situation, HIF
will drop the call to prevent runtime suspend, since it is not yet
enabled in HIF at the time. Reorder the vote for link up to after HIF
receives its configuration.

Change-Id: Id70d7bd2502fb6673a20b1826d8bd863a59bfba5
CRs-Fixed: 2106120
2017-09-12 18:09:46 -07:00
Jeff Johnson
7d89baed6d qcacld-3.0: Do not get global context in hdd_svc_fw_shutdown_ind()
Currently hdd_svc_fw_shutdown_ind() calls cds_get_global_context() to
get the global context. At one time this was necessary since the
global context was required to get the module-specific context.
However the global context is no longer required, so remove the
unnecessary retrieval of the global context.

Change-Id: Ic61370c7d27860b0c6d51c8a610dc770c7c50b0a
CRs-Fixed: 2103618
2017-09-12 18:09:43 -07:00
Jeff Johnson
6c4bf942b0 qcacld-3.0: Remove obsolete struct wlan_txrx_ind_req
struct wlan_txrx_ind_req is no longer used, so remove it.

Change-Id: I28ebf1bba8a95df8270d3f682971afd371936683
CRs-Fixed: 2103631
2017-09-12 18:09:41 -07:00
Kiran Kumar Lokere
d057b7203b qcacld-3.0: Advertise MU Bfee support only if AP supports MU Bfer
Advertise the MU beamformee capability in association request frame
only if the MU beamformer is supported by AP.

Change-Id: Ib962af73189ace27db40973e065e40913ecb7728
CRs-Fixed: 2095251
2017-09-12 18:09:39 -07:00
Rajeev Kumar
bcfddfd968 qcacld-3.0: Log driver entry point in every alternate attempt
Driver unload and SSR waits for all driver entry point to exit.
Log driver active entry point in every alternate attempt such
that debugability is improved.

Change-Id: I36558b473401b86f1fafcdc0346e4f42f264c203
CRs-Fixed: 2106140
2017-09-12 18:09:37 -07:00
Jeff Johnson
5bb76705c6 qcacld-3.0: Remove wlan_hdd_cfg80211_stats_ext_init()
wlan_hdd_stats.h currently defines the stub function
wlan_hdd_cfg80211_stats_ext_init() which is unused, so remove it.

Change-Id: If2ab73f29a3c55b8a77d10c131f4a2cd950e883a
CRs-Fixed: 2106849
2017-09-12 18:09:34 -07:00
Jeff Johnson
8137f1e240 qcacld-3.0: Remove SSID hotlist prototypes
wlan_hdd_ext_scan.h currently exports the following:
- wlan_hdd_cfg80211_extscan_set_ssid_hotlist()
- wlan_hdd_cfg80211_extscan_reset_ssid_hotlist()

These functions were previously deleted but the prototypes were not,
so remove them now.

Change-Id: I47222e45050c227dda5916ccb187782f73edaa22
CRs-Fixed: 2106848
2017-09-12 14:26:10 -07:00
Jeff Johnson
82bad9645b qcacld-3.0: Remove hdd_stop_bus_bw_computer_timer()
wlan_hdd_main.h defines the hdd_stop_bus_bw_computer_timer() stub
function. This function is not used, so remove it.

Change-Id: I81c9da51d8c3e4ef8650667a91b0040675c7c390
CRs-Fixed: 2106845
2017-09-12 14:26:10 -07:00
Jeff Johnson
83498c4b7c qcacld-3.0: Remove hdd_restart_softap() prototype
wlan_hdd_hostapd.h exports hdd_restart_softap() but the function is no
longer present, so remove the obsolete prototype.

Change-Id: I71261f49961c26955e9a3c0120f1716b37f2604a
CRs-Fixed: 2106844
2017-09-12 14:26:10 -07:00
Jeff Johnson
cb57ff8dd0 qcacld-3.0: Remove hdd_remove_ocb_tx_header() prototype
wlan_hdd_ocb.h exports hdd_remove_ocb_tx_header() but the function is
no longer present, so remove the obsolete prototype.

Change-Id: Ia4e7f2f55dfc2d9eddf4c67b53d027eb0815e8c0
CRs-Fixed: 2106842
2017-09-12 14:26:10 -07:00
Jeff Johnson
8b1d810d17 qcacld-3.0: Remove hdd_process_defer_disconnect() prototype
wlan_hdd_cfg80211.h exports hdd_process_defer_disconnect() but the
function is no longer present, so remove the obsolete prototype.

Change-Id: I74e3423dfb1d2747acb39e5076e2d571b8526e2e
CRs-Fixed: 2106841
2017-09-12 14:26:10 -07:00
snandini
3e6d0692e3 Release 5.2.0.43F
Release 5.2.0.43F

Change-Id: I0872dfc67d4054a78ef8993ec09c9951fe5e9377
CRs-Fixed: 774533
2017-09-12 14:14:10 -07:00
Jeff Johnson
ff323312c7 qcacld-3.0: Remove hdd_checkandupdate_phymode() prototype
wlan_hdd_main.h exports hdd_checkandupdate_phymode() but the function
is no longer present, so remove the obsolete prototype.

Change-Id: I48afc44a1f4a4fe433278e868de9227a52c5fd78
CRs-Fixed: 2106839
2017-09-12 14:14:09 -07:00
Jeff Johnson
2db2614716 qcacld-3.0: Rename pHddCtx in wlan_hdd_wowl.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I8df41b44d56dcc6365e7ae634de02f2273f2fc75
CRs-Fixed: 2103670
2017-09-12 14:14:08 -07:00
Jeff Johnson
e9fb1287a0 qcacld-3.0: Rename pHddCtx in wlan_hdd_wmm.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I63a386602f9665648c4b823b075e7adf6d757e51
CRs-Fixed: 2103669
2017-09-12 14:14:06 -07:00
Jeff Johnson
ce2ee98931 qcacld-3.0: Rename pHddCtx in wlan_hdd_wext.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I2cf7f6bccc0d23ae9cf7ee5aac54b77ebb2c4b26
CRs-Fixed: 2103668
2017-09-12 14:14:05 -07:00
Jeff Johnson
cc01197ee8 qcacld-3.0: Rename pHddCtx in wlan_hdd_tx_rx.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I71d2bec59cd8221a342926785496e13741bd2ff5
CRs-Fixed: 2103667
2017-09-12 14:14:04 -07:00
Jeff Johnson
9240287b38 qcacld-3.0: Rename pHddCtx in wlan_hdd_softap_tx_rx.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Ifd6782ba0c07a701f31ba4dc0a76564511ce052f
CRs-Fixed: 2103666
2017-09-12 14:14:02 -07:00
Jeff Johnson
94827b5278 qcacld-3.0: Rename pHddCtx in wlan_hdd_scan.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I3530b31d311af925aef50aa3196b02be42944261
CRs-Fixed: 2103665
2017-09-12 14:14:01 -07:00
Jeff Johnson
1a9b979dae qcacld-3.0: Rename pHddCtx in wlan_hdd_power.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Iff2d4bbafb9326adf815fdbc6e8af3682d60fdee
CRs-Fixed: 2103664
2017-09-12 14:13:59 -07:00
Jeff Johnson
7c794a1fda qcacld-3.0: Rename pHddCtx in wlan_hdd_p2p.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Idc3b08550628f014189b128d57adf002068473de
CRs-Fixed: 2103663
2017-09-12 14:13:57 -07:00
Jeff Johnson
6da2db1cce qcacld-3.0: Rename pHddCtx in wlan_hdd_ioctl.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Id6fcb13cd7c6d6b63e482f3ab8955acbcdd2efe2
CRs-Fixed: 2103662
2017-09-12 14:13:56 -07:00
Jeff Johnson
c6dda512bc qcacld-3.0: Rename pHddCtx in wlan_hdd_ext_scan.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I6ca802fea814b2f31123a56f1c26853bc930c795
CRs-Fixed: 2103661
2017-09-12 14:13:55 -07:00
Jeff Johnson
8d5e82bcd1 qcacld-3.0: Rename pHddCtx in wlan_hdd_debugfs.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Iaa57767de3f21a4774ce307b21beeb5c814479c4
CRs-Fixed: 2103660
2017-09-12 14:13:54 -07:00
Jeff Johnson
8095a3178f qcacld-3.0: Rename pHddCtx in wlan_hdd_assoc.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I68a388259a5108d0c28a35994bfede11bd98b6bd
CRs-Fixed: 2103659
2017-09-12 14:13:52 -07:00
Jeff Johnson
f645abf206 qcacld-3.0: Rename pHddCtx in wlan_hdd_stats.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I98eb634e6e63c35838bac17dd122661d1aee8292
CRs-Fixed: 2103658
2017-09-12 14:13:51 -07:00
Jeff Johnson
23c3b84b16 qcacld-3.0: Rename pHddCtx in wlan_hdd_hostapd.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Ie44b894d59d81a7c0fe58341b1f2c3c9fdfebd05
CRs-Fixed: 2103657
2017-09-12 14:13:49 -07:00
Jeff Johnson
b8944726d4 qcacld-3.0: Rename pHddCtx in wlan_hdd_cfg80211.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I18ea54fa8263fdfbbdc82f27c54fc030903db824
CRs-Fixed: 2103656
2017-09-12 14:13:48 -07:00
Jeff Johnson
6fab9b774c qcacld-3.0: Rename pHddCtx in wlan_hdd_tdls.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I465e3d08568c10e57027828542d89e16a66cf46e
CRs-Fixed: 2103655
2017-09-12 14:13:47 -07:00
Jeff Johnson
58adbcfa9c qcacld-3.0: Rename pHddCtx in wlan_hdd_main.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Ia1e7461e464faae0463826ac34183cf34c623ddf
CRs-Fixed: 2103654
2017-09-12 14:13:45 -07:00
Jeff Johnson
2c4a93f5cc qcacld-3.0: Rename pHddCtx in wlan_hdd_ipa.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Icc584ab8c6467af7e95631b7898296885b310d65
CRs-Fixed: 2103653
2017-09-12 14:13:44 -07:00
Jeff Johnson
723234b89f qcacld-3.0: Rename pHddCtx in wlan_hdd_cfg.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I17be8e726c381e2cf4c070271e669592d7c6c33a
CRs-Fixed: 2103652
2017-09-12 14:13:43 -07:00
Jeff Johnson
c18b26ce0c qcacld-3.0: Rename pHddCtx in cds_api.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I1d5be4ab122f3e179cabbd94c24b6f10a437b153
CRs-Fixed: 2103651
2017-09-12 13:20:18 -07:00
snandini
355614ded6 Release 5.2.0.43E
Release 5.2.0.43E

Change-Id: I046e5e2cf6ff99dafa39a3a9ab9958ed6d7ad65f
CRs-Fixed: 774533
2017-09-12 05:27:38 -07:00
Sandeep Puligilla
37e4b2257a qcacld-3.0: update obj manager API definition
update object manager API definition according
to the common driver change.

Change-Id: I6305f405bd2d11bda5217c205f4572cb82910510
CRs-Fixed: 2069665
2017-09-12 05:27:38 -07:00
gaurank kathpalia
14e2f91174 qcacld-3.0: Fix kernel checkpatch warnings in csr_internal.h
Fix kernel checkpatch warnings in csr_internal.h

Change-Id: If7c869e9445853310209a1d3dca420634f95218e
CRs-Fixed: 2025503
2017-09-12 05:27:36 -07:00
snandini
10dc436f8a Release 5.2.0.43D
Release 5.2.0.43D

Change-Id: I4da3c3f26ee7026edaf7bf2925e8695fb1beedf5
CRs-Fixed: 774533
2017-09-12 03:38:02 -07:00
Mohit Khanna
f8f9682e02 qcacld-3.0: Dptrace enhancements
* Log EAPOL, ARP, DHCP, MGMT, ROAM Events, ICMP, Data packets,
  TX-Completions by default.
* Set default verbosity as low (existing is high)
* Throttle ICMP and Data packets if threshold exceeds.
* Enable live mode by default. Added ini entry to disable
  it and configure high throughput thresh - gDptraceConfig
* Log only SA and DA for proto packets (and not 32 bytes)
* Format prints to fit in 1 line.

CRs-Fixed: 2051134
Change-Id: Ia94732e49023950f458a7402650d4b8f5e1d5563
2017-09-12 03:38:02 -07:00
Ajit Pal Singh
7ae88fbc8a qcacld-3.0: Ignore CSA, if new channel not ok for DNBS
When Do_Not_Switch_Channel is set on an AP interface participating in
AP+STA SCC and CSA event is received on the STA interface,
reject the new CSA channel if it is not OK for DNBS.

Change-Id: I51c35ba2f1f3eccf4f5d58cb802e3dca50b17227
CRs-Fixed: 2105090
2017-09-12 03:38:00 -07:00
snandini
2f337e73c0 Release 5.2.0.43C
Release 5.2.0.43C

Change-Id: I9612dbe17dec95b7e089c6a54ab2f12cf8822383
CRs-Fixed: 774533
2017-09-12 01:26:10 -07:00
Jeff Johnson
33189d0e78 qcacld-3.0: Remove obsolete csr_msg_processor() code
Currently csr_msg_processor() contains logic that is conditionally
compiled based upon ANI_RTT_DEBUG and ANI_EMUL_ASSOC. These are
obviously obsolete references since these are the only references in
the code, and since they are referencing a variable that is not
present in the function. Since these are obsolete, remove them.

Change-Id: Ie258f188dd2791be96f2e95fcf4e8a71c4ea44eb
CRs-Fixed: 2103630
2017-09-12 01:26:10 -07:00
snandini
f24aecfb25 Release 5.2.0.43B
Release 5.2.0.43B

Change-Id: I3fc426e57e8e50f9d9f6ba99ca138033daca5862
CRs-Fixed: 774533
2017-09-11 23:27:26 -07:00
gaolez
e510894670 qcacld-3.0: Add new params in ACS calc process
qcacld-2.0 to qcacld-3.0 propagation

Before this change the ACS calc process only consider the
channel's rssi and bss count in this channel, in this change
add noise floor, channel free statistics and tx power in the
ACS calc process.

Change-Id: I654e53fa2441e03723f150d973c124985c67f2b4
CRs-fixed: 1050316
2017-09-11 23:27:25 -07:00
snandini
0bd07c450e Release 5.2.0.43A
Release 5.2.0.43A

Change-Id: I271ffbe9a4ea6b8b96ddaee595cfeabde1c9e8f3
CRs-Fixed: 774533
2017-09-11 17:27:55 -07:00
Jeff Johnson
dba0db6551 qcacld-3.0: Rename field pHddCtx in struct hdd_adapter
In struct hdd_adapter rename field pHddCtx to hdd_ctx to align with
the Linux Coding Style.

Change-Id: Id19662913f191a08b8672b46d12b9c1b4a01afa8
CRs-Fixed: 2101837
2017-09-11 17:27:55 -07:00
Jeff Johnson
399c627d49 qcacld-3.0: Consistently use WLAN_HDD_GET_CTX()
There are some places where the HDD context is extracted from an HDD
adapter using a direct reference instead of using WLAN_HDD_GET_CTX().
Update all such instances to use WLAN_HDD_GET_CTX(). This is a
precursor to renaming the pHddCtx field in the hdd_adapter structure.

Change-Id: Ic577ed7944b086ce72b15a66ccc166878a4a3fce
CRs-Fixed: 2101835
2017-09-11 17:27:53 -07:00
Jeff Johnson
b1704c8642 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_assoc.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ia632a3738d5c4a4637cddbf5a5f521c26c4e1c6a
CRs-Fixed: 2101066
2017-09-11 17:27:51 -07:00
Jeff Johnson
9d2952438d qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_main.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ica1ce65d05f81f51c3ec04fa4ef3d022c9319886
CRs-Fixed: 2101065
2017-09-11 17:27:49 -07:00
Jeff Johnson
e500667a2d qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_cfg80211.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ic352bd48b7ab47742a2d8ff5827d4ccbfd0b7ae1
CRs-Fixed: 2101070
2017-09-11 17:27:47 -07:00
Jeff Johnson
f0a3c61d63 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_debugfs.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I4f9785dbd0735b530587226cd6f152d297c515e0
CRs-Fixed: 2101072
2017-09-11 17:27:45 -07:00
Jeff Johnson
652d45b7bc qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ext_scan.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ibf4ff788afad717610fe58bdbc1a12330a6cce92
CRs-Fixed: 2101067
2017-09-11 17:27:44 -07:00
Jeff Johnson
866aca89e9 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_hostapd.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ice6c7b912048dac9efccb7962c40be97aa96323f
CRs-Fixed: 2101058
2017-09-11 17:27:42 -07:00
Jeff Johnson
e44b701b38 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ioctl.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I9c7eb9cbbfd31606bfda7c70b7d4dac6d897f680
CRs-Fixed: 2101056
2017-09-11 17:27:40 -07:00
Jeff Johnson
215e34eab5 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_rx_monitor.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I620055afba0b50660053b7e37bd855fd505bc88f
CRs-Fixed: 2101043
2017-09-11 17:27:38 -07:00
Jeff Johnson
7f803c6173 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_scan.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I00f144e95bcaa9b9e96fd0924ae10c065fd7ed14
CRs-Fixed: 2101042
2017-09-11 17:27:36 -07:00
Jeff Johnson
18dd7e10cd qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_softap_tx_rx.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I3d9b2f691f1d1acd0b5f853598063f40c4ad817f
CRs-Fixed: 2101037
2017-09-11 17:27:34 -07:00
Jeff Johnson
a11f94b468 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_stats.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Iff59139526c947681099ccffa96ae9cc0182a40c
CRs-Fixed: 2101035
2017-09-11 17:27:32 -07:00
Jeff Johnson
b4fc39b13f qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_subnet_detect.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I66f20697851fdace617463b068c38ba63f4a07e0
CRs-Fixed: 2101033
2017-09-11 17:27:31 -07:00
Jeff Johnson
327b9d4e2f qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_tdls.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Iec122d832f372c5f0770051c5f2c067009c9dae0
CRs-Fixed: 2101032
2017-09-11 17:27:29 -07:00
Jeff Johnson
8f38986121 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_tsf.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I2fd1dec7120e0c0a21b51080d654b5dc653e2589
CRs-Fixed: 2101074
2017-09-11 17:27:27 -07:00
Jeff Johnson
5b76a3e9c2 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_tx_rx.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I2ed8c46fa89b11a19a1493194c573622e30d9887
CRs-Fixed: 2101031
2017-09-11 17:27:25 -07:00
Jeff Johnson
3d278b0177 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_wext.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I3babc3fa2cbafce82081a376305bb6cf6a742699
CRs-Fixed: 2101028
2017-09-11 17:27:23 -07:00
Jeff Johnson
5b8b67d10a qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_wmm.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: If34fa6e64a37eb990efadadac187f1d4b20a4eb5
CRs-Fixed: 2101027
2017-09-11 17:27:21 -07:00
Jeff Johnson
0c751e27f7 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_wowl.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I322b521f70e7b7b17b9dc1b0cf716f84722ca6e0
CRs-Fixed: 2101025
2017-09-11 17:27:19 -07:00
snandini
9cf1c2b9ff Release 5.2.0.43
Release 5.2.0.43

Change-Id: Ic2e5d8f54c6be3ef22d2b81f381cf154d3cd568d
CRs-Fixed: 774533
2017-09-11 16:22:14 -07:00
Jeff Johnson
38a70f9254 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_debugfs_llstat.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I355f5406e7cb0674f9c235db57aa268849ac7635
CRs-Fixed: 2101073
2017-09-11 16:22:13 -07:00
Jeff Johnson
c7f3ded03a qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_disa.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I545c47380905eaeece9a2a25e0adb9bae1b90ce8
CRs-Fixed: 2101068
2017-09-11 16:22:11 -07:00
Jeff Johnson
1595095836 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_fips.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I022d0092980efc01f48100f9a096a6f6e80e26eb
CRs-Fixed: 2101064
2017-09-11 16:22:09 -07:00
Jeff Johnson
a5dc3f4de9 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ftm.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I48952b52777b523d5b383ea4278b8390a4bc4a8e
CRs-Fixed: 2101054
2017-09-11 16:22:07 -07:00
Jeff Johnson
9a7136d522 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_green_ap.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I762cb4c29060d780dcf9647aebe7246610d8f923
CRs-Fixed: 2101057
2017-09-11 16:22:05 -07:00
Jeff Johnson
49d45e6d6e qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ipa.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I20d1395208566001aaa3c73689e1f9e6d2b5e94f
CRs-Fixed: 2101053
2017-09-11 16:22:03 -07:00
Jeff Johnson
b763bb9da0 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_lpass.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I07b27f87102c640124312b31b550cc394096019a
CRs-Fixed: 2101050
2017-09-11 16:22:01 -07:00
Jeff Johnson
a56e968a35 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_lro.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Iec3c0b0b2e59ac05ad352f5b4e6e2b4528a8b5be
CRs-Fixed: 2101051
2017-09-11 16:21:59 -07:00
Jeff Johnson
8cb9df1092 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_nan_datapath.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I2e588aeaf26b85535afa86132aa4216ea630e958
CRs-Fixed: 2101049
2017-09-11 16:21:58 -07:00
Jeff Johnson
e46a84b936 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_object_manager.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ic527031c7a2d0785ec179344cb3519bf65ea6a8c
CRs-Fixed: 2101047
2017-09-11 16:21:56 -07:00
Jeff Johnson
7a1688a113 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ocb.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ib14b0e7bdd572294dc490043d5ae92ae2a4baa30
CRs-Fixed: 2101046
2017-09-11 16:21:54 -07:00
Jeff Johnson
da47af82ec qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_oemdata.c
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Id43c38784aadb07b5352d9ecc2c7dcb0e31dbcd8
CRs-Fixed: 2101045
2017-09-11 16:21:52 -07:00
Jeff Johnson
fbb5452527 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_p2p.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I5be95445278bf120ddf8b1a01a6af8ddf7a0d5d7
CRs-Fixed: 2101039
2017-09-11 16:21:50 -07:00
Jeff Johnson
75b737d48c qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_power.[ch]
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_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I66ecfb6f5a478298c1300f7ac3086715aa66e4c2
CRs-Fixed: 2101044
2017-09-11 16:21:49 -07:00
snandini
48911a60aa Release 5.2.0.42Z
Release 5.2.0.42Z

Change-Id: Idcc2fe95bfdba6294812fd7bdcd5fa8a3444044e
CRs-Fixed: 774533
2017-09-11 12:16:33 -07:00
Tushnim Bhattacharyya
518e80fc94 qcacld-3.0: Add the DFS MCC check in ACS algorithm
During channel selection for SAP via ACS, add check if there is
a connection on 5Ghz, don't allow SAP to select DFS channel.

Change-Id: If6e42cbc584ddb80588daf138d94d2e0a75b882a
CRs-Fixed: 2102024
2017-09-11 12:16:33 -07:00
Arif Hussain
dcb9ead668 qcacld-3.0: Change the default ini values of adapt dwelltime params
Make default values as
global_adapt_dwelltime_mode=0
hostscan_adaptive_dwell_mode=1
roamscan_adaptive_dwell_mode=1
extscan_adaptive_dwell_mode=1
pnoscan_adaptive_dwell_mode=1

Change-Id: I1845b5a06446cf043ba16c7b4686a1a2049fcdef
CRs-Fixed: 2017558
2017-09-11 12:16:31 -07:00
Arif Hussain
fdb25e2022 qcacld-3.0: Fix memory leak in sme
In some places memory allocated for the parsed IE’s
using csr_get_parsed_bss_description_ies are freed only
if existing IE description is NULL. Even though memory
allocation not done based on above condition, this may
lead to memory leak..

To fix this make sure to check existing IE description
while allocating memory.

Change-Id: Ia065b9ebb4cbd00f48f3cdca8737190b3609e1c7
CRs-Fixed: 2002298
2017-09-11 12:16:29 -07:00
snandini
4b3c174372 Release 5.2.0.42Y
Release 5.2.0.42Y

Change-Id: Ica4f22b510eed525b40bcc41446b8cd43d535644
CRs-Fixed: 774533
2017-09-10 21:27:58 -07:00
Jeff Johnson
71c5f0fa1b qcacld-3.0: Remove obsolete prototype for sysMcStart()
Function sysMcStart() no longer exists in the code, but the prototype
for it is still present. Get rid of it.

Change-Id: Ifd6c1fde27f907300ab7a8e03d4a201d861fd94e
CRs-Fixed: 2102689
2017-09-10 21:27:57 -07:00
Jeff Johnson
b4b196e024 qcacld-3.0: Remove handling of obsolete SYS messages
The SYS_MSG_ID_MC_START and SYS_MSG_ID_MC_STOP messages are no longer
being used, so remove all supporting logic.

Change-Id: I29f2d852e4313a580532cdc4db1b9e0bf211283f
CRs-Fixed: 2102670
2017-09-10 21:27:56 -07:00
Paul Zhang
fb35175109 qcacld-3.0: Fix the spinlock pairing issue
Per code review, some spin_lock/spin_unlock are not pairing.

Change-Id: I72cbc6d77ee37e44b4672a4e6747b90b7ebb0a4e
CRs-Fixed: 2105070
2017-09-10 21:27:54 -07:00
snandini
1f20ec6b0e Release 5.2.0.42X
Release 5.2.0.42X

Change-Id: I2b1180ea3126cec64ab327253be33bd3cfbd437f
CRs-Fixed: 774533
2017-09-10 19:27:31 -07:00
Jeff Johnson
40dae4e63b qcacld-3.0: Replace typedef hdd_station_ctx_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_ctx_t typedef does
not meet any of those criteria, so replace it with a well named
struct.

Change-Id: Idaa9c96dc757465d120b33c686d102ef29b31ca4
CRs-Fixed: 2101019
2017-09-10 14:51:40 -07:00
Jeff Johnson
8725103294 qcacld-3.0: Replace typedef hdd_ap_ctx_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_ap_ctx_t typedef does not
meet any of those criteria, so replace it with a well named struct.

Change-Id: I3084d902b405529f82ff9056f48a8c38392f50f5
CRs-Fixed: 2101017
2017-09-10 14:51:40 -07:00
Jeff Johnson
4943206a0c qcacld-3.0: Replace hdd_context_t in wlan_hdd_assoc.[ch]
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_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Iadc364f1abf3159f7c258a01fd11628a86fcf820
CRs-Fixed: 2100215
2017-09-10 14:51:40 -07:00
Jeff Johnson
d867d7d5f0 qcacld-3.0: Replace hdd_context_t in __iw_get_peer_rssi()
Previously change "qcacld-3.0: Replace hdd_context_t in
wlan_hdd_hostapd.[ch]" replaced all instances of hdd_context_t in
wlan_hdd_hostapd.c. However a subsequent change introduced
__iw_get_peer_rssi() which has a new instance, so replace it.

Change-Id: I0a986b4e5255937732c41737ab65390e53257373
CRs-Fixed: 2103682
2017-09-10 14:51:40 -07:00
Jeff Johnson
d49c4a1fa6 qcacld-3.0: Replace hdd_context_t in wlan_hdd_main.[ch]
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_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ib6fe81f9537bd760447b3e0f5fedee44499c302c
CRs-Fixed: 2100213
2017-09-10 14:51:40 -07:00
Jeff Johnson
7aeb95b648 qcacld-3.0: Replace hdd_context_t in wlan_hdd_cfg80211.[ch]
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_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I996f41049c1be0e37f27a8c9a032d69f5c58a390
CRs-Fixed: 2100208
2017-09-10 14:48:18 -07:00
Jeff Johnson
f772687a8c qcacld-3.0: Replace hdd_context_t in wlan_hdd_softap_tx_rx.c
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_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I4d204f1fc4ef0c8d2d2664544ca470d1f31099aa
CRs-Fixed: 2100159
2017-09-10 14:45:54 -07:00
Jeff Johnson
5eb1e68b33 qcacld-3.0: Replace hdd_context_t in wlan_hdd_stats.[ch]
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_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ie0a9961cfe67a7549469756ec0df08546aa94cc0
CRs-Fixed: 2100163
2017-09-10 14:45:54 -07:00
Jeff Johnson
b6909becf1 qcacld-3.0: Replace hdd_context_t in wlan_hdd_cfg.[ch]
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_context_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Iea06364201509e916b3e9c60a2248eaf29402720
CRs-Fixed: 2100212
2017-09-10 14:45:54 -07:00
snandini
2dab3c2814 Release 5.2.0.42W
Release 5.2.0.42W

Change-Id: I5f779931b3c6bddb0296ec76e235743174ae024a
CRs-Fixed: 774533
2017-09-08 19:40:10 -07:00
Ashish Kumar Dhanotiya
cc2e0d3e7e qcacld-3.0: Enable 802.11p channel configuration from ini
Currently 802.11p channels are by default enabled.
To make it configurable, use ini value gDot11PMode.

Change-Id: I70417f79d179649df9597c02ec51fe46ef953b91
CRs-Fixed: 2098677
2017-09-08 19:40:10 -07:00
Sandeep Puligilla
f22263c8e0 qcacld-3.0: Decrease tx drain wait time during del bss
wma_delete_bss is stuck for more than
400ms in failure scenario due to pending
tx packets to drain.

-Decrease the wait time to 20ms(2ms*max_wait_iterations)
to avoid the delete bss stuck issue.
-Tx drain wait feature added for LFR2.0
feature so moved the code under the LFR2.0
macro.

Change-Id: I33b56bb627ac914ca6fe96949de373b015853fc9
CRs-Fixed: 2097269
2017-09-08 19:40:08 -07:00
psimha
aca7fc9ece qcacld-3.0: Deregister HIF ext groups on rmmod
- Deregister & free the hif ext ctx when detaching DP interrupts.
- Unregister the hotcpu_notifier during rmmod.

Change-Id: I35cf8b22ff785e90f6e6fd976e83e46a126f95e2
CRs-Fixed: 2086729
2017-09-08 19:40:07 -07:00
snandini
9edc5dba43 Release 5.2.0.42V
Release 5.2.0.42V

Change-Id: Icdeb37d0794ed3d8c1d59753255e60cd5d1fadce
CRs-Fixed: 774533
2017-09-08 18:57:16 -07:00
Amar Singhal
58b45ef32b qcacld-3.0: Cache the current band value
Add a separate variable to store the band value. Since the
value can be set at run-time, config data structure cannot be
used to store the runtime value. Also apply the configuration
restrictions while calculating this band value.

Change-Id: Id6df155b7ecfbe9ca84e489b2dd099cdd0cbcc8f
CRs-Fixed: 2085746
2017-09-08 18:57:15 -07:00
snandini
894e6a18f2 Release 5.2.0.42U
Release 5.2.0.42U

Change-Id: Id6e1cf5ed6011fff80202209a73129ef1880d567
CRs-Fixed: 774533
2017-09-08 17:57:16 -07:00
Krunal Soni
9c2ee03d1a qcacld-3.0: Re-register the callbacks up on driver reinit operation
Some of the callbacks in mac context gets initialized to NULL when SSR
is triggered and up on reinitialization of driver, those callbacks need
to be re-registered.

CRs-Fixed: 2078706
Change-Id: I0ce9b0ab2680e7403536d6b4dd745c2bcb10791a
2017-09-08 17:57:15 -07:00
Krunal Soni
4df4b660e5 qcacld-3.0: Don't discard nss update when channel bonding is disabled
For STA-DUT, when host receives the beacon forwarded by firmware which
contains NSS update, host discards that beacon if channel bonding is
disabled from INI. This is incorrect behavior.
When channel bonding is disabled from INI and host should discard the
beacon when it contains channel width related updates.

Change-Id: I76b42caec6ed0faea7b1650407ff5c1565ac6947
CRs-Fixed: 2059895
2017-09-08 17:57:14 -07:00
Abhishek Singh
9da81d0555 qcacld-3.0: Fix SAP close issue in dual band SAP
In Dual band SAP+SAP, if channel change for a SAP, the SAP get
stuck in eSAP_DISCONNECTING state, waiting for channel change
indication for the concurrent SAP, which may never come as this
is Dual band SAP+SAP and both are on different bands.

Now when stop adapter is called for this SAP, the stop BSS fails
as its already in disconnecting state and due to this it is not
deleted cleanly.

To fix this if DBS is enabled change the channel of the AP on
which CSA was initiated without waiting for other SAP interface.

Change-Id: I54d903d4fc0694b16c1f1debf52ffe2a6dad0ba9
CRs-Fixed: 2097002
2017-09-08 17:57:12 -07:00
snandini
290b16860e Release 5.2.0.42T
Release 5.2.0.42T

Change-Id: I83c6fc4091490dc2aafc542a0e360cb6025c89a6
CRs-Fixed: 774533
2017-09-08 16:47:41 -07:00
Liangwei Dong
6e1a209be5 qcacld-3.0: avoid duplicated LTE_COEX event
For each WLAN_SVC_LTE_COEX_IND event, SCM
will stop/start hostapd. In middle of
Stop/restart hostapd, the current unsafe
operation channel is not changed. If multiple
FW LTE coex event are uploaded during this
time, the WLAN_SVC_LTE_COEX_IND could be
delivered multiple times. And then the hostapd
will stop/start several times.
Fix by skipping unsafe channel checking
and SAP restart when the unsafe channel list
has no change.

Change-Id: I756f317ba39f97c673fa54b382191a6429435b1e
CRs-Fixed: 2078725
2017-09-08 16:47:41 -07:00
Jeff Johnson
5522bc9a07 qcacld-3.0: Remove unused p_cds_context in "set mac acl"
__wlan_hdd_cfg80211_set_mac_acl() contains a local variable
p_cds_context that is written but never read, hence it is unused.
Therfore remove the variable.

Change-Id: I99051fbfb5e44791514a5086eb9cf33f773ffbee
CRs-Fixed: 2102503
2017-09-08 15:59:52 -07:00
snandini
b625c48726 Release 5.2.0.42S
Release 5.2.0.42S

Change-Id: I8f6d9725dfcfe28b7a68fc41645a45ef9fde2c71
CRs-Fixed: 774533
2017-09-08 15:47:02 -07:00
Yun Park
66f24c4c50 qcacld-3.0: Initialize maximum IPA clock when IPA clock scaling is disabled
When IPA clock scaling is not enabled, initialize IPA clock as maximum.

Change-Id: I856279a5b14222e3a7e6d82f78570080cbe0b839
CRs-Fixed: 2022249
2017-09-08 15:47:02 -07:00
snandini
953ca2f41c Release 5.2.0.42R
Release 5.2.0.42R

Change-Id: I189cf28259c4fc62005f46a51775585146560eff
CRs-Fixed: 774533
2017-09-08 14:28:18 -07:00
Tushnim Bhattacharyya
c3c375e5e9 qcacld-3.0: Use lockless sme API to get valid channel list from sme
Use lockless sme API to get valid channel list from sme instead of
sme_get_cfg_valid_channels to avoid deadlock.

Change-Id: I481824cb116244b9c13665d6a0ee88e28c88cf66
CRs-Fixed: 2063060
2017-09-08 14:28:18 -07:00
Tushnim Bhattacharyya
2df9de7637 qcacld-3.0: Add debug logs in SAP channel switch logic
Add debug logs in SAP channel switch logic to catch race condition cases.

Change-Id: I4eb40f25e113b0b0eab971dcb2fd114774b6824b
CRs-Fixed: 2063060
2017-09-08 14:28:16 -07:00
Tushnim Bhattacharyya
1f3a123652 qcacld-3.0: Handle no common channel between PCL and the favorite channel list
Handle the scenario where no common channel between PCL & the
favorite channel list is found.

Change-Id: I560d7ef861d89f3f4a0c63afacd0ffbf6aaa976e
CRs-Fixed: 2063060
2017-09-08 14:28:14 -07:00
Tushnim Bhattacharyya
2479ba3ec7 qcacld-3.0: Fix logic to force SCC in SAP+STA concurrency
If SAP is up & STA is coming up next(or vice versa) on a different
channel causing MCC, move SAP to cause SCC or DBS. This logic is
enabled only if gWlanMccToSccSwitchMode is set to
QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION or
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL.

Change-Id: I16615d828a285762133ee3533339320ef119b3d3
CRs-Fixed: 2063060
2017-09-08 14:28:12 -07:00
Tushnim Bhattacharyya
03103fd070 qcacld-3.0: Add logic to force SCC in SAP+STA concurrency with ACS
If STA is up & SAP is comings up on a ACS derived channel causing MCC,
move SAP to the other band if DBS is supported. This logic is enabled
only if gWlanMccToSccSwitchMode is set to
QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION.

Change-Id: I48d809f83921292f51ca1735bff4c4d6dd339975
CRs-Fixed: 2063060
2017-09-08 14:28:10 -07:00
Tushnim Bhattacharyya
9a92999835 qcacld-3.0: Add logic to force SCC in SAP+STA concurrency - Part 2
If STA is up on a a DFS or passive or LTE unsafe channel & SAP is
comings up that causes MCC, move SAP to the other band if DBS
is supported. This logic is enabled only if gWlanMccToSccSwitchMode
is set to QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION.

Change-Id: I5d393a21301f3fa838f7cf38620fb1d57ae1d57a
CRs-Fixed: 2063060
2017-09-08 14:28:08 -07:00
Tushnim Bhattacharyya
ed678f97ae qcacld-3.0: Add logic to force SCC in SAP+STA concurrency
If SAP is up & STA comes up or moves to a DFS or passive or LTE
unsafe channel that causes MCC, move SAP to the other band if DBS
is supported. This logic is enabled only if gWlanMccToSccSwitchMode
is non zero.

Change-Id: I56f78dfaedec31c4c41aea6ac8c66261c9ad4c91
CRs-Fixed: 2063060
2017-09-08 14:28:06 -07:00
snandini
c178a35ca8 Release 5.2.0.42Q
Release 5.2.0.42Q

Change-Id: I8bdf86a47d91f1818216a630dad84f3e34a9bc99
CRs-Fixed: 774533
2017-09-08 03:57:31 -07:00
Jeff Johnson
382bce0268 qcacld-3.0: Remove cds_ctx param from register_ocb_peer()
The cdp_peer_ops register_ocb_peer() method currently takes a cds_ctx
parameter. Converged datapath APIs should not require the MCL-specific
CDS context, and in fact it is not required by the MCL implementation,
so remove it from all OCB peer registration APIs.

Change-Id: I873eeb472f463ac76f30de5a9013783565be916d
CRs-Fixed: 2103451
2017-09-08 03:57:31 -07:00
snandini
b9bc6de114 Release 5.2.0.42P
Release 5.2.0.42P

Change-Id: I72dab80787559899b1b862d435f7a9e39ff0b1b7
CRs-Fixed: 774533
2017-09-08 03:18:02 -07:00
Jeff Johnson
a9b6657591 qcacld-3.0: Remove unused wma_register_roaming_callbacks param
Currently wma_register_roaming_callbacks() has a cds_ctx parameter. At
one time this was necessary since the global context was required to
get the module-specific context.  However the global context is no
longer required for this purpose, so remove the unused parameter.

Change-Id: Ida681fb20dd98a46f385f1e04662f72a334c68bf
CRs-Fixed: 2103626
2017-09-08 03:18:02 -07:00
snandini
b4afd7899f Release 5.2.0.42O
Release 5.2.0.42O

Change-Id: Ic57b28dc79d275dd8dde4d9dd6aee1f18c7cbe5f
CRs-Fixed: 774533
2017-09-08 01:57:53 -07:00
Sravan Kumar Kairam
4402a264b2 qcacld-3.0: Log IP addr of the first RX packet after wow wakeup
Log the IP header source and destination address for the first Rx
packet received after host wakeup.

Change-Id: Ie8cf71c8ce913378687ad2c79ab9d5f46c0c2419
CRs-Fixed: 2010971
2017-09-08 01:57:52 -07:00
Arif Hussain
fde76e7f78 qcacld-3.0: Enable DFS logging
Enable logging from new DFS component.

Change-Id: I91b91ed5613b692bfbdd1c8b47c80cd9dfd4effe
CRs-Fixed: 2104732
2017-09-08 01:57:51 -07:00
snandini
0a32ac4e02 Release 5.2.0.42N
Release 5.2.0.42N

Change-Id: I42c44c7b1befdaa28a5f21934f90e4ee10722b04
CRs-Fixed: 774533
2017-09-08 01:03:47 -07:00