10 Jul, 2012
4 commits
-
This function is needed by brcmsmac. This code is based on code from
the Broadcom SDK.Signed-off-by: Hauke Mehrtens
Signed-off-by: John W. Linville -
This code is based on the Broadcom SDK and brcmsmac.
Signed-off-by: Hauke Mehrtens
Signed-off-by: John W. Linville -
The chip IDs are used all over bcma and no constants where defined.
This patch adds the constants and makes bcma use them.Acked-by: Arend van Spriel
Signed-off-by: Hauke Mehrtens
Signed-off-by: John W. Linville -
This patch is based on a recent version of the Broadcom SDK.
Signed-off-by: Hauke Mehrtens
Signed-off-by: John W. Linville
05 Jul, 2012
2 commits
-
60g band uses different from .11n MCS scheme, so bitrate
should be calculated differentlySigned-off-by: Vladimir Kondratiev
Signed-off-by: Johannes Berg -
Until now, a u16 value was used to represent bitrate value.
With VHT bitrates this becomes too small.Introduce a new 32-bit bitrate attribute. nl80211 will report
both the new and the old attribute, unless the bitrate doesn't
fit into the old u16 attribute in which case only the new one
will be reported.User space tools encouraged to prefer the 32-bit attribute, if
available (since it won't be available on older kernels.)Signed-off-by: Vladimir Kondratiev
[reword commit message and comments a bit]
Signed-off-by: Johannes Berg
03 Jul, 2012
2 commits
-
Some drivers require setup before being able to send
management frames in managed mode, in particular in
multi-channel cases.Introduce API to allow the drivers to do such setup
while being able to sleep waiting for the setup to
finish in the device. This isn't possible inside the
TX call since that can't sleep.A future patch may also restructure the TX retry to
wait for the driver to report the frame status, as
suggested by Arik in
http://mid.gmane.org/CA+XVXffKSEL6ZQPQ98x-zO-NL2=TNF1uN==mprRyUmAaRn254g@mail.gmail.comSigned-off-by: Johannes Berg
-
IEEE80211_TX_MAX_RATES can be reduced from 5 to 4 as there
is no current hardware supporting a rate chain with 5 multi
rate stages (mrr), so 4 mrr stages are sufficient.The memory that is freed within the ieee80211_tx_info struct
will be used in the upcoming Transmission Power Control (TPC)
implementation.Suggested-by: Felix Fietkau
Signed-off-by: Thomas Huehn
[reword commit message]
Signed-off-by: Johannes Berg
02 Jul, 2012
3 commits
-
The implementation of tx_frags is buggy due to
not handling queue stop, and there's no driver
implementing it so remove it.Signed-off-by: Johannes Berg
-
Provide various constants as defined by the 802.11ad:
frame types, IE's, capability bits, action categoriesIntroduce GCMP cipher, mandatory by 802.11ad
Signed-off-by: Vladimir Kondratiev
Signed-off-by: Johannes Berg -
Add enumerations for both cfg80211 and nl80211.
This expands wiphy.bands etc. arrays.Extend channel frequency translation to cover 60g band
and modify the rate check logic since there are no legacy
mandatory rates (only MCS is used.)Signed-off-by: Vladimir Kondratiev
Signed-off-by: Johannes Berg
29 Jun, 2012
4 commits
-
We do not need it anymore since cfg80211 tracks
monitor channel and monitor channel type.Signed-off-by: Michal Kazior
Signed-off-by: Johannes Berg -
Implements .set_monitor_enabled(wiphy, enabled).
Notifies driver upon change of interface layout.
If only monitor interfaces become present it is
called with 2nd argument being true. If
non-monitor interface appears then 2nd argument
is false. Driver is notified only upon change.This makes it more obvious about the fact that
cfg80211 supports single monitor channel. Once we
implement multi-channel we don't want to allow
setting monitor channel while other interface
types are running. Otherwise it would be ambiguous
once we start considering num_different_channels.Signed-off-by: Michal Kazior
Signed-off-by: Johannes Berg -
IBSS may hop between channels. It is necessary to
account this special case when considering
interface combinations.Signed-off-by: Michal Kazior
Signed-off-by: Johannes Berg -
We need to know which channel is used by a running
AP and mesh for channel context accounting and
finding matching/active interface combination.STA/IBSS have current_bss already which allows us
to check which channel a vif is tuned to.
Non-fixed channel IBSS can be handled with
additional changes.Monitor mode is going to be handled differently.
Signed-off-by: Michal Kazior
Signed-off-by: Johannes Berg
28 Jun, 2012
5 commits
-
Allow drivers to advertise their VHT capabilities
and export them to userspace via nl80211.Signed-off-by: Mahesh Palivela
Signed-off-by: Johannes Berg -
Add the VHT definitions to be used by drivers supporting it.
Signed-off-by: Mahesh Palivela
Signed-off-by: Johannes Berg -
This and ieee80211_add_ext_srates_ie() aren't
exported, so can't be used by drivers anyway,
but there's also no reason that they should be
so make them private to mac80211 and use sdata
instead of vif arguments.Acked-by: Arik Nemtsov
Signed-off-by: Johannes Berg -
Some of them are BCM4706 specific AFAWK. Most of them was confirmed on
Netgear WNDR450.Signed-off-by: Rafał Miłecki
Signed-off-by: John W. Linville
27 Jun, 2012
2 commits
-
When CONFIG_PM is disabled, no device can possibly
support WoWLAN since it can't go to sleep to start
with. Due to this, mac80211 had even rejected the
hardware registration. By making all the code and
data for WoWLAN depend on CONFIG_PM we can promote
this runtime error to a compile-time error.Add #ifdef around all WoWLAN code to remove it in
systems that don't need it as they never suspend.Cc: Kalle Valo
Acked-by: Luciano Coelho
Signed-off-by: Johannes Berg
26 Jun, 2012
1 commit
-
Support configuring an RSSI threshold in dBm (s32) when requesting
scheduled scan, below which a BSS won't be reported by the cfg80211
driver.Signed-off-by: Thomas Pedersen
Signed-off-by: Johannes Berg
24 Jun, 2012
1 commit
-
There are a few things that make the logging and
debugging in mac80211 less useful than it should
be right now:
* a lot of messages should be pr_info, not pr_debug
* wholesale use of pr_debug makes it require *both*
Kconfig and dynamic configuration
* there are still a lot of ifdefs
* the style is very inconsistent, sometimes the
sdata->name is printed in frontClean up everything, introducing new macros and
separating out the station MLME debugging into
a new Kconfig symbol.Signed-off-by: Johannes Berg
23 Jun, 2012
1 commit
21 Jun, 2012
2 commits
-
WMM and WPS
Signed-off-by: Avinash Patil
Signed-off-by: Bing Zhao
Signed-off-by: Johannes Berg -
Get current rssi (in dBm) from the driver/FW.
Instead of reporting the signal received in the last
rx packet, which might be inaccurate if rx traffic is
low and beacon filtering is enabled, get the signal
from the driver/FW.Signed-off-by: Victor Goldenshtein
Signed-off-by: Johannes Berg
18 Jun, 2012
1 commit
-
As defined in section 13.10.9.3 Case D (802.11-2012), this
control variable is used to limit the mesh STA to send only
one PREQ to a root mesh STA within this interval of time
(in TUs). The default value for this variable is set to
2000 TUs. However, for current implementation, the maximum
configurable of dot11MeshHWMPconfirmationInterval is
restricted by dot11MeshHWMPactivePathTimeout.Signed-off-by: Chun-Yeow Yeoh
[line-break commit log]
Signed-off-by: Johannes Berg
14 Jun, 2012
5 commits
-
Generate the proactive PREQ element as defined in
Sec. 13.10.9.3 (Case C) of IEEE Std. 802.11-2012
based on the selection of dot11MeshHWMPRootMode as follow:
dot11MeshHWMPRootMode (2) is proactivePREQnoPREP
dot11MeshHWMPRootMode (3) is proactivePREQwithPREPThe proactive PREQ is generated based on the interval
defined by dot11MeshHWMProotInterval.With this change, proactive RANN element is now generated
if the dot11MeshHWMPRootMode is set to (4) instead of (1).Signed-off-by: Chun-Yeow Yeoh
[line-break commit log]
Signed-off-by: Johannes Berg -
Add the mesh configuration parameters dot11MeshHWMProotInterval
and dot11MeshHWMPactivePathToRootTimeout to be used by
proactive PREQ mechanism.Signed-off-by: Chun-Yeow Yeoh
[line-break commit log]
Signed-off-by: Johannes Berg -
Conflicts:
drivers/net/wireless/ath/ath9k/main.c
net/bluetooth/hci_event.c -
…etooth/bluetooth-next
13 Jun, 2012
2 commits
-
Add missing entries to nl80211.h and fix
the kernel-doc notation in cfg80211.h.Signed-off-by: Johannes Berg
-
It should be NL80211_SCHED_SCAN_MATCH_ATTR_SSID as
documented, not NL80211_ATTR_SCHED_SCAN_MATCH_SSID.Signed-off-by: Johannes Berg
12 Jun, 2012
2 commits
-
Reference: http://standards.ieee.org/develop/regauth/oui/oui.txt
Signed-off-by: Avinash Patil
Signed-off-by: Bing Zhao
Signed-off-by: Johannes Berg
11 Jun, 2012
2 commits
-
fix the coding style related to mesh parameters, especially the indentation,
as pointed out by Johannes Berg.Signed-off-by: Chun-Yeow Yeoh
Signed-off-by: Johannes Berg -
Add the missing kernel-doc for mesh configuration parameters as pointed
out by Johannes Berg.Signed-off-by: Chun-Yeow Yeoh
Signed-off-by: Johannes Berg
09 Jun, 2012
1 commit
-
Add a few kernel-doc descriptions that were missed
during development.Reported-by: Randy Dunlap
Signed-off-by: Johannes Berg