Wireless connections are marked as encrypted when WPA or WEP are on. In the WEP case, IEEE80211_WEP_ON is checked (which is deprecated by the way), excluding case where WEP connection accepts also unencrypted packets.
Created attachment 71748 [details]
Fix to the issue.
The attached patch uses the (newer) IEEE80211_IOC_PRIVACY request to mark the correct encryption state, which switches to "active" for WEP connections accepting also unencrypted packets (as done in Linux backend).
SVN commit 1299928 by jstamp:
Report correct encryption state on FreeBSD
This fixes a problem when KNemo reports a connection as encrypted if a
WEP connection also accepts unencrypted packets. Patch contributed by
M +2 -7 bsdbackend.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=1299928
Actually, it does the opposite. Previous to this commit, such a connection would have been reported as non-encrypted. Now it's marked as encrypted. The logic was chosen by checking Linux backend, reading emails all over the Internet, and checking FreeBSD man pages.
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug.