Commit graph

445661 commits

Author SHA1 Message Date
kaliu 27c7c1f843 qcacld-2.0: fix compile error when enable pe module log
fix compile error when enable pe module log

Change-Id: I4c3b26cda5230770a746fca00a389f1c1d70324d
CRs-Fixed: 982746
2019-07-27 21:47:50 +02:00
SaidiReddy Yenuga 7500603e66 qcacld-2.0: Validate NLA attr in hdd_extscan_epno_fill_network_list
qcacld-3.0 to qcacld-2.0 Propagation.

NLA attribute
QCA_WLAN_VENDOR_ATTR_PNO_SET_LIST_PARAM_EPNO_NETWORKS_LIST
used without validation.

validate NLA attribute.

CRs-Fixed: 2048343
Change-Id: I4da7dbe44325b0ed6346b363b71b558250996f8c
2019-07-27 21:47:49 +02:00
zhangq 9056884747 qcacld-2.0: Fix leakage in wlan_hdd_add_tx_ptrn
In wlan_hdd_add_tx_ptrn, there is a potential memory
leakage once request_id==MAX_ID.

Change-Id: If9bf6f7ad53fc8ff9bfb00110c35f64bb4a94498
CRs-Fixed: 1002063
2019-07-27 21:47:49 +02:00
hqu 0a0d961ed5 qcacld-2.0: Avoid buffer overrun via null termination
propagation from qcacld-3.0 to qcacld-2.0.

__iw_softap_set_ini_cfg assumes a given user supplied buffer is null
terminated, which can lead to a buffer overrun. Ensure the buffer is
null terminated by copying it to a new, oversized buffer whose last byte
is zero.

Change-Id: If94e753026f79a368cd6b9cb7c745ade4ae29452
CRs-Fixed: 2128900
2019-07-27 21:47:48 +02:00
Jeff Johnson 18e69ed038 qcacld-2.0: voss: Replace instances of unadorned %p
Replace instances of unadorned %p in CORE/VOSS.

Change-Id: I4582c890aa0ad5a2caa5c8622c2d1f7e9fb11cbb
CRs-Fixed: 2111273
2019-07-27 21:47:48 +02:00
Raveendra Chennakesavulu 958217a03f qcacld-2.0: Fix frame lenth information to cfg80211
During BSS frame update, frame_len is calculated as size of ieee80211_mgmt
and ielen. Since ieee80211_mgmt is a generic frame structure and different
frame structures are defined under union this may exceed the actual frame
len.

Fix by calculatiing offset of variable(ies) and ies length.

Change-Id: Ied8e4e604e41de1ac5ccc047ef5cc3cdb05a9445
CRs-Fixed: 2080488
2019-07-27 21:47:48 +02:00
Padma, Santhosh Kumar c61967be74 qcacld-2.0: Process roam disable after roam completion
prima to qcacld-2.0 propagation

Currently roam disable is allowed using SETROAMMODE even if roaming
is in progress. This can cause mess in state machine as driver falls
back to LFR-1.0 and can result in crash. Add pending_roam_disable to
mark pending of roam disable when roaming is in progress and allow
preauth/reassoc to go if preauth/reassoc in progress.
With this fix, driver takes following actions.
1. If pending_roam_disable is pending after preauth failure,
   driver does not proceed for further preauth and disables roaming.
2. If pending_roam_disable is pending after reassoc completion,
   driver updates CSR with new AP information and disables roaming.

Change-Id: I9cfcbd21db046d399c2cdc78b1678d3773aea2cd
CRs-Fixed: 2045775
2019-07-27 21:47:47 +02:00
Padma, Santhosh Kumar 056fa35415 qcacld-2.0: Update dot11mode properly for roamable AP
prima to qcacld-2.0 propagation

Currently dot11mode is not updated properly for roamable AP. This can
result in incorrect data rates. Update dot11mode to fix this.

Change-Id: I644f685fc2c0e041b308017ed3206d56c9c57fe9
CRs-Fixed: 2047070
2019-07-27 21:47:47 +02:00
Sreelakshmi Konamki bd60346595 qcacld-2.0: Update public action frames to supplicant
prima to qcacld-2.0 propagation

Currently broadcast action frames are dropped in
__hdd_indicate_mgmt_frame(), host tries to get pAdapter using
destination mac address and returns from function as pAdpater is NULL.

Add changes to use existing pAdapter when destination address
of received packet is broadcast.

