Commit Graph

1561 Commits

Author SHA1 Message Date
Harprit Chhabada
88c4e42509 qcacld-3.0: Cleanup scan concurrent active and passive min time
Cleanup Scan active and passive concurrent time CFG/INI
references from legacy code.

Concurrent active and passive min time component is never used,
so remove it.

Change-Id: Idca5285d58bea659a1a481c1f33827608377ab98
CRs-Fixed: 2363138
2018-12-12 12:29:14 -08:00
Arunk Khandavalli
ca56d4b488 qcacld-3.0: Add Host Driver support for Beacon reception stats
Implementation of Host driver support to collect per Vdev Beacon
reception  Stats from firmware and display the stats in sysfs.

	"adb shell cat /sys/class/net/wlan0/beacon_stats"
vdev id: 0
Total Beacon Count: 255
Total Beacon Miss Count: 21
Beacon Miss Bit map [0x800] [0x10000000] [0x22000400] [0x100]
[0x84000000] [0x4030002] [0x5034000] [0x28084]

Change-Id: Iadd31042320f7815a6a6f4733f5393dba93b5b3e
CRs-Fixed: 2360913
2018-12-11 12:27:05 -08:00
Jianmin Zhu
a9005b33bf qcacld-3.0: Move ifdef CONFIG_VDEV_SM outside of functions in lim
Moves ifdef CONFIG_VDEV_SM outside of functions in lim.

Change-Id: I4ec40ce1dedccdc69e0e2dd68c1823ec4bb7549a
CRs-Fixed: 2362457
2018-12-11 08:17:25 -08:00
Abhishek Singh
935e4776f4 qcacld-3.0: Add support to enable/disable scan with reason code
Adds support to enable/disable scan for psoc/vdev with reason,
so that multiple clients can enable/disable the scan at same time.

Scan will remain disabled till all clients enable it back.

Change-Id: I693e223870142f831f8eefa59a9053960886bad6
CRs-Fixed: 2362098
2018-12-10 23:33:29 -08:00
Jeff Johnson
6142985f4c qcacld-3.0: Remove unused csr_roam_profile fields
The following fields in struct csr_roam_profile are unused, so remove
them:
- nWSCReqIELength
- pWSCReqIE
- fils_connection

Change-Id: I8fcae065b10d5480f2adab77427ef3048448d9a1
CRs-Fixed: 2364100
2018-12-10 20:21:40 -08:00
Yeshwanth Sriram Guntuka
334aa8de95 qcacld-3.0: Add MLME CFG items of FE_WLM and FE_RRM
Add the following WLM and RRM ini configs to MLME
cfg:
CFG_LATENCY_ENABLE
CFG_LATENCY_LEVEL
CFG_LATENCY_FLAGS_NORMAL
CFG_LATENCY_FLAGS_MOD
CFG_LATENCY_FLAGS_LOW
CFG_LATENCY_FLAGS_ULTLOW
CFG_RRM_ENABLE
CFG_RRM_MEAS_RAND_INTVL
CFG_RM_CAPABILITY

Change-Id: I714aca1e9bc6d3c330934753364d7f58d93a28d7
CRs-Fixed: 2353103
2018-12-10 07:23:13 -08:00
Jeff Johnson
8c3ecdd8d8 qcacld-3.0: Fix csr_api_scan.c function style issues
Many of the function signatures in csr_api_scan.c do not conform to
the coding style, so make them conforming.

Change-Id: I50a46c2227b639af652b4e21d3a84d62140fce2c
CRs-Fixed: 2361755
2018-12-07 11:18:42 -08:00
Jeff Johnson
70fa7bb88d qcacld-3.0: Remove obsolete csr_api_scan.c macros
The file csr_api_scan.c defines multiple macros, most of which are
not actually used by the current version of the code, so remove the
obsolete ones.

