Bug#823485: kernel: brcmsmac bcma0:1: START: tid 1 is not agg'able

2018-11-24 Thread Darsey Litzenberger

I'm seeing the same thing on a MacBookAir5,2 device with this hardware:

02:00.0 Network controller [0280]: Broadcom Limited BCM43224 802.11a/b/g/n 
[14e4:4353] (rev 01)
   Subsystem: Apple Inc. AirPort Extreme [106b:00e9]
   Flags: bus master, fast devsel, latency 0, IRQ 17
   Memory at a040 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [40] Power Management version 3
   Capabilities: [58] Vendor Specific Information: Len=78 
   Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [d0] Express Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [13c] Virtual Channel
   Capabilities: [160] Device Serial Number 7a-79-c3-ff-ff-da-7c-d1
   Capabilities: [16c] Power Budgeting 
   Kernel driver in use: bcma-pci-bridge
   Kernel modules: bcma

The device seems to work fine (I'm filling out this bug report over ssh) 
but this spams the kernel log multiple times per second.  This patch 
from wireless-drivers-next looks like it could help:


https://patchwork.kernel.org/patch/10653373/
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=96fca788e5788b7ea3b0050eb35a343637e0a465

commit 96fca788e5788b7ea3b0050eb35a343637e0a465
Author: Ali MJ Al-Nasrawy 
Date:   Tue Oct 23 19:12:35 2018 +0300

   brcmsmac: never log "tid x is not agg'able" by default

   This message greatly spams the log under heavy Tx of frames with BK access
   class which is especially true when operating as AP. It is also not 
informative
   as the "agg'ablity" of TIDs are set once and never change.
   Fix this by logging only in debug mode.

   Signed-off-by: Ali MJ Al-Nasrawy 
   Signed-off-by: Kalle Valo 

diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 
b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
index 81ff558046a8..6188275b17e5 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
@@ -846,8 +846,8 @@ brcms_ops_ampdu_action(struct ieee80211_hw *hw,
   status = brcms_c_aggregatable(wl->wlc, tid);
   spin_unlock_bh(>lock);
   if (!status) {
-   brcms_err(wl->wlc->hw->d11core,
- "START: tid %d is not agg\'able\n", tid);
+   brcms_dbg_ht(wl->wlc->hw->d11core,
+"START: tid %d is not agg\'able\n", tid);
   return -EINVAL;
   }
   ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);



Bug#823485: kernel: brcmsmac bcma0:1: START: tid 1 is not agg'able

2016-05-05 Thread Mikhail Morfikov
Package: src:linux
Version: 4.5.2-1
Severity: normal
File: brcmsmac

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I have the following WiFi hardware in my laptop:

03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn
Wireless Network Adapter [14e4:4727] (rev 01)
Subsystem: Hewlett-Packard Company BCM4313 802.11bgn Wireless Network
Adapter [103c:145c]
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at 9240 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78 
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-38-ff-ff-02-c1-c2
Capabilities: [16c] Power Budgeting 
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma

When I'm using the wireless connection, I get lots of the following errors:

...
kernel: brcmsmac bcma0:1: START: tid 2 is not agg'able
kernel: brcmsmac bcma0:1: START: tid 1 is not agg'able
...

The rate is about 150/h. I don't know what the errors mean, but I haven't
noticed any problems with my WiFi connection. I think it works just fine.

Is there a way to remove the message from the log? Does anyone know what the
message means, and maybe how to fix the problem?



- -- Package-specific info:
** Version:
Linux version 4.5.0-2-amd64 (debian-ker...@lists.debian.org) (gcc version 5.3.1
20160424 (Debian 5.3.1-16) ) #1 SMP Debian 4.5.2-1 (2016-04-28)

** Command line:
BOOT_IMAGE=../vmlinuz-4.5.0-2-amd64 root=/dev/mapper/debian_laptop-root
acpi_osi="!Windows 2012" acpi=force acpi_enforce_resources=lax
cgroup_enable=memory net.ifnames=0 biosdevname=0 apparmor=1 security=apparmor
udev.children-max=64 plymouth.enable=1 quiet splash ro
initrd=../initrd.img-4.5.0-2-amd64

** Tainted: OE (12288)
 * Out-of-tree module has been loaded.
 * Unsigned module has been loaded (currently expected).

** Kernel log:

** Model information
sys_vendor: Hewlett-Packard
product_name: HP G62 Notebook PC
product_version: 059411252710001020100
chassis_vendor: Hewlett-Packard
chassis_version: Chassis Version
bios_vendor: Hewlett-Packard
bios_version: F.48
board_vendor: Hewlett-Packard
board_name: 1439
board_version: 60.50

** Loaded modules:
uas(E)
option(E)
huawei_cdc_ncm(E)
usb_wwan(E)
cdc_wdm(E)
cdc_ncm(E)
usbnet(E)
usb_storage(E)
usbserial(E)
pci_stub(E)
vboxpci(OE)
vboxnetadp(OE)
vboxnetflt(OE)
vboxdrv(OE)
bridge(E)
stp(E)
llc(E)
ctr(E)
ccm(E)
cpufreq_conservative(E)
cpufreq_userspace(E)
cpufreq_powersave(E)
cpufreq_stats(E)
cls_fw(E)
sch_ingress(E)
cls_u32(E)
sch_htb(E)
ip6t_REJECT(E)
nf_reject_ipv6(E)
nf_log_ipv6(E)
ip6table_filter(E)
ip6table_mangle(E)
ip6_tables(E)
nf_log_ipv4(E)
nf_log_common(E)
xt_LOG(E)
xt_limit(E)
xt_pkttype(E)
ipt_REJECT(E)
nf_reject_ipv4(E)
ipt_SYNPROXY(E)
nf_synproxy_core(E)
xt_conntrack(E)
iptable_filter(E)
ipt_MASQUERADE(E)
nf_nat_masquerade_ipv4(E)
iptable_nat(E)
nf_nat_ipv4(E)
nf_nat(E)
xt_TCPMSS(E)
xt_comment(E)
xt_owner(E)
xt_mark(E)
iptable_mangle(E)
xt_tcpudp(E)
xt_CT(E)
xt_multiport(E)
xt_set(E)
iptable_raw(E)
ip_tables(E)
hid_a4tech(E)
ip_set_hash_ip(E)
ip_set_hash_net(E)
ip_set(E)
nfnetlink(E)
nfs(E)
lockd(E)
grace(E)
sunrpc(E)
fscache(E)
arc4(E)
brcmsmac(E)
cordic(E)
brcmutil(E)
mac80211(E)
hp_wmi(E)
sg(E)
acpi_cpufreq(E)
bcma(E)
iTCO_wdt(E)
iTCO_vendor_support(E)
lpc_ich(E)
mfd_core(E)
mei_me(E)
mei(E)
sparse_keymap(E)
i2c_i801(E)
processor(E)
ac(E)
battery(E)
tpm_tis(E)
joydev(E)
serio_raw(E)
shpchp(E)
tpm(E)
cfg80211(E)
intel_powerclamp(E)
evdev(E)
rfkill(E)
eeprom(E)
snd_hda_codec_hdmi(E)
tun(E)
snd_hda_codec_realtek(E)
snd_hda_codec_generic(E)
xt_recent(E)
snd_hda_intel(E)
snd_hda_codec(E)
snd_hda_core(E)
snd_hwdep(E)
snd_pcm(E)
snd_timer(E)
snd(E)
soundcore(E)
act_mirred(E)
sch_fq_codel(E)
xt_connmark(E)
ifb(E)
nf_conntrack_ipv6(E)
nf_defrag_ipv6(E)
nf_conntrack_ipv4(E)
nf_defrag_ipv4(E)
nf_conntrack(E)
cls_cgroup(E)
xt_cgroup(E)
x_tables(E)
coretemp(E)
bonding(E)
ecryptfs(E)
cbc(E)
encrypted_keys(E)
parport_pc(E)
zram(E)
zsmalloc(E)
lz4_compress(E)
ppdev(E)
lp(E)
parport(E)
loop(E)
autofs4(E)
ext4(E)
ecb(E)
lrw(E)
glue_helper(E)
ablk_helper(E)
cryptd(E)
aes_x86_64(E)
crc16(E)
mbcache(E)
jbd2(E)
btrfs(E)
crc32c_generic(E)
xor(E)
raid6_pq(E)
hmac(E)
drbg(E)
ansi_cprng(E)
xts(E)
gf128mul(E)
algif_skcipher(E)
af_alg(E)
dm_crypt(E)
dm_mod(E)
hid_generic(E)
sr_mod(E)
cdrom(E)
sd_mod(E)
usbhid(E)
hid(E)
psmouse(E)
ahci(E)
libahci(E)
libata(E)
scsi_mod(E)
r8169(E)
mii(E)
wmi(E)
fjes(E)
ehci_pci(E)
i915(E)
video(E)
ehci_hcd(E)
usbcore(E)
usb_common(E)
i2c_algo_bit(E)
drm_kms_helper(E)
button(E)
drm(E)
thermal(E)



- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (130, 'experimental')