freebsd-skq/sys/dev/iwn
Sofian Brabez 561d34d705 iwnstats: fix build with clang and allow install under /usr/local/sbin
iwnstats was not compiling because of some issues raised by the clang
compiler due to -Werror. As a tool it is not connected to world build.

Add missing field "barker_mrc" initialization in struct
iwn_sensitivity_limits for -Wmissing-field-initializers, remove unused
pointer *is on iwn_stats_*_print functions and unused variables for
-Wunused-parameter and -Wunused-variable.

The value for field "barker_mrc" of struct iwn2030_sensitivity_limits
was obtained from linux 3.2 wireless/iwlwifi driver code (iwl-2000.c:115
.barker_corr_th_min_mrc = 390).

Also set BINDIR in Makefile to make it possible to install under
/usr/local/sbin/iwnstats as it require super user.

Reviewed by:	adrian
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D29800
2021-04-20 18:07:56 +00:00
..
if_iwn_chip_cfg.h
if_iwn_debug.h
if_iwn_devid.h
if_iwn_ioctl.h
if_iwn.c [iwn] Flip over to use VAP flags rather than ic flags for things 2021-03-25 18:26:09 -07:00
if_iwnreg.h iwnstats: fix build with clang and allow install under /usr/local/sbin 2021-04-20 18:07:56 +00:00
if_iwnvar.h Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00