17 Feb, 2014
3 commits
-
Add ISO/IEC 15693 support by having netlink push the
1-byte DSFID and 8-byte UID tag information upstream.Signed-off-by: Mark A. Greer
Signed-off-by: Samuel Ortiz -
Add support for ISO/IEC 15693 to the digital layer. The code
currently uses single-slot anticollision only since the digital
layer infrastructure only supports one tag per adapter (making
it pointless to do 16-slot anticollision).The code uses two new framing types:
'NFC_DIGITAL_FRAMING_ISO15693_INVENTORY' and
'NFC_DIGITAL_FRAMING_ISO15693_TVT'. The former is used to
tell the driver to prepare for an Inventory command and the
ensuing anticollision sequence. The latter is used to tell
the driver that the anticollision sequence is over and to
prepare for non-inventory commands.Signed-off-by: Mark A. Greer
Signed-off-by: Samuel Ortiz -
Add the header definitions required by upcoming
patches that add support for ISO/IEC 15693.Signed-off-by: Mark A. Greer
Signed-off-by: Samuel Ortiz
14 Feb, 2014
30 commits
-
This has been removed in further work.
Signed-off-by: Stephen Rothwell
Signed-off-by: John W. Linville -
The dtim period sent to FW was 0 because the dtim period
was never set. This caused an incorrect dtim count to be sent in
beacons.Signed-off-by: Pontus Fuchs
Signed-off-by: John W. Linville -
This fixes problems seen with multiple softap clients and reconnecting
softap clients.Signed-off-by: Pontus Fuchs
Signed-off-by: John W. Linville -
This is more line with the names of the other members
Signed-off-by: Pontus Fuchs
Signed-off-by: John W. Linville -
3680 has a few registers on other addresses.
Signed-off-by: Pontus Fuchs
Signed-off-by: John W. Linville -
After fw caps exchange, print the FW's capabilities.
Signed-off-by: Pontus Fuchs
Signed-off-by: John W. Linville -
If wowlan if off mac80211 will stop / start the driver on suspend /
resume. This causes problems on resume since request_firmware is called
from start. Fix this by caching the nv.Signed-off-by: Pontus Fuchs
Signed-off-by: John W. Linville -
On some wcnss firmwares the start command can take up to 300ms to
complete. Currently there is a 200ms timeout for SMD command to
complete which causes the start to fail.Increase the timeout to 500ms. Also improve debug information
regarding SMD command completion time.Signed-off-by: Pontus Fuchs
Signed-off-by: John W. Linville -
* Response format is not in the canonical format.
wcn36xx_smd_rsp_status_check cannot be used.* Save the FW caps in wcn36xx struct for later use.
Signed-off-by: Pontus Fuchs
Signed-off-by: John W. Linville -
Signed-off-by: Pontus Fuchs
Signed-off-by: John W. Linville -
TI wl12xx/wl18xx cards support channel switch via a driver specific
switch_channel op while operating with channel contexts.Signed-off-by: Arik Nemtsov
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Enabling beacon filtering before receving a beacon
might result in not having a beacon at all for the
current connected AP, which prevents the station
from entering power-save.Replace the current approach (of starting beacon
filtering on init) and configure beacon filering
only after bss_conf->dtimper is set (which means
mac80211 already parsed a beacon).Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
dfs configuration command might take longer than
the current timeout. increase it to 5 seconds.Signed-off-by: Yaniv Machani
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Silently ignore repetitive scheduling of recovery work and commands
being passed to the bus when the HW is not available. This can happen
many times during recovery and slow it down. It also spams the kernel
logs.Signed-off-by: Arik Nemtsov
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Each AP has its own global and broadcast links, so when
checking for active sta count (according to the active_link_count)
we must take them all into account.Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
mac80211 unsets the default wep key on disassoc.
The fw doesn't support this notification, so simply
ignore it.The actual flow actually triggers fw recovery in some
cases, as mac80211 unsets the default key only after
disassoc, when wlvif->sta.hlid, resulting in invalid
hlid being passed to the fw.Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
12xx chips allow only OFDM rates in AP mode for BT-Coex purposes. This
is no longer required in 18xx chips, starting with FW 8.6.0.0.8.Update the min allowed FW version in 18xx to support this functionality.
Signed-off-by: Arik Nemtsov
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Stopping sched scan on interface removal (during recovery)
is no longer needed, as sched scanning is automatically
restarted by mac80211.Signed-off-by: Barak Bercovitz
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Send EAPOL frames with voice priority by setting (the new)
TX_HW_ATTR_EAPOL_FRAME bit in tx attribute.Sending EAPOL with voice priority fixes re-key
timeout issues during heavy traffic.Signed-off-by: Igal Chernobelsky
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Bump the min wl18xx fw version to 8.8.0.0.13
This fw is not backward compatible with older
firmware (due to api changes), so use bump
the firmware name as well.Some modifications were done to the driver-fw api
in order to support multiple APs.Additionally, some of the consts (such as max stations,
max links and max RX BA sessions) were changed.Signed-off-by: Arik Nemtsov
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Each hw supports a different iface combinations.
Define the supported combinations in each driver,
and save it in wl->iface_combinations.Since each driver defines its own combinations now,
it can also define its max supported channels, so
we no longer need to save and set it explicitly
in wlcore.Update wl18xx interface combinations to allow
multiple APs.Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Each hw supports a different max stations (connected to the
same ap). add a new wl->max_ap_stations and use it instead
of the current common AP_MAX_STATIONS.Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Upcoming fw versions will have different max links support
(according to the hw). Get ready for it by configuring
wl->num_links per-hw, instead of using the const WL12XX_MAX_LINKS.However, continue using WLCORE_MAX_LINKS in order to simplify
structs declarations (we use it in multiple bitmaps, and converting
them to dynamic arrays is just cumbersome).Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Instead of splitting the fw_status into 2 and using some
complex calculations, read the fw status and let each low-level
driver (wl12xx/wl18xx) convert it into a common struct.This is required for the upcoming fw api changes, which
break the current logic anyway.Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
It seems the wl18xx FW sometimes sends spurious changes on the PSM state
of the broadcast HLID. This causes us to search for a station on a
non-peer link and fail, causing warnings in our log.Prevent the driver from considering PSM changes for any non-peer HLIDs.
Signed-off-by: Arik Nemtsov
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
When the chip is in ELP mode read/write to FW is invalid and may cause
the lower layers to get stuck. The reads/writes concerning ELP wakeup
are the exception here and are checked for. In addition to blocking the
IO, produce a warning.Signed-off-by: Barak Bercovitz
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Sometimes a tx_flush during suspend fails, but the FW manages to flush
out the packets during the time when the host is supsended. Cancel
the Tx-watchdog on suspend to not cause a spurious recovery on resume
for that case. Set a flag to reinit the watchdog on the first Tx after
resume, so we'll still recover if the FW is not empty and there's
indeed a problem.Signed-off-by: Arik Nemtsov
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
zero rx_filter_enabled array after recovery to avoid
cases were the driver will keep trying to clear a
filter which is not configured in FW.Such case will cause consecutive recoveries due to
command execution failures.While on it, convert rx_filter_enabled to bitmap,
to save some memory and make sparse happy (it
doesn't like sizeof(bool array)).Signed-off-by: Nadim Zubidat
Signed-off-by: Eliad Peller
Signed-off-by: John W. Linville -
Use ieee80211_channel_to_frequency() to replace b43_channel_to_freq_{2,5}ghz(),
and remove unused b43_freq_to_channel_{2,5}ghz().Signed-off-by: ZHAO Gang
Signed-off-by: John W. Linville
13 Feb, 2014
7 commits
-
This patch adds key material V2 support to mwifiex.
Newer FW supports this feature and FW KEY API version is used
to determine which command structure needs to be used.Signed-off-by: Avinash Patil
Signed-off-by: Bing Zhao
Signed-off-by: John W. Linville -
This patch adds support to parse FW API version TLVs.
Currently only API version for key_material is supported.Signed-off-by: Avinash Patil
Signed-off-by: Bing Zhao
Signed-off-by: John W. Linville -
During deauthenticate/link lost event, disable all TDLS links as
TDLS would not work when infra connection is not active.
Also this will avoid an issue where ping to peer station doesn't
work after reassociation to AP where we had created TDLS link in
earlier association.Signed-off-by: Avinash Patil
Signed-off-by: Bing Zhao
Signed-off-by: John W. Linville -
If TDLS link is 11ac enabled i.e. we as well as peer station
supports VHT, configure seprate TX & RX window sizes during
BA setup. So even if BSS does not support 11ac, we can use VHT
capabilities and higher window sizes on direct link.Signed-off-by: Avinash Patil
Signed-off-by: Bing Zhao
Signed-off-by: John W. Linville -
During TDLS setup request/response, if HW is 11ac capable,
we add VHT Capability IEs in outgoing data frame. Also while
processing received setup request/response, we preserve peer's
11ac capability retrieved from IEs.Patch also gets VHT parameters from config_station handlers and
sets it to FW using TDLS config command.Signed-off-by: Avinash Patil
Signed-off-by: Bing Zhao
Signed-off-by: Amitkumar Karwar
Signed-off-by: John W. Linville -
This patch changes mwifiex_fill_vht_cap_tlv function to pass
struct ieee80211_vht_cap instead of mwifiex_ie_types_vhtcap
so that it can be used generically.Signed-off-by: Avinash Patil
Signed-off-by: Bing Zhao
Signed-off-by: John W. Linville -
This patch adds AMPDU support for TDLS link. We have set 11n
capabilities including AMPDU parameters during ENABLE_LINK.
We set a variable in RA list to indicate this as TDLS link.
This patch uses these capabilities to know if AMPDU is allowed
on TDLS link and enables AMPDU aggregation for TX and RX reording
support for RA list for this peer.Signed-off-by: Avinash Patil
Signed-off-by: Bing Zhao
Signed-off-by: John W. Linville