Change-Id: Ic3c64dea55ab19bbf1f39b52eedca121aef5bd25
CRs-Fixed: 2361754
2018-12-07 11:18:38 -08:00
Jeff Johnson
dca4e096ae qcacld-3.0: Remove typedef eCsrDot11FragThresh
The eCsrDot11FragThresh typedef, along with its member enumerations,
are unused, so remove them.

Change-Id: Ie57bf437072767b8befab8d28bb86b416737d137
CRs-Fixed: 2361343
2018-12-06 13:44:04 -08:00
Jeff Johnson
ed79bf8fb6 qcacld-3.0: Remove csr_rates_find_best_rate()
Function csr_rates_find_best_rate() is unused, so remove it, along
with the now unused support function csr_rates_mac_prop_to_dot11().

Change-Id: I0a9e7894734a5a4f47030f8d12d0e41d0b23e95e
CRs-Fixed: 2361290
2018-12-06 12:02:53 -08:00
Jianmin Zhu
3c50e40af5 qcacld-3.0: Handle Vdev restart Failure in STA mode
When switch channel failed,  need handle it gracefully,
pass failure to PE and disconnect current session.

Change-Id: If489e519a1784dabf630d5bde34ef8de56abf5e1
CRs-Fixed: 2360726
2018-12-06 10:27:54 -08:00
lifeng
6d19c25d31 qcacld-3.0: Refine mlme btm configurations
Refine mlme btm configurations based on converged cfg component.
Remove related legacy codes.

Change-Id: I0a90eceea5636e268048ed6bf1532150dc1f6b24
CRs-Fixed: 2355353
2018-12-05 13:13:36 -08:00
Jeff Johnson
b356a45f7a qcacld-3.0: Remove tdlsCmd from tSmeCmd
Field tdlsCmd in struct tSmeCmd is unused, so remove it. Since that
field is the only user of struct tTdlsCmd, remove it and its composite
structs as well.

Change-Id: I06f8293b7f0ec2827016825c93fccc7075fcc9b7
CRs-Fixed: 2361288
2018-12-05 06:50:39 -08:00
Jeff Johnson
7e7947c307 qcacld-3.0: Remove addStaSessionCmd from tSmeCmd
Field addStaSessionCmd in struct tSmeCmd is unused, so remove it.
Since that field is the only user of struct addstafor_sessioncmd
remove that as well.

Change-Id: I5624ab301c11045de34781dc4dff3ef7d2c784d8
CRs-Fixed: 2361287
2018-12-05 06:50:39 -08:00
Jeff Johnson
db4e363cd9 qcacld-3.0: Remove remainChlCmd from tSmeCmd
Field remainChlCmd in struct tSmeCmd is unused, so remove it. Since
that field is the only user of struct tRemainChlCmd, remove that as
well.

Change-Id: I99c7ee1187f8f17a1e4003fb3c2509e857745e20
CRs-Fixed: 2361286
2018-12-05 06:50:38 -08:00
Abhinav Kumar
d4d6eb7d4e qcacld-3.0: ADD MLME INI items of FE_BEAMFORM and WLAN_REG
Add the following WLAN_REG ini configs and FE_BEAMFORM
cfg items to MLME cfg:
1. WNI_CFG_11D_ENABLED
2. WNI_CFG_11H_ENABLED
3. WNI_CFG_TX_BF_CAP
4. WNI_CFG_AS_CAP
5. WNI_CFG_DISABLE_LDPC_WITH_TXBF_AP

Introduce the basic infra APIs related to these configs
from mlme.

In csr_roam_open_session, lim_populate_vht_mcs_set,
lim_sta_send_add_bss, populate_dot11f_tdls_ht_vht_cap,
populate_dot11f_vht_caps and sme_update_nss, local structure
is updated instead of mlme global structure for vht caps and
thus the mlme vht caps contains only the default values.

Fix this by updating mlme vht caps in mlme_update_vht_cap.

