From: Igor Mitsyanko
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c
b/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c
index 501ece3..062189b 100644
-
From: Igor Mitsyanko
It is no longer used.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/commands.c | 1 -
drivers/net/wireless/quantenna/qtnfmac/core.h | 5 -
drivers/net/wireless/quantenna/qtnfmac/event.c| 2 --
3 files changed, 8 deletions(-)
diff --g
From: Igor Mitsyanko
Introduce chandef TLV and pass it to wireless card on start_ap
command processing.
No need to cache chandef in driver private structure as it is
not used anywhere.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 9 --
drivers/net
From: Igor Mitsyanko
QTNF_STATE_AP_CONFIG is redundant and has no real meaning.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 8
drivers/net/wireless/quantenna/qtnfmac/commands.c | 3 ---
drivers/net/wireless/quantenna/qtnfmac/core.h | 1 -
From: Igor Mitsyanko
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/event.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/wireless/quantenna/qtnfmac/event.c
b/drivers/net/wireless/quantenna/qtnfmac/event.c
index 9befc9f..b2f6410 100644
--- a/drive
From: Igor Mitsyanko
Encryption info is a constant part of STA settings, no point
to pass it as an optional TLV.
Remove QTN_TLV_ID_CRYPTO type as it's not used anymore.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/commands.c | 42 ++-
drivers/net
From: Igor Mitsyanko
Linux Wireless device structure already has required info.
Since driver's info is not used anymore, remove it.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 7 ++-
drivers/net/wireless/quantenna/qtnfmac/core.h | 1 -
drivers/
From: Igor Mitsyanko
Supported WiFi operation modes are now identified per-band based on
HT/VHT capabilities of each band.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 3 ---
drivers/net/wireless/quantenna/qtnfmac/commands.c | 1 -
drivers/net/wireles
From: Igor Mitsyanko
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 2 +-
drivers/net/wireless/quantenna/qtnfmac/commands.c | 5 +++--
drivers/net/wireless/quantenna/qtnfmac/commands.h | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/
From: Igor Mitsyanko
Include HT/VHT caps directly into command so that they won't have
to be searched for in IEs.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/commands.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/net/wireless/qua
From: Igor Mitsyanko
HT/VHT capabilities must be reported per each band supported on a radio,
not for all bands on a radio. Furthermore, driver better not assume
any capabilities and just use whetever is reported by device itself.
To support this, convert "get channels" command into "get band in
From: Igor Mitsyanko
Current logic artificially divides "start AP" procedure into three
stages:
- generic interface configuration (security, channel etc)
- IE's processing
- enable AP mode on interface
This separation would not allow to do a proper device configuration as
first stage needs to us
From: Igor Mitsyanko
This cached state is unused, except for BSSID that we will keep.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 39 --
drivers/net/wireless/quantenna/qtnfmac/commands.c | 49 +++
drivers/net/wireles
From: Igor Mitsyanko
"IE set" TLV carries the same information as
qlink_event_scan_result::frame_type. Convert the event to make use of
TLV and drop frame_type member.
While at it, make qlink_event_scan_result structure alignement-safe.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/qu
From: Igor Mitsyanko
There are no HT/VHT capabilities in cfg80211_ap_settings::beacon_ies,
these should be looked for in beacon's tail instead.
Signed-off-by: Igor Mitsyanko
---
net/wireless/nl80211.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/wireless/nl80211.
From: Igor Mitsyanko
Information on which HT/VHT capabilities can be overridden is reported
per-MAC by wireless device.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 2 ++
drivers/net/wireless/quantenna/qtnfmac/commands.c | 7 ---
drivers/net/wireles
From: Igor Mitsyanko
Data contained within "Append IEs" command (QLINK_CMD_MGMT_SET_APPIE)
duplicates QTN_TLV_ID_IE_SET TLV. Conver the command to use that TLV
instead.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 12 ++--
drivers/net/wireless/q
From: Igor Mitsyanko
Specifying frame type for "IE set" TLV will allow to use several
TLVs in a single message.
Modify users accordingly.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/commands.c | 25 +++---
drivers/net/wireless/quantenna/qtnfmac/event.c| 58
From: Igor Mitsyanko
It is never used for anything useful, and all logic is handled by
either WiFi card or higher layers.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 12
drivers/net/wireless/quantenna/qtnfmac/commands.c | 2 --
drivers/ne
From: Igor Mitsyanko
Specifically, following parameters are needed for wireless device
configuration but were not available to it before:
- HT/VHT capabilities and capabilities masks.
- full channel info (not just IEEE number)
- BSSID hint
- previous BSSID for reassoc request
Move Management Fra
From: Igor Mitsyanko
This makes no sense because real operational channel is choosen based
on AP operation, not on what STA is configured to.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 14 --
drivers/net/wireless/quantenna/qtnfmac/commands
From: Igor Mitsyanko
QTNF_STATE_AP_START usage is redundant and imposes additional state
synchronization maintenance. We may as well leave state checking up
to network card and upper layers (cfg80211, nl80211 and userspace).
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnf
From: Igor Mitsyanko
Do not try to cache current operational channel info in driver, this
is a potential source of synchronization issues + driver does not
really need that info.
Introduce GET_CHANNEL command and process it appropriately.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless
From: Igor Mitsyanko
Cached AP setings are passed to WiFi card right away and never used.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 17 +
drivers/net/wireless/quantenna/qtnfmac/commands.c | 46 +++
drivers/net/wireless/qua
From: Igor Mitsyanko
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna/qtnfmac/qlink.h | 16
drivers/net/wireless/quantenna/qtnfmac/qlink_util.c | 16
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/drivers/net/wireless/quan
From: Igor Mitsyanko
"struct cfg80211_ap_settings" provides more information for AP mode
configuration that is currently being passed on to network card
for processing.
Modify QLINK command to pass all AP settings. Make most of settings
a constant part of "config AP" command instead of passing it
From: Igor Mitsyanko
Specifically, it has to report center frequency, secondary center
frequency (for 80+80) and BW.
Introduce channel definition structure to qlink and modify channel
change event processing function accordingly.
Signed-off-by: Igor Mitsyanko
---
drivers/net/wireless/quantenna
From: Igor Mitsyanko
This patchset has a goal to make operational parameters (channel, BW,
HT/VHT capabilities) configuration possible for qtnfmac driver.
Basically the idea is to make driver level as thin as possible, and let
everything to be handled by userspace/nl80211 and wireless device itse
Removed whitespaces and added necessary tabs conforming to coding style.
Issue found using checkpatch.pl
Signed-off-by: Himanshu Jha
---
net/wireless/chan.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/wireless/chan.c b/net/wireless/chan.c
index b8aa5a7..13c95e5
In commit 9f5bcfe93315 ("ath10k: silence firmware file probing
warnings") the firmware loading was changed from request_firmware() to
request_firmware_direct() to silence some warnings in case it fails.
request_firmware_direct() directly searches in the file system only and
does not send a hotplug
On Thu, 2017-08-24 at 21:56 +0200, Jiri Kosina wrote:
> On Thu, 24 Aug 2017, Luca Coelho wrote:
>
> > > Work queues cannot be allocated when a mutex is held because the mutex
> > > may be in use and that would make it sleep. Doing so generates the
> > > following splat with 4.13+:
> > >
> > > [
On Thu, 24 Aug 2017, Luca Coelho wrote:
> > Work queues cannot be allocated when a mutex is held because the mutex
> > may be in use and that would make it sleep. Doing so generates the
> > following splat with 4.13+:
> >
> > [ 19.513298] ==
On 08/24/2017 05:08 AM, Dan Carpenter wrote:
Smatch is distrustful of the "capab" value and marks it as user
controlled. I think it actually comes from the firmware? Anyway, I
looked at other drivers and they added a bounds check and it seems like
a harmless thing to have so I have added it her
On Thu, Aug 24, 2017 at 09:13:42AM +0200, Sven Eckelmann wrote:
> On Mittwoch, 23. August 2017 15:52:40 CEST Seth Forshee wrote:
> [...]
> > > +# Source
> > > +#
> > > https://www.imda.gov.sg/~/media/imda/files/regulation%20licensing%20and%20consultations/ict%20standards/telecommunication%20standa
On 08/24/2017 07:14 AM, Kalle Valo wrote:
Dan Carpenter writes:
Smatch is distrustful of the "capab" value and marks it as user
controlled. I think it actually comes from the firmware? Anyway, I
looked at other drivers and they added a bounds check and it seems like
a harmless thing to have
On 08/24/2017 02:07 AM, Kalle Valo wrote:
> ryan...@qti.qualcomm.com wrote:
>
>> From: Ryan Hsu
>>
>> In napi_poll, the budget number is used to control the amount of packets
>> we should handle per poll to balance the resource in the system.
>>
>> In the list of the amsdu packets reception, we c
Luciano Coelho wrote:
> From: Luca Coelho
>
> Work queues cannot be allocated when a mutex is held because the mutex
> may be in use and that would make it sleep. Doing so generates the
> following splat with 4.13+:
>
> [ 19.513298] ==
> [
Dan Carpenter writes:
> Smatch is distrustful of the "capab" value and marks it as user
> controlled. I think it actually comes from the firmware? Anyway, I
> looked at other drivers and they added a bounds check and it seems like
> a harmless thing to have so I have added it here as well.
>
>
Smatch is distrustful of the "capab" value and marks it as user
controlled. I think it actually comes from the firmware? Anyway, I
looked at other drivers and they added a bounds check and it seems like
a harmless thing to have so I have added it here as well.
Signed-off-by: Dan Carpenter
diff
Bhumika Goyal wrote:
> Make these const as they are only stored in the const field of a
> net_device structure.
>
> Signed-off-by: Bhumika Goyal
Patch applied to wireless-drivers-next.git, thanks.
2c1dca3c6b22 wireless: ipw2x00: make iw_handler_def const
--
https://patchwork.kernel.org/patc
Arvind Yadav wrote:
> rate_control_ops are not supposed to change at runtime. All functions
> working with rate_control_ops provided by work with
> const rate_control_ops. So mark the non-const structs as const.
>
> Signed-off-by: Arvind Yadav
2 patches applied to wireless-drivers-next.git, t
Romain Perier wrote:
> The PCI pool API is deprecated. This commit replaces the PCI pool old
> API by the appropriate function with the DMA pool API.
>
> Signed-off-by: Romain Perier
> Reviewed-by: Peter Senna Tschudin
> Acked-by: Stanislav Yakovlev
Patch applied to wireless-drivers-next.git
Colin Ian King wrote:
> From: Colin Ian King
>
> Trivial fix to spelling mistake in RT_TRACE message
>
> Signed-off-by: Colin Ian King
Patch applied to wireless-drivers-next.git, thanks.
2cc8918eb987 rtlwifi: rtl8821ae: fix spelling mistake: "faill" -> "failed"
--
https://patchwork.kernel
Christophe Jaillet wrote:
> Check memory allocation failure and return -ENOMEM in such a case, as
> already done a few lines below.
>
> As 'dev->tx_q' can be NULL, we also need to check for that in
> 'mt7601u_free_tx()', and return early.
>
> Signed-off-by: Christophe JAILLET
> Acked-by: Jakub
Dan Carpenter wrote:
> This is a static checker fix. "cal_num" is 10. We're declaring the
> tx_dt[] and rx_td[] arrays as 3 element arrays. The static checker
> complains that we do:
>
> tx_dt[cal] = (vdf_y[1]>>20)-(vdf_y[0]>>20);
>
> "cal" is the iterator and it is in the 0-9 range so
"Gustavo A. R. Silva" wrote:
> Refactor code in order to avoid identical code for different branches.
>
> This issue was detected with the help of Coccinelle.
>
> Addresses-Coverity-ID: 1415177
> Signed-off-by: Gustavo A. R. Silva
Patch applied to wireless-drivers-next.git, thanks.
14cc696c0
"Reizer, Eyal" wrote:
> The following commits:
> commit c815fdebef44 ("wlcore: spi: Populate config firmware data")
> commit d776fc86b82f ("wlcore: sdio: Populate config firmware data")
>
> Populated the nvs entry for wilink6 and wilink7 only while it is
> still needed for wilink8 as well.
> Thi
ryan...@qti.qualcomm.com wrote:
> From: Ryan Hsu
>
> In napi_poll, the budget number is used to control the amount of packets
> we should handle per poll to balance the resource in the system.
>
> In the list of the amsdu packets reception, we check if there is budget
> count left and handle th
(Adding Dave so that he is also aware of this)
Stephen Rothwell writes:
> As expetced, today's linux-next merge of the wireless-drivers-next tree
> got a conflict in:
>
> drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
>
> between commit:
>
> 92b0f7b26b31 ("iwlwifi: split the regulatory r
On Mittwoch, 23. August 2017 15:52:40 CEST Seth Forshee wrote:
[...]
> > +# Source
> > +#
> > https://www.imda.gov.sg/~/media/imda/files/regulation%20licensing%20and%20consultations/ict%20standards/telecommunication%20standards/radio-comms/imdatssrd.pdf?la=en
> > +# page 12-14
> > +# The EIRP for
50 matches
Mail list logo