Hi,
something to clarify about mac80211 behaviour:
gree...@candelatech.com writes:
This lets the mac80211 stack use the proper ht-caps when
negotiating with the peer. Note that all vdevs are guaranteed
to be down when antenna changes, so we can set the ht_caps
without worrying about
The usb gadget driver net2280 has exported a header file with the
register definition of the net2280 chip.
Remove the custom/duplicated header file in favor of that header file
in include/linux
Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com
---
Kalle Valo kv...@qca.qualcomm.com writes:
@@ -2537,6 +2560,17 @@ static int __ath10k_set_antenna(struct ath10k *ar,
u32 tx_ant, u32 rx_ant)
ar-cfg_tx_chainmask = tx_ant;
ar-cfg_rx_chainmask = rx_ant;
+ht_cap = ath10k_get_ht_cap(ar, true);
+vht_cap =
Vivek Natarajan natar...@qti.qualcomm.com writes:
For FCC and JP, in one of the radar patterns, PPB and PRF seems to be
interchanged leading to frequent incorrect radar detections.
Signed-off-by: Vivek Natarajan natar...@qti.qualcomm.com
---
drivers/net/wireless/ath/dfs_pattern_detector.c
Increase the rts threshold from the legacy value of 2347 to support higher
threshold limit.
Signed-off-by: Vivek Natarajan natar...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/mac.c |6 +-
drivers/net/wireless/ath/ath10k/wmi.h |1 -
2 files changed, 1 insertion(+), 6
For FCC and JP, in one of the radar patterns, PPB and PRF seems to be
interchanged leading to frequent incorrect radar detections.
Signed-off-by: Vivek Natarajan natar...@qti.qualcomm.com
---
drivers/net/wireless/ath/dfs_pattern_detector.c |4 ++--
1 file changed, 2 insertions(+), 2
Hi Johannes,
We are noticing a issue in updating the multicast frame statistics.
Though mac80211 explicitly sets the IEEE80211_TX_CTL_NO_ACK, it checks
IEEE80211_TX_STAT_ACK to increment the frame count. So, for multicast
frames, is the driver expected to set this STAT_ACK if the frame is
This prevents warning spamming if peer creation
fails during sta_state in some cases.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/mac.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/mac.c
The var was supposed to be protected by data_lock
but it wasn't so in all instances. It's actually
not necessary to have a spinlock protected
num_peers so drop it.
All instances of num_peers are already within
conf_mutex sections so use that.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
The number of peers isn't directly translatable to
the number of stations because ath10k needs to
reserve a few extra peers for special cases like
multi-vif concurrency.
The previous limit was 126 and 15 stations in AP
mode for 10.x and main firmware branches
respectively. The limit is now 128
Yanbo Li yan...@qti.qualcomm.com writes:
The debugfs interface reg_addrreg_val used to read and write the target
register.
The interface mmem_val used to dump the targer memory and also can be
used to assign value to target memory
The basic usage explain as below:
Register read/write:
On 24 November 2014 at 14:50, Kalle Valo kv...@qca.qualcomm.com wrote:
Yanbo Li yan...@qti.qualcomm.com writes:
[...]
+ spin_lock_bh(ar-data_lock);
+ reg_addr = ar-debug.reg_addr;
+ spin_unlock_bh(ar-data_lock);
[...]
+ spin_lock_bh(ar-data_lock);
+ ar-debug.reg_addr =
New firmware revisions don't need peer creation
when doing offchannel tx. Earlier revisions would
queue and never release frames without a peer.
This prevent new firmware revisions from stopping
replenishing wmi-htc tx credits and improves
reliability of offchannel tx which would sometimes
Johannes Berg johan...@sipsolutions.net writes:
There are better ways to get the kernel information, use the
utsname and omit the version code entirely since it's duplicate.
The version magic is rather useless anyway
Signed-off-by: Johannes Berg johan...@sipsolutions.net
Thanks, applied.
Comment was out-of-date. The headroom is no longer
necessary because HTT Tx fragment list is stored
in dma pool item associated with each sk_buff.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/mac.c | 4
1 file changed, 4 deletions(-)
diff --git
gree...@candelatech.com writes:
From: Ben Greear gree...@candelatech.com
There are not many of these messages producted by the
firmware, but they are generally fairly useful, so print
them at info level.
Signed-off-by: Ben Greear gree...@candelatech.com
Thanks, applied. Though I did
This will make it possible to easily support
different hardware with different uart pin
configuration.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/core.c | 3 ++-
drivers/net/wireless/ath/ath10k/core.h | 1 +
2 files changed, 3 insertions(+), 1
This makes it easier to extend the list of
supported hardware.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/core.c | 8 +---
drivers/net/wireless/ath/ath10k/core.h | 2 ++
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git
Hi John,
I have a big batch here. New features were unblocked by the merge a
few patches in mac80211-next.git and I was away for 2 weeks.
I plan to have another pull request for wireless-next before the merge
window opens.
Details below - please pull.
Thanks,
The following changes since commit
From: Liad Kaufman liad.kauf...@intel.com
Even if running the driver with param init_dbg=1 - on INIT
image error - iwl_trans_stop_device() was still called. This
patch fixes that and calls iwl_trans_stop_device() on INIT
image failure only if init_dbg=0.
Signed-off-by: Liad Kaufman
From: Johannes Berg johannes.b...@intel.com
The status variable should be unsigned as the function call
requires a u32 not int pointer, fix that.
Signed-off-by: Johannes Berg johannes.b...@intel.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
From: Luciano Coelho luciano.coe...@intel.com
Refactor the temperature handling code so that it is easier to reuse
it with other notification flows.
Signed-off-by: Luciano Coelho luciano.coe...@intel.com
Reviewed-by: Johannes Berg johannes.b...@intel.com
Signed-off-by: Emmanuel Grumbach
From: Eyal Shapira e...@wizery.com
When Tx STBC is being used and RS switches to a search column
using the alternate antenna from the current one there is a
problem with using rs_rate_match to figure out which table
is the active and which one is the search one. The root cause
is because in STBC
From: Luciano Coelho luciano.coe...@intel.com
Currently, the firmware only sends temperature notificaitions inside
RX statistics notifications, which are tied to beacon filtering. This
is a problem because beacon filtering is not used with vifs that don't
receive beacons (e.g. P2P GO and AP), so
From: Emmanuel Grumbach emmanuel.grumb...@intel.com
This is fully backward compatible with older platforms.
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
drivers/net/wireless/iwlwifi/iwl-csr.h| 4
drivers/net/wireless/iwlwifi/pcie/trans.c | 3 +++
2 files changed, 7
From: Arik Nemtsov a...@wizery.com
Send a dedicated TDLS_CONFIG command when a TDLS peer joins/leaves. The
fields for the command are mostly place-holders, as most of the FW
functionality is not implemented. In the future the dedicated FW TID
will be used for channel-switching and buffer-sta
From: Johannes Berg johannes.b...@intel.com
When we pre-populate the skb-head for the stack, we only pull
in the 802.11 header including crypto (assuming the packet isn't
short enough to be in there completely.) This is fine, but in
ieee80211_data_to_8023() we later unconditionally pull 8 more
From: Arik Nemtsov a...@wizery.com
The driver/FW combination now support TDLS.
Check the FW support with the TLV bit.
Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
drivers/net/wireless/iwlwifi/iwl-debug.h| 3 ++-
From: Emmanuel Grumbach emmanuel.grumb...@intel.com
We were toggling the wrong bit when we reset the device,
fix that. Moreover, since the reset can take time, we need
to wait before we set the rfkill interrupt. Not doing so
can be racy since the driver is enabling the rfkill
interrupt while the
From: David Spinadel david.spina...@intel.com
LMAC TLV bit may be on in FWs that support UMAC scan; so check
for UMAC TLV bit first.
Signed-off-by: David Spinadel david.spina...@intel.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
This will make it easier to extend and maintain
list of supported hardware.
As a requirement this moves chip_id checking a
little later because target_version isn't known
until BMI can be queried.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/core.c |
From: Eliad Peller el...@wizery.com
Signed-off-by: Eliad Peller eliadx.pel...@intel.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
drivers/net/wireless/iwlwifi/iwl-8000.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/iwlwifi/iwl-8000.c
From: Luciano Coelho luciano.coe...@intel.com
We need to send a WOWLAN_CONFIGURATION command also for netdetect and
configure the rfkill release trigger if needed. To do so, refactor
the code that configures wowlan and netdetect when suspending and send
the WOWLAN_CONFIGURATION command also for
From: Arik Nemtsov a...@wizery.com
In case of channel switch, we need to teardown the TDLS peers.
Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
drivers/net/wireless/iwlwifi/mvm/mac80211.c | 3 +++
1 file changed, 3
From: Arik Nemtsov a...@wizery.com
Maintain a TDLS channel-switch state and update it according to
notifications from FW and timeouts. Explicitly check all state
transitions are valid.
When switching is initiated by mac80211, use a delayed work to
periodically reschedule it from iwlwifi.
Give the
From: Luciano Coelho luciano.coe...@intel.com
Refactor the iwl_mvm_query_wakeup_reasons() function to split the part
that gets the firmware status from the part that sets up the WoWLAN
status. This will allow netdetect to reuse the code.
Signed-off-by: Luciano Coelho luciano.coe...@intel.com
From: Luciano Coelho luciano.coe...@intel.com
Disable PS when pre_channel_switch is called and add the
post_channel_switch operation to re-enable PS when the channel switch
is completed.
Signed-off-by: Luciano Coelho luciano.coe...@intel.com
---
drivers/net/wireless/iwlwifi/mvm/mac80211.c | 28
From: Luciano Coelho luciano.coe...@intel.com
When the device wakes up due to netdetect, we need to query different
things from the firmware than when it wakes up with a normal WoWLAN.
To make this easier, separate the netdetect wake up handling from the
rest. For now, we don't send netdetect as
From: Eyal Shapira e...@wizery.com
The driver knows whether an rx frame was beamformed and marks
it in the radiotap VHT flags. However it should also declare
that it knows to extract this info otherwise this gets discarded
by sniffers like Wireshark.
Signed-off-by: Eyal Shapira
From: Luciano Coelho luciano.coe...@intel.com
We have code to recover and go back to the original channel context if
something fails in the middle of switch_vif_chanctx, but we return the
error code of the recover calls instead of the original code, so if
the recovery succeeds, we will return 0
From: Oren Givon oren.gi...@intel.com
Add a new SDIO card id intended for the new 4165 series.
Signed-off-by: Oren Givon oren.gi...@intel.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
drivers/net/wireless/iwlwifi/iwl-8000.c | 15 +++
From: Luciano Coelho luciano.coe...@intel.com
We only need the csa_vif in AP/GO modes, and assigning for other
interfaces may cause problems, because csa_vif is never cleared. To
prevent this, only assign the value if the iftype is
NL80211_IFTYPE_AP. Use a switch to do this, even though, for
From: Chaya Rachel Ivgy chaya.rachel.i...@intel.com
Add support to MFUART loading notification (print notification
data with IWL_DEBUG_INFO)
Signed-off-by: Chaya Rachel Ivgy chaya.rachel.i...@intel.com
Reviewed-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
Signed-off-by: Emmanuel Grumbach
From: Luciano Coelho luciano.coe...@intel.com
If setting the CSA time event fails, we must clear the TE data,
otherwise we'll try to remove it when, for instance, a disconnection
occurs, causing a SYSASSERT.
Signed-off-by: Luciano Coelho luciano.coe...@intel.com
---
From: Luciano Coelho luciano.coe...@intel.com
Instead of using a hardcoded number of TUs before beacon 0 as the time
to start the absence and actual channel switch, calculate it in
relation to the beacon interval. We use 10 TUs + beacon interval
before beacon 0 to target a bit before beacon 1.
From: Luciano Coelho luciano.coe...@intel.com
Add the net detect WoWLAN flag to indicate support and use the
nd_config from the WoWLAN configuration to start net detect, if it is
set. The WoWLAN configuration takes precedence over the debugfs
configuration.
Signed-off-by: Luciano Coelho
From: Luciano Coelho luciano.coe...@intel.com
Add support to reassign vif in switch_vif_chanctx. This is similar to
the existing CHANCTX_SWMODE_SWAP_CONTEXTS mode, but doesn't delete the
old context nor creates a new one, doing to switch between two
existing contexts.
Signed-off-by: Luciano
From: Emmanuel Grumbach emmanuel.grumb...@intel.com
Also update the timeout for the data verification.
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
drivers/net/wireless/iwlwifi/iwl-prph.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
From: Eliad Peller el...@wizery.com
Add suspend/resume trans ops that will be called from
mac80211's suspend/resume ops.
Signed-off-by: Eliad Peller eliadx.pel...@intel.com
Reviewed-by: Johannes Berg johannes.b...@intel.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
From: Luciano Coelho luciano.coe...@intel.com
After a channel switch, transmission on the new channel is only
started once we see a beacon on it. Thus, beacon filtering needs to
be disabled during channel switch so that mac80211 receives this
beacon and finishes the process.
Signed-off-by:
From: Arik Nemtsov a...@wizery.com
When TDLS peers are present the FW will send packets on a dedicated
TID vs. the peer when performing TDLS channel-switches. The driver
configures the TID on connection to the peer and the FW is responsible
for maintaining the state of QoS seqno and PN/IV for
From: Johannes Berg johannes.b...@intel.com
When we pre-populate the skb-head for the stack, we only pull
in the 802.11 header (assuming the packet isn't short enough to
be in there completely.) This is fine, but in many cases we'll
pull in the crypto headers pretty much immediately afterwards,
From: Johannes Berg johannes.b...@intel.com
Instead of building the rx_status on the stack and then
copying it to the skb, allocate the skb a bit earlier
and then build the rx_status in place.
Signed-off-by: Johannes Berg johannes.b...@intel.com
Reviewed-by: IdoX Yariv i...@wizery.com
From: Arik Nemtsov a...@wizery.com
When adding a TDLS station, allocate 4 new queues for it. Configure them
to FW and enable them. On station removal, drain the queues if needed
and disable them when empty.
Make sure to flush all packets in the private queues of TDLS stations in
the mac80211
From: Luciano Coelho luciano.coe...@intel.com
Currently we only support the CHANCTX_SWMODE_SWAP_CONTEXTS mode, but
we need to support other modes as well. Spin a new function off in
order to make it easier to support other modes.
Signed-off-by: Luciano Coelho luciano.coe...@intel.com
---
From: Eyal Shapira e...@wizery.com
The fw now indicates missing BA with ampdu_ack_len=0.
This will make the whole aggregation being marked
as failed, although it's most likely not the case (and
only the BA itself was failed).
Consider this case as a single tx failure.
Signed-off-by: Eyal
From: Eliad Peller el...@wizery.com
There is no reason to pass every 50th beacon if
nothing was changed.
Signed-off-by: Eliad Peller eliadx.pel...@intel.com
Reviewed-by: Johannes Berg johannes.b...@intel.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
From: Avri Altman avri.alt...@intel.com
Our firmware scheduler suffers from false wake-up on 500 time units.
that is if the dtim interval exceeds 500 time units, the fw wakes up,
understands that the next wake-up event is still ahead, and if this event
is more than 10msec in the future - goes
From: Johannes Berg johannes.b...@intel.com
Refactor the key add/remove functions to be able to reuse parts
of them later for RX WEP keys, which need to be uploaded twice.
Signed-off-by: Johannes Berg johannes.b...@intel.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
From: Luciano Coelho luciano.coe...@intel.com
Instead of allocating nd_ies separately, make it part of the iwl_mvm
structure so it's easier to handle its lifetime.
Signed-off-by: Luciano Coelho luciano.coe...@intel.com
Reviewed-by: Johannes Berg johannes.b...@intel.com
Signed-off-by: Emmanuel
From: Luciano Coelho luciano.coe...@intel.com
Add an absent time event when pre_channel_switch is called and use the
time event started indication to set the disable_tx bit instead of
doing it in unassign_vif(). This is done so that the firmware queues
are stopped before the actual switch takes
From: Arik Nemtsov a...@wizery.com
Add a channel-switch command and a switch-start notification. Also add a
FW TLV bit indicating TDLS channel switching support.
Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com
Reviewed-by: Johannes Berg johannes.b...@intel.com
Signed-off-by: Emmanuel
From: Johannes Berg johannes.b...@intel.com
Identify 7265-D devices using the hardware revision (they have the
same PCI IDs as 7265) and change the configuration for them taking
the differences (currently only the firmware image) into account.
Signed-off-by: Johannes Berg johannes.b...@intel.com
From: Arik Nemtsov a...@wizery.com
TDLS stations will have private queues, so consider them as well when
allocating a new one. Consolidate the HW-queue iterating code into
a single exported function, to be used by the TDLS code in the future.
Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com
From: Luciano Coelho luciano.coe...@intel.com
A new callback has been added to prepare the device for a channel
switch. Use the new callback instead of the old channel_switch_beacon
operation.
This makes it possible to remove the channel_switch_beacon operation
from mac80211.
Signed-off-by:
From: Liad Kaufman liad.kauf...@intel.com
Block TID 4 (VI) on a vif when using TDLS. This TID will be used by FW
for TDLS channel-switch requests and PTI requests.
Signed-off-by: Liad Kaufman liad.kauf...@intel.com
Signed-off-by: Arik Nemtsov arikx.nemt...@intel.com
Reviewed-by: Johannes Berg
From: Eliad Peller el...@wizery.com
When aborting d0i3 due to taken refs, other threads might
already wait on d0i3_exit_waitq for IWL_MVM_STATUS_IN_D0I3
to get cleared (it's somewhat likely, as synchronize_rcu()
might take a while), so make sure to wake them up.
Signed-off-by: Eliad Peller
From: Emmanuel Grumbach emmanuel.grumb...@intel.com
After the corresponding mac80211 patch, we can now report the airtime
used for each transmitted packet and mac80211 will be able to implement
WMM-AC with that information.
To support WMM-AC in the driver then, report the airtime and advertise
From: Eyal Shapira e...@wizery.com
This was taken care of in case we're doing STBC with HT
but not when working with VHT.
Signed-off-by: Eyal Shapira eyalx.shap...@intel.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
drivers/net/wireless/iwlwifi/mvm/rs.c | 2 +-
1 file
From: Emmanuel Grumbach emmanuel.grumb...@intel.com
The TTC and RRC features are supported by the newer
firmwares. It allows to reach better overall WiFi and BT
performance. When the RRC is enabled, we don't need to force
the AP to send SISO frames, but it can keeps sending MIMO
frames.
From: Johannes Berg johannes.b...@intel.com
The variable 'tid' is already defined in this function, so use
just 't' for the new one. As we return from the function just
overwriting 'tid' would be acceptable, but less obvious to the
reader.
Signed-off-by: Johannes Berg johannes.b...@intel.com
From: Eran Harary eran.har...@intel.com
Add two new parameters to iwl_cfg:
max_ht_ampdu_exponent and max_vht_ampdu_exponent.
These parameters, if set, will set new values to the maximum of
HT and VHT A-MPDU exponent for the A-MPDU length exponent.
Signed-off-by: Eran Harary eran.har...@intel.com
From: Emmanuel Grumbach emmanuel.grumb...@intel.com
When we need only one antenna, we should refrain from using
the antenna that is shared with BT if BT load is high.
Fix this.
Reviewed-by: Eyal Shapira e...@wizery.com
Signed-off-by: Emmanuel Grumbach emmanuel.grumb...@intel.com
---
From: Emmanuel Grumbach emmanuel.grumb...@intel.com
In some rare cases, the firmware can put the device to
sleep after the driver requested the access. This is
because the access request can take a short time to be
propagated to the firmware.
If that happens, the driver may think that it has
Some firmware revisions don't seem to deilver
management frames with FCS error via WMI so narrow
down the HTT rule to not drop corrupted management
frames.
This basically increases number of frames ath10k
reports while sniffing.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
From: Eliad Peller el...@wizery.com
Other contexts might call iwl_mvm_ref_sync() right before
we set IWL_MVM_STATUS_IN_D0I3, and then assume the fw/bus
is not in d0i3 state.
However, since we currently don't check for held references
in the d0i3_enter flow, we might enter d0i3 although there
is
From: Avri Altman avri.alt...@intel.com
The driver must set the keep alive period regardless of power
management state. The keep alive period must be greater or equal to
both the NIC's maximum sleep period, and the listen interval.
However, we were confusing time units (TU) and msec, so fix that.
From: David Spinadel david.spina...@intel.com
This API uses second CPU scan commands, and can support multiple
simultaneous scans.
Adding the new API, and adding new mechanisms to deal with up to
8 simultaneous scans instead of the old scan status.
New scan API requires scan configuration for
Sujith Manoharan suj...@msujith.org writes:
From: Sujith Manoharan c_man...@qca.qualcomm.com
When static keys are used in shared WEP, when a
station is associated, message 3 is sent with an
encrypted payload. But, for subsequent
authentications that are triggered without a
deauth, the auth
Sujith Manoharan suj...@msujith.org writes:
From: Sujith Manoharan c_man...@qca.qualcomm.com
peer-keys needs to be protected by data_lock
since it is also accessed from the WMI path.
Both install() and clear() routines for peer
keys modify the key contents, so use the data_lock
to avoid
Ben Greear gree...@candelatech.com writes:
On 11/22/2014 07:28 AM, Kalle Valo wrote:
gree...@candelatech.com writes:
From: Ben Greear gree...@candelatech.com
There are not many of these messages producted by the
firmware, but they are generally fairly useful, so print
them at info level.
Yanbo Li yan...@qti.qualcomm.com writes:
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -22,6 +22,7 @@
#include linux/vmalloc.h
#include core.h
+#include hif.h
#include debug.h
#include hif.h
hif.h is now included twice.
Let me send
From: Johannes Berg johannes.b...@intel.com
This reverts commit c17aa52c5bf571533cc8561292f7316b9216eddc.
It was wrong, IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ
already implies that 160 MHz is supported, as it isn't a bitmap
but rather a value in a 2-bit field.
Signed-off-by: Johannes
From: Johannes Berg johannes.b...@intel.com
The supported bandwidth field is a two-bit field, not a bitmap,
so treat it accordingly when disabling 80+80 or 160 MHz.
Note that we can only advertise 80+80 and 160 or 160, not
80+80 by itself, so disabling 160 also disables 80+80.
Signed-off-by:
From: Yanbo Li yan...@qti.qualcomm.com
Add mem_val debugfs file for dumping the firmware (target) memory and also for
writing to the memory. The firmware memory is accessed through one file which
uses position of the file as the firmware memory address. For example, with dd
use skip parameter for
From: Yanbo Li yan...@qti.qualcomm.com
Debugfs files reg_addr and reg_val are used for reading and writing to the
firmware (target) registers. reg_addr contains the address to be accessed,
which also needs to be set first, and reg_value is when used for reading and
writing the actual value in
Kalle Valo kv...@qca.qualcomm.com writes:
+ ret = copy_from_user(buf, user_buf, count);
+ if (ret)
+ goto err_free_copy;
+
+ ret = ath10k_hif_diag_write(ar, *ppos, buf, count);
+ if (ret) {
+ ath10k_warn(ar, failed to write address 0x%08x via
Fixes a crash in nl80211_send_chandef, introduced in
commit c12bc4885f4b3bab0ed779c69d5d7e3223fa5003
mac80211: return the vif's chandef in ieee80211_cfg_get_channel()
Signed-off-by: Felix Fietkau n...@openwrt.org
---
net/mac80211/chan.c | 23 +++
net/mac80211/iface.c | 1 +
This patch series fixes two issues in the Makefiles for different
rtlwifi drivers.
The first one lead to object files for the drivers always being
included in obj-m even if the corresponding Kconfig option is set to
'y'.
The second one is likely to be a copy-and-paste mistake, which
prevents
In four of the rtlwifi drivers, the Makefile contains superfluous
statements indicating the compilation of the driver as an LKM
regardless of the corresponding Kconfig option.
If the corresponding option is set to 'y', the build system will then
see the object file in obj-m and obj-y, which leads
On Mon, Nov 24, 2014 at 04:34:02PM +0200, Emmanuel Grumbach wrote:
Hi John,
I have a big batch here. New features were unblocked by the merge a
few patches in mac80211-next.git and I was away for 2 weeks.
I plan to have another pull request for wireless-next before the merge
window opens.
On Sun, Nov 23, 2014 at 09:56:23PM +0200, Emmanuel Grumbach wrote:
Hi John,
I have a trivial patch for 3.18. details below.
Thanks!
The following changes since commit 87dd634ae72bb8f6d0dd12f1cbbc67c7da6dba3b:
iwlwifi: pcie: fix prph dump length (2014-11-11 07:24:57 +0200)
are
On 11/24/2014 02:53 AM, Kalle Valo wrote:
Kalle Valo kv...@qca.qualcomm.com writes:
@@ -2537,6 +2560,17 @@ static int __ath10k_set_antenna(struct ath10k *ar,
u32 tx_ant, u32 rx_ant)
ar-cfg_tx_chainmask = tx_ant;
ar-cfg_rx_chainmask = rx_ant;
+ ht_cap = ath10k_get_ht_cap(ar,
Add TX power per-rate tables for different MIMO modes (e.g STBC) in order to
cap the maximum TX power value per-rate in the TX descriptor path.
Cap TX power for self generated frames (ACK, RTS/CTS).
Currently TPC is supported just by AR9003 based chips
Signed-off-by: Lorenzo Bianconi
This patchset adds TPC capability to ath9k for AR9003 based chips. For the time
being some FCC checks are missing in ar9003_hw_init_txpower_stbc() and CDD mode
is not supported.
*[PATCH 1/2]: add TX power per-rate tables to cap TX power in TX descriptor path
*[PATCH 2/2]: cap per-packet TX power
Add TPC capability to TX descriptor path. Cap per-packet TX power according to
TX power per-rate tables. Currently TPC is supported just by AR9003 based chips
Signed-off-by: Lorenzo Bianconi lorenzo.biancon...@gmail.com
---
drivers/net/wireless/ath/ath9k/ar9002_mac.c | 8 +++
Kalle Valo wrote:
No magic numbers, please. I didn't find anything for IV internals from
ieee80211.h, not sure if we should add them there or just use ath10k
internal defines.
We are just retrieving the keyidx from the IV - not sure adding a couple
of macros for 6 and 3 will make any
Sujith Manoharan suj...@msujith.org writes:
Kalle Valo wrote:
No magic numbers, please. I didn't find anything for IV internals from
ieee80211.h, not sure if we should add them there or just use ath10k
internal defines.
We are just retrieving the keyidx from the IV - not sure adding a
From: Sujith Manoharan c_man...@qca.qualcomm.com
peer-keys needs to be protected by data_lock
since it is also accessed from the WMI path.
Both install() and clear() routines for peer
keys modify the key contents, so use the data_lock
to avoid races.
Signed-off-by: Sujith Manoharan
From: Sujith Manoharan c_man...@qca.qualcomm.com
ath10k_tx_wep_key_work() acquires conf_mutex, so
cancelling it when conf_mutex is already taken
in ath10k_remove_interface() is incorrect, so
move it outside the lock.
Snippet from the lockdep report:
kernel:
100 matches
Mail list logo