Change-Id: I1a948d7a44ad2bcc7f711c46b278971d7e4026e7
CRs-Fixed: 2354562
2018-12-04 19:57:54 -08:00
Jeff Johnson
63af281213 qcacld-3.0: Replace tpAniSirGlobal in SME misc
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
nan_api.c
nan_datapath_api.c
sme_ft_api.c
sme_ft_api.h
sme_inside.h
sme_nan_datapath.h
sme_power_save.c
sme_power_save_api.h
sme_rrm.c
sme_rrm_api.h
sme_trace.c
sme_trace.h

Change-Id: Ied3f2d5ef4bac2b4e67c0c1e1055dddf58f9868a
CRs-Fixed: 2360296
2018-12-04 05:36:57 -08:00
Jeff Johnson
9b95e306b8 qcacld-3.0: Replace tpAniSirGlobal in SME QOS
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sme_qos.c
sme_qos_api.h
sme_qos_internal.h

Change-Id: Idb247cfab508543bbdaa9cd1f57a374fc8b6799e
CRs-Fixed: 2360293
2018-12-04 05:36:51 -08:00
Jeff Johnson
edece84530 qcacld-3.0: Replace tpAniSirGlobal in SME CSR
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
csr_api.h
csr_api_roam.c
csr_api_scan.c
csr_cmd_process.c
csr_host_scan_roam.c
csr_inside_api.h
csr_internal.h
csr_neighbor_roam.c
csr_neighbor_roam.h
csr_roam_preauth.c
csr_support.h
csr_util.c

Change-Id: I38a4602d5e31c818e81df2a9de8073667087f44a
CRs-Fixed: 2360292
2018-12-04 05:36:47 -08:00
Jeff Johnson
0a8786ae3f qcacld-3.0: Replace tpAniSirGlobal in sme_api
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sme_api.h
sme_api.c

Change-Id: If0264aeecf484c1adf4342a895e3449aee8f3006
CRs-Fixed: 2360291
2018-12-04 05:36:44 -08:00
Arif Hussain
224d38154f qcacld-3.0: Refactor more dfs cfg items
Refactor following DFS cfg items
CFG_DISABLE_DFS_CH_SWITCH
CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_NAME
CFG_IGNORE_CAC_NAME
CFG_DFS_RADAR_PRI_MULTIPLIER_NAME
CFG_SAP_TX_LEAKAGE_THRESHOLD_NAME
CFG_DFS_BEACON_TX_ENHANCED
CFG_DISABLE_DFS_JAPAN_W53
CFG_ENABLE_NON_DFS_CHAN_ON_RADAR

Change-Id: I7f39ed0680919c6a383d9b8bae5864f979b6948c
CRs-Fixed: 2351995
2018-12-04 00:05:53 -08:00
Jeff Johnson
b5c1333cf4 qcacld-3.0: Replace pSessionEntry with pe_session
Per the Linux coding style both mixed-case names and so-called
Hungarian notation are frowned upon. There are multiple variations of
the identifier "pSessionEntry" currently in use, so replace them with
pe_session everywhere they occur in the driver.

Change-Id: I6cc37504bf9e8821c0e1c3d99e4f97a57aaba24c
CRs-Fixed: 2360166
2018-12-03 11:09:46 -08:00
gaurank kathpalia
3d2e38572b qcacld-3.0: Add CFG items of power
Add power items related CFG items in new file,
and store the respective inis in MLME component

Change-Id: Iac183da52495aca07c6270edeb9f383ab49c1ff5
CRs-Fixed: 2341900
2018-12-02 14:59:45 -08:00
Jeff Johnson
a0619e4264 qcacld-3.0: Replace PMAC_STRUCT() with MAC_CONTEXT()
The inline function MAC_CONTEXT() is the preferred mechanism for
converting a MAC handle into a MAC context, so replace all instances
of the legacy macro PMAC_STRUCT().

