public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* wireless-testing on 4.8-rc1
@ 2016-08-08 13:04 Bob Copeland
  2016-08-24 20:17 ` REGRESSION: wt-2016-08-22: only one interface is shown by 'iw dev' Arend Van Spriel
  0 siblings, 1 reply; 2+ messages in thread
From: Bob Copeland @ 2016-08-08 13:04 UTC (permalink / raw)
  To: linux-wireless

Hi all,

Now that Linus closed the merge window for 4.8, I'm resuming near-daily
wireless-testing builds at:

http://git.kernel.org/cgit/linux/kernel/git/wireless/wireless-testing.git

The first tag in this series is wt-2016-08-08.  Let us know of any issues.

-- 
Bob Copeland %% http://bobcopeland.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* REGRESSION: wt-2016-08-22: only one interface is shown by 'iw dev'
  2016-08-08 13:04 wireless-testing on 4.8-rc1 Bob Copeland
@ 2016-08-24 20:17 ` Arend Van Spriel
  0 siblings, 0 replies; 2+ messages in thread
From: Arend Van Spriel @ 2016-08-24 20:17 UTC (permalink / raw)
  To: Johannes Berg, linux-wireless

Hi Johannes,

I rebased to tag wt-2016-08-22 today and loaded the modules. In my test
laptop I have three wireless devices. One PCIe device using brcmsmac
driver, ie. mac80211-based driver, and one PCIe and one SDIO device
using brcmfmac driver, ie. cfg80211-based driver.

So first thing I did was:

$ iw dev
phy#0
	Interface wlan4
		ifindex 5
		wdev 0x1
		addr 00:90:4c:70:43:35
		type managed
		channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz

That got me spooked so checking dmesg:

[  558.943663] brcmfmac mmc0:0001:1 wlan4: renamed from wlan0
[  559.011220] brcmfmac 0000:02:00.0 wlan3: renamed from wlan0
[  597.618650] bcma: bus0: Found chip with id 43224, rev 0x01 and
package 0x0A
[  622.205143] brcmsmac bcma0:1 wlan1: renamed from wlan0

so ran iw again with debugging:

$ iw --version
iw version 4.3-16-g96fa73c-dirty
$ iw --debug dev
-- Debug: Sent Message:
--------------------------   BEGIN NETLINK MESSAGE
---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 20
    .nlmsg_type = 27 <0x1b>
    .nlmsg_flags = 773 <REQUEST,ACK,ROOT,MATCH>
    .nlmsg_seq = 1472068432
    .nlmsg_pid = 3028
  [PAYLOAD] 4 octets
    05 00 00 00                                           ....
---------------------------  END NETLINK MESSAGE
---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE
---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 120
    .nlmsg_type = 27 <0x1b>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1472068432
    .nlmsg_pid = 3028
  [PAYLOAD] 104 octets
    07 01 00 00 08 00 03 00 05 00 00 00 0a 00 04 00 77 6c ................wl
    61 6e 34 00 00 00 08 00 01 00 00 00 00 00 08 00 05 00 an4...............
    02 00 00 00 0c 00 99 00 01 00 00 00 00 00 00 00 0a 00 ..................
    06 00 00 90 4c 70 43 35 00 00 08 00 2e 00 0d 00 00 00 ....LpC5..........
    08 00 26 00 6c 09 00 00 08 00 27 00 01 00 00 00 08 00 ..&.l.....'.......
    9f 00 01 00 00 00 08 00 a0 00 6c 09 00 00             ..........l...
---------------------------  END NETLINK MESSAGE
---------------------------
phy#0
	Interface wlan4
		ifindex 5
		wdev 0x1
		addr 00:90:4c:70:43:35
		type managed
		channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE
---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 20
    .nlmsg_type = 3 <DONE>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1472068432
    .nlmsg_pid = 3028
  [PAYLOAD] 4 octets
    00 00 00 00                                           ....
---------------------------  END NETLINK MESSAGE
---------------------------

So nl80211 really reports just one interface. So I decided to revert
commit 2d75da13fbb9 ("nl80211: Allow GET_INTERFACE dumps to be
filtered") and I got my 3 interfaces listed again. So it seems that the
behavior changed for my iw version and I guess it needs to be fixed.

Regards,
Arend

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-24 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-08 13:04 wireless-testing on 4.8-rc1 Bob Copeland
2016-08-24 20:17 ` REGRESSION: wt-2016-08-22: only one interface is shown by 'iw dev' Arend Van Spriel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox