08 Apr, 2011
1 commit
-
* 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (28 commits)
staging: usbip: bugfix for isochronous packets and optimization
staging: usbip: bugfix add number of packets for isochronous frames
staging: usbip: bugfixes related to kthread conversion
staging: usbip: fix shutdown problems.
staging: hv: Fix GARP not sent after Quick Migration
staging: IIO: IMU: ADIS16400: Avoid using printk facility directly
staging: IIO: IMU: ADIS16400: Fix product ID check, skip embedded revision number
staging: IIO: IMU: ADIS16400: Make sure only enabled scan_elements are pushed into the ring
staging: IIO: IMU: ADIS16400: Fix addresses of GYRO and ACCEL calibration offset
staging: IIO: IMU: ADIS16400: Add delay after self test
staging: IIO: IMU: ADIS16400: Fix up SPI messages cs_change behavior
staging/rtl81*: build as loadable modules only
staging: brcm80211: removed 'is_amsdu causing toss' log spam
staging: brcm80211: fix for 'Short CCK' log spam
staging: brcm80211: fix for 'AC_BE txop..' logs spammed problem
staging: memrar: remove driver from tree
staging: sep: remove last memrar remnants
staging: fix hv_mouse build, needs delay.h
staging: fix olpc_dcon build errors
staging: sm7xx: fixed defines
...Fix up trivial conflict in drivers/staging/memrar/memrar_handler.c
(deleted vs trivial spelling fixes)
05 Apr, 2011
3 commits
-
Issue reported by Larry Finger. Log message was removed.
Signed-off-by: Roland Vossen
Acked-by: Larry Finger
Signed-off-by: Greg Kroah-Hartman -
Larry Finger reported this issue. Under certain conditions the log
file would be spammed with 'Short CCK' messages. Since this does
not indicate an error condition, the log message was simply
deleted. Also, the RX_FLAG_SHORTPRE flag in rx_status->flag, on
CCK reception, is now only set on short preamble reception (it used
to be set both CCK short and long preambles).Signed-off-by: Roland Vossen
Acked-by: Larry Finger
Signed-off-by: Greg Kroah-Hartman -
Larry Finger reported this issue. The driver, under certain
conditions, spews log messages like this:wl0: wlc_d11hdrs_mac80211: AC_BE txop exceeded phylen 159/256
dur 1778/1504These log messages turned out to be false alarms. Root cause was
that the AC was derived from the sk_buff::priority field. Fix was
to derive the AC from the sk_buff using skb_get_queue_mapping()Signed-off-by: Roland Vossen
Tested-by: Larry Finger
Acked-by: Larry Finger
Signed-off-by: Greg Kroah-Hartman
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
29 Mar, 2011
1 commit
-
Scripted with coccinelle.
Signed-off-by: Thomas Gleixner
17 Mar, 2011
1 commit
-
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1480 commits)
bonding: enable netpoll without checking link status
xfrm: Refcount destination entry on xfrm_lookup
net: introduce rx_handler results and logic around that
bonding: get rid of IFF_SLAVE_INACTIVE netdev->priv_flag
bonding: wrap slave state work
net: get rid of multiple bond-related netdevice->priv_flags
bonding: register slave pointer for rx_handler
be2net: Bump up the version number
be2net: Copyright notice change. Update to Emulex instead of ServerEngines
e1000e: fix kconfig for crc32 dependency
netfilter ebtables: fix xt_AUDIT to work with ebtables
xen network backend driver
bonding: Improve syslog message at device creation time
bonding: Call netif_carrier_off after register_netdevice
bonding: Incorrect TX queue offset
net_sched: fix ip_tos2prio
xfrm: fix __xfrm_route_forward()
be2net: Fix UDP packet detected status in RX compl
Phonet: fix aligned-mode pipe socket buffer header reserve
netxen: support for GbE port settings
...Fix up conflicts in drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
with the staging updates.
15 Mar, 2011
9 commits
-
Free resources before exit.
Signed-off-by: Alexander Beregalov
Signed-off-by: Greg Kroah-Hartman -
This patch was generated by the following semantic patch:
//
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
//Signed-off-by: Ilia Mirkin
Signed-off-by: Greg Kroah-Hartman -
Code cleanup.
Signed-off-by: Roland Vossen
Reviewed-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Code cleanup.
Signed-off-by: Roland Vossen
Reviewed-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Code cleanup. The comment is hinting that we should sanity check the
header to verify that if it claims its from a 5Ghz channel, that the
chip actually supports 5 Ghz. This is redundant (2.4G only chips do
not report 5G channels) and thus the comment was removed.Signed-off-by: Roland Vossen
Reviewed-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
The previous patch flushed the AMPDU packets associated to a certain STA/AP
in the driver queues, but left the AMPDU packets in the DMA queue untouched.
This patch invalidates AMPDU packets in the DMA queue, so they can be
processed accordingly when hardware releases the packets to the driver.Signed-off-by: Roland Vossen
Reviewed-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Driver now flushes AMPDU packets for a specified station on Mac80211 calling
wl_ops_ampdu_action(IEEE80211_AMPDU_TX_STOP). Not all AMPDU packets are flushed
yet: there can still be AMPDU packets pending in hardware (DMA). That is the
subject of the next patch in this series.Signed-off-by: Roland Vossen
Reviewed-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Mac80211 can transmit packets where the control.sta field is NULL.
The driver dereferenced this. Bugfix was to only dereference a non NULL
ieee80211_sta pointer.Signed-off-by: Roland Vossen
Reviewed-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
The driver uses a struct called 'scb', this struct is primarily used for AMPDU
functionality and is embedded in struct ieee80211_sta. To increase driver
robustness, the case in which this scb pointer is NULL is now handled graceful.
This paves the way for the next patch in this series.Signed-off-by: Roland Vossen
Reviewed-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman
10 Mar, 2011
3 commits
-
Remove dhd_doflow. iperf result without flow control is unacceptable.
Signed-off-by: Grant Grundler
Signed-off-by: Greg Kroah-Hartman -
Increase QLEN to avoid TX Queue overflow.
iperf testing results in poor throughput and massive reporting of:
dhd_bus_txdata: out of bus->txq !!!Also renamed QLEN/et al to reflect usage as TX queue parameters.
Tested with "dhd_doflow = true".Signed-off-by: Venkat Rao
Signed-off-by: Grant Grundler
Signed-off-by: Greg Kroah-Hartman -
Use kzalloc rather than kmalloc followed by memset with 0.
Found by coccinelle.Signed-off-by: Alexander Beregalov
Signed-off-by: Greg Kroah-Hartman
08 Mar, 2011
1 commit
-
The attempt to enter to suspend mode can be hindered when the network
interface is disabled.When system enters the suspend mode with the network interface
disabled, network layer calls ifdown() followed by cfg80211 layer
calling wl_cfg80211_suspend() which is registered as suspend handler
for cfg80211 layer.ifdown() call ultimately funnels down to __wl_cfg80211_down() call
where WL_STATUS_READY bit is cleared via call to
"clear_bit(WL_STATUS_READY, &wl->status)"But CHECK_SYS_UP()checks WL_STATUS_READY bit thinking it's not ready
and returns -EIO from suspend handler which intern prevents entering
into system suspend stateCHECK_SYS_UP() is mainly used in the code path where upper layer would
request certain wifi related activity to be performed by the firmware,
where this calls helps to make sure our firmware would be in ready
state to respond to those requestsBut in the case of wl_cfg80211_suspend() code path there is no need to
check for firmware status for any reasonSigned-off-by: Dowan Kim
Signed-off-by: Greg Kroah-Hartman
05 Mar, 2011
1 commit
-
…wireless-next-2.6 into for-davem
03 Mar, 2011
15 commits
-
The whole need for the OSL concept has been removed from the driver. This
is the final commit removing the source file and include file from the
driver repository. All include statements of osl.h have been removed from
the other source files.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
The struct osl_info was being used only in attach functions but
previous changes make the entire usage of this structure obsolete.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
A couple of functions with struct osl_info do not use this parameter
so it is removed from the function prototypes.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
The function pkt_buf_get_skb and pkt_buf_free_skb were using struct
osl_info field pktalloced to maintain counter of buffers in use in
the driver. It was decided to remove this facility. The prototypes
of these functions have been modified and the calling code adapted.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
The usage of variable of this type is not required so its use has
been removed from the driver.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Several declarations and macro definitions in osl.h are still needed
and therefore moved to bcmutils.h or hnddma.h. The osl_assert function
is moved to bcmutils.c accordingly.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Getting rid of the whole osl concept soon this removes most fields
in struct osl_info. Turned out hnddma.c was still using it so this
was fixed and now it gets pointer to bus device from si_info which
it only needs in the attach function for this purpose so reference
to it does not need to be kept. Two unused functions referencing
the removed fields in linux_osl.c also were removed.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Several occurrences in fullmac using struct osl_info could be removed.
Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
The include file wl_export.h contained several function prototypes
(and one macro defintion) that were not used or implemented within
the driver.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Minor esthetical change to do initialization immediately at declaration.
Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Getting rid of osl concept taking small steps. This commit removes
it from wlc_main.c and wl_mac80211.c.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Getting rid of osl concept taking small steps. This commit removes
it from source files in brcm80211/brcmsmac/phy directory.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Getting rid of osl concept taking small steps. This commit removes
it from wlc_bmac.c.Reviewed-by: Brett Rudley
Reviewed-by: Henry Ptasinski
Reviewed-by: Roland Vossen
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
By checkpatch recommendation using strict_strtoul now.
Reviewed-by: Roland Vossen
Reviewed-by: Brett Rudley
Signed-off-by: Arend van Spriel
Reviewed-by: Dan Carpenter
Signed-off-by: Greg Kroah-Hartman -
The source and include file for the wlc_mac80211 module has been
renamed to wlc_main and subsequently the include statement in
other source files. This module provides the main interface towards
wl_mac80211 module.Reviewed-by: Roland Vossen
Reviewed-by: Brett Rudley
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman
02 Mar, 2011
4 commits
-
Signed-off-by: Stanislav Fomichev
Signed-off-by: Greg Kroah-Hartman -
removed the following defines as a side effect:
- FC_SUBTYPE_ANY_QOS
- FC_KIND_MASK
- FC_PROBE_REQ
- FC_PROBE_RESP
- FC_BEACON
- FC_PS_POLL
- FC_RTS
- FC_CTSalso fixed possible bug when the CPU byte ordered fc was passed into
ieee80211_is_data and ieee80211_is_mgmtSigned-off-by: Stanislav Fomichev
Signed-off-by: Greg Kroah-Hartman -
wlc_antsel_attach was called with four parameters but actually
three parameters were already provided in the first parameter.Reviewed-by: Roland Vossen
Reviewed-by: Brett Rudley
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman -
Most of the util source files do not need the osl_info anymore due
to previous patches so usage of it has been removed.Reviewed-by: Roland Vossen
Reviewed-by: Brett Rudley
Signed-off-by: Arend van Spriel
Signed-off-by: Greg Kroah-Hartman