~oem-solutions-group/+git/ubuntu-bionic:caracalla-master

Last commit made on 2018-04-23
Get this branch:
git clone -b caracalla-master https://git.launchpad.net/~oem-solutions-group/+git/ubuntu-bionic
Members of OEM Solutions Group can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
caracalla-master
Repository:
lp:~oem-solutions-group/+git/ubuntu-bionic

Recent commits

c0abb52... by Shrirang Bagul

UBUNTU: Ubuntu-caracalla-4.15.0-1003.4

Signed-off-by: Shrirang Bagul <email address hidden>

fe62492... by Shrirang Bagul

UBUNTU: SAUCE: config: ignore final-checks during build

Signed-off-by: Shrirang Bagul <email address hidden>

a081751... by Sanjay Kumar Konduri <email address hidden>

UBUNTU: SAUCE: Redpine: rsi: resolve wifi scan stop issue in stress tests

BugLink:
https://bugs.launchpad.net/drivers/net/wireless/+source/linux/+bug/1757435

We are disabling deep sleep before performing scan. In corner case,
it's observed that probe request is downloaded to firmware before
receiving deep sleep confirmation which leads to a scan stop issue

Race is resolved in this patch by waiting for the confirmation from
firmware

Signed-off-by: Sanjay Kumar Konduri <email address hidden>
Signed-off-by: Amitkumar Karwar <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>

00f807d... by Sanjay Kumar Konduri <email address hidden>

UBUNTU: SAUCE: Redpine: resolve power save issue after S4 resume

We are redownloading the firmware after S4 resume. We observed in
stress test that mac80211 sometimes gives power save request after
resume which causes the firmware in bad state.
mac_ops_resumed flag is added to skip that request until initialisation
is done.

Signed-off-by: Sanjay Kumar Konduri <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>
Signed-off-by: Siva Rebbagondla <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>

3ee0e5f... by Your Name <email address hidden>

UBUNTU: SAUCE: Redpine: fix for wowlan wakeup failure

BugLink: https://bugs.launchpad.net/bugs/1736097
BugLink: https://bugs.launchpad.net/bugs/1738169

Disabling power save in coex mode before configuring wowlan
parameters to firmware to avoid radio loss for wlan.

Signed-off-by: Pavani Muthyala <email address hidden>
Applied-by: Shrirang Bagul <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>

67b222f... by Siva Rebbagondla

UBUNTU: SAUCE: Redpine: rsi: Add deep sleep enable before connection

As in coex mode radio will be shared between BT and WLAN,
we need enable deep sleep before scan. Before scan deep
sleep can be disabled and re-enabed after scan. For any TX
frame before assoc, deep sleep shall be disable.
Disabling power save in coex mode before configuring wowlan
parameters to firmware to avoid radio loss for wlan.

Signed-off-by: Siva Rebbagondla <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>

00ad8a1... by Prameela Rani Garnepudi

UBUNTU: SAUCE: Redpine: Fix wowlan issue with S4

At SDIO restore ieee80211_restart_hw() is getting called to
restart all MAC operations. This step is not required.
eturning 1 from mac80211_resume() will serve this purpose.
Above method adding up some races in calling functions because
of timing issues.

Signed-off-by: Prameela Rani Garnepudi <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>

8ab4c5b... by Prameela Rani Garnepudi <email address hidden>

UBUNTU: SAUCE: Redpine: fix reset card issue

BugLink: https://bugs.launchpad.net/bugs/1736097
BugLink: https://bugs.launchpad.net/bugs/1738169

The function cmd52readbyte and cmd52writebyte can take additional
parameter; expected response. This parameter is false in reset
card (To avoid waiting during reset card) and true while
disabling or enabling SDIO interrupts.

Signed-off-by: Prameela Rani Garnepudi <email address hidden>
Signed-off-by: Amitkumar Karwar <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>
Signed-off-by: Siva Rebbagondla <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>

4aae3d8... by Prameela Rani Garnepudi <email address hidden>

