[Kernel-packages] [Bug 1757443] Re: Redpine: BLE radio lost issue

2018-04-26 Thread Amitkumar Karwar
Reply C#7,

Latest Redpine firmware(1.6.1) is already available in upstream 
linux-firmware.git
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/rsi

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1757443

Title:
  Redpine: BLE radio lost issue

Status in linux package in Ubuntu:
  Incomplete
Status in linux-firmware package in Ubuntu:
  Incomplete
Status in linux source package in Xenial:
  Triaged
Status in linux-firmware source package in Xenial:
  Fix Committed
Status in linux source package in Bionic:
  Incomplete
Status in linux-firmware source package in Bionic:
  Incomplete

Bug description:
  SRU Justification

  Impact: Radio stops capturing advertisements after several hours.

  Fix: Updated firmware.

  Test Case: See below.

  Regression Potential: Limited to specific hardware.

  ---

  Below are the steps to replicate the issue

  We are doing continuous BLE scanning and monitoring the advertisements
  from reference device. After long periods of capture (several hours),
  the radio stops capturing advertisements and won't start again until
  we power cycle the box or manually unload/load the module via modprobe

  This bug is for tracking purposes only, please don't triage.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1757443/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1757443] Re: Redpine: BLE radio lost issue

2018-05-04 Thread Amitkumar Karwar
Yes. Upstream linux-firmware.git has all the fixes

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1757443

Title:
  Redpine: BLE radio lost issue

Status in linux package in Ubuntu:
  Incomplete
Status in linux-firmware package in Ubuntu:
  Incomplete
Status in linux source package in Xenial:
  Triaged
Status in linux-firmware source package in Xenial:
  Fix Committed
Status in linux source package in Bionic:
  Incomplete
Status in linux-firmware source package in Bionic:
  Incomplete

Bug description:
  SRU Justification

  Impact: Radio stops capturing advertisements after several hours.

  Fix: Updated firmware.

  Test Case: See below.

  Regression Potential: Limited to specific hardware.

  ---

  Below are the steps to replicate the issue

  We are doing continuous BLE scanning and monitoring the advertisements
  from reference device. After long periods of capture (several hours),
  the radio stops capturing advertisements and won't start again until
  we power cycle the box or manually unload/load the module via modprobe

  This bug is for tracking purposes only, please don't triage.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1757443/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1757435] [NEW] Redpine: WiFi scan stopping issue observed with BLE

2018-03-21 Thread Amitkumar Karwar
Public bug reported:

Below is the procedure to reproduce this issue


   1)  Any PC (Ubuntu Desktop): setup iBeacon advertiser
   2)  Caracalla 3003 (Ubuntu Server/Core) run:
./scan.sh
 By default WiFi supplicant will run on Caracalla
 You can check the WiFi scan results by using below command
iw dev wlan0 scan

 After 24hrs successful regression, we are unable to get the
WiFi scan results by giving the above command

Attached are BLE scripts

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1757435

Title:
  Redpine: WiFi scan stopping issue observed with BLE

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Below is the procedure to reproduce this issue

  
 1)  Any PC (Ubuntu Desktop): setup iBeacon advertiser
 2)  Caracalla 3003 (Ubuntu Server/Core) run:
  ./scan.sh
   By default WiFi supplicant will run on Caracalla
   You can check the WiFi scan results by using below command
  iw dev wlan0 scan

   After 24hrs successful regression, we are unable to get the
  WiFi scan results by giving the above command

  Attached are BLE scripts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1757435/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1757435] Re: Redpine: WiFi scan stopping issue observed with BLE

2018-03-21 Thread Amitkumar Karwar
** Attachment added: "BLE.zip"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1757435/+attachment/5085866/+files/BLE.zip

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1757435

Title:
  Redpine: WiFi scan stopping issue observed with BLE

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Below is the procedure to reproduce this issue

  
 1)  Any PC (Ubuntu Desktop): setup iBeacon advertiser
 2)  Caracalla 3003 (Ubuntu Server/Core) run:
  ./scan.sh
   By default WiFi supplicant will run on Caracalla
   You can check the WiFi scan results by using below command
  iw dev wlan0 scan

   After 24hrs successful regression, we are unable to get the
  WiFi scan results by giving the above command

  Attached are BLE scripts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1757435/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1757443] [NEW] Redpine: BLE radio lost issue

