2014-01-13 09:30:48

by Nikita N.

[permalink] [raw]
Subject: brcmsmac on BCM4313: frames 11n not shown in monitor mode

Hi All :) an issue for the maintainers of brcmsmac, or anybody who
knows.
Using module brcmsmac, when I flip my BCM4313 in monitor mode, it shows
allright all frames sent in 11b and 11g mode, but the *11n* ones are NOT
shown, maybe filtered out or not detected.
Is that a known bug?
If not, how can I set brcmsmac to show also 11n frames?
thanks :)

--
http://www.fastmail.fm - The way an email service should be



2014-01-13 18:19:03

by Nikita N.

[permalink] [raw]
Subject: Re: brcmsmac on BCM4313: frames 11n not shown in monitor mode

Yes Arend, I confirm, 802.11 frames transmitted at 11n bitrate.
The card looks 11n capable, as it handshakes allright from Windows with
my router set to 11n only (beacon frames contain all HT tags as normal)
But when I flip in monitor mode under Linux, only 11b/g frames are shown
(Wireshark,no filter)
Yes of course I can send you a capture, any particular frames do you
want inside?
Regards

On Mon, Jan 13, 2014, at 08:23 AM, Arend van Spriel wrote:
> On 01/13/2014 10:30 AM, Nikita N. wrote:
> > Hi All :) an issue for the maintainers of brcmsmac, or anybody who
> > knows.
> > Using module brcmsmac, when I flip my BCM4313 in monitor mode, it shows
> > allright all frames sent in 11b and 11g mode, but the *11n* ones are NOT
> > shown, maybe filtered out or not detected.
> > Is that a known bug?
> > If not, how can I set brcmsmac to show also 11n frames?
>
> What do you mean by 11n frames? Do you mean 802.11 frames transmitted at
> a 11n bitrate? Can you share a capture?
>
> Regards,
> Arend

--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow


2014-01-13 19:25:52

by Nikita N.

[permalink] [raw]
Subject: Re: brcmsmac on BCM4313: frames 11n not shown in monitor mode

Sure Arend, here in attach the capture file, I dont have time to clean
it, so I send it to you as-is.
Of course the capture was taken by BCM4313 in monitor.
The AP is set to 11n *ONLY* (NO mixed mode b/g/n), bssid is
00:1f:a4:de:03:b2, filtering from that you will find all what you need.
The sta is an ath9k (74:e5:43:93:56:82) from Windows, WPA encrypted,
during the capture it was always connected and transferring (tcp,http,
icmp, arp, dhcp, and so on..), I just did a reconnect 1 time to produce
the setup frames you need.
Fyi, here also the last part of dmesg output:
[...]
Loading modules backported from Linux version v3.13-rc2-0-gdc1ccc4
Backport generated by backports.git v3.13-rc2-1-0-gf69c248
cfg80211: Calling CRDA to update world regulatory domain
bcma-pci-bridge 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
bcma-pci-bridge 0000:02:00.0: setting latency timer to 64
bcma: bus0: Found chip with id 0x4313, rev 0x01 and package 0x08
bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x24,
class 0x0)
bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x18,
class 0x0)
bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x11, class
0x0)
bcma: bus0: Bus registered
cfg80211: World regulatory domain updated:
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain,
max_eirp)
cfg80211: (2402000 KHz - 2494000 KHz @ 40000 KHz), (N/A, 3000 mBm)
cfg80211: (4910000 KHz - 5235000 KHz @ 40000 KHz), (N/A, 3000 mBm)
NET: Registered protocol family 10
ADDRCONF(NETDEV_UP): eth0: link is not ready
brcmsmac bcma0:0: mfg 4bf core 812 rev 24 class 0 irq 17
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
brcmsmac bcma0:0: brcms_ops_config: change power-save mode: false
(implement)
device mon0 entered promiscuous mode

Regards,

On Mon, Jan 13, 2014, at 10:57 AM, Arend van Spriel wrote:
> On 01/13/2014 07:18 PM, Nikita N. wrote:
> > Yes Arend, I confirm, 802.11 frames transmitted at 11n bitrate.
> > The card looks 11n capable, as it handshakes allright from Windows with
> > my router set to 11n only (beacon frames contain all HT tags as normal)
> > But when I flip in monitor mode under Linux, only 11b/g frames are shown
> > (Wireshark,no filter)
> > Yes of course I can send you a capture, any particular frames do you
> > want inside?
>
> - beacons
> - setup connection (AUTH/ASSOC)
> - some data transfers that would be aggregated.
>
> Regards
>
> > Regards
> >
> > On Mon, Jan 13, 2014, at 08:23 AM, Arend van Spriel wrote:
> >> On 01/13/2014 10:30 AM, Nikita N. wrote:
> >>> Hi All :) an issue for the maintainers of brcmsmac, or anybody who
> >>> knows.
> >>> Using module brcmsmac, when I flip my BCM4313 in monitor mode, it shows
> >>> allright all frames sent in 11b and 11g mode, but the *11n* ones are NOT
> >>> shown, maybe filtered out or not detected.
> >>> Is that a known bug?
> >>> If not, how can I set brcmsmac to show also 11n frames?
> >>
> >> What do you mean by 11n frames? Do you mean 802.11 frames transmitted at
> >> a 11n bitrate? Can you share a capture?
> >>
> >> Regards,
> >> Arend
> >
>

--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow


Attachments:
BCM4313-11n-1.zip (166.30 kB)