03 Feb, 2010
2 commits
-
Introduce TKIP_HDR_LEN define for code clarity (in the same way as
CCMP_HDR_LEN).Also odd len variable (not used) dropped from lib80211_tkip_hdr().
Signed-off-by: Andriy V. Tkachuk
Signed-off-by: John W. Linville -
Signed-off-by: Andriy V. Tkachuk
Signed-off-by: John W. Linville
02 Feb, 2010
19 commits
-
Calling ath_bus_cleanup() after ieee80211_free_hw() resulted in access
to common->bus_ops, which is already freed as part of the device data.Remove the cleanup field in struct ath_bus_ops, as it was never used
properly. Remove ath_bus_cleanup(). Merge cleanup functions in place
of the ath_bus_cleanup() calls. Take care not to use any device data
after ieee80211_free_hw().Signed-off-by: Pavel Roskin
Signed-off-by: John W. Linville -
Signed-off-by: John W. Linville
-
Rate control should not be called to update the tx status
when HW does the RC.Signed-off-by: Vasanthakumar
Signed-off-by: John W. Linville -
When injecting frames, mac80211 currently looks for the first AP
interface that matches the source address of the injected frame.
This breaks when such a frame is directed at a STA that has been moved
to a VLAN. This patch fixes it by using sta_info_get_bss instead of
sta_info_get, which also finds stations belonging to a VLAN interface
of the same BSS as the AP interface.Signed-off-by: Felix Fietkau
Signed-off-by: John W. Linville -
When an injected frame gets buffered for a powersave STA or filtered
and retransmitted, mac80211 attempts to parse the radiotap header
again, which doesn't work because it's gone at that point.
This patch adds a new flag for checking the availability of a radiotap
header, so that it only attempts to parse it once, reusing the tx info
on the next call to ieee80211_tx().
This fixes severe issues with rekeying in AP mode.Signed-off-by: Felix Fietkau
Cc: stable@kernel.org
Signed-off-by: John W. Linville -
When looking for a matching interface, __ieee80211_rx_handle_packet
loops over all active interfaces, looking for matching stations.
Because AP VLAN interfaces are not processed as part of this loop, it
needs to use sta_info_get_bss instead of sta_info_get in order to find
a STA that has been moved to a VLAN.
This fixes issues with aggregation setup/teardown.Signed-off-by: Felix Fietkau
Signed-off-by: John W. Linville -
Use a more compact and readable format for "agg_status" to reduce the
stack frame to less than 1024 bytes.Signed-off-by: Pavel Roskin
Signed-off-by: John W. Linville -
The maximal size of the "ht_capa" file is 430 bytes. In most cases,
it's much shorter. Use a 512 byte long buffer. 1024 bytes is too much
and causes a warning with CONFIG_FRAME_WARN=1024.Signed-off-by: Pavel Roskin
Signed-off-by: John W. Linville -
Signed-off-by: Rafał Miłecki
Signed-off-by: John W. Linville -
Signed-off-by: Rafał Miłecki
Signed-off-by: John W. Linville -
Signed-off-by: Rafał Miłecki
Signed-off-by: John W. Linville -
Signed-off-by: Rafał Miłecki
Signed-off-by: John W. Linville -
Signed-off-by: Rafał Miłecki
Signed-off-by: John W. Linville -
This adds a new regulatory hint to be used when we know all
devices have been disconnected and idle. This can happen
when we suspend, for instance. When we disconnect we can
no longer assume the same regulatory rules learned from
a country IE or beacon hints are applicable so restore
regulatory settings to an initial state.Since driver hints are cached on the wiphy that called
the hint, those hints are not reproduced onto cfg80211
as the wiphy will respect its own wiphy->regd regardless.Signed-off-by: Luis R. Rodriguez
Signed-off-by: John W. Linville -
When cfg80211 starts it will send a core regulatory hint. This is
sent to the global workqueue but we force processing of it by
flushing the global workqueue. The flushing was done since
cfg80211 needs last_request to always be populated.Avoid flushing the global workqueue by processing the work
required immediately instead of putting it into a linked
list and processing it after the flush.Signed-off-by: Luis R. Rodriguez
Signed-off-by: John W. Linville -
Signed-off-by: Rafał Miłecki
Signed-off-by: John W. Linville -
Signed-off-by: Rafał Miłecki
Signed-off-by: John W. Linville -
Using stack for that causes warnings with CONFIG_FRAME_WARN=1024
Signed-off-by: Pavel Roskin
Signed-off-by: John W. Linville -
Numeric channel is hard to get, so it won't be printed. Replace Mhz
with MHz on the affected lines and add commas as needed.Signed-off-by: Pavel Roskin
Signed-off-by: John W. Linville
01 Feb, 2010
1 commit
-
Signed-off-by: John W. Linville
30 Jan, 2010
12 commits
-
iwl_power_update_mode expects to be called with mutex held, for example to
protect priv->vif. Only one caller currently does not do this, fix this.
Also, add a comment to iwl_power_update_mode to indicate this requirement.Signed-off-by: Reinette Chatre
-
Due to a typo, the variable contains OFDM
rates as well. The only user doesn't care,
so this change doesn't really do anything
but fix up my confusion.Signed-off-by: Johannes Berg
-
auth_work, calibrated_work, update_link_led
and report_work are never used, so remove them.Signed-off-by: Johannes Berg
Signed-off-by: Reinette Chatre -
There's no need to queue a work struct from
within a work struct, just move the code to
execute directly.Signed-off-by: Johannes Berg
Signed-off-by: Reinette Chatre -
Move the waiting into iwl5000_load_section instead
of duplicating it in the caller.Signed-off-by: Johannes Berg
Signed-off-by: Reinette Chatre -
mac80211 will only enable powersaving for station mode.
Signed-off-by: Johannes Berg
Signed-off-by: Reinette Chatre -
Update sensitivity range values for 1000 series
Signed-off-by: Wey-Yi Guy
Signed-off-by: Reinette Chatre -
Update sensitivity range values for 5x00 series
Signed-off-by: Wey-Yi Guy
Signed-off-by: Reinette Chatre -
Update sensitivity range values for 6000 & 6x50 series
Signed-off-by: Wey-Yi Guy
Signed-off-by: Reinette Chatre -
The corresponding iwl_mac_remove_interface only
acquires the mutex, leading me to believe that
the spinlock is not necessary. However, this
doesn't actually acquire the mutex around the
vif pointer check and assignment, fix that.Signed-off-by: Johannes Berg
Signed-off-by: Reinette Chatre -
Change in uCode to include a unique identifier as part of sysassert,
in order to tell the difference, add the "ADVANCED SYSASSERT" description
when dump nic error to indicate the difference.Signed-off-by: Wey-Yi Guy
Signed-off-by: Reinette Chatre -
In hostap AP mode, every time the client sends the AP
a packet the STA_NOTIFY_AWAKE code is sent from mac80211.
This results in a command being sent to the uCode even if
the client was not asleep.The following simple patch has fixed the issue for me without any
degradation that I can find.Signed-off-by: Daniel Halperin
Acked-by: Johannes Berg
Signed-off-by: Reinette Chatre
29 Jan, 2010
3 commits
-
IDLE PS (Full Sleep) doesn't work when ifconfig up
is done during Idle unassociated state.
Fix this by restoring FULL SLEEP in ps_restore if CONF_IDLE
is set.Signed-off-by: Vivek Natarajan
Signed-off-by: John W. Linville -
If the association worker requests a directed ssid scan and a bss list
already exists, the directed scan is not done. This patch corrects this
and cleans up a few typos and debug messages.Signed-off-by: Hamish Guthrie
Acked-by: Geoff Levand
Signed-off-by: John W. Linville -
The current PS3 gelic wireless driver has support for wireless
extensions. The original PS3 gelic wireless driver exposed a
dedicated API for a dedicated wpa_supplicant driver. This old
API could be enabled with CONFIG_GELIC_WIRELESS_OLD_PSK_INTERFACE,
however, as this is not being used by any distros, and it is being
removed from the driver and from wpa_supplicant.Signed-off-by: Hamish Guthrie
Acked-by: Geoff Levand
Signed-off-by: John W. Linville
28 Jan, 2010
3 commits
-
Signed-off-by: John W. Linville
-
Signed-off-by: Larry Finger
Acked-by: Hin-Tak Leung
Signed-off-by: John W. Linville -
In the conversion between typedef and struct, two places that needed a "struct"
were missed.Signed-off-by: Larry Finger
Signed-off-by: John W. Linville