2018-03-21 Thread Amitkumar Karwar
Public bug reported:

Below are the steps to replicate the issue

We are doing continuous BLE scanning and monitoring the advertisements
from reference device. After long periods of capture (several hours),
the radio stops capturing advertisements and won't start again until we
power cycle the box or manually unload/load the module via modprobe

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1757443

Title:
  Redpine: BLE radio lost issue

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Below are the steps to replicate the issue

  We are doing continuous BLE scanning and monitoring the advertisements
  from reference device. After long periods of capture (several hours),
  the radio stops capturing advertisements and won't start again until
  we power cycle the box or manually unload/load the module via modprobe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1757443/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1753438] [NEW] Redpine: Sometimes Wi-Fi connection shows "unavailable" after resume from WoWLAN S4. WLAN can be recover after reboot or reloading WIFI driver.

2018-03-05 Thread Amitkumar Karwar
Public bug reported:

Following are steps to reproduce the issue:

1. Ensure WoWLAN is enabled in BIOS.
2. Initiate connection to an AP (using nmcli)
3. Configure the device for WoWLAN, run the command:
$ sudo iw phy phy0 wowlan enable magic-packet
4. Enter S4 (using hibernate)
5. From another computer on the same network run the following command:
$ wakeonlan {mac}
6. Check network states and WIFI shows "Unavailable"

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

** Summary changed:

- Sometimes Wi-Fi connection shows "unavailable" after resume from WoWLAN S4. 
WLAN can be recover after reboot or reloading WIFI driver.
+ Redpine: Sometimes Wi-Fi connection shows "unavailable" after resume from 
WoWLAN S4. WLAN can be recover after reboot or reloading WIFI driver.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1753438

Title:
  Redpine: Sometimes Wi-Fi connection shows "unavailable" after resume
  from WoWLAN S4. WLAN can be recover after reboot or reloading WIFI
  driver.

Status in linux package in Ubuntu:
  New

Bug description:
  Following are steps to reproduce the issue:

  1. Ensure WoWLAN is enabled in BIOS.
  2. Initiate connection to an AP (using nmcli)
  3. Configure the device for WoWLAN, run the command:
  $ sudo iw phy phy0 wowlan enable magic-packet
  4. Enter S4 (using hibernate)
  5. From another computer on the same network run the following command:
  $ wakeonlan {mac}
  6. Check network states and WIFI shows "Unavailable"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1753438/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1753439] [NEW] Redpine: BLE scanning for nearby beacons per second is too low and result high loss rate.

2018-03-05 Thread Amitkumar Karwar
Public bug reported:

Steps to replicate the issue:

1. Power on the BT device, then change the terminal by "Ctil+F1" or open 
another putty to ssh SUT.
2.Use command below to discover BLE device.
$ sudo stdbuf -i0-o0 -e0 /snap/bluez/current/usr/bin/hcitool lescan 
--duplicates --passive | perl -nle 'print scalar(localtime), " ",$_'
3. log as attachment.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1753439

Title:
  Redpine: BLE scanning for nearby beacons per second is too low and
  result high loss rate.

Status in linux package in Ubuntu:
  New

Bug description:
  Steps to replicate the issue:

  1. Power on the BT device, then change the terminal by "Ctil+F1" or open 
another putty to ssh SUT.
  2.Use command below to discover BLE device.
  $ sudo stdbuf -i0-o0 -e0 /snap/bluez/current/usr/bin/hcitool lescan 
--duplicates --passive | perl -nle 'print scalar(localtime), " ",$_'
  3. log as attachment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1753439/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1753439] Re: Redpine: BLE scanning for nearby beacons per second is too low and result high loss rate.

2018-03-05 Thread Amitkumar Karwar
** Attachment added: "BLE_SCAN.TXT"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1753439/+attachment/5069782/+files/BLE_SCAN.TXT

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1753439

Title:
  Redpine: BLE scanning for nearby beacons per second is too low and
  result high loss rate.

