[DragonFlyBSD - Bug #3367] ifconfig wlan0 lscan does not exists

jpipkin bugtracker-admin at leaf.dragonflybsd.org
Mon Jun 29 14:14:37 PDT 2026


Issue #3367 has been updated by jpipkin.

File 0001-replace-list-lscan-with-list-scan-v.patch added

Attached is a patch which replaces "list lscan" with "list scan -v".

To support this, a new command type, DEF_CMD_NEXTARGOPTARG, is added, requiring 1 argument and optionally accepting a 2nd.

The man page already describes "list scan -v", so it was only necessary to remove the note on lscan. One oddity, however, is the description of what "list scan -v" does with regard to the capability output:
--
By default interesting information elements captured from the
neighboring stations are displayed at the end of each row.
Possible elements include: WME (station supports WME), WPA
(station supports WPA), WPS (station supports WPS), RSN (station
supports 802.11i/RSN), HTCAP (station supports 802.11n/HT
communication), ATH (station supports Atheros protocol
extensions), VEN (station supports unknown vendor-specific
extensions).  If the -v flag is used all the information elements
and their contents will be shown.
--

I'm not sure what that's intended to mean as there is no difference in capability output between "list scan" and "list scan -v".
While I cannot easily check the FreeBSD output due to its installer lacking support for if_iwm(4) devices, I can see no differences in the relevant bits of code, in list_scan() and getcaps() in ifieee80211.c, so I think the statement that "If the -v flag is used all the information elements and their contents will be shown" is just as false on FreeBSD as it is on DragonFly. Perhaps this part of the man page should be re-worded.

----------------------------------------
Bug #3367: ifconfig wlan0 lscan does not exists
http://bugs.dragonflybsd.org/issues/3367#change-14679

* Author: mneumann
* Status: New
* Priority: Normal
* Category: Networking
* Target version: 6.6
* Start date: 2024-04-18
----------------------------------------
The man page for ifconfig states that "lscan" is "a variant of scan that displays long SSIDs". But it does not exist:

    $ ifconfig wlan0 lscan
    ifconfig: lscan: bad value


What works is:

    $ ifconfig wlan0 list lscan

AFAIK, FreeBSD defaults to showing long SSIDs, which IMHO is more intuitive and useful.

---Files--------------------------------
0001-replace-list-lscan-with-list-scan-v.patch (3.71 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list