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
revert to the automatic tx
power for the station.
Signed-off-by: Ashok Raj Nagarajan
---
v3:
- reword commit log
- remove range check for the input from user. (Ben Greear)
drivers/net/wireless/ath/ath10k/mac.c | 31 +++
drivers/net/wireless/ath/ath10k
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
---
v3:
- Store txpwr in mBm units. Push down the
, with the level defined in mBm format.
Signed-off-by: Ashok Raj Nagarajan
---
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 or not
(Johannes)
v3:
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
---
include/net/mac80211.h| 6 ++
net/mac80211/cfg.c
, with the level defined in mBm format.
Signed-off-by: Ashok Raj Nagarajan
---
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 or not
(Johannes)
include/net/
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
---
drivers/net/wireless/ath/ath10k/ahb.c | 23
drivers/net/wireless/ath/ath10k/pci.c | 51 ++-
drivers/net/wireless/ath/ath10k/pci.h | 5
3 files changed, 60
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
correct and current survey
information to userspace.
Fixes: fa7937e3d5c2 ("ath10k: update bss channel survey information")
Signed-off-by: Ashok Raj Nagarajan
---
drivers/net/wireless/ath/ath10k/mac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/
escriptor limit handle under mgmt_tx"
Signed-off-by: Ashok Raj Nagarajan
---
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/ath10k/mac.c
index fb8e38d..0d6af
: 18235664e7f9 ("ath10k: cleanup amsdu processing for rx indication")
Signed-off-by: Ashok Raj Nagarajan
---
drivers/net/wireless/ath/ath10k/htt_rx.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c
b/drivers/net/wi
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 of a
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
---
drivers/net/wireless/ath/ath10k/htt_rx.c | 8 +++-
drivers/net/wireless/ath/ath10k/hw.h | 19 ---
2 files
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
---
include/net/mac80211.h| 6 ++
net/mac80211/cfg.c
, with the level defined in mBm format.
Signed-off-by: Ashok Raj Nagarajan
---
include/net/cfg80211.h | 5
include/uapi/linux/nl80211.h | 12 ++
net/wireless/nl80211.c | 54
3 files changed, 71 insertions(+)
diff --git a
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
stent() to
dma_alloc_coherent()')
Signed-off-by: Ashok Raj Nagarajan
---
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/ath10k/pci.c
index 8
0")
Signed-off-by: Ashok Raj Nagarajan
---
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..1ff04d4 100644
--- a/drivers/n
to determine the firmware variant sending these trace events. So add hw_rev
to trace events.
Signed-off-by: Ashok Raj Nagarajan
---
drivers/net/wireless/ath/ath10k/trace.h | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/trace.h
9/03/15 12:08, Ashok Raj Nagarajan wrote:
> > Now that ANI is enabled by default, allow user to disable or enable ANI
> > feature
> > from debugfs
> >
> > echo 0|1 > /sys/kernel/debug/ieee80211/phyX/ath10k/ani_enable
> >
> > Signed-off-by: Ashok Raj Nagar
Now that ANI is enabled by default, allow user to disable or enable ANI feature
from debugfs
echo 0|1 > /sys/kernel/debug/ieee80211/phyX/ath10k/ani_enable
Signed-off-by: Ashok Raj Nagarajan
---
v2:
Updated commit log
Lock ar->ani_enabled (Kalle Valo)
remove reduntant debug message (Kall
ANI helps to improve connectvity and performance in a noisy environment.
Enabling this feature would help the user experience a better and stable
wireless connection in a noisy environmnet. This feature is currently not
enabled for ath10k. Enable this feature by default.
Signed-off-by: Ashok Raj
ANI is currently not enabled by default. Enable this feature by default.
Signed-off-by: Ashok Raj Nagarajan
---
drivers/net/wireless/ath/ath10k/mac.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/mac.c
b/drivers/net/wireless/ath/ath10k/mac.c
index
Now that ANI is enabled by default, allow user to disable or enable ANI feature
from debugfs
Signed-off-by: Ashok Raj Nagarajan
---
drivers/net/wireless/ath/ath10k/core.h | 1 +
drivers/net/wireless/ath/ath10k/debug.c | 58 +
drivers/net/wireless/ath/ath10k
0MHZ, HT40-, HT40+, VHT80, VHT160)
Signed-off-by: Ashok Raj Nagarajan
---
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 a/info.c b/in
We provide these information to userspace. So let us print there
Signed-off-by: Ashok Raj Nagarajan
---
net/wireless/debugfs.c | 63 --
1 file changed, 63 deletions(-)
diff --git a/net/wireless/debugfs.c b/net/wireless/debugfs.c
index 4541577
-by: Ashok Raj Nagarajan
---
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
---
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/debugfs.c
+++ b/net
35 matches
Mail list logo