During driver unload or idle shutdown, link down may also happen,
which sets the link down ind flag, however once shutdown process
is complete, host driver expects the platform driver to return
false for subsequent is_firmware_down check on the next wifi On.
So clear the link down ind flag at the end of shutdown.
Change-Id: Ice9ace15aac16d7df55b8d9cb433755074e07b1f
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
With support to move between LLCC TCM and DDR memory for USB RMNET
IN endpoint related data buffer, it is required to reset RMNET IN
endpoint related num_buf and buf_len while going from LLCC TCM memory
usage to DDR memory otherwise number of buffer and length remains same
as LLCC TCM based configuration.
Change-Id: Idc0aab865bd26a9824c116762be4a2a1ec89e919
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Ethernet VLAN frames are now encapsulated in IP/GRE on uplink,
while IP/GRE headers are stripped on downlink.
Change-Id: I8f8820abf390815ed1f4a3a81bf1943a1fecf310
Signed-off-by: Perry Randise <prandise@codeaurora.org>
During suspend while trusted touch is active, remove wait
for trusted touch to complete and skip i2c transfer. This
avoids delay during suspend.
Change-Id: Iec6b1eed86e841343d4ca3513f32fb892911b7d7
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
Add changes required for QC3, when QC3 is detected,
smb1351 make requests for voltages in steps of 200mv.
Change-Id: I603f6515c7529913dcff103939018e2bdc61c45d
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
Add support for UFS controller and phy driver.
Change-Id: Ic99e8a4d245cecc9e927a14e4822fa2e61ff5408
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Signed-off-by: Anjana Hari <ahari@codeaurora.org>
Currently the driver is not setting is_suspended flag for
GPS function which is leading to remote wakeup failure for
host. Also clear rwake_inprogress flag in gsi_resume before
bailing out early for GPS function so that driver can
successfully do remote-wakeup for the functions that support
this feature.
Change-Id: I73f06c8f7b128636d0421139d068c05488d2ff06
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
Sometimes cnss probe fails as pcie link training
failure, This change will retry power on + pcie link
training.
Change-Id: I3eb12efe39b3a34b86e6cc97152d7e1615cc6266
Signed-off-by: Jingxiang Ge <jge@codeaurora.org>
WLAN host driver requires this API to get SSR state, avoid doing
ramdump when SSR happen and quick restart WLAN subsys.
Add back subsys_get_restart_level() support and fix return -EIVAL
in cnss_put_hw_resources().
Change-Id: I902d81b5693ab76028ed7e97183e07ea970930c1
CRs-Fixed: 2945893
Signed-off-by: Will Huang <wilhuang@codeaurora.org>