Change-Id: I9a149116b9a3ec9b4abef4808849876069f2e13c
CRs-Fixed: 2045740
2019-07-27 21:47:47 +02:00
Srinivas Girigowda 45edbbeb67 qcacld-2.0: Fix header include bug
In file included from regtable.c:32:
ar9888def.h:28:9: error: '_AR9888DEF_H_' is used as a header guard here,
followed by #define of a different macro [-Werror,-Wheader-guard]

ar9888def.h:29:9: note: 'AR9888__AR9888DEF_H_' is defined here; did you mean '_AR9888DEF_H_'?

Fix the header file include guard properly.

Change-Id: Ic05a829eadbf974598370c494a5cff10201ec600
CRs-Fixed: 1091052
2019-07-27 21:47:46 +02:00
Srinivas Girigowda c3d87b35a7 qcacld-2.0: Fix incorrect data type assignment
In function wma_get_buf_extscan_change_monitor_cmd() and
wma_get_buf_iextscan_hotlist_cmd(), numAp is of type uint32_t
but it is assigned to variable numap of type int.

Fix this by making 'numap' also of same type 'uint32_t'.

Change-Id: I02502f05d2305f62cbde47db2893770673d19fc3
CRs-Fixed: 1096384
2019-07-27 21:47:46 +02:00
bings 7f9393fd9c qcacld-2.0: Fix invalid peer local id in sap start bss
Currently when cac ends, it will trigger eSAP_START_BSS_EVENT
with peer local id 0. If there is no peer with local id 0, sap
starts fails.
Actually valid peer local id should be found based on self mac
address of the sap.

Change-Id: I3779cb181390650844475b1a2f18768cb5784cf2
CRs-Fixed: 1096534
2019-07-27 21:47:46 +02:00
Mukul Sharma c2a2f18a1b qcacld-2.0: Do not handle regdomain notifier after cfg80211 suspend
Currently, kernel invoke the regdomain notifier to host driver
using registered callback. If kernel call this callback after
cfg80211 aka system suspend, Then because of race condition host
might send the PDEV SET REGDOMAIN/PARAM to fwr after WOW ENABLE
cmd which is not correct cmd sequence.

Change-Id: Ie3cd94d86345c9b6de0c5597d23e0b0dc6751937
CRs-Fixed: 1075079
2019-07-27 21:47:45 +02:00
bings d9b3753c1a qcacld-2.0: Remove needless NULL check for pktNode
NULL check for pktNode in hdd_flush_ibss_tx_queues is needless,
because it can't be NULL, and it is dereferenced before.

Fix is to remove needless NULL check for pktNode.

Change-Id: I5c4a1e738c10b7ed693a73ecb4e4955b39b531b3
CRs-Fixed: 1064927
2019-07-27 21:47:45 +02:00
Padma, Santhosh Kumar c36bbf05cd qcacld-2.0: Fix status code during disassociation
prima to qcacld-2.0 propagation

Currently status code is mapped same as reason code which results
in wrong status code mapping. Fix this by adding appropriate status
code.

Change-Id: I75a66601c33b4e93fcac674415f38d5a8184c8f3
CRs-Fixed: 1062308
2019-07-27 21:47:44 +02:00
Sriram Madhvapathi 5a3e7de701 qcacld-2.0: Update dma_mask for SDIO device
The SDIO device structure is initalized for basic fields in the
SDIO bus layer. However, the dma_mask shall be updated in function
driver. Not doing this will result in network layers assuming
incomplete functionality. See harmonize_features() of the net core.
The currect code initializes this to a driver local pointer, which
may lead to undesired memory access errors elsewhere.

Fix this by assigning the dma_mask of the parent device.

CRs-Fixed: 1061437
Change-Id: I4cdd6a8e4ae8fc5e2f23cb31a22f4abcdc736fd4
2019-07-27 21:47:44 +02:00
Sachin Ahuja d19d35ac44 qcacld-2.0: Return the cached rssi in get_station during roaming
prima to qcacld-2.0 propagation

Currently, if get_station is called during roaming, host does
not send the correct rssi.Because of this, supplicant reports
very low rssi to upper layer and handover happens to cellular.
To mitigate this issue, send the cached rssi when get_station
is queried during roaming.
Change-Id: Icceb5839503ccd99e7aef535ee438d072d3a8823
CRs-Fixed: 1055388
2019-07-27 21:47:44 +02:00
Sreelakshmi Konamki 564777f25d qcacld-2.0: Fix to update proper psessionEntry in limProcessMessages()
prima to qcacld-2.0 propagation