UBUNTU: SAUCE: Redpine: fix wowlan issue

BugLink: https://bugs.launchpad.net/bugs/1736097
BugLink: https://bugs.launchpad.net/bugs/1738169

Two issues were observed, kernel waring at S4 restore and other
is failing to wakeup at times.
Kernel warning is because, at hibernate resume while mac80211
is resuming, driver is issuing mac80211 detach. The warning is
as below:

...skipping...
[ 374.972073] WARNING: CPU: 1 PID: 3725 at
ieee80211_do_stop+0x6ea/0x810 [mac80211]()
....
[ 374.972211] CPU: 1 PID: 3725 Comm: kworker/u4:44 Tainted: G W 4.4.0-98-generic #121-Ubuntu
[ 374.972213] Hardware name: Dell Inc. Edge Gateway 3002/ , BIOS 01.00.05 11/22/2017
[ 374.972223] Workqueue: events_unbound async_run_entry_fn
[ 374.972230] 0000000000000286 bf3948ba9db4c154 ffff88005a733ad8 ffffffff813fb2c3
[ 374.972235] 0000000000000000 ffffffffc04b8ac8 ffff88005a733b10 ffffffff810812e2
[ 374.972239] ffff8800787c0840 ffff88006f18e700 0000000000000000 ffff88006f18ee90
[ 374.972240] Call Trace:
[ 374.972249] [<ffffffff813fb2c3>] dump_stack+0x63/0x90
[ 374.972256] [<ffffffff810812e2>] warn_slowpath_common+0x82/0xc0
[ 374.972260] [<ffffffff8108142a>] warn_slowpath_null+0x1a/0x20
[ 374.972305] [<ffffffffc045915a>] ieee80211_do_stop+0x6ea/0x810 [mac80211]
[ 374.972312] [<ffffffff818441ee>] ? _raw_spin_unlock_bh+0x1e/0x20
[ 374.972317] [<ffffffff817608ba>] ? dev_deactivate_many+0x20a/0x240
[ 374.972359] [<ffffffffc045929a>] ieee80211_stop+0x1a/0x20 [mac80211]
[ 374.972365] [<ffffffff81732a39>] __dev_close_many+0x99/0x100
[ 374.972369] [<ffffffff81732b31>] dev_close_many+0x91/0x140
[ 374.972374] [<ffffffff810e6171>] ? synchronize_sched_expedited+0x4e1/0x880
[ 374.972379] [<ffffffff81734e2a>] dev_close.part.79+0x4a/0x70
[ 374.972383] [<ffffffff81734e6a>] dev_close+0x1a/0x20
[ 374.972425] [<ffffffffc035fac1>] cfg80211_shutdown_all_interfaces+0x41/0xa0 [cfg80211]
[ 374.972467] [<ffffffffc045a6c6>] ieee80211_remove_interfaces+0x56/0x1f0 [mac80211]
[ 374.972506] [<ffffffffc0441bca>] ieee80211_unregister_hw+0x4a/0x120 [mac80211]

This is avoided by callingg ieee80211_restart_hw and reinitializing
device as usual in sdio restore and waiting in mac80211_resume
until device is ready.
Other issue may be due to firmware assertion observed at times for
the length of bgscan probe request at restore. To avoid this,
unnecessary IEs are cut from the frame at end.

Signed-off-by: Prameela Rani Garnepudi <email address hidden>
Signed-off-by: Amitkumar Karwar <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>
Signed-off-by: Siva Rebbagondla <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>

acdeb26... by Pavani Muthyala <email address hidden>

UBUNTU: SAUCE: Redpine: uapsd configuration changes

BugLink: https://bugs.launchpad.net/bugs/1706991

This patch configures specific uapsd parameters. This setting
gives better downlink WLAN throughput when radio is shared
between WLAN and BT.

Signed-off-by: Pavani Muthyala <email address hidden>
Signed-off-by: Amitkumar Karwar <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Siva Rebbagondla <email address hidden>
Signed-off-by: Shrirang Bagul <email address hidden>