Status in linux package in Ubuntu:
  New

Bug description:
  Steps to replicate the issue:

  1. Power on the BT device, then change the terminal by "Ctil+F1" or open 
another putty to ssh SUT.
  2.Use command below to discover BLE device.
  $ sudo stdbuf -i0-o0 -e0 /snap/bluez/current/usr/bin/hcitool lescan 
--duplicates --passive | perl -nle 'print scalar(localtime), " ",$_'
  3. log as attachment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1753439/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1753439] Re: Redpine: BLE scanning for nearby beacons per second is too low and result high loss rate.

2018-03-05 Thread Amitkumar Karwar
SRU Justification
=

[Impact]
Less beacons were found in BLE scanning with RS9113 chipset.


[Fix]
BLE Scanning is happening for less scan window, which is causing this issue. 
Scan window value is adjusted (increase)dynamically in firmware when there is 
no activity on WiFi/BT. Along with this fix i firmware, we have added deep 
sleep feature in driver. Driver will put chip in sleep state when there is not 
activity.

[Test Case]
Conducted tests to confirm BLE scanning results are improved with the driver 
and firmware changes. Also, ran suspend resume s3, s4 and s5 stress tests to 
ensure it passed with newly added sleep changes

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1753439

Title:
  Redpine: BLE scanning for nearby beacons per second is too low and
  result high loss rate.

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Steps to replicate the issue:

  1. Power on the BT device, then change the terminal by "Ctil+F1" or open 
another putty to ssh SUT.
  2.Use command below to discover BLE device.
  $ sudo stdbuf -i0-o0 -e0 /snap/bluez/current/usr/bin/hcitool lescan 
--duplicates --passive | perl -nle 'print scalar(localtime), " ",$_'
  3. log as attachment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1753439/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1738773] [NEW] Connection issue in Bluetooth SPP mode between a Dell Edge Gateway 3000 and an HC-05 BT module attached to Arduino Uno

2017-12-18 Thread Amitkumar Karwar
Public bug reported:

SRU Justification

Impact: Connection issue in Bluetooth SPP mode between a Dell Edge
Gateway 3000 and an HC-05 BT module attached to Arduino Uno

Fix: Updated firmware from Redpine containing a fix for the issue.

Regression Potential: Below stress tests are conducted to ensure there is no 
regression with updated firmware
BT mouse + BT keyboard
BT mouse + BLE keyboard
BT keyboard + BLE mouse
BLE keyboard + BLE mouse
BT mouse or keyboard + Wifi connected
BT mouse + BT keyboard + WiFi connected
BLE mouse + BLE keyboard + WiFi Connected
BT mouse + BLE keyboard + Wifi connected
BLE mouse + BT keyboard + Wifi connected
(BT or BLE) mouse and/or (BT or BLE) keyboard + Wifi connected + Wifi Scan
(BT or BLE) mouse and/or (BT or BLE) keyboard + Wifi connected + BT inquiry + 
BLE scan
BT file transfer from mobile + WiFi connected

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1738773

Title:
  Connection issue in Bluetooth SPP mode between a Dell Edge Gateway
  3000 and an HC-05 BT module attached to Arduino Uno

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  SRU Justification

  Impact: Connection issue in Bluetooth SPP mode between a Dell Edge
  Gateway 3000 and an HC-05 BT module attached to Arduino Uno

  Fix: Updated firmware from Redpine containing a fix for the issue.

  Regression Potential: Below stress tests are conducted to ensure there is no 
regression with updated firmware
  BT mouse + BT keyboard
  BT mouse + BLE keyboard
  BT keyboard + BLE mouse
  BLE keyboard + BLE mouse
  BT mouse or keyboard + Wifi connected
  BT mouse + BT keyboard + WiFi connected
  BLE mouse + BLE keyboard + WiFi Connected
  BT mouse + BLE keyboard + Wifi connected
  BLE mouse + BT keyboard + Wifi connected
  (BT or BLE) mouse and/or (BT or BLE) keyboard + Wifi connected + Wifi Scan
  (BT or BLE) mouse and/or (BT or BLE) keyboard + Wifi connected + BT inquiry + 