In limProcessMessages(), few SME messages updates 'psessionEntry'
using SME session id. Host driver should not use SME session id in PE.

Fix to update 'psessionEntry' using peFindSessionByBssid().

Change-Id: Icebf4604d5a3a825afc6b1d3540bd228488ce267
CRs-Fixed: 1020643
2019-07-27 21:47:43 +02:00
Rajeev Kumar Sirasanagandla 7dacf4d66d qcacld-2.0: Avoid immediate power collapse on receiving PNO indication
prima to qcacld-2.0 propagation

Connect request will be dishonored if apps power collapses immediately
after updating the sched scan results to supplicant.

To mitigate this issue, take a wakelock for 1 second before updating
the sched scan results to supplicant.

Change-Id: Ib0b8b6c6b149f0bf66d1cf9a60bd876f4a003245
CRs-Fixed: 924837
2019-07-27 21:47:43 +02:00
Sriram Madhvapathi 027a7fdaf2 qcacld-2.0: Do not advertise NL80211_IFTYPE_P2P_DEVICE mode
Currently hdd_open_adapter for second interface, initialises
wdev->iftype to NL80211_IFTYPE_P2P_DEVICE. This is incorrect
since the driver does not support a interface of type
NL80211_IFTYPE_P2P_DEVICE, as is evident from interface_modes
advertised during wiphy initialization and registration.
NL80211_IFTYPE_P2P_DEVICE should only be used if a dedicated
P2P management interface is supported, which isn't the case here.

Correct this by initialising iftype to NL80211_IFTYPE_STATION.

CRs-Fixed: 1058675
Change-Id: Iff71377df7fb1b87c34d907c8b290b9320b462be
2019-07-27 21:47:43 +02:00
Rajeev Kumar Sirasanagandla f0d303f445 qcacld-2.0: Fix overwrite of regulatory flags
prima to qcacld-2.0 propagation

In current implementation, REGULATORY_DISABLE_BEACON_HINTS is set but
overwritten with the REGULATORY_COUNTRY_IE_IGNORE, beacuse of which
passive scan flags and beaconing flags are lifted by cfg80211 due to
regulatory beacon hints.

This fix this, set both flags and avoid overwrite.

Change-Id: I8bc4f0c0275b9035414bdcdafa692bf1102a77cf
CRs-Fixed: 1054854
2019-07-27 21:47:42 +02:00
Srinivas Girigowda cc87489a1e qcacld-2.0: Remove hardcoded value and set qpower appropriately
The issue is when host re-enables QPower after resume, it is setting
WMI_STA_PS_ENABLE_QPOWER to 1 (which is for QPower = 2) always and never
WMI_STA_PS_ENABLE_QPOWER to 2 (which is for QPower = 5).
This means one suspend/resume is enough to disable QPower = 5 and
change to QPower = 2.

Fix this by removing the hardcoded value of 1 and use qpower_config instead.

Change-Id: I553c1691d5d7e98c2db8c9e56e2ba68ae27af506
CRs-Fixed: 1040737
2019-07-27 21:47:42 +02:00
Padma, Santhosh Kumar 211f17ab45 qcacld-2.0: Initialize session id for auth retry timer
Currently session id is not initialized for auth retry timer
during roaming which can result in error in limDeactivateAndChangeTimer
during preauth. Fix this by initializing session id for auth retry timer.

Change-Id: Ia7093802c9240c967378de54695a258d80c395de
CRs-Fixed: 1043384
2019-07-27 21:47:41 +02:00
Abhishek Singh 7b461ccd3f qcacld-2.0: Print qpower enable/disable depending on the config value
Driver prints qpower disabled even if command for qpower enabled
is sent to firmware.

To avoid confusion print qpower enable/disable depending on the cmd
sent to firmware.

Change-Id: Ifb135d4ad1691d0e5024aa2ef31880be271cac9e
CRs-Fixed: 1044603
2019-07-27 21:47:41 +02:00
Mukul Sharma 9dcdfde288 qcacld-2.0: Reduce log level while processing mgmt rx frames
When scan is in progress and driver unload begins, excessive
logs appears while processing rx mgmt frame which lead to
watch dog bite.