Change-Id: Ieb29696c79b729648462be699892607484c2f301
CRs-Fixed: 2357873
2018-11-30 14:36:47 -08:00
Jianmin Zhu
d0ab26143d qcacld-3.0: Use converged cmd types for STA and SAP
For STA connect/disconnect, SAP start/stop relative cmds, just
use following serialization command types:
Converged cmd types:
	WLAN_SER_CMD_VDEV_START_BSS
	WLAN_SER_CMD_VDEV_STOP_BSS
	WLAN_SER_CMD_VDEV_CONNECT
	WLAN_SER_CMD_VDEV_DISCONNECT
	WLAN_SER_CMD_VDEV_RESTART

Change-Id: I533f650e1f69048d6861751ab74f75d8d5f18c83
CRs-Fixed: 2318545
2018-11-30 02:22:51 -08:00
Arif Hussain
178f35f013 qcacld-3.0: Refactor TWT cfg
Refactor following TWT cfg items.
CFG_BCAST_TWT
CFG_ENABLE_TWT
CFG_TWT_RESPONDER
CFG_TWT_REQUESTOR
CFG_TWT_CONGESTION_TIMEOUT

Change-Id: Iad0c2ed0893513cc98bf12ec39d111b78c6e9d1f
CRs-Fixed: 2349558
2018-11-29 18:11:55 -08:00
Wu Gao
51a6356b60 qcacld-3.0: Apply second part of LFR INIs changes
Since refined second part of LFR INIs, apply these changes in
SME/MAC/WMA layer.

Change-Id: I7994a9038d5bd094ce23bcd525ef8f5282974bfc
CRs-Fixed: 2346790
2018-11-29 18:11:48 -08:00
Wu Gao
4f8938a510 qcacld-3.0: Refactor one mlme sta INI
Based on new cfg component, refactor CFG_TX_POWER_CTRL_NAME and clean
up related legacy codes.

Change-Id: I6dd317d5065c4111b71a9fe94d9b9af1f7d3d664
CRs-Fixed: 2355918
2018-11-29 18:11:38 -08:00
Abhishek Singh
ea9e8bcf92 qcacld-3.0: Fix NULL SSID filled in connected roam profile
Connected roam profile's SSID is used to get the BSS entry from kernel
and indicate the same to kernel in cfg80211_connect_bss. If the
roam profile's SSID is NULL, the BSS entry indicated to kernel is
with NULL SSID and this result in disconnect from supplicant as
it assume that SSID of AP changed.

Fix is to fill the SSID in connected roam profile from roam profile
if SSID is NULL in beacon.

Change-Id: Ie42eceb50b6af551ac1f4ca7d37b73eff107dfbd
CRs-Fixed: 2349572
2018-11-29 18:11:01 -08:00
gaurank kathpalia
cbf1212230 qcacld-3.0: Verify the nss config with rf chains supported
The driver fills the nss chains params in the vdev during
vdev create. The nss and chain params are filled by the user
in the ini file, but it may happen that the user filled the
nss param for that particular vdev as 2, and the number of
supported rf chains are 1, which is sent to the driver by FW,
so that would result in nss as 2, and chains as 1, which cannot
be supported.

Fix is to downgrade the nss to the number of chains supported by
the FW.

Change-Id: Ifa3ee74dbe5b8d19c6dc11ff64e42dbffadaa018
CRs-Fixed: 2354205
2018-11-28 03:56:58 -08:00
Jeff Johnson
01f2c23bf6 qcacld-3.0: Rename pMac in sme_api.c
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
sme_api.c

Change-Id: If45f33b93230d1085ee1a3c4dbf35e1f4bfcab27
CRs-Fixed: 2356102
2018-11-27 20:10:34 -08:00
Pragaspathi Thilagaraj
4e36fbef21 qcacld-3.0: Send roam scan offload config after roam sync complete
When host driver receives roam sync complete event, the
disable_hi_rssi to false if band is 2G and the high rssi
threshold delta needs to be sent to the firmware to take effect.
But presently the csr_roam_scan_offload exits with failure as
the driver issues start again.

Call csr_roam_scan_offload with ROAM_SCAN_OFFLOAD_UPDATE_CFG
command.

