17 May, 2014
3 commits
-
This eliminates a 1-bit left shift in every single caller,
and makes the inner loop of the CRC computation more efficient.Renamed crc7 to crc7_be (big-endian) since the interface changed.
Also purged #include from files that don't use it at all.
Signed-off-by: George Spelvin
Reviewed-by: Pavel Machek
Acked-by: Ulf Hansson
Signed-off-by: John W. Linville
16 May, 2014
4 commits
-
If DVM or MVM are built-in but LEDS_CLASS isn't then the current
Kconfig will enable LED support and fail the build. Fix this by
making the LED support depend on LEDS_CLASS being built-in or,
if it is modular, only enabling it if iwlwifi also is.Signed-off-by: Johannes Berg
Signed-off-by: Emmanuel Grumbach -
In the 8000 HW family the register for forcing an NMI has
changed, so this allows to still be able to force an NMI
while taking into account the HW in order to write to the
correct register.Signed-off-by: Liad Kaufman
Reviewed-by: Johannes Berg
Signed-off-by: Emmanuel Grumbach -
Instead of having two nearly identical functions to send the mac
context commands, use a single way that can handle both the p2p and
!p2p cases.Signed-off-by: Luciano Coelho
Reviewed-by: Johannes Berg
Signed-off-by: Emmanuel Grumbach -
The firmware needs to know on what channel we run before we
set the association bit in the MAC context. Change a bit the
flow to achieve this.Signed-off-by: Emmanuel Grumbach
15 May, 2014
1 commit
-
Some APs (e.g. TP-LINK TL-WA801N) are disabling aggregation (downlink
to station) when U-APSD is enabled, resulting in low throughput.
Add a module parameter to allow disabling U-APSD support in the driver.Also re-enable U-APSD for -9 firmware since the firmare issues were
fixed in this release.There are devices that won't support U-APSD even with newer
firmware, so bring the TLV flag back to detect those.Signed-off-by: Matt Chen
Signed-off-by: Johannes Berg
Signed-off-by: Emmanuel Grumbach
14 May, 2014
32 commits
-
New transport need to configure internal memory based on
the data in the (enlarged) alive notification from the
firmware. Add a transport API for this.Signed-off-by: Eran Harary
Signed-off-by: Emmanuel Grumbach -
Signed-off-by: Jahnavi Meher
Signed-off-by: John W. Linville -
The struct cfg80211_chan_def contains additional info to derive the
bandwidth and side-band information of the chanspec. This patch adds
chandef_to_chanspec() function used in IBSS join and starting AP
operation.Reviewed-by: Franky Lin
Reviewed-by: Hante Meuleman
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
The device is queried about the usability of channels, but it did not
take 80MHz channels into consideration. This patch adds processing those
chanspecs and clear the NO_80MHZ flag for those control/primary channels.Reviewed-by: Daniel (Deognyoun) Kim
Reviewed-by: Franky Lin
Reviewed-by: Hante Meuleman
Reviewed-by: Pieter-Paul Giesberts
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
The function does not provide any additional functionality and is
used only once so just get rid of it.Reviewed-by: Daniel (Deognyoun) Kim
Reviewed-by: Franky Lin
Reviewed-by: Hante Meuleman
Reviewed-by: Pieter-Paul Giesberts
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
By default allow 80Mhz in custom regulatory rules of the 5G band so
the channels will not be flagged with N0_80MHZ.Reviewed-by: Daniel (Deognyoun) Kim
Reviewed-by: Franky Lin
Reviewed-by: Hante Meuleman
Reviewed-by: Pieter-Paul Giesberts
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
Although brcmfmac support several 11ac devices it did not advertise
VHT related information to cfg80211.Reviewed-by: Daniel (Deognyoun) Kim
Reviewed-by: Franky Lin
Reviewed-by: Hante Meuleman
Reviewed-by: Pieter-Paul Giesberts
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
The channel values used by firmware is handled using conversion functions
depending on the type of chip. These functions were already in place but
lacked proper support for 80MHz channel definitions. This patch adds the
support for that.Reviewed-by: Daniel (Deognyoun) Kim
Reviewed-by: Franky Lin
Reviewed-by: Hante Meuleman
Reviewed-by: Pieter-Paul Giesberts
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
In the .start_ap callback cfg80211_get_chandef_type() was used to
provide debug log info. However, this causes a warning when the
chandef contains VHT channel with 80MHz bandwidth. Avoid the warning
by just printing the channel and bandwidth instead.Reviewed-by: Hante Meuleman
Reviewed-by: Pieter-Paul Giesberts
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
The DISASSOC command needs to be sent to firmware when a connection
loss is detected by firmware (e.g., beacon timeout). Otherwise the
next connect request fails due to a lingering LINK(down) event from
firmware. This patch resolves the issue by using brcmf_link_down()
handler, instead of the incomplete duplicated codes.Reviewed-by: Arend Van Spriel
Reviewed-by: Pieter-Paul Giesberts
Reviewed-by: Hante Meuleman
Signed-off-by: Daniel Kim
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
The driver serializes the nvram firmware file before sending it
to the device. This patch enhances this to assure serialized data
is properly formatted and provide warnings on syntax failures.Reviewed-by: Daniel (Deognyoun) Kim
Reviewed-by: Franky Lin
Reviewed-by: Hante Meuleman
Reviewed-by: Pieter-Paul Giesberts
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
FWS is always queuing frames and using a worker for de-queueing,
this is not always efficient for all bus layer. For example SDIO
has an internal queue and worker making the queueing of FWS
unnecessary. Make it possible to bypass the worker if fws mode
is none using a bus interface configuration. For USB bus layer
this configuration is set true to have fws provide queueing
regardless the fws mode.Reviewed-by: Arend Van Spriel
Reviewed-by: Franky (Zhenhui) Lin
Reviewed-by: Pieter-Paul Giesberts
Reviewed-by: Daniel (Deognyoun) Kim
Signed-off-by: Hante Meuleman
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
Tracking and handling of 802.1x frames is done in two modules, it
is more logical and clear to move this to dhd_linux module.Reviewed-by: Arend Van Spriel
Reviewed-by: Franky (Zhenhui) Lin
Reviewed-by: Pieter-Paul Giesberts
Reviewed-by: Daniel (Deognyoun) Kim
Signed-off-by: Hante Meuleman
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
In tx_finalize the hdrpull is performed. For the new protocol
msgbuf this is complex, because it does not use protocol headers
in front of payload anymore and therefor can not determine interface
index in the hdr pulll operation. Move out the hdrpull operation
from tx_finalize to make msgbuf implementation easier.Reviewed-by: Arend Van Spriel
Reviewed-by: Franky (Zhenhui) Lin
Reviewed-by: Pieter-Paul Giesberts
Reviewed-by: Daniel (Deognyoun) Kim
Signed-off-by: Hante Meuleman
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
Currently firmware roaming support is not reported to cfg80211.
This patch reports the support of firmware based roaming when
it is enabled.Reviewed-by: Pieter-Paul Giesberts
Reviewed-by: Hante Meuleman
Reviewed-by: Arend Van Spriel
Signed-off-by: Daniel Kim
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
When a BSS provides both 2.4GHz and 5GHz bands, in many cases it
makes sense to choose 5GHz. Typically a 5GHz channel is less crowded
and has less interference and therefore its performance will be
better than a crowded 2.4 GHz channel. This patch configures
'join_pref' to induce firmware to preferably select 5GHz BSS.Reviewed-by: Arend Van Spriel
Signed-off-by: Daniel Kim
Signed-off-by: Arend van Spriel
Signed-off-by: John W. Linville -
Signed-off-by: Oleksij Rempel
Signed-off-by: John W. Linville -
Signed-off-by: Oleksij Rempel
Signed-off-by: John W. Linville -
Signed-off-by: Oleksij Rempel
Signed-off-by: John W. Linville -
Signed-off-by: Oleksij Rempel
Signed-off-by: John W. Linville -
and use it. This move need changes in both drivers.
Signed-off-by: Oleksij Rempel
Signed-off-by: John W. Linville -
to fix compile errors
Signed-off-by: Oleksij Rempel
Signed-off-by: John W. Linville -
Signed-off-by: Oleksij Rempel
Signed-off-by: John W. Linville -
Signed-off-by: Oleksij Rempel
Signed-off-by: John W. Linville -
Signed-off-by: Oleksij Rempel
Signed-off-by: John W. Linville -
Signed-off-by: Oleksij Rempel
Signed-off-by: John W. Linville -
This adds choice submenu "Supported bus types" as two simple bool
configs would allow user to compile b43 without any bus support
(prety useless).Signed-off-by: Rafał Miłecki
Signed-off-by: John W. Linville -
Users of new (BCMA based) wireless chipsets may not want to enable SSB.
This is hopefully the last code patch for dropping SSB dependency.Signed-off-by: Rafał Miłecki
Signed-off-by: John W. Linville -
The check of ezusb_firmware_download() return value (added by commit
488ec878034eccb852267b0e27ce9d511f75c587) is broken because
ezusb_firmware_download() returns 1 on success.
This causes the driver not to work with the following error:
orinoco_usb: probe of 3-3:1.0 failed with error -14Check the return value only for negative values.
This fix should be applied to -stable kernels too.
Signed-off-by: Ondrej Zary
Signed-off-by: John W. Linville -
Systems with multiple DFS channel detectors need to track
timestamp of previous pulse per instance to display the
correct pulse interval.Since the interval value is used for debug printing only,
this is a non-functional modification.Signed-off-by: Zefir Kurtisi
Signed-off-by: John W. Linville -
Originally Helmut posted a v2 of the "ath9k: Allow platform override
without EEPROM override", but I had prematurely commited the original
as commit 552a515707a. This commit restores the tree to what Helmut
intended with his v2 submission. -- JWLSigned-off-by: Helmut Schaa
Signed-off-by: John W. Linville -
The msi module parameter offers an option to enable or disable MSI
interrupts mode, for debugging and workaround(in case) convenience.Signed-off-by: Adam Lee
Signed-off-by: John W. Linville