As a part of this fix, reduce the logs level to info level
to avoid watch dog bite.

Change-Id: I41dbc6c7a05ea2887e3a63272b02012035bb7fec
CRs-Fixed: 1036923
2019-07-27 21:47:41 +02:00
Poddar, Siddarth 305495e7ce qcacld-2.0: Delete PMF Sta from previous vdev
If a PMF Sta is already connected to one interface and try
to switch to other interface without sending deauth/disassoc,
sta entry is not deleted from previous vdev and one more entry
is created on current vdev. Due to this htt is not able to get
valid peer for EAPOL packets and EAPOL packets are dropped leading
to connection failure.

To fix this, Add check to delete PMF Sta from one vdev when
assoc request is received on another vdev.

Change-Id: Ida2e20fe08af3c6ed426822a71db1fd6854a0bea
CRs-Fixed: 1033224
2019-07-27 21:47:40 +02:00
Padma, Santhosh Kumar a97fd72436 qcacld-2.0: Add BSSID entry even if mismatch is seen
If there is a mismatch in channel number present in BD and
Beacon/probe response, corresponding BSSID entry is not added in
scan cache. This can result in reconnection failure. If the entry
is not present then add this entry even in case of mismatch.

Change-Id: Id8c45ff88731288144fe39f5da56748f403dfdb7
CRs-Fixed: 1036988
2019-07-27 21:47:40 +02:00
Abhishek Singh d77e58d30c qcacld-2.0: Do not reset short preamble support and beacon interval
In pe_reset_protection_callback psession's beaconParams struct is
reset to 0 and thus short preamble support being part of this
structure is set to 0. Due to this beacons always have barker
preamble set to 1 even if no non short preamble enabled STA is
connected.

To avoid this do not reset the short preamble support and beacon
interval in psession's beaconParams structure.

Change-Id: I631fb202fba6bc129d03ff21cff2adef328abff2
CRs-Fixed: 1032578
2019-07-27 21:47:40 +02:00
Gao Wu 4194ede8f3 qcacld-2.0: Process disassociate with invalid reason code
AP mode will disconnect to STA when receive disassociate with invalid
reason code, and STA mode will disconnect to AP when receive deauth
with invalid reason code, but won't process disassociate with invalid
reason code in STA mode. Update code so STA will disconnect from AP
when it receives a disassociate with an invalid reason code.

Change-Id: Icebc46062b1ea4b7f5affa171f760123dbb9fcb7
CRs-Fixed: 1015244
2019-07-27 21:47:39 +02:00
Srinivas Girigowda d380ed696c qcacld-2.0: Delete SSR timer after isLogpInProgress is reset
In hdd_wlan_re_init(), SSR timer is deleted and isLogpInProgress is set to FALSE
but between these two there are NL socket related calls which can sleep
under low memory conditions (or etc) because of which timer is deleted but
isLogpInProgress is not reset to FALSE. This can potentially fail the
south-bound requests for a brief amount of time.

Hence it is always better to delete the SSR timer only after
isLogpInProgress is reset to FALSE.

Change-Id: I699438ff3e0c2f7b81e0bbf81be6f514841e194b
CRs-Fixed: 1017011
2019-07-27 21:47:39 +02:00
Gupta, Kapil 347ab4c20b qcacld-2.0: Correct return value of wlan_hdd_cfg80211_update_bss
wlan_hdd_cfg80211_update_bss API returns eHAL_STATUS in case of
nil scan result whereas the return type of API is integer.

Correct return value of API for nil scan result.

Change-Id: Id5185b9f4983f24a4a731ba241464a4ed87d413d
CRs-Fixed: 1014532
2019-07-27 21:47:39 +02:00
Kanchanapally, Vidyullatha e5f1a8fc2f qcacld-2.0: Guard driver cfg80211 abort scan implementation with appropriate checks
prima to qcacld-2.0 propagation

cfg80211 abort scan implementation is available only from
kernel 4.5 onwards. Hence guard the abort scan driver
implementation with linux version and backport availability
checks in order to prevent any compilation issues with old
kernel versions.

Change-Id: I5956f9daa06225535ae4f10aed4ebe310f7acc7a
CRs-Fixed: 1010982
2019-07-27 21:47:38 +02:00
Deepthi Gowri cdee93c7ca qcacld-2.0: Use preauth channel to fetch the band during roaming
During roaming the connected AP's operating channel is used instead of
preauth channel to fetch the band, based on which the data rate is set.
Due to this incorect data rate is set.

