nl80211: Add new WIPHY attribute COVERAGE_CLASS
authorLukáš Turek <8an@praha12.net>
Mon, 21 Dec 2009 21:50:47 +0000 (22:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 18:49:17 +0000 (13:49 -0500)
commit81077e82c3f591578625805dd6464a27a9ff56ec
treecb1e502c54b4e2f052f129b80a47190de7e22b62
parent14acdde6e527950f66c084dbf19bad6fbfcaeedc
nl80211: Add new WIPHY attribute COVERAGE_CLASS

The new attribute NL80211_ATTR_WIPHY_COVERAGE_CLASS sets IEEE 802.11
Coverage Class, which depends on maximum distance of nodes in a
wireless network. It's required for long distance links (more than a few
hundred meters).

The attribute is now ignored by two non-mac80211 drivers, rndis and
iwmc3200wifi, together with WIPHY_PARAM_RETRY_SHORT and
WIPHY_PARAM_RETRY_LONG. If it turns out to be a problem, we could split
set_wiphy_params callback or add new capability bits.

Signed-off-by: Lukas Turek <8an@praha12.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/core.c
net/wireless/nl80211.c