Change-Id: Ic3c9a729c290accbe9822948bc2363154db4c83f
CRs-Fixed: 2355359
2018-11-27 20:10:30 -08:00
Jeff Johnson
ad9fc724cf qcacld-3.0: Rename pMac in csr_internal.h
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
csr_internal.h

Change-Id: I136277d79765b63f83c4079c49a6dcc830f21e69
CRs-Fixed: 2356093
2018-11-27 18:30:59 -08:00
Jeff Johnson
72021f787a qcacld-3.0: Rename pMac in misc SME files
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
sme_api.h
sme_ft_api.c
sme_ft_api.h
sme_inside.h
sme_internal.h
sme_qos_internal.h
sme_trace.c
sme_trace.h

Change-Id: I24ae034a06051d2e61d6f02283b3d2ecbe376bf9
CRs-Fixed: 2355452
2018-11-27 18:30:50 -08:00
Jeff Johnson
86a9a35478 qcacld-3.0: Rename pMac in PE & SME RRM files
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
rrm_api.h
rrm_api.c
sme_rrm_api.h
sme_rrm.c

Change-Id: I7eb6e7bf6f5d921b7a8f1f4c98d6a120e104a4ea
CRs-Fixed: 2355450
2018-11-27 18:30:42 -08:00
Jeff Johnson
9aedc72f08 qcacld-3.0: Rename pMac in csr misc files
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
csr_api.h
csr_support.h
csr_host_scan_roam.c
csr_roam_preauth.c

Change-Id: I941c87e308f47162e9eddd111498cf072dbcdf81
CRs-Fixed: 2355449
2018-11-27 18:30:38 -08:00
Jeff Johnson
c44820dfff qcacld-3.0: Rename pMac in csr_api_scan.c
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
csr_api_scan.c

Change-Id: Ib55b211e4fdab427aff8c04c8ac99e1af56c6edc
CRs-Fixed: 2355448
2018-11-27 18:30:34 -08:00
Jeff Johnson
7af81a1934 qcacld-3.0: Rename pMac in csr_inside_api.h
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
csr_inside_api.h

Change-Id: I18ba91ddf615e5c3ff8a025049c56587ee967289
CRs-Fixed: 2355447
2018-11-27 18:30:30 -08:00
Jeff Johnson
bf34cdb376 qcacld-3.0: Rename pMac in csr_api_roam.c
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
csr_api_roam.c

Change-Id: Ibed3be53fb911f9ccaed375ee84aa7ebdd8f5e40
CRs-Fixed: 2356080
2018-11-27 18:30:17 -08:00
Jeff Johnson
85f6142d45 qcacld-3.0: Rename pMac in sme_qos.c
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
sme_qos.c

Change-Id: I0cf98781992a08be0dddaa121c600ac0950c448b
CRs-Fixed: 2356084
2018-11-27 11:20:13 -08:00
Jeff Johnson
ea478b344d qcacld-3.0: Rename pMac in csr_util.c
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
csr_util.c

Change-Id: I29e9232fb275730a79f5cd2758086ea740ca8593
CRs-Fixed: 2356091
2018-11-27 11:20:09 -08:00
Jeff Johnson
df2d79ed90 qcacld-3.0: Rename pMac in csr_neighbor_roam
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
csr_neighbor_roam.h
csr_neighbor_roam.c

Change-Id: I31fb8c8aa9d715a59c79cf041760e216d3032023
CRs-Fixed: 2356100
2018-11-27 02:01:22 -08:00
Jeff Johnson
59104488cb qcacld-3.0: Replace tpPESession in sme
To align with the Linux coding style replace tpPESession with struct
pe_session * in sme.