BLE scan
  BT file transfer from mobile + WiFi connected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738773/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1742090] [NEW] Wifi/BT not functioning after s3 resume

2018-01-09 Thread Amitkumar Karwar
Public bug reported:

System cannot be waked by wowlan, but sometimes works.
When the wowlan not works and system waked by other wakeup sources, after 
resume the wifi and BT would not functioning until reload driver.

The driver/FW info:
[ 395.217187] ven_rsi_91x:  RSI Version Info ==
[ 395.217188] ven_rsi_91x: 
[ 395.217192] ven_rsi_91x: FW Version : 1.5.4
[ 395.217198] ven_rsi_91x: Driver Version : RS9113.NB0.NL.GNU.LNX.1.2
[ 395.217200] ven_rsi_91x: Operating mode : 13 [Wi-Fi STA + BT DUAL]
[ 395.217201] ven_rsi_91x: Firmware file : RS9113_WLAN_BT_DUAL_MODE.rps
[ 395.217202] ven_rsi_91x: 

Kernel version: 4.4.0-98-generic
Kernel snap: caracalla-kernel version:4.4.0-98.121-1 revision:58
BIOS version: 01.00.05 (Also tested with 01.00.03)
Tested SKU: T, Media, GPA

The reproduce steps:
1. Enable Wowlan and Wol in BIOS
2. Boot up Ubuntu core
3. Connect to Wifi AP
$ nmcli d wifi connect  password 
4. Enable wowlan
$ sudo iw phy phy0 wowlan enable magic-packet
5. Enter suspend or hibernate
$ sudo systemctl suspend
or
$ sudo systemctl hibernate
6. Send wake signal from another machine
# wakeonlan 
or
# sudo etherwake 
7. If system not waked, try to wol or other wake source
# wakeonlan 
8. After resume, check the wifi/BT function, but not functioning.
$ nmcli dev
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected Wired connection 1
wlan0 wifi disconnected --
eth1 ethernet unavailable --
cdc-wdm0 gsm unavailable --
lo loopback unmanaged --
$ nmcli dev wifi rescan
$ nmcli dev wfii list
No wifi APs found

$ sudo bluetoothctl
[NEW] Controller 00:23:A7:EA:65:64 0225399 [default]
[bluetooth]# power on
Failed to set power on: org.bluez.Error.Failed

The not functioning issue can be fixed by reload driver.
Also hibernate wakeup fails, and wake by other wake source. The Wifi/BT still 
functioning which could be the FW is reloaded by driver.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742090

Title:
  Wifi/BT not functioning after s3 resume

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  System cannot be waked by wowlan, but sometimes works.
  When the wowlan not works and system waked by other wakeup sources, after 
resume the wifi and BT would not functioning until reload driver.

  The driver/FW info:
  [ 395.217187] ven_rsi_91x:  RSI Version Info ==
  [ 395.217188] ven_rsi_91x: 
  [ 395.217192] ven_rsi_91x: FW Version : 1.5.4
  [ 395.217198] ven_rsi_91x: Driver Version : RS9113.NB0.NL.GNU.LNX.1.2
  [ 395.217200] ven_rsi_91x: Operating mode : 13 [Wi-Fi STA + BT DUAL]
  [ 395.217201] ven_rsi_91x: Firmware file : RS9113_WLAN_BT_DUAL_MODE.rps
  [ 395.217202] ven_rsi_91x: 

  Kernel version: 4.4.0-98-generic
  Kernel snap: caracalla-kernel version:4.4.0-98.121-1 revision:58
  BIOS version: 01.00.05 (Also tested with 01.00.03)
  Tested SKU: T, Media, GPA

  The reproduce steps:
  1. Enable Wowlan and Wol in BIOS
  2. Boot up Ubuntu core
  3. Connect to Wifi AP
  $ nmcli d wifi connect  password 
  4. Enable wowlan
  $ sudo iw phy phy0 wowlan enable magic-packet
  5. Enter suspend or hibernate
  $ sudo systemctl suspend
  or
  $ sudo systemctl hibernate
  6. Send wake signal from another machine
  # wakeonlan 
  or
  # sudo etherwake 
  7. If system not waked, try to wol or other wake source
  # wakeonlan 
  8. After resume, check the wifi/BT function, but not functioning.
  $ nmcli dev
  DEVICE TYPE STATE CONNECTION
  eth0 ethernet connected Wired connection 1
  wlan0 wifi disconnected --
  eth1 ethernet unavailable --
  cdc-wdm0 gsm unavailable --
  lo loopback unmanaged --
  $ nmcli dev wifi rescan
  $ nmcli dev wfii list
  No wifi APs found

  $ sudo bluetoothctl
  [NEW] Controller 00:23:A7:EA:65:64 0225399 [default]
  [bluetooth]# power on
  Failed to set power on: org.bluez.Error.Failed

  The not functioning issue can be fixed by reload driver.
  Also hibernate wakeup fails, and wake by other wake source. The Wifi/BT still 
