-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iw: update to version 4.3, sync with trunk r47782
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48870 3c298f89-4303-0410-b956-a3cf2f4a3e73
- Loading branch information
nbd
committed
Mar 1, 2016
1 parent
f4368a7
commit ef4fd44
Showing
8 changed files
with
603 additions
and
672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
731 changes: 85 additions & 646 deletions
731
package/network/utils/iw/patches/001-nl80211_h_sync.patch
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
package/network/utils/iw/patches/300-display_interface_TX_power.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From: =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= <zajec5@gmail.com> | ||
Date: Tue, 1 Sep 2015 09:55:52 +0200 | ||
Subject: iw: display interface TX power if available | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset="utf-8" | ||
Content-Transfer-Encoding: 8bit | ||
|
||
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> | ||
[print dBm] | ||
Signed-off-by: Johannes Berg <johannes.berg@intel.com> | ||
--- | ||
interface.c | 7 +++++++ | ||
1 file changed, 7 insertions(+) | ||
|
||
diff --git a/interface.c b/interface.c | ||
index 73ccecd..4f0821d 100644 | ||
--- a/interface.c | ||
+++ b/interface.c | ||
@@ -368,6 +368,13 @@ static int print_iface_handler(struct nl_msg *msg, void *arg) | ||
printf("\n"); | ||
} | ||
|
||
+ if (tb_msg[NL80211_ATTR_WIPHY_TX_POWER_LEVEL]) { | ||
+ uint32_t txp = nla_get_u32(tb_msg[NL80211_ATTR_WIPHY_TX_POWER_LEVEL]); | ||
+ | ||
+ printf("%s\ttxpower %d.%.2d dBm\n", | ||
+ indent, txp / 100, txp % 100); | ||
+ } | ||
+ | ||
return NL_SKIP; | ||
} | ||
|
Oops, something went wrong.