Change-Id: I8f716b9b29fa694182c5750d40ec9bd2ddf99fd5
CRs-Fixed: 2353398
2018-11-23 17:18:29 -08:00
Abhishek Singh
0d0568a647 qcacld-3.0: Purge all active and pending cmds during SSR
During Vdev start/restart LimProcessDefdMsgs is set to false. If
start/restart timeouts, it will initiate SSR but will not send
response to LIM and thus gLimProcessDefdMsgs will not set to true.
Thus no other commands will be processed in LIM. If any command is
queued in serialization during this time it will timeout.

This will eventually lead to timeout of the vdev destroy command as
it won't get processed until the command in active queue timeout and
it leads to peer and vdev refcount leaks.

To fix it purge all active and pending cmds during SSR, so that vdev
destroy cmd can be processed immediately and can release vdev/peer
ref count.

Change-Id: Id5c15ccb4c27dabfdd4a9e0d7ee9b765130e03bf
CRs-Fixed: 2354899
2018-11-23 05:12:31 -08:00
Vignesh Viswanathan
ecd4de72ad qcacld-3.0: Cleanup HT Related CFG/INI Items
Cleanup multiple HT related CFG/INI Items which are already moved to the
MLME component.
Also move gShortSlotTimeEnabled INI from HDD to MLME component

Change-Id: Ie8c19f508401d4d72990f35ea5dcc18d45f0f16b
CRs-Fixed: 2354687
2018-11-23 03:38:24 -08:00
Jeff Johnson
6fee48b212 qcacld-3.0: Replace typedef tCsrTimerInfo
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

One instance is the following field in typedef tCsrTimerInfo:
-       tpAniSirGlobal pMac;

In order to meet the needs of the campaign all that is really needed
is to rename this field and modify all accesses to this field. However
note that the Linux coding style also objects to typedefs except in a
few cases, and the use case for tCsrTimerInfo does not apply.
Therefore to address the larger problem replace the tCsrTimerInfo
typedef with an appropriately named struct with appropriately named
fields.

Change-Id: I0bddcbe1057611d4c6e586358f64a29fb4049776
CRs-Fixed: 2354421
2018-11-22 19:53:22 -08:00
Vignesh Viswanathan
ed7041d20e qcacld-3.0: Remove Unused gEnableSSR INI
Removed Unused gEnableSSR INI and related code

Change-Id: Ie768c44b4c2fbfdaff798ab3043c7391b2fb8b40
CRs-Fixed: 2354839
2018-11-22 18:18:05 -08:00
Bala Venkatesh
3d786ebe08 qcacld-3.0: Refactor SAP ini items
Refactor ini items gSapForce11NFor11AC and gGoForce11NFor11AC
into new mlme component.

Change-Id: I85e2f7f9ae14a23c322572290b095aae0f29b0ec
CRs-Fixed: 2354940
2018-11-22 18:18:01 -08:00
Jeff Johnson
4fc88ce543 qcacld-3.0: Remove csr_get_disassoc_rsp_status_code()
Function csr_get_disassoc_rsp_status_code() is unused, so remove it.

Change-Id: Ifda76e7916eca8bc6ee6da41d972bf621ef4be38
CRs-Fixed: 2353537
2018-11-22 18:17:57 -08:00
Nachiket Kukade
4f68658ef8 qcacld-3.0: Hold APF set instruction context till completion
Once Driver receives APF sub-command QCA_WLAN_SET_PACKET_FILTER,
it posts the message to SME and returns the context. In case
where vdev restarts before sending the APF command to WMI,
driver will drop it since Firmware cannot accept the command
while vdev is down. Upper layer will have no knowledge of this
failure since there is no acknowledgment mechanism for a
successful APF command sent to the Firmware. Once the vdev is up
again, upper layer will send next APF instructions and driver
will allow then to the Firmware. This is problematic since
Firmware cannot operate with the partial APF instructions since
the initial part was dropped.

Hold the vendor command context till the command is successfully
sent to the Firmware. Propagate the errors to the upper layer.

Change-Id: If3cd6fbc85f83c0d78e735e96c00011cd2fd9347
CRs-Fixed: 2350640
2018-11-22 11:56:08 -08:00