This patch allows userspace to set transmit power, in mBm units, to a
station associated to the AP.
To set a limit tx power of 2000 mBm:
iw wlan0 station set txpwr limit 2000
To revert the user defined tx power for a station:
iw wlan0 station set txpwr auto
Signed-off-by: Ashok Raj Nagarajan
, it will revert to the automatic tx
power for the station.
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
v3:
- reword commit log
- remove range check for the input from user. (Ben Greear)
drivers/net/wireless/ath/ath10k/mac.c | 31 +++
d
This patch introduce a new driver callback drv_sta_set_txpwr. This API will
copy the transmit power value passed from user space and call the driver
callback to set the tx power for the station.
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
v3:
- Store txpwr
, with the level defined in mBm format.
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
v2:
- refactor the shared code
- "keep what you had" using STATION_PARAM_APPLY_* BIT
- feature flag to let the user know if this feature is supported o
On 2017-02-01 23:06, Ben Greear wrote:
On 02/01/2017 09:27 AM, Ashok Raj Nagarajan wrote:
+static int nl80211_parse_sta_txpower_setting(struct genl_info
*info,
+ struct station_parameters *params)
+{
+struct cfg80211_registered_device *rdev = info->user_pt
On 2017-02-01 23:02, Ben Greear wrote:
On 02/01/2017 09:29 AM, Ashok Raj Nagarajan wrote:
On 2017-02-01 00:30, Ben Greear wrote:
On 01/31/2017 10:41 AM, Ashok Raj Nagarajan wrote:
This patch introduce a new driver callback drv_sta_set_txpwr. This
API will
copy the transmit power value passed
On 2017-02-01 00:27, Ben Greear wrote:
On 01/31/2017 10:42 AM, Ashok Raj Nagarajan wrote:
This patch will add the support to control the transmit power for
traffic
to a station associated with the AP. Userspace provide the transmit
power
value in mBm units and the allowed range is from 0 to 70
On 2017-02-01 00:30, Ben Greear wrote:
On 01/31/2017 10:41 AM, Ashok Raj Nagarajan wrote:
This patch introduce a new driver callback drv_sta_set_txpwr. This API
will
copy the transmit power value passed from user space and call the
driver
callback to set the tx power for the station.
Signed
On 2017-02-01 00:36, Ben Greear wrote:
On 01/31/2017 10:41 AM, Ashok Raj Nagarajan wrote:
This patch adds support to set transmit power setting type and
transmit
power level attributes to NL80211_CMD_SET_STATION in order to
facilitate
adjusting the transmit power level of a station associated
This patch introduce a new driver callback drv_sta_set_txpwr. This API will
copy the transmit power value passed from user space and call the driver
callback to set the tx power for the station.
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
include/net/mac80211.h
, with the level defined in mBm format.
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
v2:
- refactor the shared code
- "keep what you had" using STATION_PARAM_APPLY_* BIT
- feature flag to let the user know if this feature is supported o
requirements. If the user given transmit power is greater than the allowed
tx power in the given channel, then the FW will use the maximum tx power
in the same channel.
When 0 is sent to the FW as tx power, it will revert to the automatic tx
power for the station.
Signed-off-by: Ashok Raj Nagarajan
pointer pertaining to different
chips.
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/ahb.c | 23
drivers/net/wireless/ath/ath10k/pci.c | 51 ++-
drivers/net/wireless/ath/ath10k/pci.h | 5 +
On 2016-08-01 18:57, Ben Greear wrote:
On 08/01/2016 02:29 AM, Johannes Berg wrote:
Sure.. First use case will be to help with the problem of legacy
client devices that roam across multiple APs. It is a classic
enterprise Wi-Fi AP problem, often managed by a "network controller"
unit that is
the correct and current survey
information to userspace.
Fixes: fa7937e3d5c2 ("ath10k: update bss channel survey information")
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/mac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletio
escriptor limit handle under mgmt_tx"
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/mac.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/mac.c
b/drivers/net/wireless/ath/at
: 18235664e7f9 ("ath10k: cleanup amsdu processing for rx indication")
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/htt_rx.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/wireless/ath/at
On 2016-06-28 16:18, Johannes Berg wrote:
On Tue, 2016-06-14 at 23:14 +0530, Ashok Raj Nagarajan wrote:
This patch adds support to set transmit power setting type and
transmit power level attributes to NL80211_CMD_SET_STATION in order
to facilitate adjusting the transmit power level
the payload size calculation without the use of
ath10k pktlog headers.
While there, remove the unused ath10k pktlog headers.
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/htt_rx.c | 8 +++-
drivers/net/wireless/ath/ath10k/hw.h
This patch allows userspace to set transmit power, in mBm units, to a
station associated to the AP.
To set a limit tx power of 2000 mBm:
iw wlan0 station set txpwr limit 2000
To revert the user defined tx power for a station:
iw wlan0 station set txpwr auto
Signed-off-by: Ashok Raj Nagarajan
This patch introduce a new driver callback drv_sta_set_txpwr. This API will
copy the transmit power value passed from user space and call the driver
callback to set the tx power for the station.
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
include/net/mac80211.h
, with the level defined in mBm format.
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
include/net/cfg80211.h | 5
include/uapi/linux/nl80211.h | 12 ++
net/wireless/nl80211.c | 54
3 files chang
requirements. If the user given transmit power is greater than the allowed
tx power in the given channel, then the FW will use the maximum tx power
in the same channel.
When 0 is sent to the FW as tx power, it will revert to the automatic tx
power for the station.
Signed-off-by: Ashok Raj Nagarajan
() to
dma_alloc_coherent()')
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/pci.c | 28
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/pci.c
b/drivers/net/wireless/ath/
t;)
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/htt_rx.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c
b/drivers/net/wireless/ath/ath10k/htt_rx.c
index 3079434
to determine the firmware variant sending these trace events. So add hw_rev
to trace events.
Signed-off-by: Ashok Raj Nagarajan <arnag...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/trace.h | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/drive
On Fri, Mar 20, 2015 at 10:28:06AM +0100, Jose Antonio Delgado Alfonso wrote:
Hi Ashok,
Just a quick question, is it supported by all firmware versions?
Yes Jose. It is supported by all firmware versions.
Thanks,
Ashok
Thanks,
Jose A. Delgado
On 19/03/15 12:08, Ashok Raj Nagarajan
Now that ANI is enabled by default, allow user to disable or enable ANI feature
from debugfs
Signed-off-by: Ashok Raj Nagarajan arnag...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/core.h | 1 +
drivers/net/wireless/ath/ath10k/debug.c | 58 +
drivers
-, HT40+, VHT80, VHT160)
Signed-off-by: Ashok Raj Nagarajan arnag...@qti.qualcomm.com
---
v2:
Display channel bw information in separate line (Johannes)
Updated commit log to reflect above change.
info.c | 25 +
1 file changed, 25 insertions(+)
diff --git
We provide these information to userspace. So let us print there
Signed-off-by: Ashok Raj Nagarajan arnag...@qti.qualcomm.com
---
net/wireless/debugfs.c | 63 --
1 file changed, 63 deletions(-)
diff --git a/net/wireless/debugfs.c b/net/wireless
Raj Nagarajan arnag...@qti.qualcomm.com
---
info.c | 12
1 file changed, 12 insertions(+)
diff --git a/info.c b/info.c
index 6e21e45..84db716 100644
--- a/info.c
+++ b/info.c
@@ -173,6 +173,18 @@ static int print_phy_handler(struct nl_msg *msg, void *arg
5825 VHT80 Y
Signed-off-by: Ashok Raj Nagarajan arnag...@qti.qualcomm.com
---
net/wireless/debugfs.c | 61
1 file changed, 61 insertions(+)
diff --git a/net/wireless/debugfs.c b/net/wireless/debugfs.c
index 4541577..0349dcd 100644
--- a/net/wireless
32 matches
Mail list logo