functioning which could be the FW is reloaded by driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742090/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHel

[Kernel-packages] [Bug 1742094] [NEW] [16.04][classic] wowlan feature doesn't work

2018-01-09 Thread Amitkumar Karwar
Public bug reported:

Steps to reproduce:

 1. Ensure WoWLAN is enabled in BIOS.
 2. Initiate connection to an AP (using nmcli)
 3. Configure the device for WoWLAN, run the command:
$ sudo iw phy phy0 wowlan enable magic-packet
 4. Enter S5/S4/S3 (using poweroff, etc.)
 5. From another computer on the same network run the following command:
$ wakeonlan {mac} (in my case `wakeonlan 00:23:a7:ec:b4:04`)

Expected result: the device starts/resume

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742094

Title:
  [16.04][classic] wowlan feature doesn't work

Status in linux package in Ubuntu:
  New

Bug description:
  Steps to reproduce:

   1. Ensure WoWLAN is enabled in BIOS.
   2. Initiate connection to an AP (using nmcli)
   3. Configure the device for WoWLAN, run the command:
  $ sudo iw phy phy0 wowlan enable magic-packet
   4. Enter S5/S4/S3 (using poweroff, etc.)
   5. From another computer on the same network run the following command:
  $ wakeonlan {mac} (in my case `wakeonlan 00:23:a7:ec:b4:04`)

  Expected result: the device starts/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742094/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1694733] Re: ubuntu/rsi driver has several issues as picked up by static analysis

2017-06-27 Thread Amitkumar Karwar
1.2RC15 rsi driver includes fixes for these issues

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1694733

Title:
  ubuntu/rsi driver has several issues as picked up by static analysis

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  
  ** CID 1438209:  Memory - corruptions  (OVERRUN)
  /ubuntu/rsi/rsi_91x_core.c: 352 in rsi_core_qos_processor()

  
  

  *** CID 1438209:  Memory - corruptions  (OVERRUN)
  /ubuntu/rsi/rsi_91x_core.c: 352 in rsi_core_qos_processor()
  346 
  347   if (status) {
  348   mutex_unlock(&common->tx_lock);
  349   break;
  350   }
  351 
  >>> CID 1438209:  Memory - corruptions  (OVERRUN)
  >>> Overrunning array "common->tx_stats.total_tx_pkt_send" of 5 4-byte 