To address this, use the preauth channel during roaming to fetch the band
and set the data rate accordingly.

CRs-Fixed: 1017943
Change-Id: Ia3bf13c1a93a156eba8461bcdcf3490b9f49c2a2
2019-07-27 21:47:38 +02:00
Vidyullatha, Kanchanapally 12589affa1 qcacld-2.0: Implement cfg80211 abort scan API
prima to qcacld-2.0 propagation

There is no support for cfg80211 abort scan API
so implement the cfg80211 abort scan API.

Change-Id: I4632c1b4770e6b2f301d67f37005585aef401ab6
CRs-Fixed: 930870
2019-07-27 21:47:37 +02:00
c_zding 1aa9c8b01d qcacld-2.0: Fix wrong return value of wlan_hdd_cfg80211_change_iface
When wlan_hdd_change_iface_to_sta_mode returns VOS_STATUS_E_FAILURE,
this error code is returned directly to kernel, which can't be recognized
by linux kernel and wpa_supplicant.

Change-Id: I444829d050d28562aa4c8afa1a43470f79943707
CRs-Fixed: 995507
2019-07-27 21:47:37 +02:00
gbian 1b904419d2 qcacld-2.0: Flush vdev's TXQ with the same TID as inserted one
Currently TXQ of DEFAULT_MGMT packet is using TID
HTT_TX_EXT_TID_MGMT when we inserted into Scheduler, so use
same TID when we flush it.

Change-Id: I1631b7706d1f8bf0352ceecb8836d82743526e44
CRs-Fixed: 1000968
2019-07-27 21:47:37 +02:00
Abhishek Singh c83e5dd00a qcacld-2.0: Remove unnecessary error logs
prima to qcacld-2.0 propagation

Remove frequently seen unnecessary error logs in kmesg from
driver.

Change-Id: I708c11fc40fc3e7ca7fb71bf83f994f08463108d
CRs-Fixed: 971507
2019-07-27 21:47:36 +02:00
Agrawal Ashish 8fa626ffff qcacld-2.0: Don't limit channel list to max 32 channels
In __iw_get_channel_list, driver populates valid
channel list from nv table.
Currently, the driver only populates 32 channels.
The driver should populate complete valid channel list.
Moreover, driver should not include DFS channels in channel list
if the device is not set to DFS_MASTER mode.
Fix these issues by returning all supported channels.

Change-Id: I4981941834f25b9d213c20715ca8237a4b885473
CRs-Fixed: 988849
2019-07-27 21:47:36 +02:00
Edhar, Mahesh Kumar fa953ea788 qcacld-2.0: Change to properly update the phymode
Currently phymode is wrongly calculated as 11N for 11A mode.
Change made to ensure proper updation of phymode.

Change-Id: I0b2fcbd04ae450627de68a7a75e38419da56cc40
CRs-Fixed: 960419
2019-07-27 21:47:36 +02:00
Manjeet Singh 9050f49e8e qcacld-2.0: Validate session id in cli_get/set cmd
In wda_cli_get_command and process_wma_set_command API, commands can be passed
without session id validation. This might lead to a condition in which a
session might be invalid/closed, but these API might still pass the commands
to lower layers. Thus, session id needs to validated at various places related
to these API.

Change-Id: I82706240e12ca1a4f86bb345d87ed7fac1377144
CRs-fixed: 964701
2019-07-27 21:47:35 +02:00
kaliu 6180865608 qcacld-2.0: when flush txq in sheduler use same tid to ref the txq
currently txq of MCAST_BCAST packet is using tid
HTT_TX_EXT_TID_NON_QOS_MCAST_BCAST when inserted into scheduler,
so use same tid when flush

Change-Id: I7b32e518e9e31a65ec96daeaabd3b9a79d3e1693
CRs-Fixed: 979681
2019-07-27 21:47:35 +02:00
Krishna Kumaar Natarajan 0ebd5dcfe2 qcacld-2.0: Fix incorrect flags setting in peer assoc command
Fix incorrect flag setting while sending peer assoc command.

This change set will add a check before setting 40MHZ support bit
and shortGI support bit in the peer flags. If the peer is not HT
capable, these flags should not be set.

