libnl 3.2.10 broke iw [bisected]

Edward Sheldrake ejsheldrake at gmail.com
Thu Jun 7 11:38:13 EDT 2012


On 7 June 2012 15:56, Thomas Graf <tgraf at infradead.org> wrote:
> On Thu, Jun 07, 2012 at 03:09:10PM +0100, Edward Sheldrake wrote:
>> After upgrading from libnl 3.2.9 to 3.2.10, iw no longer works. "iw
>> list" outputs nothing, and "iw dev wlan0 scan passive" fails with
>> "command failed: No such file or directory (-2)"
>
> Can you please run 'NLCB=debug iw list' and send me the output?

It's quite long so I'll try attaching the not working output, and
working output from libnl 3.2.10 with the revert.
-------------- next part --------------
-- Debug: Sent Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 32
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 5 <REQUEST,ACK>
    .nlmsg_seq = 1339082878
    .nlmsg_pid = 15425
  [PAYLOAD] 4 octets
    03 01 00 00                                           ....
  [ATTR 02] 8 octets
    6e 6c 38 30 32 31 31 00                               nl80211.
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 1492
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 0 <>
    .nlmsg_seq = 1339082878
    .nlmsg_pid = 15425
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 8 octets
    6e 6c 38 30 32 31 31 00                               nl80211.
  [ATTR 01] 2 octets
    19 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    01 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    98 00 00 00                                           ....
  [ATTR 06] 1320 octets
    14 00 01 00 08 00 01 00 01 00 00 00 08 00 02 00 0e 00 ..................
    00 00 14 00 02 00 08 00 01 00 02 00 00 00 08 00 02 00 ..................
    0b 00 00 00 14 00 03 00 08 00 01 00 05 00 00 00 08 00 ..................
    02 00 0e 00 00 00 14 00 04 00 08 00 01 00 06 00 00 00 ..................
    08 00 02 00 0b 00 00 00 14 00 05 00 08 00 01 00 07 00 ..................
    00 00 08 00 02 00 0b 00 00 00 14 00 06 00 08 00 01 00 ..................
    08 00 00 00 08 00 02 00 0b 00 00 00 14 00 07 00 08 00 ..................
    01 00 09 00 00 00 08 00 02 00 0b 00 00 00 14 00 08 00 ..................
    08 00 01 00 0a 00 00 00 08 00 02 00 0b 00 00 00 14 00 ..................
    09 00 08 00 01 00 0b 00 00 00 08 00 02 00 0b 00 00 00 ..................
    14 00 0a 00 08 00 01 00 0c 00 00 00 08 00 02 00 0b 00 ..................
    00 00 14 00 0b 00 08 00 01 00 0e 00 00 00 08 00 02 00 ..................
    0b 00 00 00 14 00 0c 00 08 00 01 00 0f 00 00 00 08 00 ..................
    02 00 0b 00 00 00 14 00 0d 00 08 00 01 00 10 00 00 00 ..................
    08 00 02 00 0b 00 00 00 14 00 0e 00 08 00 01 00 11 00 ..................
    00 00 08 00 02 00 0e 00 00 00 14 00 0f 00 08 00 01 00 ..................
    12 00 00 00 08 00 02 00 0b 00 00 00 14 00 10 00 08 00 ..................
    01 00 13 00 00 00 08 00 02 00 0b 00 00 00 14 00 11 00 ..................
    08 00 01 00 14 00 00 00 08 00 02 00 0b 00 00 00 14 00 ..................
    12 00 08 00 01 00 15 00 00 00 08 00 02 00 0f 00 00 00 ..................
    14 00 13 00 08 00 01 00 16 00 00 00 08 00 02 00 0b 00 ..................
    00 00 14 00 14 00 08 00 01 00 17 00 00 00 08 00 02 00 ..................
    0b 00 00 00 14 00 15 00 08 00 01 00 18 00 00 00 08 00 ..................
    02 00 0b 00 00 00 14 00 16 00 08 00 01 00 19 00 00 00 ..................
    08 00 02 00 0b 00 00 00 14 00 17 00 08 00 01 00 1f 00 ..................
    00 00 08 00 02 00 0a 00 00 00 14 00 18 00 08 00 01 00 ..................
    1a 00 00 00 08 00 02 00 0b 00 00 00 14 00 19 00 08 00 ..................
    01 00 1b 00 00 00 08 00 02 00 0b 00 00 00 14 00 1a 00 ..................
    08 00 01 00 1c 00 00 00 08 00 02 00 0a 00 00 00 14 00 ..................
    1b 00 08 00 01 00 1d 00 00 00 08 00 02 00 0b 00 00 00 ..................
    14 00 1c 00 08 00 01 00 21 00 00 00 08 00 02 00 0b 00 ........!.........
    00 00 14 00 1d 00 08 00 01 00 20 00 00 00 08 00 02 00 .......... .......
    0c 00 00 00 14 00 1e 00 08 00 01 00 4b 00 00 00 08 00 ............K.....
    02 00 0b 00 00 00 14 00 1f 00 08 00 01 00 4c 00 00 00 ..............L...
    08 00 02 00 0b 00 00 00 14 00 20 00 08 00 01 00 25 00 .......... .....%.
    00 00 08 00 02 00 0b 00 00 00 14 00 21 00 08 00 01 00 ............!.....
    26 00 00 00 08 00 02 00 0b 00 00 00 14 00 22 00 08 00 &............."...
    01 00 27 00 00 00 08 00 02 00 0b 00 00 00 14 00 23 00 ..'.............#.
    08 00 01 00 28 00 00 00 08 00 02 00 0b 00 00 00 14 00 ....(.............
    24 00 08 00 01 00 2b 00 00 00 08 00 02 00 0b 00 00 00 $.....+...........
    14 00 25 00 08 00 01 00 2c 00 00 00 08 00 02 00 0b 00 ..%.....,.........
    00 00 14 00 26 00 08 00 01 00 2e 00 00 00 08 00 02 00 ....&.............
    0b 00 00 00 14 00 27 00 08 00 01 00 30 00 00 00 08 00 ......'.....0.....
    02 00 0b 00 00 00 14 00 28 00 08 00 01 00 31 00 00 00 ........(.....1...
    08 00 02 00 0b 00 00 00 14 00 29 00 08 00 01 00 32 00 ..........).....2.
    00 00 08 00 02 00 0c 00 00 00 14 00 2a 00 08 00 01 00 ............*.....
    34 00 00 00 08 00 02 00 0b 00 00 00 14 00 2b 00 08 00 4.............+...
    01 00 35 00 00 00 08 00 02 00 0b 00 00 00 14 00 2c 00 ..5.............,.
    08 00 01 00 36 00 00 00 08 00 02 00 0b 00 00 00 14 00 ....6.............
    2d 00 08 00 01 00 37 00 00 00 08 00 02 00 0b 00 00 00 -.....7...........
    14 00 2e 00 08 00 01 00 38 00 00 00 08 00 02 00 0b 00 ........8.........
    00 00 14 00 2f 00 08 00 01 00 39 00 00 00 08 00 02 00 ..../.....9.......
    0b 00 00 00 14 00 30 00 08 00 01 00 3a 00 00 00 08 00 ......0.....:.....
    02 00 0b 00 00 00 14 00 31 00 08 00 01 00 3b 00 00 00 ........1.....;...
    08 00 02 00 0b 00 00 00 14 00 32 00 08 00 01 00 43 00 ..........2.....C.
    00 00 08 00 02 00 0b 00 00 00 14 00 33 00 08 00 01 00 ............3.....
    3d 00 00 00 08 00 02 00 0b 00 00 00 14 00 34 00 08 00 =.............4...
    01 00 3e 00 00 00 08 00 02 00 0a 00 00 00 14 00 35 00 ..>.............5.
    08 00 01 00 3f 00 00 00 08 00 02 00 0b 00 00 00 14 00 ....?.............
    36 00 08 00 01 00 41 00 00 00 08 00 02 00 0b 00 00 00 6.....A...........
    14 00 37 00 08 00 01 00 42 00 00 00 08 00 02 00 0b 00 ..7.....B.........
    00 00 14 00 38 00 08 00 01 00 44 00 00 00 08 00 02 00 ....8.....D.......
    0b 00 00 00 14 00 39 00 08 00 01 00 45 00 00 00 08 00 ......9.....E.....
    02 00 0b 00 00 00 14 00 3a 00 08 00 01 00 49 00 00 00 ........:.....I...
    08 00 02 00 0a 00 00 00 14 00 3b 00 08 00 01 00 4a 00 ..........;.....J.
    00 00 08 00 02 00 0b 00 00 00 14 00 3c 00 08 00 01 00 ............<.....
    4f 00 00 00 08 00 02 00 0b 00 00 00 14 00 3d 00 08 00 O.............=...
    01 00 52 00 00 00 08 00 02 00 0b 00 00 00 14 00 3e 00 ..R.............>.
    08 00 01 00 51 00 00 00 08 00 02 00 0b 00 00 00 14 00 ....Q.............
    3f 00 08 00 01 00 53 00 00 00 08 00 02 00 0b 00 00 00 ?.....S...........
    14 00 40 00 08 00 01 00 54 00 00 00 08 00 02 00 0b 00 .. at .....T.........
    00 00 14 00 41 00 08 00 01 00 55 00 00 00 08 00 02 00 ....A.....U.......
    0b 00 00 00 14 00 42 00 08 00 01 00 57 00 00 00 08 00 ......B.....W.....
    02 00 0b 00 00 00                                     ......
  [ATTR 07] 100 octets
    18 00 01 00 08 00 02 00 03 00 00 00 0b 00 01 00 63 6f ................co
    6e 66 69 67 00 00 18 00 02 00 08 00 02 00 04 00 00 00 nfig..............
    09 00 01 00 73 63 61 6e 00 00 00 00 1c 00 03 00 08 00 ....scan..........
    02 00 05 00 00 00 0f 00 01 00 72 65 67 75 6c 61 74 6f ..........regulato
    72 79 00 00 18 00 04 00 08 00 02 00 06 00 00 00 09 00 ry................
    01 00 6d 6c 6d 65 00 00 00 00                         ..mlme....
---------------------------  END NETLINK MESSAGE   ---------------------------
-------------- next part --------------
-- Debug: Sent Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 20
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 773 <REQUEST,ACK,ROOT,MATCH>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    03 01 00 00                                           ....
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 116
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 7 octets
    6e 6c 63 74 72 6c 00                                  nlctrl.
  [PADDING] 1 octets
    00                                                    .
  [ATTR 01] 2 octets
    10 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    02 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    07 00 00 00                                           ....
  [ATTR 06] 20 octets
    14 00 01 00 08 00 01 00 03 00 00 00 08 00 02 00 0e 00 ..................
    00 00                                                 ..
  [ATTR 07] 24 octets
    18 00 01 00 08 00 02 00 10 00 00 00 0b 00 01 00 6e 6f ................no
    74 69 66 79 00 00                                     tify..
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 232
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 10 octets
    4e 4c 42 4c 5f 4d 47 4d 54 00                         NLBL_MGMT.
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 01] 2 octets
    11 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    03 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    0a 00 00 00                                           ....
  [ATTR 06] 160 octets
    14 00 01 00 08 00 01 00 01 00 00 00 08 00 02 00 0b 00 ..................
    00 00 14 00 02 00 08 00 01 00 02 00 00 00 08 00 02 00 ..................
    0b 00 00 00 14 00 03 00 08 00 01 00 03 00 00 00 08 00 ..................
    02 00 0c 00 00 00 14 00 04 00 08 00 01 00 04 00 00 00 ..................
    08 00 02 00 0b 00 00 00 14 00 05 00 08 00 01 00 05 00 ..................
    00 00 08 00 02 00 0b 00 00 00 14 00 06 00 08 00 01 00 ..................
    06 00 00 00 08 00 02 00 0a 00 00 00 14 00 07 00 08 00 ..................
    01 00 07 00 00 00 08 00 02 00 0c 00 00 00 14 00 08 00 ..................
    08 00 01 00 08 00 00 00 08 00 02 00 0a 00 00 00       ................
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 156
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 13 octets
    4e 4c 42 4c 5f 43 49 50 53 4f 76 34 00                NLBL_CIPSOv4.
  [PADDING] 3 octets
    00 00 00                                              ...
  [ATTR 01] 2 octets
    12 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    03 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    0c 00 00 00                                           ....
  [ATTR 06] 80 octets
    14 00 01 00 08 00 01 00 01 00 00 00 08 00 02 00 0b 00 ..................
    00 00 14 00 02 00 08 00 01 00 02 00 00 00 08 00 02 00 ..................
    0b 00 00 00 14 00 03 00 08 00 01 00 03 00 00 00 08 00 ..................
    02 00 0a 00 00 00 14 00 04 00 08 00 01 00 04 00 00 00 ..................
    08 00 02 00 0c 00 00 00                               ........
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 232
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 11 octets
    4e 4c 42 4c 5f 55 4e 4c 42 4c 00                      NLBL_UNLBL.
  [PADDING] 1 octets
    00                                                    .
  [ATTR 01] 2 octets
    13 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    03 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    07 00 00 00                                           ....
  [ATTR 06] 160 octets
    14 00 01 00 08 00 01 00 03 00 00 00 08 00 02 00 0b 00 ..................
    00 00 14 00 02 00 08 00 01 00 04 00 00 00 08 00 02 00 ..................
    0b 00 00 00 14 00 03 00 08 00 01 00 05 00 00 00 08 00 ..................
    02 00 0c 00 00 00 14 00 04 00 08 00 01 00 06 00 00 00 ..................
    08 00 02 00 0b 00 00 00 14 00 05 00 08 00 01 00 07 00 ..................
    00 00 08 00 02 00 0b 00 00 00 14 00 06 00 08 00 01 00 ..................
    08 00 00 00 08 00 02 00 0c 00 00 00 14 00 07 00 08 00 ..................
    01 00 01 00 00 00 08 00 02 00 0b 00 00 00 14 00 08 00 ..................
    08 00 01 00 02 00 00 00 08 00 02 00 0a 00 00 00       ................
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 104
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 11 octets
    61 63 70 69 5f 65 76 65 6e 74 00                      acpi_event.
  [PADDING] 1 octets
    00                                                    .
  [ATTR 01] 2 octets
    14 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    01 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    01 00 00 00                                           ....
  [ATTR 07] 32 octets
    20 00 01 00 08 00 02 00 01 00 00 00 12 00 01 00 61 63  ...............ac
    70 69 5f 6d 63 5f 67 72 6f 75 70 00 00 00             pi_mc_group...
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 112
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 14 octets
    74 68 65 72 6d 61 6c 5f 65 76 65 6e 74 00             thermal_event.
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 01] 2 octets
    15 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    01 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    01 00 00 00                                           ....
  [ATTR 07] 36 octets
    24 00 01 00 08 00 02 00 02 00 00 00 16 00 01 00 74 68 $...............th
    65 72 6d 61 6c 5f 6d 63 5f 67 72 6f 75 70 02 00 00 00 ermal_mc_group....
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 68
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 10 octets
    56 46 53 5f 44 51 55 4f 54 00                         VFS_DQUOT.
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 01] 2 octets
    16 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    01 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    06 00 00 00                                           ....
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 112
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 10 octets
    54 41 53 4b 53 54 41 54 53 00                         TASKSTATS.
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 01] 2 octets
    17 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    01 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    04 00 00 00                                           ....
  [ATTR 06] 40 octets
    14 00 01 00 08 00 01 00 01 00 00 00 08 00 02 00 0b 00 ..................
    00 00 14 00 02 00 08 00 01 00 04 00 00 00 08 00 02 00 ..................
    0a 00 00 00                                           ....
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 128
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 7 octets
    4e 45 54 5f 44 4d 00                                  NET_DM.
  [PADDING] 1 octets
    00                                                    .
  [ATTR 01] 2 octets
    18 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    02 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    04 00 00 00                                           ....
  [ATTR 06] 60 octets
    14 00 01 00 08 00 01 00 02 00 00 00 08 00 02 00 02 00 ..................
    00 00 14 00 02 00 08 00 01 00 03 00 00 00 08 00 02 00 ..................
    02 00 00 00 14 00 03 00 08 00 01 00 04 00 00 00 08 00 ..................
    02 00 02 00 00 00                                     ......
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 1492
    .nlmsg_type = 16 <genl/family::nlctrl>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    01 02 00 00                                           ....
  [ATTR 02] 8 octets
    6e 6c 38 30 32 31 31 00                               nl80211.
  [ATTR 01] 2 octets
    19 00                                                 ..
  [PADDING] 2 octets
    00 00                                                 ..
  [ATTR 03] 4 octets
    01 00 00 00                                           ....
  [ATTR 04] 4 octets
    00 00 00 00                                           ....
  [ATTR 05] 4 octets
    98 00 00 00                                           ....
  [ATTR 06] 1320 octets
    14 00 01 00 08 00 01 00 01 00 00 00 08 00 02 00 0e 00 ..................
    00 00 14 00 02 00 08 00 01 00 02 00 00 00 08 00 02 00 ..................
    0b 00 00 00 14 00 03 00 08 00 01 00 05 00 00 00 08 00 ..................
    02 00 0e 00 00 00 14 00 04 00 08 00 01 00 06 00 00 00 ..................
    08 00 02 00 0b 00 00 00 14 00 05 00 08 00 01 00 07 00 ..................
    00 00 08 00 02 00 0b 00 00 00 14 00 06 00 08 00 01 00 ..................
    08 00 00 00 08 00 02 00 0b 00 00 00 14 00 07 00 08 00 ..................
    01 00 09 00 00 00 08 00 02 00 0b 00 00 00 14 00 08 00 ..................
    08 00 01 00 0a 00 00 00 08 00 02 00 0b 00 00 00 14 00 ..................
    09 00 08 00 01 00 0b 00 00 00 08 00 02 00 0b 00 00 00 ..................
    14 00 0a 00 08 00 01 00 0c 00 00 00 08 00 02 00 0b 00 ..................
    00 00 14 00 0b 00 08 00 01 00 0e 00 00 00 08 00 02 00 ..................
    0b 00 00 00 14 00 0c 00 08 00 01 00 0f 00 00 00 08 00 ..................
    02 00 0b 00 00 00 14 00 0d 00 08 00 01 00 10 00 00 00 ..................
    08 00 02 00 0b 00 00 00 14 00 0e 00 08 00 01 00 11 00 ..................
    00 00 08 00 02 00 0e 00 00 00 14 00 0f 00 08 00 01 00 ..................
    12 00 00 00 08 00 02 00 0b 00 00 00 14 00 10 00 08 00 ..................
    01 00 13 00 00 00 08 00 02 00 0b 00 00 00 14 00 11 00 ..................
    08 00 01 00 14 00 00 00 08 00 02 00 0b 00 00 00 14 00 ..................
    12 00 08 00 01 00 15 00 00 00 08 00 02 00 0f 00 00 00 ..................
    14 00 13 00 08 00 01 00 16 00 00 00 08 00 02 00 0b 00 ..................
    00 00 14 00 14 00 08 00 01 00 17 00 00 00 08 00 02 00 ..................
    0b 00 00 00 14 00 15 00 08 00 01 00 18 00 00 00 08 00 ..................
    02 00 0b 00 00 00 14 00 16 00 08 00 01 00 19 00 00 00 ..................
    08 00 02 00 0b 00 00 00 14 00 17 00 08 00 01 00 1f 00 ..................
    00 00 08 00 02 00 0a 00 00 00 14 00 18 00 08 00 01 00 ..................
    1a 00 00 00 08 00 02 00 0b 00 00 00 14 00 19 00 08 00 ..................
    01 00 1b 00 00 00 08 00 02 00 0b 00 00 00 14 00 1a 00 ..................
    08 00 01 00 1c 00 00 00 08 00 02 00 0a 00 00 00 14 00 ..................
    1b 00 08 00 01 00 1d 00 00 00 08 00 02 00 0b 00 00 00 ..................
    14 00 1c 00 08 00 01 00 21 00 00 00 08 00 02 00 0b 00 ........!.........
    00 00 14 00 1d 00 08 00 01 00 20 00 00 00 08 00 02 00 .......... .......
    0c 00 00 00 14 00 1e 00 08 00 01 00 4b 00 00 00 08 00 ............K.....
    02 00 0b 00 00 00 14 00 1f 00 08 00 01 00 4c 00 00 00 ..............L...
    08 00 02 00 0b 00 00 00 14 00 20 00 08 00 01 00 25 00 .......... .....%.
    00 00 08 00 02 00 0b 00 00 00 14 00 21 00 08 00 01 00 ............!.....
    26 00 00 00 08 00 02 00 0b 00 00 00 14 00 22 00 08 00 &............."...
    01 00 27 00 00 00 08 00 02 00 0b 00 00 00 14 00 23 00 ..'.............#.
    08 00 01 00 28 00 00 00 08 00 02 00 0b 00 00 00 14 00 ....(.............
    24 00 08 00 01 00 2b 00 00 00 08 00 02 00 0b 00 00 00 $.....+...........
    14 00 25 00 08 00 01 00 2c 00 00 00 08 00 02 00 0b 00 ..%.....,.........
    00 00 14 00 26 00 08 00 01 00 2e 00 00 00 08 00 02 00 ....&.............
    0b 00 00 00 14 00 27 00 08 00 01 00 30 00 00 00 08 00 ......'.....0.....
    02 00 0b 00 00 00 14 00 28 00 08 00 01 00 31 00 00 00 ........(.....1...
    08 00 02 00 0b 00 00 00 14 00 29 00 08 00 01 00 32 00 ..........).....2.
    00 00 08 00 02 00 0c 00 00 00 14 00 2a 00 08 00 01 00 ............*.....
    34 00 00 00 08 00 02 00 0b 00 00 00 14 00 2b 00 08 00 4.............+...
    01 00 35 00 00 00 08 00 02 00 0b 00 00 00 14 00 2c 00 ..5.............,.
    08 00 01 00 36 00 00 00 08 00 02 00 0b 00 00 00 14 00 ....6.............
    2d 00 08 00 01 00 37 00 00 00 08 00 02 00 0b 00 00 00 -.....7...........
    14 00 2e 00 08 00 01 00 38 00 00 00 08 00 02 00 0b 00 ........8.........
    00 00 14 00 2f 00 08 00 01 00 39 00 00 00 08 00 02 00 ..../.....9.......
    0b 00 00 00 14 00 30 00 08 00 01 00 3a 00 00 00 08 00 ......0.....:.....
    02 00 0b 00 00 00 14 00 31 00 08 00 01 00 3b 00 00 00 ........1.....;...
    08 00 02 00 0b 00 00 00 14 00 32 00 08 00 01 00 43 00 ..........2.....C.
    00 00 08 00 02 00 0b 00 00 00 14 00 33 00 08 00 01 00 ............3.....
    3d 00 00 00 08 00 02 00 0b 00 00 00 14 00 34 00 08 00 =.............4...
    01 00 3e 00 00 00 08 00 02 00 0a 00 00 00 14 00 35 00 ..>.............5.
    08 00 01 00 3f 00 00 00 08 00 02 00 0b 00 00 00 14 00 ....?.............
    36 00 08 00 01 00 41 00 00 00 08 00 02 00 0b 00 00 00 6.....A...........
    14 00 37 00 08 00 01 00 42 00 00 00 08 00 02 00 0b 00 ..7.....B.........
    00 00 14 00 38 00 08 00 01 00 44 00 00 00 08 00 02 00 ....8.....D.......
    0b 00 00 00 14 00 39 00 08 00 01 00 45 00 00 00 08 00 ......9.....E.....
    02 00 0b 00 00 00 14 00 3a 00 08 00 01 00 49 00 00 00 ........:.....I...
    08 00 02 00 0a 00 00 00 14 00 3b 00 08 00 01 00 4a 00 ..........;.....J.
    00 00 08 00 02 00 0b 00 00 00 14 00 3c 00 08 00 01 00 ............<.....
    4f 00 00 00 08 00 02 00 0b 00 00 00 14 00 3d 00 08 00 O.............=...
    01 00 52 00 00 00 08 00 02 00 0b 00 00 00 14 00 3e 00 ..R.............>.
    08 00 01 00 51 00 00 00 08 00 02 00 0b 00 00 00 14 00 ....Q.............
    3f 00 08 00 01 00 53 00 00 00 08 00 02 00 0b 00 00 00 ?.....S...........
    14 00 40 00 08 00 01 00 54 00 00 00 08 00 02 00 0b 00 .. at .....T.........
    00 00 14 00 41 00 08 00 01 00 55 00 00 00 08 00 02 00 ....A.....U.......
    0b 00 00 00 14 00 42 00 08 00 01 00 57 00 00 00 08 00 ......B.....W.....
    02 00 0b 00 00 00                                     ......
  [ATTR 07] 100 octets
    18 00 01 00 08 00 02 00 03 00 00 00 0b 00 01 00 63 6f ................co
    6e 66 69 67 00 00 18 00 02 00 08 00 02 00 04 00 00 00 nfig..............
    09 00 01 00 73 63 61 6e 00 00 00 00 1c 00 03 00 08 00 ....scan..........
    02 00 05 00 00 00 0f 00 01 00 72 65 67 75 6c 61 74 6f ..........regulato
    72 79 00 00 18 00 04 00 08 00 02 00 06 00 00 00 09 00 ry................
    01 00 6d 6c 6d 65 00 00 00 00                         ..mlme....
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 20
    .nlmsg_type = 3 <DONE>
    .nlmsg_flags = 2 <MULTI>
    .nlmsg_seq = 1339082590
    .nlmsg_pid = 24459
  [PAYLOAD] 4 octets
    00 00 00 00                                           ....
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: End of multipart message block: type=DONE length=20 flags=<MULTI> sequence-nr=1339082590 pid=24459
Wiphy phy0
	Band 1:
		Capabilities: 0x872
			HT20/HT40
			Static SM Power Save
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 7935 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 4 usec (0x05)
		HT RX MCS rate indexes supported: 0-15, 32
		TX unequal modulation not supported
		HT TX Max spatial streams: 1
		HT TX MCS rate indexes supported may differ
		Frequencies:
			* 2412 MHz [1] (15.0 dBm)
			* 2417 MHz [2] (15.0 dBm)
			* 2422 MHz [3] (15.0 dBm)
			* 2427 MHz [4] (15.0 dBm)
			* 2432 MHz [5] (15.0 dBm)
			* 2437 MHz [6] (15.0 dBm)
			* 2442 MHz [7] (15.0 dBm)
			* 2447 MHz [8] (15.0 dBm)
			* 2452 MHz [9] (15.0 dBm)
			* 2457 MHz [10] (15.0 dBm)
			* 2462 MHz [11] (15.0 dBm)
			* 2467 MHz [12] (15.0 dBm) (passive scanning, no IBSS)
			* 2472 MHz [13] (15.0 dBm) (passive scanning, no IBSS)
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps (short preamble supported)
			* 5.5 Mbps (short preamble supported)
			* 11.0 Mbps (short preamble supported)
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
	Band 2:
		Capabilities: 0x872
			HT20/HT40
			Static SM Power Save
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 7935 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 4 usec (0x05)
		HT RX MCS rate indexes supported: 0-15, 32
		TX unequal modulation not supported
		HT TX Max spatial streams: 1
		HT TX MCS rate indexes supported may differ
		Frequencies:
			* 5180 MHz [36] (14.0 dBm) (passive scanning, no IBSS)
			* 5200 MHz [40] (15.0 dBm) (passive scanning, no IBSS)
			* 5220 MHz [44] (15.0 dBm) (passive scanning, no IBSS)
			* 5240 MHz [48] (15.0 dBm) (passive scanning, no IBSS)
			* 5260 MHz [52] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5280 MHz [56] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5300 MHz [60] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5320 MHz [64] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5500 MHz [100] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5520 MHz [104] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5540 MHz [108] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5560 MHz [112] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5580 MHz [116] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5600 MHz [120] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5620 MHz [124] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5640 MHz [128] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5660 MHz [132] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5680 MHz [136] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5700 MHz [140] (15.0 dBm) (passive scanning, no IBSS, radar detection)
			* 5745 MHz [149] (disabled)
			* 5765 MHz [153] (disabled)
			* 5785 MHz [157] (disabled)
			* 5805 MHz [161] (disabled)
			* 5825 MHz [165] (disabled)
		Bitrates (non-HT):
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
	max # scan SSIDs: 20
	max scan IEs length: 227 bytes
	Coverage class: 0 (up to 0m)
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP (00-0f-ac:4)
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * monitor
	software interface modes (can always be added):
		 * monitor
	interface combinations are not supported
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * new_beacon
		 * new_station
		 * new_mpath
		 * set_mesh_params
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * remain_on_channel
		 * set_tx_bitrate_mask
		 * action
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * Unknown command (84)
		 * Unknown command (87)
		 * Unknown command (85)
		 * connect
		 * disconnect
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0xd0
		 * managed: 0x40 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
	Device supports RSN-IBSS.
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.


More information about the libnl mailing list