elements at element index 5 (byte offset 20) using index "q_num" (which 
evaluates to 5).
  352   common->tx_stats.total_tx_pkt_send[q_num]++;
  353 
  354   tstamp_2 = jiffies;
  355   mutex_unlock(&common->tx_lock);
  356 
  357   if (tstamp_2 > tstamp_1 + (300 * HZ / 1000))

  ** CID 1438210:  Resource leaks  (RESOURCE_LEAK)
  /ubuntu/rsi/rsi_91x_hci.c: 274 in rsi_deregister_bt()

  
  

  *** CID 1438210:  Resource leaks  (RESOURCE_LEAK)
  /ubuntu/rsi/rsi_91x_hci.c: 274 in rsi_deregister_bt()
  268   cmd_frame->q_no = RSI_BT_MGMT_Q;
  269   cmd_frame->pkt_type = RSI_BT_PKT_TYPE_DEREGISTR;
  270 
  271   skb_put(skb, sizeof(struct rsi_bt_cmd_frame));
  272 
  273   //return rsi_coex_send_pkt(common, skb, RSI_BT_Q);
  >>> CID 1438210:  Resource leaks  (RESOURCE_LEAK)
  >>> Variable "skb" going out of scope leaks the storage it points to.
  274   return common->priv->host_intf_ops->write_pkt(common->priv, 
skb->data, skb->len);
  275 }
  276 EXPORT_SYMBOL_GPL(rsi_deregister_bt);
  277 
  278 int rsi_hci_recv_pkt(struct rsi_common *common, u8 *pkt)
  279 {

  ** CID 1438211:  Resource leaks  (RESOURCE_LEAK)
  /ubuntu/rsi/rsi_91x_hci.c: 249 in rsi_send_rfmode_frame()

  
  

  *** CID 1438211:  Resource leaks  (RESOURCE_LEAK)
  /ubuntu/rsi/rsi_91x_hci.c: 249 in rsi_send_rfmode_frame()
  243   cmd_frame->bt_rf_tx_power_mode = 0;
  244   cmd_frame->bt_rf_tx_power_mode = 0;
  245 
  246   skb_put(skb, sizeof(struct rsi_bt_rfmode_frame));
  247 
  248 //return rsi_coex_send_pkt(common, skb, RSI_BT_Q);
  >>> CID 1438211:  Resource leaks  (RESOURCE_LEAK)
  >>> Variable "skb" going out of scope leaks the storage it points to.
  249   return common->priv->host_intf_ops->write_pkt(common->priv, 
skb->data, skb->len);
  250 }
  251 EXPORT_SYMBOL_GPL(rsi_send_rfmode_frame);
  252 
  253 int rsi_deregister_bt(struct rsi_common *common)
  254 {

  ** CID 1438212:  Null pointer dereferences  (REVERSE_INULL)
  /ubuntu/rsi/rsi_91x_sdio.c: 1388 in rsi_freeze()

  
  

  *** CID 1438212:  Null pointer dereferences  (REVERSE_INULL)
  /ubuntu/rsi/rsi_91x_sdio.c: 1388 in rsi_freeze()
  1382  struct rsi_91x_sdiodev *sdev =
  1383  (struct rsi_91x_sdiodev *)adapter->rsi_dev;
  1384 #endif
  1385 
  1386  ven_rsi_dbg(INFO_ZONE, "SDIO Bus freeze ===>\n");
  1387 
  >>> CID 1438212:  Null pointer dereferences  (REVERSE_INULL)
  >>> Null-checking "adapter" suggests that it may be null, but it has 
already been dereferenced on all paths leading to the check.
  1388  if (!adapter) {
  1389  ven_rsi_dbg(ERR_ZONE, "Device is not ready\n");
  1390  return -ENODEV;
  1391  }
  1392 
  1393  common->suspend_in_prog = true;

  ** CID 1438213:  Control flow issues  (UNREACHABLE)
  /ubuntu/rsi/rsi_91x_usb.c: 497 in rsi_usb_check_queue_status()

  
  

  *** CID 1438213:  Control flow issues  (UNREACHABLE)
  /ubuntu/rsi/rsi_91x_usb.c: 497 in rsi_usb_check_queue_status()
  491   struct rsi_91x_usbdev *dev = (struct rsi_91x_usbdev 
*)adapter->rsi_dev;
  492   int status;
  493   u32 buf_status = 0;
  494 
  495   return QUEUE_NOT_FULL;
  496 
  >>> CID 1438213:  Control flow issues  (UNREACHABLE)
  >>> This code cannot be reached: "if (adapter->priv->fsm_s

[Kernel-packages] [Bug 1706991] [NEW] ubuntu/rsi driver downlink wifi throughput drops to 5-6 Mbps when BT keyboard is connected

2017-07-27 Thread Amitkumar Karwar
Public bug reported:

In STA+BT+BLE mode, we get expected wifi throughput numbers when BT
device is not connected. It drops to 5-6 Mbps from 30+Mbps as soon as BT
keyboard is connected.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Incomplete

** Summary changed:

- Downlink wifi throughput drops to 5-6 Mbps when BT keyboard is connected
+ ubuntu/rsi driver downlink wifi throughput drops to 5-6 Mbps when BT keyboard 
is connected

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1706991

Title:
  ubuntu/rsi driver downlink wifi throughput drops to 5-6 Mbps when BT
  keyboard is connected

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  In STA+BT+BLE mode, we get expected wifi throughput numbers when BT
  device is not connected. It drops to 5-6 Mbps from 30+Mbps as soon as
  BT keyboard is connected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1706991/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1706991] Re: ubuntu/rsi driver downlink wifi throughput drops to 5-6 Mbps when BT keyboard is connected