Change-Id: I89d43bd86b97637b291dc871aaf7e2a3269df853
CRs-Fixed: 974242
2019-07-27 21:47:34 +02:00
Krishna Kumaar Natarajan 7a6a84c39c qcacld-2.0: Introduce vos_status_to_os_return
Need to convert important VOS_STATUS errors to OS specific errors

Change-Id: I612e77b229c8c9d5d2c2b7273a73402b2d2ba063
CRs-Fixed: 830599
2019-07-27 21:47:34 +02:00
Nirav Shah 3a85f2a1a2 qcacld-2.0: Fill proper frame detail in pktlog
Fill proper frame detail in pktlog for mgmt
packets sent by host.

CRs-Fixed: 971991
Change-Id: I271074bdb0514f740cb35ed9dcdfcd357b4d9fcd
2019-07-27 21:47:34 +02:00
Liangwei Dong 39b43ddd8f qcacld-2.0: fix wlan suspend fail after switch to non-dfs channel
In SAP DFS test, DUT can't goto suspend if SAP started
on DFS channel and later switched to non-dfs channel due to
Radar detected.

During SAP Starting, driver will acquire the wake lock
for dfs channel by hdd_hostapd_channel_prevent_suspend
in the eSAP_CHANNEL_CHANGE_EVENT event handler. But the SAP
is still in STOPPED state. We acquire the wake lock again
after SAP started in eSAP_START_BSS_EVENT event handler.
This causes driver to acquire wake lock twice for the
same dfs channel. And finally causes the device can't
suspend normally.

This change add check in eSAP_CHANNEL_CHANGE_EVENT
handler to only call hdd_hostapd_channel_prevent_suspend
when SAP is in started state to avoid lock/unlock mismatch.

Change-Id: Ief90697b7b6f19f6fcf0ab94f973a37e74ca3366
CRs-Fixed: 972657
2019-07-27 21:47:33 +02:00
AnjaneeDevi Kapparapu 1cc43b8491 qcacld-2.0: when resume from suspend first ping failed between clients
Start dut as softap, two ref sta connect to dut, let dut enter into
suspend. Ping from sta1 to sta2, ping fail.

Currently in mdm HL platform, packet forward is handled in driver,
kernel stack doesn't forward packet. While the first ping packet that
wake up host is indicated directly to kernel without forward check.

Solution is that driver does forward check for the first packet as
normal rx path.

Change-Id: I19a5a55bdcdbd323e95bf6725f9c1ce7da6238de
CRs-Fixed: 965087
2019-07-27 21:47:33 +02:00
Mahesh A Saptasagar be1365e3cb qcacld-2.0: Map non-FCC Countries to proper reg id
prima to qcacld-2.0 propagation.

Some non FCC countries are mapped to FCC. When these country
are set, host sends regdomain as FCC to firmware.
Now if channel 9 is set with secondary channel offset above primary
(HT40+ mode), the firmware returns failure as this combination is
not allowed in FCC.

Map non-FCC countries to proper reg id in countryInfoTable.

Change-Id: I85313c1ce97e55b70dae1b28c91b4e703f5c7851
CRs-Fixed: 957368
2019-07-27 21:47:33 +02:00
Ganesh Kondabattini 163102606a qcacld-2.0: Increase the max value for ini gEGAPWaitTime to 300000
Currently the max value supported for ini gEGAPWaitTime is 5000.
Changing this value to 300000 (5 min).

CRs-Fixed: 971446
Change-Id: I93c57fbf2bb9ba2d8a9d02290e95b8fe3d996968
2019-07-27 21:47:32 +02:00
Gupta, Kapil e541c6e484 qcacld-2.0: Remove unwanted logs from STA connect/disconnect path
prima to qcacld-2.0 propagation

As a part of logging improvement, remove redundant logs,
change certain log levels in STA connect/disconnect
path to make logs more useful.

Change-Id: I0fe57d4425bd637ff24ed284dccd7ee88309f79d
CRs-Fixed: 842896
2019-07-27 21:47:32 +02:00
AnjaneeDevi Kapparapu 709ef6755b qcacld-2.0: Register management frames during wlan re init
prima to qcacld-2.0 propagation

It could be possible that after SSR, pMac context is lost,
due to which the management frame callback will not be invoked
and none of the management frames will be processed,
resulting in scan and connection issues.

To address this, register management frame callback during wlan re init.

CRs-Fixed: 962187
Change-Id: I5429da9dbc33c7e2044d5a4daa1c8d3d7af241ee
2019-07-27 21:47:32 +02:00