
Options: --debug enable netlink debugging --version show version (3.4) Commands: help [command] Print usage for all or a specific command, e.g. "help wowlan" or "help wowlan enable". event [-t] [-r] [-f] Monitor events from the kernel. -t - print timestamp -r - print relative timstamp -f - print full frame for auth/assoc etc. phy list List all wireless devices and their capabilities. phy <phyname> info Show capabilities for the specified wireless device. dev List all network interfaces for wireless hardware. dev <devname> info Show information for this interface. dev <devname> del Remove this virtual interface dev <devname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*] phy <phyname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*] Add a new virtual interface with the given configuration. Valid interface types are: managed, ibss, monitor, mesh, wds. The flags are only used for monitor interfaces, valid flags are: none: no special flags fcsfail: show frames with FCS errors control: show control frames otherbss: show frames from other BSSes cook: use cooked mode The mesh_id is used only for mesh mode. dev <devname> ibss join <SSID> <freq in MHz> [HT20|HT40+|HT40-|NOHT] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde] Join the IBSS cell with the given SSID, if it doesn't exist create it on the given frequency. When fixed frequency is requested, don't join/create a cell on a different frequency. When a fixed BSSID is requested use that BSSID and do not adopt another cell's BSSID even if it has higher TSF and the same SSID. If an IBSS is created, create it with the specified basic-rates, multicast-rate and beacon-interval. dev <devname> ibss leave Leave the current IBSS cell. dev <devname> station dump List all stations known, e.g. the AP on managed interfaces dev <devname> station set <MAC address> vlan <ifindex> Set an AP VLAN for this station. dev <devname> station set <MAC address> plink_action <open|block> Set mesh peer link action for this station (peer). dev <devname> station del <MAC address> Remove the given station entry (use with caution!) dev <devname> station get <MAC address> Get information for a specific station. dev <devname> survey dump List all gathered channel survey data dev <devname> mesh leave Leave a mesh. dev <devname> mesh join <mesh ID> [mcast-rate <rate in Mbps>] [<param>=<value>]* Join a mesh with the given mesh ID with mcast-rate and mesh parameters. dev <devname> mpath dump List known mesh paths. dev <devname> mpath set <destination MAC address> next_hop <next hop MAC address> Set an existing mesh path's next hop. dev <devname> mpath new <destination MAC address> next_hop <next hop MAC address> Create a new mesh path (instead of relying on automatic discovery). dev <devname> mpath del <MAC address> Remove the mesh path to the given node. dev <devname> mpath get <MAC address> Get information on mesh path to the given node. dev <devname> scan [-u] [freq <freq>*] [ies <hex as 00:11:..>] [ssid <ssid>*|passive] Scan on the given frequencies and probe for the given SSIDs (or wildcard if not given) unless passive scanning is requested. If -u is specified print unknown data in the scan results. Specified (vendor) IEs must be well-formed. dev <devname> scan trigger [freq <freq>*] [ies <hex as 00:11:..>] [ssid <ssid>*|passive] Trigger a scan on the given frequencies with probing for the given SSIDs (or wildcard if not given) unless passive scanning is requested. dev <devname> scan dump [-u] Dump the current scan results. If -u is specified, print unknown data in scan results. reg get Print out the kernel's current regulatory domain information. reg set <ISO/IEC 3166-1 alpha2> Notify the kernel about the current regulatory domain. dev <devname> connect [-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465] Join the network with the given SSID (and frequency, BSSID). With -w, wait for the connect to finish or fail. dev <devname> disconnect Disconnect from the current network. dev <devname> link Print information about the current link, if any. dev <devname> offchannel <freq> <duration> Leave operating channel and go to the given channel for a while. dev <devname> cqm rssi <threshold|off> [<hysteresis>] Set connection quality monitor RSSI threshold. phy <phyname> wowlan show Show WoWLAN status. phy <phyname> wowlan disable Disable WoWLAN. phy <phyname> wowlan enable [any] [disconnect] [magic-packet] [gtk-rekey-failure] [eap-identity-request] [4way-handshake] [rfkill-release] [patterns <pattern>*] Enable WoWLAN with the given triggers. Each pattern is given as a bytestring with '-' in places where any byte may be present, e.g. 00:11:22:-:44 will match 00:11:22:33:44 and 00:11:22:33:ff:44 etc. dev <devname> roc start <freq> <time> phy <phyname> set antenna <bitmap> | all | <tx bitmap> <rx bitmap> Set a bitmap of allowed antennas to use for TX and RX. The driver may reject antenna configurations it cannot support. dev <devname> set txpower <auto|fixed|limit> [<tx power in mBm>] Specify transmit power level and setting type. phy <phyname> set txpower <auto|fixed|limit> [<tx power in mBm>] Specify transmit power level and setting type. phy <phyname> set distance <distance> Set appropriate coverage class for given link distance in meters. Valid values: 0 - 114750 phy <phyname> set coverage <coverage class> Set coverage class (1 for every 3 usec of air propagation time). Valid values: 0 - 255. phy <phyname> set netns <pid> Put this wireless device into a different network namespace phy <phyname> set rts <rts threshold|off> Set rts threshold. phy <phyname> set frag <fragmentation threshold|off> Set fragmentation threshold. dev <devname> set channel <channel> [HT20|HT40+|HT40-] phy <phyname> set channel <channel> [HT20|HT40+|HT40-] dev <devname> set freq <freq> [HT20|HT40+|HT40-] phy <phyname> set freq <freq> [HT20|HT40+|HT40-] Set frequency/channel the hardware is using, including HT configuration. phy <phyname> set name <new name> Rename this wireless device. dev <devname> set peer <MAC address> Set interface WDS peer. dev <devname> set noack_map <map> Set the NoAck map for the TIDs. (0x0009 = BE, 0x0006 = BK, 0x0030 = VI, 0x00C0 = VO) dev <devname> set 4addr <on|off> Set interface 4addr (WDS) mode. dev <devname> set type <type> Set interface type/mode. Valid interface types are: managed, ibss, monitor, mesh, wds. dev <devname> set meshid <meshid> dev <devname> set monitor <flag>* Set monitor flags. Valid flags are: none: no special flags fcsfail: show frames with FCS errors control: show control frames otherbss: show frames from other BSSes cook: use cooked mode dev <devname> set mesh_param <param>=<value> [<param>=<value>]* Set mesh parameter (run command without any to see available ones). dev <devname> set power_save <on|off> Set power save state to on or off. dev <devname> set bitrates [legacy-<2.4|5> <legacy rate in Mbps>*] [mcs-<2.4|5> <MCS index>*] Sets up the specified rate masks. Not passing any arguments would clear the existing mask (if any). dev <devname> get mesh_param [<param>] Retrieve mesh parameter (run command without any to see available ones). dev <devname> get power_save <param> Retrieve power save state. You can omit the 'phy' or 'dev' if the identification is unique, e.g. "iw wlan0 info" or "iw phy0 info". (Don't when scripting.) Do NOT screenscrape this tool, we don't consider its output stable.
201 lines
6.5 KiB
Makefile
201 lines
6.5 KiB
Makefile
PKG_DRIVERS += \
|
|
iwl-legacy iwl3945 iwl4965 iwlwifi \
|
|
libipw ipw2100 ipw2200 \
|
|
|
|
config-$(call config_package,iwl-legacy) += IWLEGACY
|
|
config-$(call config_package,iwl3945) += IWL3945
|
|
config-$(call config_package,iwl4965) += IWL4965
|
|
config-$(call config_package,iwlwifi) += IWLWIFI IWLDVM IWLMVM
|
|
config-$(CONFIG_PACKAGE_IWLWIFI_DEBUG)+= IWLWIFI_DEBUG
|
|
config-$(CONFIG_PACKAGE_IWLWIFI_DEBUGFS)+= IWLWIFI_DEBUGFS
|
|
|
|
config-$(call config_package,libipw) += LIBIPW
|
|
config-$(call config_package,ipw2100) += IPW2100
|
|
config-$(call config_package,ipw2200) += IPW2200
|
|
|
|
define KernelPackage/iwlwifi
|
|
$(call KernelPackage/mac80211/Default)
|
|
DEPENDS:= +kmod-mac80211 @PCI_SUPPORT +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +@DRIVER_11W_SUPPORT @!LINUX_3_18
|
|
TITLE:=Intel AGN Wireless support
|
|
FILES:= \
|
|
$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko \
|
|
$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/dvm/iwldvm.ko \
|
|
$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko
|
|
AUTOLOAD:=$(call AutoProbe,iwlwifi iwldvm iwlmvm)
|
|
MENU:=1
|
|
endef
|
|
|
|
define KernelPackage/iwlwifi/description
|
|
iwlwifi kernel module for
|
|
Intel Wireless WiFi Link 6250AGN Adapter
|
|
Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)
|
|
Intel WiFi Link 1000BGN
|
|
Intel Wireless WiFi 5150AGN
|
|
Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
|
|
Intel 6005 Series Wi-Fi Adapters
|
|
Intel 6030 Series Wi-Fi Adapters
|
|
Intel Wireless WiFi Link 6150BGN 2 Adapter
|
|
Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)
|
|
Intel 2000 Series Wi-Fi Adapters
|
|
Intel 7260 Wi-Fi Adapter
|
|
Intel 3160 Wi-Fi Adapter
|
|
Intel 7265 Wi-Fi Adapter
|
|
Intel 8260 Wi-Fi Adapter
|
|
Intel 3165 Wi-Fi Adapter
|
|
endef
|
|
|
|
define KernelPackage/iwlwifi/config
|
|
if PACKAGE_kmod-iwlwifi
|
|
|
|
config PACKAGE_IWLWIFI_DEBUG
|
|
bool "Enable full debugging output in the iwlwifi driver"
|
|
default n
|
|
help
|
|
This option will enable debug tracing output for the iwlwifi drivers
|
|
|
|
This will result in the kernel module being ~100k larger. You can
|
|
control which debug output is sent to the kernel log by setting the
|
|
value in
|
|
|
|
/sys/module/iwlwifi/parameters/debug
|
|
|
|
This entry will only exist if this option is enabled.
|
|
|
|
To set a value, simply echo an 8-byte hex value to the same file:
|
|
|
|
% echo 0x43fff > /sys/module/iwlwifi/parameters/debug
|
|
|
|
You can find the list of debug mask values in:
|
|
drivers/net/wireless/intel/iwlwifi/iwl-debug.h
|
|
|
|
If this is your first time using this driver, you should say Y here
|
|
as the debug information can assist others in helping you resolve
|
|
any problems you may encounter.
|
|
|
|
config PACKAGE_IWLWIFI_DEBUGFS
|
|
bool "iwlwifi debugfs support"
|
|
depends on PACKAGE_MAC80211_DEBUGFS
|
|
default n
|
|
help
|
|
Enable creation of debugfs files for the iwlwifi drivers. This
|
|
is a low-impact option that allows getting insight into the
|
|
driver's state at runtime.
|
|
|
|
endif
|
|
endef
|
|
|
|
define KernelPackage/iwl-legacy
|
|
$(call KernelPackage/mac80211/Default)
|
|
DEPENDS:= +kmod-mac80211 @PCI_SUPPORT
|
|
TITLE:=Intel legacy Wireless support
|
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwlegacy.ko
|
|
AUTOLOAD:=$(call AutoProbe,iwlegacy)
|
|
endef
|
|
|
|
define KernelPackage/iwl-legacy/description
|
|
iwl-legacy kernel module for legacy Intel wireless support
|
|
endef
|
|
|
|
define KernelPackage/iwl3945
|
|
$(call KernelPackage/mac80211/Default)
|
|
DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy +iwl3945-firmware
|
|
TITLE:=Intel iwl3945 Wireless support
|
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwl3945.ko
|
|
AUTOLOAD:=$(call AutoProbe,iwl3945)
|
|
endef
|
|
|
|
define KernelPackage/iwl3945/description
|
|
iwl3945 kernel module for Intel 3945 support
|
|
endef
|
|
|
|
define KernelPackage/iwl4965
|
|
$(call KernelPackage/mac80211/Default)
|
|
DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy +@DRIVER_11N_SUPPORT +iwl4965-firmware
|
|
TITLE:=Intel iwl4965 Wireless support
|
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwl4965.ko
|
|
AUTOLOAD:=$(call AutoProbe,iwl4965)
|
|
endef
|
|
|
|
define KernelPackage/iwl4965/description
|
|
iwl4965 kernel module for Intel 4965 support
|
|
endef
|
|
|
|
|
|
define KernelPackage/libipw
|
|
$(call KernelPackage/mac80211/Default)
|
|
TITLE:=libipw for ipw2100 and ipw2200
|
|
DEPENDS:=@PCI_SUPPORT +kmod-crypto-michael-mic +kmod-crypto-ecb +kmod-lib80211 +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT @!BIG_ENDIAN @!LINUX_3_18
|
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/libipw.ko
|
|
AUTOLOAD:=$(call AutoProbe,libipw)
|
|
endef
|
|
|
|
define KernelPackage/libipw/description
|
|
Hardware independent IEEE 802.11 networking stack for ipw2100 and ipw2200.
|
|
endef
|
|
|
|
IPW2100_NAME:=ipw2100-fw
|
|
IPW2100_VERSION:=1.3
|
|
|
|
define Download/ipw2100
|
|
URL:= \
|
|
https://src.fedoraproject.org/repo/pkgs/ipw2100-firmware/ipw2100-fw-1.3.tgz/46aa75bcda1a00efa841f9707bbbd113/ \
|
|
https://archlinux.mirror.pkern.at/other/packages/ipw2100-fw/ \
|
|
http://mirror.ox.ac.uk/sites/ftp.openbsd.org/pub/OpenBSD/distfiles/firmware/ \
|
|
http://firmware.openbsd.org/firmware-dist/
|
|
FILE:=$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
|
|
HASH:=e1107c455e48d324a616b47a622593bc8413dcce72026f72731c0b03dae3a7a2
|
|
endef
|
|
$(eval $(call Download,ipw2100))
|
|
|
|
define KernelPackage/ipw2100
|
|
$(call KernelPackage/mac80211/Default)
|
|
TITLE:=Intel IPW2100 driver
|
|
DEPENDS:=@PCI_SUPPORT +kmod-libipw
|
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/ipw2100.ko
|
|
AUTOLOAD:=$(call AutoProbe,ipw2100)
|
|
endef
|
|
|
|
define KernelPackage/ipw2100/description
|
|
Kernel support for Intel IPW2100
|
|
Includes:
|
|
- ipw2100
|
|
endef
|
|
|
|
IPW2200_NAME:=ipw2200-fw
|
|
IPW2200_VERSION:=3.1
|
|
|
|
define Download/ipw2200
|
|
URL:= \
|
|
https://src.fedoraproject.org/repo/pkgs/ipw2200-firmware/ipw2200-fw-3.1.tgz/eaba788643c7cc7483dd67ace70f6e99/ \
|
|
https://archlinux.mirror.pkern.at/other/packages/ipw2200-fw/ \
|
|
http://mirror.ox.ac.uk/sites/ftp.openbsd.org/pub/OpenBSD/distfiles/firmware/ \
|
|
http://firmware.openbsd.org/firmware-dist/
|
|
FILE:=$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
|
|
HASH:=c6818c11c18cc030d55ff83f64b2bad8feef485e7742f84f94a61d811a6258bd
|
|
endef
|
|
$(eval $(call Download,ipw2200))
|
|
|
|
define KernelPackage/ipw2200
|
|
$(call KernelPackage/mac80211/Default)
|
|
TITLE:=Intel IPW2200 driver
|
|
DEPENDS:=@PCI_SUPPORT +kmod-libipw
|
|
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/ipw2200.ko
|
|
AUTOLOAD:=$(call AutoProbe,ipw2200)
|
|
endef
|
|
|
|
define KernelPackage/ipw2200/description
|
|
Kernel support for Intel IPW2200
|
|
Includes:
|
|
- ipw2200
|
|
endef
|
|
|
|
define KernelPackage/ipw2100/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/ipw2100-$(IPW2100_VERSION)*.fw $(1)/lib/firmware
|
|
endef
|
|
|
|
define KernelPackage/ipw2200/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION)/ipw2200*.fw $(1)/lib/firmware
|
|
endef
|