2017-07-28 Thread Amitkumar Karwar
** Description changed:

+ SRU Justification
+ =
+ 
+ [Impact]
+ wifi throughput numbers are good when device is running in WLAN only mode.
+ 
  In STA+BT+BLE mode, we get expected wifi throughput numbers when BT
- device is not connected. It drops to 5-6 Mbps from 30+Mbps as soon as BT
- keyboard is connected.
+ device is not connected. However downlink throughput drops to 5-6 Mbps
+ from 35+Mbps as soon as bluetooth keyboard is connected.
+ 
+ [Fix]
+ Enable UAPSD mode with some optimized parameters, so that wifi station can 
get Rx packets buffered by AP efficiently even if radio is shared with bluetooth
+ 
+ [Test Case]
+ Conducted throughput tests and confirmed throughput gets dropped by 60% to 
65% as expected(not more than that) when bluetooth keyboard connected.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1706991

Title:
  ubuntu/rsi driver downlink wifi throughput drops to 5-6 Mbps when BT
  keyboard is connected

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  SRU Justification
  =

  [Impact]
  wifi throughput numbers are good when device is running in WLAN only mode.

  In STA+BT+BLE mode, we get expected wifi throughput numbers when BT
  device is not connected. However downlink throughput drops to 5-6 Mbps
  from 35+Mbps as soon as bluetooth keyboard is connected.

  [Fix]
  Enable UAPSD mode with some optimized parameters, so that wifi station can 
get Rx packets buffered by AP efficiently even if radio is shared with bluetooth

  [Test Case]
  Conducted throughput tests and confirmed throughput gets dropped by 60% to 
65% as expected(not more than that) when bluetooth keyboard connected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1706991/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1706991] Re: ubuntu/rsi driver downlink wifi throughput drops to 5-6 Mbps when BT keyboard is connected

2017-07-31 Thread Amitkumar Karwar
Patches has been posted to ubuntu mailing list to address this issue.
Link: https://lists.ubuntu.com/archives/kernel-team/2017-July/086027.html
  https://lists.ubuntu.com/archives/kernel-team/2017-July/086028.html

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1706991

Title:
  ubuntu/rsi driver downlink wifi throughput drops to 5-6 Mbps when BT
  keyboard is connected

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Xenial:
  New

Bug description:
  SRU Justification
  =

  [Impact]
  wifi throughput numbers are good when device is running in WLAN only mode.

  In STA+BT+BLE mode, we get expected wifi throughput numbers when BT
  device is not connected. However downlink throughput drops to 5-6 Mbps
  from 35+Mbps as soon as bluetooth keyboard is connected.

  [Fix]
  Enable UAPSD mode with some optimized parameters, so that wifi station can 
get Rx packets buffered by AP efficiently even if radio is shared with bluetooth

  [Test Case]
  Conducted throughput tests and confirmed throughput gets dropped by 60% to 
65% as expected(not more than that) when bluetooth keyboard connected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1706991/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1704363] [NEW] Add firmware for Redpine 9113 chipset

2017-07-14 Thread Amitkumar Karwar
Public bug reported:

Latest firmware images provided by Redpine in 1.2 production release are
updated to ubuntu's linux-firmware.git

** Affects: linux-firmware (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1704363

Title:
  Add firmware for Redpine 9113 chipset

Status in linux-firmware package in Ubuntu:
  New

Bug description:
  Latest firmware images provided by Redpine in 1.2 production release
  are updated to ubuntu's linux-firmware.git

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1704363/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp