Michal Kazior michal.kaz...@tieto.com writes:
Why do we reset the firmware/NIC when we admin down/up the
vif (when a single vif is active)? Couldn't we just keep
the firmware active in this state and not risk lockup due
to reset?
If you put down last interface mac80211 calls drv_stop().
Make the phyerr structures more compact and easier
to understand. Also add constness.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/spectral.c | 34 ---
drivers/net/wireless/ath/ath10k/spectral.h | 8 +--
drivers/net/wireless/ath/ath10k/wmi.c
Firmware reports the number of RF chains so use
that for initialization of supp_{tx,rx}_chainmask
instead of using a macro for 3x3 chips.
This should make tx/rx chainmask reports correct
for chips other than 3x3.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
This command is not used anymore and most firmware
revisions do not seem to handle it well. Channel
switching is done via vdev restarting.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/wmi.c | 36 ---
The logic responsible for processing the event is
no different across different firmware binaries.
The difference that needs to be dealt with is the
ABI of data structures.
The intermediate structure uses __le32 to avoid
extra memory allocations to byteswap
variable-length substructures (i.e.
This gets rid of the ugly scan structure building
and uses a saner way to do it.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/wmi.c | 191 ++
drivers/net/wireless/ath/ath10k/wmi.h | 100 +++---
2 files
Init functions should be placed at the end of
files in most cases to avoid forward declarations
for static functions.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/wmi.c | 77 +--
1 file changed, 38 insertions(+), 39
Simplify the code by deduplicating structure
definitions and code.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/wmi.c | 103 +-
drivers/net/wireless/ath/ath10k/wmi.h | 30 +++---
2 files changed, 34 insertions(+),
Hi,
This adds extra prints and information for
debugging purposes.
Michal Kazior (3):
ath10k: print wmi version info
ath10k: dump hex bytes with dev string prefix
ath10k: add debug dump for pci rx
drivers/net/wireless/ath/ath10k/debug.c | 29 ++---
This makes it easier to debug the device-target
communication at a very low level.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/pci.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/pci.c
HTT version is already printed so print WMI
version as well for consistency.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/debug.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/debug.c
On 09/18/2014 12:31 AM, Kalle Valo wrote:
Michal Kazior michal.kaz...@tieto.com writes:
Why do we reset the firmware/NIC when we admin down/up the
vif (when a single vif is active)? Couldn't we just keep
the firmware active in this state and not risk lockup due
to reset?
If you put down
On 09/18/2014 06:21 AM, Michal Kazior wrote:
Firmware reports the number of RF chains so use
that for initialization of supp_{tx,rx}_chainmask
instead of using a macro for 3x3 chips.
This should make tx/rx chainmask reports correct
for chips other than 3x3.
diff --git
13 matches
Mail list logo